Welcome to Our Community

Some features disabled for guests. Register Today.

recorrido lento

Discussion in 'General Talk' started by Nodos Creativos LLC, Aug 1, 2024.

  1. Nodos Creativos LLC

    Builder

    Joined:
    Mar 24, 2024
    Messages:
    10
    Likes Received:
    0
    very good afternoon when I export from illustrator or corell the file reads the straight lines very well and the router makes its journey, the bad thing is in the curves, the machine travels 3 mm per minute it is very slow, does anyone know why?
     
    #1 Nodos Creativos LLC, Aug 1, 2024
    Last edited: Aug 1, 2024
  2. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,430
    Likes Received:
    1,907
    Please upload your Gcode file so we can have a look but my first guess is that the curves have a LOT of very small line segments, looks nice on the screen but that is very hard for the machine to keep up with.
    The line segments should not be shorter than 1/4 of the bit diameter.
     
    Nodos Creativos LLC likes this.
  3. Nodos Creativos LLC

    Builder

    Joined:
    Mar 24, 2024
    Messages:
    10
    Likes Received:
    0
     
  4. Nodos Creativos LLC

    Builder

    Joined:
    Mar 24, 2024
    Messages:
    10
    Likes Received:
    0
    Below I share 1 Gcode file exported from Corell, which has very slow curves, and I share an exported file from Illustrator in SVG, which is not read by CAM
     

    Attached Files:

  5. Nodos Creativos LLC

    Builder

    Joined:
    Mar 24, 2024
    Messages:
    10
    Likes Received:
    0
    Sorry, my English is not very good, but if anyone knows about the error, please let me know.
     
  6. Nodos Creativos LLC

    Builder

    Joined:
    Mar 24, 2024
    Messages:
    10
    Likes Received:
    0
     

    Attached Files:

  7. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,430
    Likes Received:
    1,907
    (note: ChatGPT does an excellent job of translating between languages)
    looking at your Gcode I can see that i was correct, your curves have many tiny segments.

    I have taken some and added the length of the cut line as a comment
    Code:
    G1 F1000 X208.9925 Y771.4151 Z-2.0000 ; 152.1436
    S24000 ; i removed the rest of these for clarity, they are not needed unless the rpm is actually changing
    G1 F1000 X102.1536 Y771.7600 Z-2.0000 ; 106.83945670594
    G1 F1000 X102.1442 Y771.7603 Z-2.0000 ; 0.0094047860156418
    G1 F1000 X102.1349 Y771.7607 Z-2.0000 ; 0.0093085981758769
    G1 F1000 X102.1256 Y771.7610 Z-2.0000 ; 0.0093048374515562
    G1 F1000 X102.1162 Y771.7614 Z-2.0000 ; 0.0094085067890712
    G1 F1000 X102.1069 Y771.7617 Z-2.0000 ; 0.009304837451574
    G1 F1000 X102.0975 Y771.7620 Z-2.0000 ; 0.0094047860156382
    G1 F1000 X102.0882 Y771.7624 Z-2.0000 ; 0.0093085981758769
    G1 F1000 X102.0788 Y771.7627 Z-2.0000 ; 0.0094047860156418
    G1 F1000 X102.0695 Y771.7630 Z-2.0000 ; 0.0093048374515598
    G1 F1000 X102.0601 Y771.7634 Z-2.0000 ; 0.0094085067890712
    G1 F1000 X102.0507 Y771.7637 Z-2.0000 ; 0.0094047860156382
    G1 F1000 X102.0413 Y771.7641 Z-2.0000 ; 0.0094085067890712
    
    we can see that the first curve is all segments of 0.0094mm long. since that is less than a step , the controller has to process 2 or more lines before it can even move a motor, and the GUI has to SEND all those lines as well, it all takes time, which means the controller cannot keep up with the requested feedrate of 1000mm/min.

    You will have to simplify the drawing to reduce the number of line segments. In Fusion360 this is called 'smoothing', I don't know if Corel has a similar tool.
    Alternately you can use the attached php script to filter your Gcode.
    Command (assumes all the files are in the same folder, add paths if you have them somewhere else)
    Code:
    php filternc.php G.obc > Gfilt.obc
    This takes your example file from ~340000 lines down to ~2700, with no line segments shorter than 0.6mm (1/10 of bitdiameter, possibly still a bit small).
    I have attached L.nc, my example output, run it and see the difference.
     

    Attached Files:

  8. Nodos Creativos LLC

    Builder

    Joined:
    Mar 24, 2024
    Messages:
    10
    Likes Received:
    0
    I have actually verified your answer, the problem now is that I do not use the control, only the beta version, to work from USB, now in the same way when I export from Illustrator, it does not read any file, even the one you shared with me
     
  9. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,866
    Likes Received:
    4,283
    Your input file (SVG) has no relation on CONTROL or CAM. Give CAM good quality SVGs docs:software:file-errors [OpenBuilds Documentation] suitable for CNC (paths, no crazy short segments, clean closed vectors etc). Garbage in = garbage out after all.

    Fix up your SVGs in you SVG drawing toolchain before handing it over to a CAM (any CAM. not just ours. All CAMs work better with well-made clean files designed with CNC in mind)
     
  10. Nodos Creativos LLC

    Builder

    Joined:
    Mar 24, 2024
    Messages:
    10
    Likes Received:
    0
    Thank you very much for your response, below I share an svg file so you can check the error you mention,
     

    Attached Files:

  11. Nodos Creativos LLC

    Builder

    Joined:
    Mar 24, 2024
    Messages:
    10
    Likes Received:
    0
    I'm trying to get Cam to read this file, but it stays paralyzed and doesn't move forward. What are straight lines, it takes them out quickly, but everything that has a curve doesn't move forward.
    upload_2024-8-7_13-34-20.png
     

    Attached Files:

    • U.svg
      File size:
      1.7 KB
      Views:
      1
  12. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,866
    Likes Received:
    4,283
    Can your CAD output DXF R14 Polylines? SVG is more of a printing format, not always best for CNC, at least depending on the artist's skill in making good clean files for CNC use

    upload_2024-8-7_19-58-52.png

    Cleaned up your file in Inkscape

    1) Select all > Path > object to Path (habit, yours was path already, but I always do that to be sure)
    2) Path > Simplify
    3) Extensions > Modify Path > Flatten Beziers > I used 10, could go even rougher (To convert those curves to nice polylines as advised in the FAQ docs:software:file-errors [OpenBuilds Documentation] ) - this was the main one, you need to convert those curves to polylines


    Saved and opened in CAM, created a toolpath as a test.
     

    Attached Files:

    David the swarfer likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice