-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selectors #14
Comments
I just learned about this framework yesterday; it does several things really well. Selector queries are an interesting alternative to the mouse-hover index selection I’m using right now. Perhaps it would be possible to have a query selector function that outputs a list of array indices to retain the usage of both paradigms... My soft plans for the mouse hover system are to allow clicking to insert indices directly into the index arrays (for fast selection of tricky to query edges/faces). I could imagine clicks also generating raycast queries which allow for persistent graphical selection of edges/faces/vertices... |
Appending @sgall17a 's thoughts on introspection from #23 here for spatial locality:
|
The system where fillets and chamfers need to be selected manually really makes it impossible to use them with programmatically-generated models. If I had an element in my model with a variable number of some feature like sides or holes, I would have to manually identify all of the resulting edges that need fillets after changing that variable. A better system would be to make fillet an option on boolean operations, so that any new edges created by that operation (usually concave edges for a union or intersection, and concave edges for a difference) will have a fillet applied. Another option would be to treat fillet like boolean operation. The shape you want to apply fillets to is the first object, and you create a second shape to use like a mask for the fillet operation, so that any edges of the first object that fall entirely within the volume of the second object will have the fillet applied, to them. These two systems aren't mutually exclusive, and would actually complement one another really well. They're also both very automatable, and applicable to a wide range of possible shapes. |
I think these approaches are way to powerless. The selector approach in CADquery proved to be very powerful and convenient |
@parnold-x have you done any progress or implementation in this regard? I think it is a very powerful feature. |
@tingspain Nope, I am not really familiar with web stuff. |
Hi, very cool Project!
Don't know if you know the CadQuery framework, but they have very powerful selectors. Maybe they would also fit for CascadeStudio.
https://cadquery.readthedocs.io/en/latest/selectors.html#combining-selectors
The text was updated successfully, but these errors were encountered: