fix Shaft Wizard due to renamed property

This commit is contained in:
wmayer
2017-11-17 12:18:24 +01:00
parent 36301ff67b
commit bd59cea7f3

View File

@@ -109,7 +109,7 @@ class ShaftFeature:
if oldLength == 0:
# create feature
self.feature = self.Doc.addObject("PartDesign::Revolution","RevolutionShaft")
self.feature.Sketch = self.sketch
self.feature.Profile = self.sketch
self.feature.ReferenceAxis = (self.sketch,['H_Axis'])
self.feature.Angle = 360.0
self.Doc.recompute()