Python access to TopExp Class and MapShapesAndAncestors

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
nmt
Posts: 29
Joined: Sun Feb 19, 2017 2:45 pm

Python access to TopExp Class and MapShapesAndAncestors

Post by nmt »

Does FreeCAD offer access to TopExp Class through Python? In particular the MapShapesAndAncestors function?
User avatar
wandererfan
Veteran
Posts: 6324
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Python access to TopExp Class and MapShapesAndAncestors

Post by wandererfan »

It doesn't look like it is exposed. You might be able to use PythonOCC's OCC.TopExp.MapShapesAndAncestors via Part.__fromPythonOCC__/Part.__toPythonOCC__?
Post Reply