The Draft_Drawing command is considered obsolete, but still available.
I have added it to a custom toolbar for testing.
I find that the command is not compatible with the current version of svg.py.
These lines are the cause of the issue:
https://github.com/FreeCAD/FreeCAD/blob ... #L471-L472
After removing them the Draft_Drawing command works again.
But since the command is obsolete you could also remove the command.
Obsolete Draft_Drawing does not work. What to do?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Obsolete Draft_Drawing does not work. What to do?
3rd option: fix drawingview.py:
After this line:
https://github.com/FreeCAD/FreeCAD/blob ... iew.py#L76
Add:
After this line:
https://github.com/FreeCAD/FreeCAD/blob ... iew.py#L76
Add:
Code: Select all
import FreeCAD as App
obj.Direction = App.Vector(0, 0, 1)