PartDesign: Fix failing TNP test.
This commit is contained in:
committed by
Chris Hennes
parent
1fdd27ad94
commit
16ac5f9977
@@ -2378,8 +2378,8 @@ class TestTopologicalNamingProblem(unittest.TestCase):
|
||||
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user