Inkscape.org
Beginners' Questions How to Match Corner Radius on squares/rectangles?
  1. #1
    mhall17 mhall17 @mhall17

    HI,

    I want to create a rectangle/square with rounded corners, and then create a border within that perfectly "matches" the rounded corners of the outer shape.  Is there a way to do this other than by eyeballing it? If I eyeball it, I can get it much closer than the the pictures below, but there has to be a better way to do this, right?? I've tried toggling the "scale corner radii" button, tried using inset/offset, tried a bunch of different stuff but I just can't figure it out.  I'm sure its fairly simple but it just isn't clicking for me; any help is appreciated!

     

     

     

     

    Screen Shot 2024 10 19 At 8.58.14 Am
    Screen Shot 2024 10 19 At 8.58.07 Am
  2. #2
    Polygon Polygon @Polygon🌶
    *

    Start with the white square; white color stroke no fill.

    Duplicate send to background: set blue color for Fill and Stroke. Adjust stroke thickness. If you want it as a single shape go Path->Stroke to Path - Path->Break apart - Path->Union.

     

  3. #3
    Paddy_CAD Paddy_CAD @Paddy_CAD

    Draw a rectangle and set the stroke width to 4mm.
    [ctrl+d] to duplicate. [shift+ctrl+7] opens the Path Effects dialog.
    [Add Live Path Effect > Offset]. Set [Join: Rounded] and set [Offset: 4mm] same as the stroke width.
    [ctrl+d] to duplicate again and set [Offset: 8mm].
    [ctrl+d] to duplicate again and set [Offset: 12mm].
    Repeat as much as you want, increasing the offset each time.

Inkscape Inkscape.org Inkscape Forum Beginners' Questions How to Match Corner Radius on squares/rectangles?