Error when Post Process

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
BillyWhiz
Posts: 4
Joined: Wed Sep 07, 2022 9:38 pm

Error when Post Process

Post by BillyWhiz »

I have tried creating an .NC file on 3 different computers all have failed with the message "Running the Python command 'Path_Post' failed:"
I have read some forum with the same issue and they resolved by updating their FC, however I have the latest version :(
please help.
Steps taken till error arrives:
1) select job and check model to be processed. check job edit. "error" please see attached error file.
2) select engraving path and add base geometry
3) adjust depths as required
4) run simulation (ok)
5)

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.2.29177 +426 (Git)
Build type: Release
Branch: (HEAD detached from 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/United States (en_US)
Billy
Attachments
Error.txt
(1.92 KiB) Downloaded 19 times
Last edited by BillyWhiz on Sun Mar 26, 2023 12:07 pm, edited 1 time in total.
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: Error when Post Process

Post by chrisb »

Hi and welcome to the forum!

Please attach your full FreeCAD info as described in the IMPORTANT forum rules.
Add a file and a step by step description what you do.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
freman
Veteran
Posts: 2200
Joined: Tue Nov 27, 2018 10:30 pm

Re: Error when Post Process

Post by freman »

1) select job and check model to be processed. check job edit. "error" please see attached error file.
You are not accurately reporting all the steps you take. Selecting a job does not present you a chance to check a model.

Please describe carefully what steps you are doing.

Also read the guidlines, you have not posted FC version info.
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Error when Post Process

Post by GeneFC »

freman wrote: Mon Mar 27, 2023 5:42 pm
1) select job and check model to be processed. check job edit. "error" please see attached error file.
You are not accurately reporting all the steps you take. Selecting a job does not present you a chance to check a model.
I think the meaning is "check the box" to select a model, not to somehow examine (check?) the model.

The initial steps look OK, but there is not enough detail or a file to go any further.

Gene
User avatar
freman
Veteran
Posts: 2200
Joined: Tue Nov 27, 2018 10:30 pm

Re: Error when Post Process

Post by freman »

Agreed. I think he referring to a checkbox but the steps he described means he would not be seeing one. I'm not going to try to double guess what he "really" did. That is why I requested a more accurate account.
Last edited by freman on Tue Mar 28, 2023 12:50 am, edited 1 time in total.
BillyWhiz
Posts: 4
Joined: Wed Sep 07, 2022 9:38 pm

Re: Error when Post Process

Post by BillyWhiz »

Thanks Guys for your posts, is there any videos or documentation on the correct steps to take on outputting a NC file? as the simulator works fine :)
The FC version is posted .... and yes I meant selected the check box.
Billy
bmsaus4ax
Posts: 255
Joined: Sat Nov 14, 2020 9:16 pm
Location: Bargara, Queensland, Australia UTC+10

Re: Error when Post Process

Post by bmsaus4ax »

BillyWhiz wrote: Mon Mar 27, 2023 9:46 pm Thanks Guys for your posts, is there any videos or documentation on the correct steps to take on outputting a NC file? as the simulator works fine :)
The FC version is posted .... and yes I meant selected the check box.
Billy
The best answer to this is to attach your "_____.FCStd* file .

This file will then allow forum members to look into all the common pre-conditions for a successful output.

Tracking some steps through the documentation can be difficult as not every detail or step is necessarily covered in terms that you may be thinking of.
BillyWhiz
Posts: 4
Joined: Wed Sep 07, 2022 9:38 pm

Re: Error when Post Process

Post by BillyWhiz »

Hi There,

Thanks for your help.
Attached is the file :)
Attachments
Sample.FCStd
(40.7 KiB) Downloaded 15 times
bmsaus4ax
Posts: 255
Joined: Sat Nov 14, 2020 9:16 pm
Location: Bargara, Queensland, Australia UTC+10

Re: Error when Post Process

Post by bmsaus4ax »

BillyWhiz wrote: Tue Mar 28, 2023 1:56 am Hi There,

Thanks for your help.
Attached is the file :)
This error situation seems to very specific to the hiedenhain post processor.
( the actual error messages I get vary from posted error.txt file as I am not using Windows version but the failure is consistant )

I can get output from the sample file using a wide variety of other post processors .

I suggest you select another post processor to test.
for example , linuxcnc is a very typically stable one which has versions which work in both pre and post refactor versions. ( versions later than yours require modified post processors, after the code refactor )

I tested on this version. ( pre-refactor )
.

Code: Select all

OS: Ubuntu 20.04.6 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.28993 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 6d92e53)
Hash: 6d92e532bcc31c99a0ab4c153ff00b6414b8f527
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: English/Australia (en_AU)
Installed mods: 
  * fcgear 1.0.0
  * Curves 0.4.4
  * Lithophane
  * CurvedShapes 1.0.3
BillyWhiz
Posts: 4
Joined: Wed Sep 07, 2022 9:38 pm

Re: Error when Post Process

Post by BillyWhiz »

Hi bmsaus4ax,

Yes, it all works with a different post processor :)
Thank you guys for your kind help....

regards,
BillyWhiz
Post Reply