Newbie here - trying to set a post processor

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
LHC
Posts: 321
Joined: Thu Sep 17, 2020 4:21 pm
Location: Canadian Coffee Shop

Newbie here - trying to set a post processor

Post by LHC »

Hi - I'm interested in learning the path workbench and have started by trying to set up a post processor, but all I got was a pile of python errors that I don't understand. Wondering if anyone can help me here. I have been using one of the recent weekly builds from the download page and have posted my info below, along with a screenshot of the errors. Thanks,
Lewis

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.31155 (Git)
Build type: Release
Branch: master
Hash: 6f1b29769b33676edca2bd883b80bed25a0758c8
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * A2plus 0.4.56a
  * Assembly4 0.12.0
  * Curves 0.4.4
  * Defeaturing
  * ExplodedAssembly
  * fasteners 0.3.44
  * fcgear 1.0.0
  * IconThemes
  * kicadStepUpMod 10.13.0
  * Manipulator 1.4.5
  * scripts
  * sheetmetal 0.2.58
  * VendorParts
Attachments
Capture.JPG
Capture.JPG (154.08 KiB) Viewed 998 times
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Newbie here - trying to set a post processor

Post by GeneFC »

LHC wrote: Sun Dec 04, 2022 7:09 pm
You need to use "refactored_grbl_post.py" instead of "grbl_post.py" for the latest versions of FreeCAD.

Gene
LHC
Posts: 321
Joined: Thu Sep 17, 2020 4:21 pm
Location: Canadian Coffee Shop

Re: Newbie here - trying to set a post processor

Post by LHC »

ok - I'll give that a try and report back - thanks !
LHC
Posts: 321
Joined: Thu Sep 17, 2020 4:21 pm
Location: Canadian Coffee Shop

Re: Newbie here - trying to set a post processor

Post by LHC »

I'm missing something extremely basic here I think. When I hover over the list of the post processors in the preferences I get this message -
" It doesn't seem there are any post processor scripts installed. Please add some into your macro directory and make sure the file name ends with _post.py"

There is a default selected post for linuxcnc in there but I am not sure it's right as I have not been able to find a linuxcnc file on my computer.

Do I need to download post processor scripts from somewhere or are there supposed to be a few that are already included somewhere ?

Sorry for the basic questions here.....
Thanks
Lewis
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Newbie here - trying to set a post processor

Post by GeneFC »

All the postprocessors are included with the precompiled Windows distributions. There are 29 of them included in FC 0.21.31155. They are located in the FC installation folder under /Mod/Path/Path/Post/scripts.

It is possible there are some permissions issues in your installation. Where is your FC installation located?

I only use the macro folder for custom postprocessors. The program should be able to draw from either the folder noted above or from the macro folder.

Gene
LHC
Posts: 321
Joined: Thu Sep 17, 2020 4:21 pm
Location: Canadian Coffee Shop

Re: Newbie here - trying to set a post processor

Post by LHC »

ok - I think I have it sorted. Yes, I have them all in the folder you referenced. I'm not sure why I am getting those errors I mentioned earlier, but if I make a small job and then edit the job and go to the output tab I can select the post processor from that and I'm good. I even found some online gcode simulator and loaded the file into it to prove to myself there really is gcode there that works ;)

So it looks like I am off to the races here and can start to learn the path workbench.
Thanks very much for your help (and patience) !
Lewis
User avatar
luvtofish
Posts: 83
Joined: Thu Mar 31, 2022 8:45 pm

Re: Newbie here - trying to set a post processor

Post by luvtofish »

LHC
Posts: 321
Joined: Thu Sep 17, 2020 4:21 pm
Location: Canadian Coffee Shop

Re: Newbie here - trying to set a post processor

Post by LHC »

luvtofish wrote: Fri Dec 09, 2022 2:43 pm See this post for those errors:

https://forum.freecadweb.org/viewtopic ... 5&t=74211
Thanks !
Post Reply