the latest flurry of threads about topological naming got me thinking: Is there any tool in FreeCAD to explore topology information? I'm thinking about something like "Scene inspector" or "Dependency Graph" but for OCC data structures ...
I guess some information can be queried from the python console, but there everything is wrapped in python objects, which AFAICT can't be used to access (or even modify) OCC data structures. There are methods like isSame, isEqual and isPartner, but they seem a bit difficult to use and in the end two python objects might point to exactly the same OCC data structure:
I'm wondering if there could be a "robust references" module/workbench with tools for low-level access, mapping and visualization of OCC data structes. (Also people proposing alternative implementations of robust references (ie without the OCC TNaming class and history recording) could add objects implementing their proposals. Ie RRef,"Face83" would really be a robust reference to Box,"Face1".)
Code: Select all
>>> o1 = App.ActiveDocument.Box.Shape.Edges >>> o2 = App.ActiveDocument.Box.Shape.Edges >>> o1 == o2 False