Inkscape Community

Help Using Inkscape => Beyond the Basics => Topic started by: THX1138 on May 27, 2019, 01:27:10 PM

Title: Empty margin around outside of path preventing normal use of alignment tool
Post by: THX1138 on May 27, 2019, 01:27:10 PM
I created an SVG using this website: https://en.makercase.com/

It takes dimensions you give it and creates a file that you can use on a laser cutter to make a box. I need to work on the files because I want my box to be more complex. I'd like to be able to align stuff to the pieces but I can't get an accurate alignment because for some reason there is a margin around the outside of the path and the alignment happens to the outside of this margin. Here's a screenshot showing the problem:

(https://imgur.com/DBxQ9QQ.png)

Here's a link to the output from that website: https://www.dropbox.com/s/fbuwldzvf253dkb/box.svg?dl=0

Could anyone explain why there is this magin around the path and how to eliminate it? Thanks.
Title: Re: Empty margin around outside of path preventing normal use of alignment tool
Post by: Moini on May 27, 2019, 04:16:14 PM
You could:

- Remove all occurrances of 'vector-effect: non-scaling-stroke;' from the SVG file with a text editor to fix it.
- Or just remove the stroke entirely.
- Or use 'geometric bounding box' instead of 'visual bounding box' - which is probably the best solution here. Edit > Preferences > Tools.
Title: Re: Empty margin around outside of path preventing normal use of alignment tool
Post by: flamingolady on May 28, 2019, 09:38:24 AM
Not entirely sure this would work, but perhaps you could save it as a pattern, then you could adjust as needed.  (Object>Pattern>Objects to Pattern, then select that pattern from the Fill N Stroke box).
Title: Re: Empty margin around outside of path preventing normal use of alignment tool
Post by: THX1138 on May 29, 2019, 10:16:13 PM
"- Or use 'geometric bounding box' instead of 'visual bounding box' - which is probably the best solution here. Edit > Preferences > Tools."

This worked great. Thanks very much!
Title: Re: Empty margin around outside of path preventing normal use of alignment tool
Post by: Moini on June 01, 2019, 04:13:33 PM
You're welcome, THX1138