> > however I am not a programmer, but I am interesting for this library. I > have tied the tutorial and made a cylinder shape, which is really > parametric. It is amazing. :) > Is there possibility to refer to the created geometry somehow?
Yup, use topology modules: from OCC.Utils.Topology import Topo for f in Topo(theCylinder).faces(): do_something_with_the_face() > For example I want to make a box on the top of the cylinder. How can I > refer to the existing surface of the cylinder? > Depends on what you'd like to do. If you'd like to change the top face of the cylinder, by adding or subtracting a shape, then have a look at the local operations: src/samples/Level1/TopologyLocalOperations/ Thanks for your interest! -jelle
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users