scaling down several circles with a stroke problem

General discussions about Inkscape.
User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

scaling down several circles with a stroke problem

Postby Espermaschine » Sat Jun 07, 2014 4:02 pm

how do you scale down a circle with a stroke (and no fill), so the the strokes touch each other ?

lets say i have a circle 600x600px, with a stroke of 9px

(the Affect - Scale Stroke Proportion is turned off)

the obvious logic would be to make the second circle 9px smaller = 591px, but that doesnt work
so how does the Stroke calculate ?

Circle Problem.png
Circle Problem.png (47.5 KiB) Viewed 1442 times

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: scaling down several circles with a stroke problem

Postby ragstian » Sat Jun 07, 2014 4:13 pm

Hi.

The size of your circle is the outside diameter of the stroke.
To resize a copy of the circle so that it will fit inside the original;
old circle diam - (2 * stroke width)
in your case the new circle size will be; 600-(2*9)=582 (pixels)

RGDS
Ragnar
Last edited by ragstian on Sat Jun 07, 2014 4:23 pm, edited 1 time in total.
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: scaling down several circles with a stroke problem

Postby Espermaschine » Sat Jun 07, 2014 4:20 pm

that was quick :)

thanks !

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: scaling down several circles with a stroke problem

Postby Lazur » Sat Jun 07, 2014 7:07 pm

An idea is to use the interpolate subpaths live path effect.

Draw a circular path, duplicate it, scale down, then combine it with the original and add the lpe.
That way it is easier to get a close match without calculations.
(Like the original circle's diameter is 574,985 px, with a 8,275 px stroke given it would be harder to be calculated)


Return to “General Discussions”