Sorry, on my last try I forgot to press ctrl+shift+p.
Now here is the new result:
Code: Select all
Python 3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:30:19) [MSC v.1929 64 bit (AMD64)] on win32
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> # Gui.Selection.clearSelection()
>>> # Gui.Selection.addSelection('PbDatumPlaneFC_0_21','Sketch')
>>> ### Begin command Std_SendToPythonConsole
>>> try:
>>> del(doc,lnk,obj,shp,sub,subs)
>>> except Exception:
>>> pass
>>>
>>> doc = App.getDocument("PbDatumPlaneFC_0_21")
>>> obj = doc.getObject("Sketch")
>>> shp = obj.Shape
>>> ### End command Std_SendToPythonConsole
>>> [v.Point for v in shp.Vertexes]
[Vector (-25.0, 0.0, 0.0),
Vector (68.96926207859083, 7.594372760115067e-15, 34.20201433256686),
Vector (58.70865777882078, 1.3853983062116296e-14, 62.39279295614411)]
>>>
On the other hand, even after recalculating the DatumPlane and the sketch linked to it, I still have the offset of 0.333...mm in Y.