diff --git a/src/Mod/Arch/importIFC.py b/src/Mod/Arch/importIFC.py index f99a3df303..19b22a5794 100644 --- a/src/Mod/Arch/importIFC.py +++ b/src/Mod/Arch/importIFC.py @@ -420,7 +420,8 @@ def getShape(obj): m[1], m[4], m[7], m[10], m[2], m[5], m[8], m[11], 0, 0, 0, 1) - sh.Placement = FreeCAD.Placement(mat) + sh.Placement = FreeCAD.Placement(mat) + if DEBUG: print "getting Shape from ",obj return sh def getWire(entity,placement=None): diff --git a/src/Mod/Draft/Draft.py b/src/Mod/Draft/Draft.py index 27320c4a32..cc4d05e01b 100644 --- a/src/Mod/Draft/Draft.py +++ b/src/Mod/Draft/Draft.py @@ -1245,6 +1245,7 @@ def getSVG(obj,scale=1,linewidth=0.35,fontsize=12,fillstyle="shape color",direct svg = "" linewidth = linewidth/scale fontsize = (fontsize/scale)/2 + pointratio = 4 # the number of times the dots are smaller than the font size plane = None if direction: if isinstance(direction,FreeCAD.Vector): @@ -1388,13 +1389,13 @@ def getSVG(obj,scale=1,linewidth=0.35,fontsize=12,fillstyle="shape color",direct svg += 'freecad:dimpoint="'+str(p2.x)+' '+str(p2.y)+'"' svg += '/>\n' svg += '