Change the stroke style for a single line in a hexagon

Post questions on how to use or achieve an effect in Inkscape.
yesplease151
Posts: 2
Joined: Mon Mar 24, 2014 11:42 am

Change the stroke style for a single line in a hexagon

Postby yesplease151 » Mon Mar 24, 2014 12:03 pm

I've created a hexagon using the shape tool, and would like to change the stroke style of a single side. I'm grouping hexagons together, and would like the outer edges to be a thin line with the inner lines having a thicker stroke style. Also, I'm trying to figure out how to delete single sides of a hexagon once they have been created so I don't have overlap. Anything I try to do applies to the entire hexagon. I appreciate any help that is offered.

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

Re: Change the stroke style for a single line in a hexagon

Postby ragstian » Mon Mar 24, 2014 4:22 pm

Hi.

To delete one (or more sides of a hexagon (or any shape));

1. Select hexagon object.
2. Go to node editing mode F2.
3. Select a node.
4. Perform - Break Path at selected node.
5. Repeat 3 & 4 for adjacent node.
6. Perform Path - break apart SHIFT CTRL K
7. Enter object mode F1
8. Select the segment you want to remove and delete Del

To get the different sides of a line to be different thicknesses set the stroke width to where you want the inner and outer line to be and perform a stroke to path - then break apart and select one of the new paths and change strokewidth.

No need to remove segments of a hexagon to hide overlapping parts, just set the fill to white (if you use a white background) and change the Z-order (PAGE-UPor PAGE-DOWN)

Good Luck
RGDS
Ragnar
Last edited by ragstian on Tue Mar 25, 2014 9:34 am, edited 3 times in total.
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Change the stroke style for a single line in a hexagon

Postby tylerdurden » Mon Mar 24, 2014 8:51 pm

The hexagon object may need to first be converted to a path (Shift+Ctrl+C).

It may also be helpful to use the Axonometric grid (document properties, grids tab).
Hex-Screenshot.jpg
Hex-Screenshot.jpg (200.35 KiB) Viewed 1187 times
Attachments
hex.svg
(6.99 KiB) Downloaded 167 times
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

yesplease151
Posts: 2
Joined: Mon Mar 24, 2014 11:42 am

Re: Change the stroke style for a single line in a hexagon

Postby yesplease151 » Mon Mar 24, 2014 8:57 pm

Thank you both so much for the reply. Ragstian, you have saved my sanity! Tylerdurden, thanks for the tip. That will help me with lining them up.


Return to “Help with using Inkscape”