Line from 2 dots
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Line from 2 dots
How to draw with freeCAD I chosee (View-Workbench-Draft) (New) and i cannot draw one line from 2 dots My os Is Linux Debian wheezy and i instaled free cad from repository it is 0.12 version revison 5382.
Darko
Darko
Re: Line from 2 dots
But the line tool works? No error message?
Re: Line from 2 dots
Running the Python command 'Draft_Line' failed:
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/draftTools.py", line 1277, in Activated
Creator.Activated(self,name)
File "/usr/lib/freecad/Mod/Draft/draftTools.py", line 1218, in Activated
rot = self.view.getCameraNode().getField("orientation").getValue()
No SWIG wrapped library loaded
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/draftTools.py", line 1277, in Activated
Creator.Activated(self,name)
File "/usr/lib/freecad/Mod/Draft/draftTools.py", line 1218, in Activated
rot = self.view.getCameraNode().getField("orientation").getValue()
No SWIG wrapped library loaded
Re: Line from 2 dots
Hm that was fixed a long time ago normally... Have you installed the python-pivy package?
Re: Line from 2 dots
This happens if you built the sources yourself, haven't installed SWIG and the SWIG-wrapped library wasn't built with SWIG 1.3.25,1.3.33, 1.3.36, 1.3.38 or 1.3.40.
So, to fix this you must install SWIG, make sure that the SWIG-wrapped library was built with the same version (which is normally the case) and then rebuild FreeCAD.
So, to fix this you must install SWIG, make sure that the SWIG-wrapped library was built with the same version (which is normally the case) and then rebuild FreeCAD.
Re: Line from 2 dots
Well I didn't compiled it from source and i have pyton-pivy installed before freecad. Like I mentioned before I instaled from Wheezy repository and i instaled swig 2 times first and i reinstalled it and after every installation i run free cad and all ways same message. And after second installation I reboot but nothing?????
Darko
Darko
Re: Line from 2 dots
To add For example I can make a cube and on that cube face draw something but in 3d space i can not make neither line nor dots nor circle all ways same message
Re: Line from 2 dots
Ah, sorry I didn't read the initial posting. So, can you find out which SWIG version is the default on your system? And for the python-pivy package can you find out by which SWIG it was wrapped? If you open e.g. the file soqt.py you'll find at the top this information.
Re: Line from 2 dots
SWIG is 2.0.4-5
This is in /usr/lib/pymodules/python2.6/pivy/gui
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.4
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
"""
The soqt module is a wrapper for the SoQt library. The module will try
to import the sip module which is used for PyQt. If found the involved
wrapped Qt structures are converted to ones suitable for PyQt,
otherwise it will fall back to regular SWIG structures.
"""
This is in /usr/lib/pymodules/python2.7/pivy/gui
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.4
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
"""
The soqt module is a wrapper for the SoQt library. The module will try
to import the sip module which is used for PyQt. If found the involved
wrapped Qt structures are converted to ones suitable for PyQt,
otherwise it will fall back to regular SWIG structures.
"""
This is in /usr/lib/pymodules/python2.6/pivy/gui
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.4
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
"""
The soqt module is a wrapper for the SoQt library. The module will try
to import the sip module which is used for PyQt. If found the involved
wrapped Qt structures are converted to ones suitable for PyQt,
otherwise it will fall back to regular SWIG structures.
"""
This is in /usr/lib/pymodules/python2.7/pivy/gui
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.4
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
"""
The soqt module is a wrapper for the SoQt library. The module will try
to import the sip module which is used for PyQt. If found the involved
wrapped Qt structures are converted to ones suitable for PyQt,
otherwise it will fall back to regular SWIG structures.
"""
Re: Line from 2 dots
OK, thanks. I'll check if I can fix this. It is probably a bug in FreeCAD which doesn't work with Swig 2.x