Linux APP Image - How to add custom postprocessor

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
borrisl
Posts: 5
Joined: Sat Jun 02, 2018 1:16 am

Linux APP Image - How to add custom postprocessor

Post by borrisl »

Professionally I use Linux for everything. FreeCAD makes me smile with its support for the OS.

Therefore I'm using the monolithic AppImage for execution of the application. I would like to write my own postprocessor. Where do I place the postprocessor so that the application can find it?
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: Linux APP Image - How to add custom postprocessor

Post by chrisb »

borrisl wrote: Sat Jun 02, 2018 1:19 am Where do I place the postprocessor so that the application can find it?
Hi borissl, welcome to FreeCAD.
The post processor should follow the naming convention <nameOfControl>_post.py. The _post.py is required! You place it in your macro directory.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
borrisl
Posts: 5
Joined: Sat Jun 02, 2018 1:16 am

Re: Linux APP Image - How to add custom postprocessor

Post by borrisl »

Wow, that's easy. Too easy. Guess that's why I missed that part. Thanks for the quick reply.
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: Linux APP Image - How to add custom postprocessor

Post by chrisb »

I just saw that you use the Appimage. Please report if it works or not.
If you want to develop your own postprocessor it is a good idea to start with the linuxcnc because it is well serviced and widely used.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
borrisl
Posts: 5
Joined: Sat Jun 02, 2018 1:16 am

Re: Linux APP Image - How to add custom postprocessor

Post by borrisl »

I'm going to be writing it for the Siemens 828 and Siemens 802.
User avatar
moltenaluminium
Posts: 33
Joined: Thu Jul 16, 2020 4:07 am
Location: Brisbane, Australia
Contact:

Re: Linux APP Image - How to add custom postprocessor

Post by moltenaluminium »

Apologies for digging this post out of the grave, But @borresl did you ever finish your post processor and can you share it?
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: Linux APP Image - How to add custom postprocessor

Post by chrisb »

If you want someone to be notified, do it like this:
borrisl wrote: Sun Jun 10, 2018 11:35 pm ping
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
borrisl
Posts: 5
Joined: Sat Jun 02, 2018 1:16 am

Re: Linux APP Image - How to add custom postprocessor

Post by borrisl »

Still working on it. Had limited success and had to walk away. Back in the code saddle and writing them now.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Linux APP Image - How to add custom postprocessor

Post by Kunda1 »

borrisl wrote: Mon Jul 04, 2022 7:25 am Still working on it. Had limited success and had to walk away. Back in the code saddle and writing them now.
Note: Snap edge (nightly) is also great for developing.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply