You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am Xavier
I am working on a custom 2D laser machine. First, I want to thanks the great work devs did with this software.
I am using Lasergrbl with modifications to adapt it to my needs. I running out of time now and I need help for something.
Let me explain, if I need to cut a 30cm x 50cm figure, I need to obtain the value of 30 and 50, that's all, the maximum size of the figure on the X and Y axis. (i can use only svg files).
What do I need it for? Well, I'll take the maximum value of X or Y and make Z axis ( another stepper motor) move that amount of cm after finish the work.
I have one solution for that problem:
Write the size of the figure in the file name, internally I can get the address and name of that file (C:\tests\myfiletocut_30x50_.svg) and get it from that string.
I was wondering if there is a better way to do it, get those values directly inside the program code.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am Xavier
I am working on a custom 2D laser machine. First, I want to thanks the great work devs did with this software.
I am using Lasergrbl with modifications to adapt it to my needs. I running out of time now and I need help for something.
Let me explain, if I need to cut a 30cm x 50cm figure, I need to obtain the value of 30 and 50, that's all, the maximum size of the figure on the X and Y axis. (i can use only svg files).
What do I need it for? Well, I'll take the maximum value of X or Y and make Z axis ( another stepper motor) move that amount of cm after finish the work.
I have one solution for that problem:
Write the size of the figure in the file name, internally I can get the address and name of that file (C:\tests\myfiletocut_30x50_.svg) and get it from that string.
I was wondering if there is a better way to do it, get those values directly inside the program code.
Thanks for u help.
Beta Was this translation helpful? Give feedback.
All reactions