-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
add a way to tag surfaces of entities depending on their normal direction
e.g.
PolySurface(...,
physical_name="physical",
prefix_to_normalspec = {
"north_": [NormalSpec(vector=(0,1), angle_tol=1)]
}
)
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
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request