chbergmann / CurvedShapesWorkbench

FreeCAD Workbench for creating 3D shapes from 2D curves
GNU Lesser General Public License v3.0
58 stars 10 forks source link

LasercutterTechdrawExport error #15

Closed franc-pedro closed 3 years ago

franc-pedro commented 3 years ago

Hello Thirst of all thank you for this great workbench. There is an error in LasercutterTechdrawExport.py on line 63.

afitphud commented 3 years ago

Here's the specific error message from Report View...

11:00:48 invalid syntax (LasercutterTechdrawExport.py, line 63) 11:00:48 Traceback (most recent call last): File "", line 28, in Initialize File "C:\Program Files\FreeCAD 0.19\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport__feature__.py", line 142, in _import return original_import(name, *args, **kwargs)

franc-pedro commented 3 years ago

In fact is just an extra colon in LasercutterTechdrawExport.py on line 63. In linux you can edit ~/.FreeCAD/Mod/CurvedShapes/LasercutterTechdrawExport/LasercutterTechdrawExport.py and delete the extra colon. In windows try to find where the add-ons are installed.

afitphud commented 3 years ago

For windows they get installed in the C:\Users\ username \Appdata\Roaming\FreeCAD\Mod directory.

Corrected the hanging colon on line 63 and it works like a champ - thanks!

chbergmann commented 3 years ago

Sorry for this stupid bug. It has been fixed.