Selectors? #76
mattshepcar
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Have you thought about adding selectors like in cadquery? I'm not a huge fan of the syntax they use but the general idea of being able to select faces, edges and vertices without hard coded indices seems good.
OC already provides some useful ways to get edges from certain operations too. e.g. to fillet the top & bottom faces of an extrude you can do this:
Maybe it would be possible to come up with a neater API like
new Extruder(profile,[0,0,5]).Top().Fillet(1).Bottom().Fillet(2).Shape()
or somethingOther useful ones would be to get the edges from a BRepFeat_MakeDPrism operation or the new edges created by a union/intersect/cut. On that note, how would I go about adding missing opencascade APIs such as BRepFeat_MakeDPrism to cascade studio?
Beta Was this translation helpful? Give feedback.
All reactions