Welcome to Our Community

Some features disabled for guests. Register Today.

importing SVG to Inkscape, not importing correctly

Discussion in 'CAM' started by ADH1234, Jun 27, 2020.

  1. ADH1234

    ADH1234 New
    Builder

    Joined:
    Apr 23, 2020
    Messages:
    25
    Likes Received:
    4
    [​IMG] When I design a file in Inkscape and then open in the Openbuilds cam software it isn't opening correctly. Designing a tool tray for shadowing tools and I place them all in correct order in inkscape and sent to Cam when it opens in cam the tools are scattered. I've attached the inkscape file. Note I've been creating these designs for a couple months and I've successfully imported to Cam Software without problems numerous times. this problem just started today.
     

    Attached Files:

  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,051
    Likes Received:
    4,313
  3. ADH1234

    ADH1234 New
    Builder

    Joined:
    Apr 23, 2020
    Messages:
    25
    Likes Received:
    4
    Yea done that as well. Not sure whats going on, The older files I have made are importing fine but design I made yesterday and design I made today, both are not importing correctly. I have to reposition items once in Cam software, Maybe it's a inkscape issue.
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,051
    Likes Received:
    4,313
    Do post the files and i'll check them on monday.
     
  5. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,017
    Likes Received:
    1,682
    Out of curiosity I tried it in Estlcam. Looks the same as above. I also noticed several screwdrivers are missing. I don't know if this helps.
    upload_2020-6-28_21-47-13.png

    Then I opened it up in Inkscape and saved it as a .dxf and it looks right.

    upload_2020-6-28_21-53-28.png
     

    Attached Files:

    #5 Giarc, Jun 29, 2020
    Last edited: Jun 29, 2020
  6. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,017
    Likes Received:
    1,682
    Weirder yet, when I open the .dxf I created from the original .svg that was posted above in Inkscape and save it as an .svg, it works just fine. I made no modifications to the drawing at all at any stage of my "testing." Weird...

    upload_2020-6-28_22-2-59.png
     

    Attached Files:

  7. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,051
    Likes Received:
    4,313
    Selecting one of the rectangles that end up in the wrong place, so I can find its ID under that object's object properties: "rect5932" in this case

    upload_2020-6-29_14-52-3.png

    Look at the XML of the SVG in a text-editor and find "rect5932"

    upload_2020-6-29_14-53-7.png

    I find two objects in a group ( <g> = group) (makes sense from what we see above, handle and metal part of screw driver I assume) - but AH! It's two <rect> objects ... Not <path> objects as it should be.

    So....

    still stands... Read the links to the documentation above, and do remember to convert all other entity types (rect, arc, circle, text, etc) to Paths
     
  8. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,051
    Likes Received:
    4,313
    Ungrouped everything (ctrl+a, ctrl+shift+g a couple times to ungroup any nested groups) , selected all (ctrl+a), Path > Object to Path (ctrl+shift+c) > Saved (attached)

    Loads fine now

    upload_2020-6-29_14-57-40.png
     

    Attached Files:

    Giarc 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