File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,10 @@ def main():
103103from FreeCAD import Gui
104104import DraftVecUtils , math , time
105105import Draft
106- import TechDraw
106+ try :
107+ from TechDraw import projectEx
108+ except :
109+ from Drawing import projectEx
107110from lookup import get_val_from_range
108111from engineering_mode import engineering_mode_enabled
109112
@@ -2895,11 +2898,11 @@ def accept(self):
28952898 a .Shape = s
28962899 if genSketchChecked :
28972900 edges = []
2898- grp1 = TechDraw . projectEx (s ,norm )
2901+ grp1 = projectEx (s ,norm )
28992902 edges .append (grp1 [0 ])
29002903 if len (foldLines ) > 0 :
29012904 co = Part .makeCompound (foldLines )
2902- grp2 = TechDraw . projectEx (co , norm )
2905+ grp2 = projectEx (co , norm )
29032906 if not bendSketchChecked :
29042907 edges .append (grp2 [0 ])
29052908 self .generateSketch (edges , "Unfold_Sketch" , self .genColor .colorF ())
You can’t perform that action at this time.
0 commit comments