You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should return interfaces where "physical" is replaced by "north_physical" if the line normal falls within 1 degree of planar angle of the (0,1) vector
or
Prism(...,
physical_name="physical",
prefix_to_normalspec = {
"top_": [NormalSpec(vector=(0,0,1), angle_tol=1)],
"sidewall_": [NormalSpec(vector=(cos(theta),sin(theta,0), angle_tol=88) for theta in [0, 90, 180, 270]],
}
)
should return interfaces where "physical" is replaced by "top_physical" if the surface normal falls within 1 degree of solid angle of the (0,0,1) vector and "sidewall_physical" if the surface normal falls within 88 degree solid angle of any east, west, north, or south vector
Ideally, ResolutionSpecs can also filter by direction like this
The text was updated successfully, but these errors were encountered:
add a way to tag surfaces of entities depending on their normal direction
e.g.
should return interfaces where "physical" is replaced by "north_physical" if the line normal falls within 1 degree of planar angle of the (0,1) vector
or
should return interfaces where "physical" is replaced by "top_physical" if the surface normal falls within 1 degree of solid angle of the (0,0,1) vector and "sidewall_physical" if the surface normal falls within 88 degree solid angle of any east, west, north, or south vector
Ideally, ResolutionSpecs can also filter by direction like this
The text was updated successfully, but these errors were encountered: