> > (<OCC.Geom.Handle_Geom_Curve; proxy of <Swig Object of type > 'Handle_Geom_Curve *' at 0x02F58D40> >, 0.0, 94.864181845445003) > (<OCC.Geom.Handle_Geom_Curve; proxy of <Swig Object of type > 'Handle_Geom_Curve *' at 0x02F58D10> >, 5.8424600656149996, > 7.2648719527879999) > (<OCC.Geom.Handle_Geom_Curve; proxy of <Swig Object of type > 'Handle_Geom_Curve *' at 0x02F58C98> >, 0.0, 26.616283999743001) > (<OCC.Geom.Handle_Geom_Curve; proxy of <Swig Object of type > 'Handle_Geom_Curve *' at 0x02F58C50> >, 0.0, 107.60295268836001) > > > In the code, only edges are detected. I want to get LINEs and CURVEs. I > can get coordinates but it isnt clear that coordinates are tied to a LINE > or CURVE. > > Do you have any suggestion? >
Sure. By means of a look up table, like curve_lut or surface_lut. Than you know type of underlying curve you're dealing with. Take a look here<https://github.com/tpaviot/pythonocc/blob/jf/KBE-refactor-merged/src/addons/KBE/types_lut.py> take care, -jelle
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users