Skip to content

Commit

Permalink
PartDesign: Fix failing TNP test.
Browse files Browse the repository at this point in the history
  • Loading branch information
oursland authored and chennes committed Dec 9, 2024
1 parent 1fdd27a commit 16ac5f9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2378,8 +2378,8 @@ def testPD_TNPSketchPadSketchSplit(self):

doc.Sketch.split(0, App.Vector(10,0,0)) # Geo 0 moves to Geo 3, create Geo4
doc.Sketch.split(4, App.Vector(30,0,0)) # Create Geo5
doc.Sketch.movePoint(4, 1, App.Vector(10,2,0), False)
doc.Sketch.movePoint(4, 2, App.Vector(30, 2, 0), False)
doc.Sketch.moveGeometry(4, 1, App.Vector(10,2,0), False)
doc.Sketch.moveGeometry(4, 2, App.Vector(30, 2, 0), False)
doc.recompute()
self.assertAlmostEqual(doc.Pad.Shape.Volume,7400) # Prove the points moved
self.assertTrue(doc.Sketch001.isValid()) # Check for a TNP fail.
Expand Down

0 comments on commit 16ac5f9

Please sign in to comment.