Sketcher: Rename movePoint to moveGeometries.

This commit is contained in:
PaddleStroke
2024-12-06 16:45:47 +01:00
parent 70972b3926
commit b92bda03da
13 changed files with 88 additions and 84 deletions

View File

@@ -2149,10 +2149,10 @@ class TestTopologicalNamingProblem(unittest.TestCase):
doc.recompute()
doc.Pad.Visibility = False
doc.Sketch001.Visibility = False
doc.Sketch.movePoint(3, 0, App.Vector(-5, 0, 0), 1)
doc.Sketch.movePoint(0, 0, App.Vector(0.000000, -5, 0), 1)
doc.Sketch.movePoint(1, 0, App.Vector(-5, 0.000000, 0), 1)
doc.Sketch.movePoint(2, 0, App.Vector(-0, -5, 0), 1)
doc.Sketch.moveGeometry(3, 0, App.Vector(-5, 0, 0), 1)
doc.Sketch.moveGeometry(0, 0, App.Vector(0.000000, -5, 0), 1)
doc.Sketch.moveGeometry(1, 0, App.Vector(-5, 0.000000, 0), 1)
doc.Sketch.moveGeometry(2, 0, App.Vector(-0, -5, 0), 1)
doc.recompute()
# If Sketch001 is still at the right start point, we are good.
self.assertTrue(doc.Sketch001.AttachmentOffset.Matrix == App.Matrix())