Dear,
I need to use Python scripts to automate the productions of GCode from wires. Wiki Path_scripting tell about the Path Project feature, but it don't exist... Can help me to understand how to add the tool, tooltable etc?
Thak you
PathScripts ImportError: cannot import name PathProject
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: PathScripts ImportError: cannot import name PathProject
PathProject is obsolete by now - in fact that wiki page needs a major rewrite.
If you want to script Path then have a look at PathJob - or even better, look at how PathJobGui uses PathJob and replicate that in your script.
If you want to script Path then have a look at PathJob - or even better, look at how PathJobGui uses PathJob and replicate that in your script.
Re: PathScripts ImportError: cannot import name PathProject
There is no documentations for Path script?
Re: PathScripts ImportError: cannot import name PathProject
Hi,
I am confused form Path, PathScripts, PathScripts.PathUtil, PathScripts.PathUtils...
For now I have only created a job by:
I am not able to add tools to ToolController and paths to Operations (from Path.fromShapes())
Help me please!
I am confused form Path, PathScripts, PathScripts.PathUtil, PathScripts.PathUtils...
For now I have only created a job by:
Code: Select all
job = PathScripts.PathJob
job.Create("Name of job", list(o.Object for o in App.Gui.Selection.getSelectionEx()))
Help me please!