View Issue Details

IDProjectCategoryView StatusLast Update
0003040FreeCADBugpublic2017-05-24 22:29
Reporterfederico.carminati@gmail.com Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
PlatformMac OS XOSSierraOS Version10.12.5
Product Version0.17 
Summary0003040: Cura Engine integration on Mac
DescriptionThe Cura engine workbench seems not to be supported on the Mac. When creating a new printer I have

`Running the Python command 'createMachineDef' failed:
Traceback (most recent call last):
File "/Applications/FreeCAD 2.app/Contents/Mod/cura_engine/Commands.py", line 51, in Activated
panel = MachineDef.PrintBedTaskPanel()
File "/Applications/FreeCAD 2.app/Contents/Mod/cura_engine/MachineDef.py", line 246, in init
self.form = uic.loadUi(self.homeDir + "/.FreeCAD/Mod/FreeCAD-CuraEngine-Plugin/MachineDef.ui")
File "", line 4, in Cannot open file`

To fix this I had to do

mkdir ~/.FreeCAD
ln -s /Applications/FreeCAD.app/Contents/Mod/ ~/.FreeCAD/

However even with this mod the program will fail later on. First of all the path has to be set to the Cura engine

/Applications/Cura.app/Contents/MacOS/CuraEngine

but even so things are not working. I have then to do the following

diff FreeCAD-CuraEngine-Plugin/SlicerPanel.py /Applications/FreeCAD.app/Contents/Mod/FreeCAD-CuraEngine-Plugin/SlicerPanel.py
172c172
< docDir = FreeCAD.ActiveDocument.FileName.replace(docName + ".fcstd", "")
---
> docDir = FreeCAD.ActiveDocument.FileName.replace(docName + ".FCStd", "")
257c257,260
< _cmdList.insert(1, "-v")
---
> _cmdList.insert(1, "slice")
> _cmdList.insert(2, "-v")
> _cmdList.insert(3, "-j")
> _cmdList.insert(4, "/Applications/Cura.app//Contents/Resources/resources/definitions/101Hero.def.json")
259a263
> _cmdList.append("-l")
In this way a file is produced, however... this is really a poor-man solution. BTW, I have to add one printer at random. There should be a default file and a pull-down menu
Steps To Reproduce1. Install the Cura workbench according to instructions https://github.com/cblt2l/FreeCAD-CuraEngine-Plugin
2. Try to create printer


Additional InformationOS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8750 (Git)
Build type: Release
Branch: (detached from 6b1866c)
Hash: 6b1866ccaf72e2c745a68614f7b2d3c5890141e0
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 7.0.0
TagsNo tags attached.
FreeCAD Information

Activities

Kunda1

2017-05-19 11:49

administrator   ~0009055

Forum thread OP forgot to add: https://forum.freecadweb.org/viewtopic.php?f=22&t=5466&start=90#p174729

normandc

2017-05-20 17:03

manager   ~0009064

As explained in the forum topic, the Cura Engine Plugin is a third-party plug-in that is not part of official FreeCAD. Therefore this bug report has no place here. An issue should be created in the Github repository instead.

federico.carminati@gmail.com

2017-05-20 17:07

reporter   ~0009065

I created the issue in the corresponding repo. You can close. Thanks for the remark. Best

Issue History

Date Modified Username Field Change
2017-05-19 09:29 federico.carminati@gmail.com New Issue
2017-05-19 11:49 Kunda1 Note Added: 0009055
2017-05-20 17:03 normandc Note Added: 0009064
2017-05-20 17:07 federico.carminati@gmail.com Note Added: 0009065
2017-05-24 22:00 Kunda1 Severity major => minor
2017-05-24 22:29 Kunda1 Status new => closed
2017-05-24 22:29 Kunda1 Resolution open => won't fix