- Posts: 19311
- Thank you received: 4655
Micron units in G-Code
1. When i change (multiply) it all by factor of 1000, i probably get Emc2 working in microns domain, but, now i can't anymore use [+] and [-] manual jog buttons in Axis GUI, they are now 1000x times slower.
Have a look at INCREMENT in the INI file.
www.linuxcnc.org/docview/html/config_ini...5BDISPLAY%5D-section
(You probably also want to change the default jog velocity too)
Please Log in or Create an account to join the conversation.
I almost done a small C program to optimize jogs a bit. While C programming is a big headache (>90% of time is hair tearing solving tasks like why strcpy not work or why variable named 'mm' works like null device), i still get some useful results. It contain Gerber parser also, so i not need anymore to turn Emc2 to work with microns. (How to mark topic as [Solved]?) I keep the code as simple and small as possible, so i hope it will be useable by others for paste or even drilling the PCB. The optimizer must minimize total path length (it's what others want), but, as side effect, result shows almost all individual jogs good enough (it's what i want). image missing http://www.linuxcnc.org/media/kunena/attachments/legacy/images/optimized_gerber_to_gcode.png
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I also test it on other pcb's and get very nice results, these are production-quality and quantity, i already put these pcb's in my radio stations and turn it on. (pick'n'place was done too and it of course EMC-controlled; there is not too much of programming because of optimizing almost not need; if anyone need then i publish my C code.) I was impressed how quality and precise is EMC-controlled hardware work! Thank you developers for such a quality software suite! :silly: image missing http://www.linuxcnc.org/media/kunena/attachments/legacy/images/optimized_gerber_to_gcode2.png
Please Log in or Create an account to join the conversation.
So i have time now to complete this work and turn it into filter. It is not a problem to make it handle command line arguments. But i not see a clear way to integrate it into LinuxCNC. Can anybody suggest me easy way to do it? Documentation can be helpful; while working example of filter is best way. I can rewrite my source code from C to anything what is more welcome by community (please suggest language, if so). Thank you! :side:
Please Log in or Create an account to join the conversation.
Hi Friends!
So i have time now to complete this work and turn it into filter. It is not a problem to make it handle command line arguments. But i not see a clear way to integrate it into LinuxCNC. Can anybody suggest me easy way to do it? Documentation can be helpful; while working example of filter is best way. I can rewrite my source code from C to anything what is more welcome by community (please suggest language, if so). Thank you! :side:
There is a good example here:
thread.gmane.org/gmane.linux.distributio...er/28010/focus=28021
I think it is using a simple sed script, but it could be anything.
Please Log in or Create an account to join the conversation.