Hi, All! How can I get X,Y,Z of Vertex? import OCC from OCC.Display.OCCViewer import Viewer3d display=self.canva._3dDisplay view = display.GetView().GetObject() <Here I select Line> sel=display.selected_shape Ex=OCC.TopExp.TopExp_Explorer() Ex.Init(sel,OCC.TopAbs.TopAbs_VERTEX) ss=Ex.Current() ss <OCC.TopoDS.TopoDS_Shape; proxy of <Swig Object of type 'TopoDS_Shape *' at 0xae6738c> > ss.ShapeType() 7 ???????? How can I get X,Y,Z of Vertex?
Thanks! -- С уважением, Суханов Владимир, зав.кафедрой ПСС ФУО УГТУ-УПИ, 375-97-18, 211-51-26, 8912 62 88 391
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users