Arch structures can now be based on axes systems

This commit is contained in:
Yorik van Havre
2012-01-12 12:31:11 -02:00
parent 0de52ff73f
commit d26ba5f11b
3 changed files with 43 additions and 11 deletions

View File

@@ -536,13 +536,13 @@ def makeCopy(obj):
_Block(newobj)
_ViewProviderDraftPart(newobj.ViewObject)
elif getType(obj) == "Structure":
import Structure
Structure._Structure(newobj)
Structure._ViewProviderStructure(newobj.ViewObject)
import Arch
Arch._Structure(newobj)
Arch._ViewProviderStructure(newobj.ViewObject)
elif getType(obj) == "Wall":
import Wall
Wall._Wall(newobj)
Wall._ViewProviderWall(newobj.ViewObject)
import Arch
Arch._Wall(newobj)
Arch._ViewProviderWall(newobj.ViewObject)
elif obj.isDerivedFrom("Part::Feature"):
newobj.Shape = obj.Shape
else: