Any idea how to write PP form APT to ngc
- macsddau@linuxcnc
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 29
24 Oct 2024 21:42 - 24 Oct 2024 21:43 #313158
by macsddau@linuxcnc
Any idea how to write PP form APT to ngc was created by macsddau@linuxcnc
Hi Evrybody
I'm trying to write a post-processor to convert APT file (ISO4343) to ngc to get path working on LinuxCNC. A long time ago, unfortunaltly, I have thrown away my course of PP writing (it was in the early 90's for CATIA v3 with FORTRAN). I have not practice since this time.
I'm slowly learning Python for this.
Is anyone have an idea how-to ? APT language ? How to structure program ? ...
I'm trying to write a post-processor to convert APT file (ISO4343) to ngc to get path working on LinuxCNC. A long time ago, unfortunaltly, I have thrown away my course of PP writing (it was in the early 90's for CATIA v3 with FORTRAN). I have not practice since this time.
I'm slowly learning Python for this.
Is anyone have an idea how-to ? APT language ? How to structure program ? ...
Last edit: 24 Oct 2024 21:43 by macsddau@linuxcnc.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 19875
- Thank you received: 4642
06 Nov 2024 17:04 #313927
by andypugh
Replied by andypugh on topic Any idea how to write PP form APT to ngc
It might be better to skip ngc and write a LinuxCNC interpreter for APT.
(This might also be a lot more work, but should give a better result)
forum.linuxcnc.org/31-cad-cam/38155-apt-...t-programming#154384
(But there seems to be a link to a converter in the next post too, if you want to go that way)
(This might also be a lot more work, but should give a better result)
forum.linuxcnc.org/31-cad-cam/38155-apt-...t-programming#154384
(But there seems to be a link to a converter in the next post too, if you want to go that way)
Please Log in or Create an account to join the conversation.
- macsddau@linuxcnc
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 29
19 Jul 2026 10:11 - 19 Jul 2026 10:15 #347840
by macsddau@linuxcnc
Replied by macsddau@linuxcnc on topic Any idea how to write PP form APT to ngc
Hi
I have seen recent topic of @tommylight about filter for pts files. This help me to start writing the postprocessor for apt files.
I can manage simple words and convert to gcode.
Next to steps :
1- process circular interpolations
2- make it working in LinuxCNC as program filter, actually only works stand alone.
I am sure that’s python code is not as beautiful as it should be but that’s working.
I have seen recent topic of @tommylight about filter for pts files. This help me to start writing the postprocessor for apt files.
I can manage simple words and convert to gcode.
Next to steps :
1- process circular interpolations
2- make it working in LinuxCNC as program filter, actually only works stand alone.
I am sure that’s python code is not as beautiful as it should be but that’s working.
Last edit: 19 Jul 2026 10:15 by macsddau@linuxcnc.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
Less
More
- Posts: 21725
- Thank you received: 7424
19 Jul 2026 18:11 #347843
by tommylight
Here is mine, adjust to your needs:
Replied by tommylight on topic Any idea how to write PP form APT to ngc
Did you add the [FILTER] entries to the ini file?2- make it working in LinuxCNC as program filter, actually only works stand alone.
Here is mine, adjust to your needs:
[FILTER]
PROGRAM_EXTENSION = .pts values
pts = ./LinuxCNC_pts_filter_4_axis.pyPlease Log in or Create an account to join the conversation.
- macsddau@linuxcnc
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 29
19 Jul 2026 19:06 #347847
by macsddau@linuxcnc
Replied by macsddau@linuxcnc on topic Any idea how to write PP form APT to ngc
Added APTSource program extension and path to [FLITER] section
Please Log in or Create an account to join the conversation.
Time to create page: 0.314 seconds