Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
9 years, 8 months ago
I wish to draw a rectangle with no fill, but only a stroke. I would like to erase a certain portion of one side, going out from the middle. I have attached a picture of what I would like to obtain at the end:
I know how to make the box in Inkscape, but I haven't figured out how to remove the part in the middle such that it looks symmetric. Does anyone know if it is possible to achieve this latter feature in Inkscape?
Oct 5, 2013 at 16:40
353 1 1 gold badge 3 3 silver badges 7 7 bronze badges
These are the steps to create a box with a symmetrical opening in Inkscape:
Cut out method
Draw two boxes, one for the resulting end box, another for defining the opening.
Select both objects and choose Object - Align and Distribute... to align to the Center on vertical axis (choose another axis for opening on the sides), relative to "Biggest object":
Cut out the small object from the big object with Path - Difference.
Edit path nodes mode to select four inner nodes:
Delete the segment between these nodes (make sure you had not set the node edit mode to preserve shape):
Working with nodes
Another approach is working with nodes. This will not let you define a fixed width of the object in the way a second box allows but it is also fit to create a symmetrical opening.
Create close box.
Path - Combine to break nodes. Select two nodes in
Edit node mode.
Insert new node two (or more) times.
Object - Align and distribute. Select all nodes on base line.
Distribute nodes horizontally for symmetry.
Select nodes between opening.
Delete segment between two selected nodes.
Oct 5, 2013 at 17:29
12.4k 1 1 gold badge 37 37 silver badges 54 54 bronze badges
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only