NiCr: CNC Hot Wire Cutter

Show off your FreeCAD projects here!
User avatar
vcode
Posts: 8
Joined: Sun Apr 24, 2016 9:48 pm
Location: Spain

Re: NiCr: CNC Hot Wire Cutter

Postby vcode » Sat Apr 30, 2016 1:33 pm

Hi, the report view doesn't show anything when i press the "create machine" and SimMachine" doesn't appears.

But when i try to load the example.fcstd this is the report...
Image

And when i press the Play button to see the preview, something goes wrong..
Image

And the preview stops.

Report when load example...
Part::Part2DObjectPython: No property found with name ExpressionEngine and type App::PropertyExpressionEngine
Part::Part2DObjectPython: No property found with name ExpressionEngine and type App::PropertyExpressionEngine
App::DocumentObjectGroupPython: No property found with name ExpressionEngine and type App::PropertyExpressionEngine
App::DocumentObjectGroupPython: No property found with name ExpressionEngine and type App::PropertyExpressionEngine
Part::FeaturePython: No property found with name ExpressionEngine and type App::PropertyExpressionEngine
Part::FeaturePython: No property found with name ExpressionEngine and type App::PropertyExpressionEngine
Part::FeaturePython: No property found with name ExpressionEngine and type App::PropertyExpressionEngine
Part::FeaturePython: No property found with name ExpressionEngine and type App::PropertyExpressionEngine
Part::FeaturePython: No property found with name ExpressionEngine and type App::PropertyExpressionEngine

Reading failed from embedded file: GuiDocument.xml (78123 bytes, 3092 bytes compressed)

Report when plays the preview...
Running the Python command 'RunPathSimulation' failed:
Traceback (most recent call last):
File "C:\Program Files\FreeCAD 0.15\Mod\Workbench\NiCrInit.py", line 219, in Activated
NiCrSM.runSimulation(full_path)
File "C:\Program Files\FreeCAD 0.15\Mod\Workbench\NiCrSimMachine.py", line 320, in runSimulation
cpspeed = complete_raw_path[2][n][1]

list index out of range


I'm using "dev" branch an the control panel appears using the console
>>> import NiCrSerial
>>> NiCrSerial.ControlPanel()
User avatar
JMG
Posts: 263
Joined: Wed Dec 25, 2013 9:32 am
Location: Spain
Contact:

Re: NiCr: CNC Hot Wire Cutter

Postby JMG » Sat Apr 30, 2016 2:29 pm

It complains about the expression engine, which was introduced in the last release (0.16).

Are you using FreeCAD 0.15? The NiCr workbench only works in FreeCAD 0.16 and upper versions.

If that does not apply, please, paste your FreeCAD version info here ;)
FreeCAD scripts, animations, experiments and more: http://linuxforanengineer.blogspot.com.es/
Open source CNC hot wire cutter project (NiCr): https://github.com/JMG1/NiCr
Exploded Assembly Workbench: https://github.com/JMG1/ExplodedAssembly
User avatar
vcode
Posts: 8
Joined: Sun Apr 24, 2016 9:48 pm
Location: Spain

Re: NiCr: CNC Hot Wire Cutter

Postby vcode » Sat Apr 30, 2016 2:31 pm

OS: Windows 8
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4671 (Git)
Branch: releases/FreeCAD-0-15
Hash: 244b3aef360841646cbfe80a1b225c8b39c8380c
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17

I'll update asap...
User avatar
vcode
Posts: 8
Joined: Sun Apr 24, 2016 9:48 pm
Location: Spain

Re: NiCr: CNC Hot Wire Cutter

Postby vcode » Sat Apr 30, 2016 3:06 pm

i've updated freecad to 0.16 and the SimMachine doesn't appears either.

Report when load the example...
PartGui::ViewProvider2DObjectPython: Overread data for property GridSize of type App::PropertyLength, expected type is App::PropertyDistance
PartGui::ViewProvider2DObjectPython: Overread data for property GridSize of type App::PropertyLength, expected type is App::PropertyDistance


Report when press Start simulation...
Running the Python command 'RunPathSimulation' failed:
Traceback (most recent call last):
File "C:\Program Files\FreeCAD 0.16\Mod\Workbench\NiCrInit.py", line 219, in Activated
NiCrSM.runSimulation(full_path)
File "C:\Program Files\FreeCAD 0.16\Mod\Workbench\NiCrSimMachine.py", line 320, in runSimulation
cpspeed = complete_raw_path[2][n][1]

list index out of range
User avatar
kwahoo
Posts: 186
Joined: Fri Nov 29, 2013 3:09 pm

Re: NiCr: CNC Hot Wire Cutter

Postby kwahoo » Fri Feb 24, 2017 11:03 am

kwahoo wrote:
JMG wrote:The only thing that keeps it from working perfectly are the delays between instructions, but seems easy to solve.


I started thinking about converting G-code on PC and streaming discrete steps to AVR with some buffering. I haven't tested this method yet, but I will when I'll finish my micro-CNC prototype.


Many, many years later...

Simple G-Code interpreter and Atmega328/STM32F103 drivers
User avatar
JMG
Posts: 263
Joined: Wed Dec 25, 2013 9:32 am
Location: Spain
Contact:

Re: NiCr: CNC Hot Wire Cutter

Postby JMG » Fri Feb 24, 2017 5:37 pm

Nice!!

I also have plans to finish the NiCr project this year :)
I'll check your comand interpretor.


Javier.
FreeCAD scripts, animations, experiments and more: http://linuxforanengineer.blogspot.com.es/
Open source CNC hot wire cutter project (NiCr): https://github.com/JMG1/NiCr
Exploded Assembly Workbench: https://github.com/JMG1/ExplodedAssembly