PD: Explicitly switch off AllowCompound for some tests to make them succeed

Fixes #17363
This commit is contained in:
wmayer
2024-10-20 19:42:36 +02:00
committed by Yorik van Havre
parent 9a8ba08d0a
commit 91ccd0ea07
2 changed files with 2 additions and 0 deletions

View File

@@ -254,6 +254,7 @@ class TestInvoluteGear(unittest.TestCase):
profile.HighPrecision = False
profile.NumberOfTeeth = 8
body = self.Doc.addObject('PartDesign::Body','GearBody')
body.AllowCompound = False
body.addObject(profile)
cylinder = body.newObject('PartDesign::AdditiveCylinder','GearCylinder')
default_dedendum = 1.25

View File

@@ -70,6 +70,7 @@ class TestMultiTransform(unittest.TestCase):
# Arrange
Doc = self.Doc
Body = Doc.addObject('PartDesign::Body','Body')
Body.AllowCompound = False
# Make first offset cube Pad
PadSketch = Doc.addObject('Sketcher::SketchObject', 'SketchPad')
Body.addObject(PadSketch)