Reverse the projection direction of DXF exports
This commit is contained in:
parent
7110c55c33
commit
5ecf0cb40b
|
@ -1608,7 +1608,8 @@ def export(objectslist,filename,nospline=False,lwPoly=False):
|
|||
if not ob.Shape.isNull():
|
||||
writeMesh(ob,dxf)
|
||||
elif gui and FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Draft").GetBool("dxfproject"):
|
||||
direction = FreeCADGui.ActiveDocument.ActiveView.getViewDirection()
|
||||
direction = FreeCADGui.ActiveDocument.ActiveView.\
|
||||
getViewDirection().multiply(-1)
|
||||
sh = projectShape(ob.Shape,direction)
|
||||
else:
|
||||
if ob.Shape.Volume > 0:
|
||||
|
|
Loading…
Reference in New Issue
Block a user