Welcome to Our Community

Some features disabled for guests. Register Today.

Sorry! Scaling again!

Discussion in 'CAM' started by CJ Brown, Jun 13, 2022.

Tags:
  1. CJ Brown

    CJ Brown New
    Builder

    Joined:
    Jun 16, 2016
    Messages:
    4
    Likes Received:
    2
    Just discovered this wonderful tool to drive my Ox style CNC router.

    I'm using Inkscape 1.2 (1:1.2+202206011327+fc4e4096c5) on a Linux box.

    Linux Mint (Linux Swift2 5.13.0-48-generic #54~20.04.1-Ubuntu SMP Thu Jun 2 23:37:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux)

    All was well until I figured out I had a scaling problem. Inkscape SVG import was not being imported correctly to size.

    Brief look at this forum hasn't got me working. I'm pretty sure Inkscape is exporting SVG at 96dpi.

    I've got a feeling there are various new Bugs / Features in Inkscape 1.2 that might be to blame. Especially the "Scale" feature (mm per user unit???? Default 1.0). Partly why I've abandoned other older CAM tools.

    Any help gratefully received.
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Include sample files for assistance :)
     
  3. CJ Brown

    CJ Brown New
    Builder

    Joined:
    Jun 16, 2016
    Messages:
    4
    Likes Received:
    2
    Thanks for help. Uploading simple 100mm square. Appears in O/B CAM as just over ~92 mm. Also attaching the workspace file for this. The real job a little more complex :)
     

    Attached Files:

  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Thanks, good test with known dimensions :)

    Pushed an update, do a forced refresh of your browser on cam.openbuilds.com with ctrl+f5 / shift+f5 and it should work

    One other note, your SVG is not quite 100mm. Its 99.77x with a stroke of 0.23ish (99.77+0.23=100) - keep in mind to keep stroke widths smaller or zero as Inkscape adds it to the dimensions to display correctly but it will affect your final dimensions as CAMs only look at the shape
    Also it's a RECT not a Path (;


    upload_2022-6-14_8-46-6.png

    As such, post-update OpenBuildsCAM sees it as 99.77 now which is correct

    upload_2022-6-14_8-48-57.png
     

    Attached Files:

  5. CJ Brown

    CJ Brown New
    Builder

    Joined:
    Jun 16, 2016
    Messages:
    4
    Likes Received:
    2
    Many thanks. That's me working now. Also good advice on stroke width. I have wondered about that. The real job is formed using closed paths.
     
    Peter Van Der Walt likes this.
  6. CJ Brown

    CJ Brown New
    Builder

    Joined:
    Jun 16, 2016
    Messages:
    4
    Likes Received:
    2
    How can I best help this project?
     
    Peter Van Der Walt likes this.
  7. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Just keep on OpenBuilds'ing - for example make some cool projects and post them on Projects | OpenBuilds
     

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