Great work microelly2
With some guidance integrating FreeCAD in Arch, I have finally managed to properly install and run your
plugin.
I have come across one issue in both Arch and Mint 17.2:
Installing Parts Library, both
plugin and library installs fine. However when trying to activate the
plugin I get problems.
When starting the Part Lib from
Plugin Manager the
plugin seams to start fine
Code: Select all
!fn="/usr/share/freecad/Mod/plugins/FreeCAD-library/PartsLibrary.FCMacro";exec open(fn).read()!
/usr/share/freecad/Mod/plugins/FreeCAD-library
But when browsing the Library with single click i get
Code: Select all
Traceback (most recent call last):
File "<string>", line 118, in clicked
NameError: global name 'zipfile' is not defined
'import zipfile, tempfile' from python console. corrects this problem and subsequent browsing works perfectly.
If i try to start the Parts Lib module by running.
Code: Select all
fn="/usr/share/freecad/Mod/plugins/FreeCAD-library/PartsLibrary.FCMacro";exec open(fn).read()
directly in Python console the module works perfectly.
I also tried to past same code in Macro and that seams to work perfectly also.
I can not for the life of me figure out what is causing this, for a log time I have been under the impression that this problem was caused by the non FreeCAD folder structure in a Arch installation, but as I get the same results in Mint it points to some other issue.
Can anybody else confirm this problem or shed some light on what could be causing it?