Welcome to Our Community

Some features disabled for guests. Register Today.

stl to svg to gcode help?

Discussion in 'Other Software' started by kenny h, Feb 26, 2018.

  1. kenny h

    kenny h New
    Builder

    Joined:
    Feb 9, 2018
    Messages:
    23
    Likes Received:
    4
    ok i have an annoying issue when i take a stl to svg and i import it to inkscape to make a laser gcode the scale is way off i have to change it to mm in inkscape which then makes it to small then i have to resize it back to its normal mm size then change the files % to 125.4 for it to be correct size any ideas?
     
  2. crispin

    crispin New
    Builder

    Joined:
    Jun 21, 2016
    Messages:
    49
    Likes Received:
    9
    Your raster resolutions don't match somewhere. Check the preferences in inkscape and the other apps in your toolchain. It's probably that the SVG resolution is wrongly preset at the aspirational 96dpi and not as it should be at the trusty standard of 72. Set the resolutions to whatever you want but always make them match across the entire workflow and your artwork will stay correctly unresized and should reproduce accurately.
    Switching units is generally unadvised as confusing but that alone really shouldn't resize your image.
    125.4 is a really weird amount to scale anything.
     
  3. kenny h

    kenny h New
    Builder

    Joined:
    Feb 9, 2018
    Messages:
    23
    Likes Received:
    4
    Lol is stumped me .When inkscape imports my svg it is importing it in px not mm that on top of the dpi issue is a pain ..its a inkscape issue for sure when i open my svg in other apps its scaled to mm i only plan to use inkscape for my laser so i might be changing some default settings to help me lol
     
  4. crispin

    crispin New
    Builder

    Joined:
    Jun 21, 2016
    Messages:
    49
    Likes Received:
    9
    it's that stupid "px" value causing the problem.
     
  5. crispin

    crispin New
    Builder

    Joined:
    Jun 21, 2016
    Messages:
    49
    Likes Received:
    9
    #5 crispin, Feb 27, 2018
    Last edited: Feb 28, 2018
    Peter Van Der Walt likes this.
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,754
    Likes Received:
    4,071
    crispin likes this.
  7. crispin

    crispin New
    Builder

    Joined:
    Jun 21, 2016
    Messages:
    49
    Likes Received:
    9
    wondered a bit where that openhardwarecoza guy hadn't gone! heh!
     
  8. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,754
    Likes Received:
    4,071
    Lol! Yeah, those were the busy good old days :)
    Ps: STL - > DXF workflow, I use Jim's STL Importer to get STL into Sketchup: SketchUp STL | SketchUp Extension Warehouse

    Then, i clean it using Cleanup3
    CleanUp³ | SketchUp Extension Warehouse

    And finally, copy out that flat face you need, and export it using Guitarlist DXF: Convert Sketchup SKP files to DXF or STL | guitar-list

    DXF into LaserWeb and setup mill operations
     
  9. kenny h

    kenny h New
    Builder

    Joined:
    Feb 9, 2018
    Messages:
    23
    Likes Received:
    4
    All this technology and still takes multiple steps lol .I cant wait till i can think it and it shows up on the pc lol
     
  10. crispin

    crispin New
    Builder

    Joined:
    Jun 21, 2016
    Messages:
    49
    Likes Received:
    9
  11. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,754
    Likes Received:
    4,071
    Well, your choice of STL as input adds the steps. Use DXF or draw it yourself :) way quicker. Cleaning someone elses file always takes longer than drawing your own, even with the learning curve
     
    crispin likes this.
  12. kenny h

    kenny h New
    Builder

    Joined:
    Feb 9, 2018
    Messages:
    23
    Likes Received:
    4
    Ty for all your input
     
  13. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    2,899
    Likes Received:
    1,613
    Brilliant! Thanks. You just made my life a little easier. CleanUp³ was the missing link for me.
     
  14. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,754
    Likes Received:
    4,071
    Oh yes! I can't live without it! Although now that Sketchup killed Make version in 2018 (Free version is Cloud only urrrrg) i guess i'll have to learn a new toolchain too someday. No rush though, SKP2017 should continue running for a few more years
    h ye
     

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