I like cadquery's selector, too. But that's more for scripting usage. Do you mean you want it as a property? Maybe you can provide some example. BTW, there is a hidden feature in my fork. I actually bundled cadquery. You can access it withGrawp wrote: ↑Sun May 17, 2020 10:11 am Hello @realthunder,
Topological naming is absolutely great and a must have feature, still I'd like to whether there is or will be a possibility - in your FC fork - to reference things more dynamically similar to what can be done in CadQuery: https://pythonhosted.org/cadquery/selectors.html
I often (try) to make enclosures for various electronic boards in FC and a functionality to e.g. select top most point of a board and use it to create working plane representing roof of an inside space in an enclosure would come handy. Does this make sense?
Code: Select all
from freecad import fc_cadquery
Code: Select all
._cq.Workplane(<<front>>).box(1, 1, 1).toFreecad()
Okay, just found out that my Linux AppImage somehow miss the cadquery bundle, what a bummer. But Windows works!
EDIT: image updated, it works on all platforms now.