gotcha

Author Topic: Inset seems to be going in the wrong direction  (Read 1578 times)

December 13, 2017, 06:52:48 PM
Read 1578 times

dshookowsky

  • Sr. Newbie

  • Offline
  • **

  • 2
This is one that's been bothering me for a while.  If I generate a DXF in Onshape and open it in Inkscape, the inset operation doesn't work the way I would expect.

It's not an outset, but it's like it did an inset on different regions of the shape.

I've tried different DXF formats, reversing the path, opening the file in LibreCAD and re-saving it there (it's worked before on other odd things).

Is there something I'm missing?
  • 0.92
  • Windows 10

December 13, 2017, 09:56:30 PM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to the forum!

It's hard to tell what's happening by looking at PNGs.  Would you please share the SVG file (if you can)?

What little I can guess from the PNGs, it appears to be an inset.  But it's such a large inset, it's almost run out of space.  How are you performing the inset?

Each click of Path menu > Inset, or one press of the key shortcut will move the line by 2 px, unless you've changed it.  It looks like your inset must be something like 100 px.  (I'm just guessing the units are px.)  But we'll learn more once we have the SVG file to test.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

December 14, 2017, 04:08:13 PM
Reply #2

dshookowsky

  • Sr. Newbie

  • Offline
  • **

  • 2
Thanks for replying and taking a look at this.  I've attached the drawing of the part that I'm working with - it's actually a DXF from Onshape (hence the "using Inkscape with other Apps" selection). 

A single inset operation produces the result you see there.  While googling, I did see something that indicated that the page units could affect the inset size or that small shapes had overly large insets, but none of that seemed applicable to this shape.
  • 0.92
  • Windows 10

December 15, 2017, 05:43:15 PM
Reply #3

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Those are not closed paths, inset can't really work with them. Think about how you would create an inset for a simple line.

You need to make them into a single closed path.

Select them all (Ctrl+A), switch to node tool (n), select all nodes (Ctrl+A), then weld them together (so that the 12 open paths become one closed path) (click on the button that says 'Join selected nodes' in the tool controls bar at the top).

Then do your inset.

December 16, 2017, 10:56:32 PM
Reply #4

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Sorry, I can't open DXF files.  I need SVG file.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann