- Posts: 148
- Thank you received: 0
Any idea how to write PP form APT to ngc
- macsddau@linuxcnc
- Topic Author
- Offline
- Premium Member
-
Less
More
2 years 6 days ago #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 ? ...
Please Log in to join the conversation.
1 year 11 months ago #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 to join the conversation.
- macsddau@linuxcnc
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 0
3 months 1 week ago #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.
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22008
- Thank you received: 3
3 months 1 week ago #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:
Code:
[FILTER]
PROGRAM_EXTENSION = .pts values
pts = ./LinuxCNC_pts_filter_4_axis.py
Please Log in to join the conversation.
- macsddau@linuxcnc
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 0
3 months 1 week ago #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 to join the conversation.
Time to create page: 0.476 seconds
