- Posts: 2
- Thank you received: 0
APT NC PART PROGRAMMING
- bryantthomason@aol.com
- Topic Author
- Offline
- New Member
-
Less
More
6 years 9 months ago #154338
by bryantthomason@aol.com
APT NC PART PROGRAMMING was created by bryantthomason@aol.com
DOSE LINEX HAVE APT NC PROGRAMMING SOFTWARE??
Please Log in to join the conversation.
- bryantthomason@aol.com
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
6 years 9 months ago #154339
by bryantthomason@aol.com
Replied by bryantthomason@aol.com on topic APT NC PART PROGRAMMING
IS APT NC PROGRAMING SUPPORT BY LINEXCNC??
Please Log in to join the conversation.
6 years 9 months ago #154384
by andypugh
Replied by andypugh on topic APT NC PART PROGRAMMING
No.
It could be, as the interpreter is a pluggable component. You can configure the interpreter to be used in the INI file.
There is an example config which uses a non-g-code interpreter:
github.com/LinuxCNC/linuxcnc/blob/master...sim/axis/canterp.ini
This line:
INTERPRETER = libcanterp.so
means that it uses input files that look like this:
github.com/LinuxCNC/linuxcnc/blob/master.../canterp_example.can
So: No, linuxcnc only currently supports G-code and the (example) .can as input files. But if someone wrote an interpreter, it could use any other input file type.
It could be, as the interpreter is a pluggable component. You can configure the interpreter to be used in the INI file.
There is an example config which uses a non-g-code interpreter:
github.com/LinuxCNC/linuxcnc/blob/master...sim/axis/canterp.ini
This line:
INTERPRETER = libcanterp.so
means that it uses input files that look like this:
github.com/LinuxCNC/linuxcnc/blob/master.../canterp_example.can
So: No, linuxcnc only currently supports G-code and the (example) .can as input files. But if someone wrote an interpreter, it could use any other input file type.
Please Log in to join the conversation.
6 years 9 months ago #154387
by cmorley
Replied by cmorley on topic APT NC PART PROGRAMMING
but you could apparently use this to convert to gcode:
wiki.linuxcnc.org/cgi-bin/wiki.pl?AptProgrammingForEMC
wiki.linuxcnc.org/cgi-bin/wiki.pl?AptProgrammingForEMC
Please Log in to join the conversation.
6 years 9 months ago #154465
by Dmess
Replied by Dmess on topic APT NC PART PROGRAMMING
quick answer is YES .
APT 360 & postp ... available from sourceforge is quite easy to install and run once you have a feel for APT.
I have installed it on even a Raspberry Pi-Zero.
There is an EMC post-processor that tailors the code specifically for the linux cnc interpreter.
I have done quite a bit of APT programming and would be glad to assist if required.
All the best
Denis
PS I have a pretty sweet deep hole drill macro that has saved many dollars in tooling if anyone is interested.
APT 360 & postp ... available from sourceforge is quite easy to install and run once you have a feel for APT.
I have installed it on even a Raspberry Pi-Zero.
There is an EMC post-processor that tailors the code specifically for the linux cnc interpreter.
I have done quite a bit of APT programming and would be glad to assist if required.
All the best
Denis
PS I have a pretty sweet deep hole drill macro that has saved many dollars in tooling if anyone is interested.
Please Log in to join the conversation.
6 years 9 months ago #154466
by andypugh
Replied by andypugh on topic APT NC PART PROGRAMMING
I think that going through G-code might be inefficient, though.
The LinuxCNC G-code interpreter converts G-code to canonical commands:
github.com/LinuxCNC/linuxcnc/blob/master...l_intf/canon.hh#L199
And the vast majority of what is produced is a sting of straight-traverse, arc_feed and straight_feed commands.
Modifying the APT processor to go straight to these rather than via G-code might be a more satisfactory solution.
The LinuxCNC G-code interpreter converts G-code to canonical commands:
github.com/LinuxCNC/linuxcnc/blob/master...l_intf/canon.hh#L199
And the vast majority of what is produced is a sting of straight-traverse, arc_feed and straight_feed commands.
Modifying the APT processor to go straight to these rather than via G-code might be a more satisfactory solution.
Please Log in to join the conversation.
6 years 9 months ago #154469
by Dmess
Replied by Dmess on topic APT NC PART PROGRAMMING
I believe that postp could be hacked to provide something like that canon link.
Do you have an actual program file in that format I could look at??
Do you have an actual program file in that format I could look at??
Please Log in to join the conversation.
6 years 9 months ago #154471
by andypugh
Replied by andypugh on topic APT NC PART PROGRAMMING
Who are you asking, and which format?
Please Log in to join the conversation.
6 years 9 months ago #154473
by Dmess
Replied by Dmess on topic APT NC PART PROGRAMMING
Sorry,
That was for you Andy.
I was referring to the canon format.
That was for you Andy.
I was referring to the canon format.
Please Log in to join the conversation.
6 years 9 months ago #154477
by andypugh
Replied by andypugh on topic APT NC PART PROGRAMMING
It doesn't really exist as a file. It is the stuff that gets sent from the interpreter to the motion system in LinuxCNC.
For example, here is what happens when LinuxCNC interprets a G1 command:
github.com/LinuxCNC/linuxcnc/blob/master...erp_convert.cc#L4522
As a demonstration of pluggable interpreters there is a demonstration interpreter called "canterp" that converts files like this to canonical actions: github.com/LinuxCNC/linuxcnc/blob/master.../canterp_example.can
But that shouldn't be created by an APT interpreter, there should not be an intermediate format.
But: Is there really a requirement for this? It is probably a lot of work. Who would use it?
A similar effort might create a STEP-NC interpreter, which might be more useful (or not)
For example, here is what happens when LinuxCNC interprets a G1 command:
github.com/LinuxCNC/linuxcnc/blob/master...erp_convert.cc#L4522
As a demonstration of pluggable interpreters there is a demonstration interpreter called "canterp" that converts files like this to canonical actions: github.com/LinuxCNC/linuxcnc/blob/master.../canterp_example.can
But that shouldn't be created by an APT interpreter, there should not be an intermediate format.
But: Is there really a requirement for this? It is probably a lot of work. Who would use it?
A similar effort might create a STEP-NC interpreter, which might be more useful (or not)
Please Log in to join the conversation.
Time to create page: 0.055 seconds
