ERC TimSav - Cheap DIY CNC Foamboard Cutter

Flying Farm Kid

Well-known member
I have been having issues with my erc cutting the curves slow, it will travel fast and cut straight fast but curves area a nightmare. I have changed the beam width and the modulation and nothing changed. What am I missing? thanks!
 

Dudley1001

Active member
I have been having issues with my erc cutting the curves slow, it will travel fast and cut straight fast but curves area a nightmare. I have changed the beam width and the modulation and nothing changed. What am I missing? thanks!
what program are you using to create the gcode? You can fire over the svg file and I can take a look at it. I know that some of the inkscape files have curves that are a large series of small lines and they need to be simplified in inkscape. I use laserweb 4 to create my gcode but found that the curves were very slow until I found a setting "segment" that I now set to .5 - 1mm and that cuts down on the amount of lines in the gcode by excluding any movement that is smaller than the segment settings. Not sure if there is a setting like it in inkscape.
 

Flying Farm Kid

Well-known member
what program are you using to create the gcode? You can fire over the svg file and I can take a look at it. I know that some of the inkscape files have curves that are a large series of small lines and they need to be simplified in inkscape. I use laserweb 4 to create my gcode but found that the curves were very slow until I found a setting "segment" that I now set to .5 - 1mm and that cuts down on the amount of lines in the gcode by excluding any movement that is smaller than the segment settings. Not sure if there is a setting like it in inkscape.
I use inkscape to redraw the file then laserweb to generate the gcode and control the machine
here is the file I was using
 

Attachments

  • S1.svg
    79.2 KB · Views: 0

Dudley1001

Active member
Ok I looked at the files in inkscape and found that the curves had many nodes in them and simplified the curves (select the curve section then under "path" select "simplify" and it will get rid of bulk of the nodes). This didn't change the gcode size. The big change is from setting the segment setting in laserweb to .5mm. This changed the gcode from 250000 lines of code to 12500 lines of code! This is because the segment setting tells the program to ignore any movement less than .5mm rather than the default of .01mm. I had the same problem when using laserweb but found this setting and it made a HUGE difference. In the zip file there is the original svg and my version after simplify was run. The svg1_simplify.gcode is the one with .5 segment selected and the svg1.gode is the one with segment at 0. Remember that curves are aways slower that straight lines as the amount of code used is many much larger. A straight line in one axis direction only needs 2 lines of code (the start position and the end position) a curve may take 1000's of lines depending on the resolution.
 

Attachments

  • segment.jpg
    segment.jpg
    297 KB · Views: 0
  • svg1_refined.zip
    849.9 KB · Views: 0
Last edited:

Flying Farm Kid

Well-known member
Ok I looked at the files in inkscape and found that the curves had many nodes in them and simplified the curves (select the curve section then under "path" select "simplify" and it will get rid of bulk of the nodes). This didn't change the gcode size. The big change is from setting the segment setting in laserweb to .5mm. This changed the gcode from 250000 lines of code to 12500 lines of code! This is because the segment setting tells the program to ignore any movement less than .5mm rather than the default of .01mm. I had the same problem when using laserweb but found this setting and it made a HUGE difference. In the zip file there is the original svg and my version after simplify was run. The svg1_simplify.gcode is the one with .5 segment selected and the svg1.gode is the one with segment at 0. Remember that curves are aways slower that straight lines as the amount of code used is many much larger. A straight line in one axis direction only needs 2 lines of code (the start position and the end position) a curve may take 1000's of lines depending on the resolution.
Great I am busy tonight but I will test it the first chance I get!
One more question I have had issues with my servo not actuating for score cuts, it just does a normall full cut what is the issue there?
Thanks *100 -Jed
 

Dudley1001

Active member
what happens if you send a command m3 s50 then m3 s100. Does the servo move a different amount? In inkscape are you making the score lines a different color?
 

Flying Farm Kid

Well-known member
what happens if you send a command m3 s50 then m3 s100. Does the servo move a different amount? In inkscape are you making the score lines a different color?
The servo moves different amounts when I command it but not when the program does. I have red score lines and a set the laser power to 60 for them.
 

Dudley1001

Active member
post up one of the gcode and svg files that has the score cuts that don't work and I will see if I can see anything strange.
 

Dudley1001

Active member
I would check your settings in laserweb4 . Take a looks at the gcode settings area. I have added 2 jpgs of the settings I use. I have also added the gcode that I did on my end. You can open the gcode file using notepad and compare it to yours. The areas in red show the 50% laser power and the M3 S that turns on the servo
 

Attachments

  • settings.jpg
    settings.jpg
    226.5 KB · Views: 0
  • settings 2.jpg
    settings 2.jpg
    240.7 KB · Views: 0
  • gcode_txt.jpg
    gcode_txt.jpg
    140.9 KB · Views: 0
  • test1.gcode
    280.4 KB · Views: 0

Flying Farm Kid

Well-known member
I would check your settings in laserweb4 . Take a looks at the gcode settings area. I have added 2 jpgs of the settings I use. I have also added the gcode that I did on my end. You can open the gcode file using notepad and compare it to yours. The areas in red show the 50% laser power and the M3 S that turns on the servo
ok great i will test it first chance i get probably Thursday lol thank you so much
 

Mr NCT

VP of SPAM killing
Moderator
I'm back to building something after a years interruption (thank you, real life, I needed that). I converted the PrandtlLight plans in inkscape and then generated gcode using laserweb. In inkscape I always make a 20x30 reference box to orient the parts and then eye ball them in the laserweb plot but... they don't always fit on the real board. So that was a long intro.

I'm making a visual basic program to analyze the gcode file, find the largest X and Y coordinates, compare them to the ACTUAL measurements of the board and then suggest a border adjustment that will fit the actual cut. I'm also going to include a button to change the X or Y or both numbers to match the suggested boarder and then save the new gcode file. Any other over thinkers interested in this when it's done?
 

Mr NCT

VP of SPAM killing
Moderator
I'm back to building something after a years interruption (thank you, real life, I needed that). I converted the PrandtlLight plans in inkscape and then generated gcode using laserweb. In inkscape I always make a 20x30 reference box to orient the parts and then eye ball them in the laserweb plot but... they don't always fit on the real board. So that was a long intro.

I'm making a visual basic program to analyze the gcode file, find the largest X and Y coordinates, compare them to the ACTUAL measurements of the board and then suggest a border adjustment that will fit the actual cut. I'm also going to include a button to change the X or Y or both numbers to match the suggested boarder and then save the new gcode file. Any other over thinkers interested in this when it's done?
Here are some screenshots:

Screenshot 2025-11-23 175524.png Screenshot 2025-11-23 175717.png Screenshot 2025-11-23 175743.png
 

Dudley1001

Active member
Looks like an interesting idea. One thing that is included in laserweb if you are running the cutter from there is a "check size" button that will run the cutter around the outer edge and will let you know if its running off the sheet