I am attaching a file but it is just a cylinder.
I'm having a problem here:
Code: Select all
for fac in faces:
if fac.Surface.isPlanar():
print("Found planar face",fac)
Gui.Selection.addSelection(self.doc.Name,'Body',fac)
I can't figure out what AddSelection needs to work correctly.
Thank you