creating fillable shape from lines
-
inkscapesuperman
- Posts: 2
- Joined: Sat Apr 16, 2011 10:54 am
creating fillable shape from lines
I'm trying to create a fillable shape from lines. For example I draw 3 lines that I "connect" with "snap to cuspnode" to make a triangle. But I can not fill that shape. I tried Ctrl-K and Boolean and stuff like that, but it doesn't become a shape that I can fill. Does anybody know how to do this?
Re: creating fillable shape from lines
If you're really wanting to simply draw a triangle, do the following:
1. Draw a rectangle
2. Object to path
3.
and delete one node
If you want an isosceles triangle you can select one rectangle side and add a node then delete the two corner nodes.
1. Draw a rectangle
2. Object to path
3.
and delete one nodeIf you want an isosceles triangle you can select one rectangle side and add a node then delete the two corner nodes.
Re: creating fillable shape from lines
inkscapesuperman wrote:I'm trying to create a fillable shape from lines. For example I draw 3 lines that I "connect" with "snap to cuspnode" to make a triangle. But I can not fill that shape. I tried Ctrl-K and Boolean and stuff like that, but it doesn't become a shape that I can fill. Does anybody know how to do this?
Even unclosed shapes can have a fill. What do you mean by "fillable"?
-Rob A>
Re: creating fillable shape from lines
inkscapesuperman wrote:I'm trying to create a fillable shape from lines. For example I draw 3 lines that I "connect" with "snap to cuspnode" to make a triangle. But I can not fill that shape. I tried Ctrl-K and Boolean and stuff like that, but it doesn't become a shape that I can fill. Does anybody know how to do this?
A two-node path can show a fill in the bottom left swatch but you won't see it on canvas because the path has only one dimension (no area).
But you are almost there with control-K which combines the three two-node paths into one six-node but disjointed path. Now you have to select each pair of overlapping nodes with the
- draw a small marquee that encloses just the two nodes you want to join - and click the third icon in the control bar, 'join selected nodes'. As soon as you do this Inkscape will display a fill, but you should do the other two corners too if you want a truly closed shape.A quicker solution would be to use the bucket fill tool
if you have already drawn your three lines. This generates another shape that won't be triangular, necessarily, but looks OK unless you zoom in. Use the 'grow by' or a stroked shape and you will get very good results. Use the shrink by to get a series of insets...Naturally you can use the bezier pen
too. and even set the control barto draw straight lines (cusp nodes only). click once twice three times and there you are.But the fastest way to get a triangle is to use the star tool
, set it to 'polygon' and '3' vertices in the control bar and draw. Instant triangle, although you will have to do an 'object to path' to edit it.Your mind is what you think it is.
-
inkscapesuperman
- Posts: 2
- Joined: Sat Apr 16, 2011 10:54 am
Re: creating fillable shape from lines
druban wrote:But you are almost there with control-K which combines the three two-node paths into one six-node but disjointed path. Now you have to select each pair of overlapping nodes with the- draw a small marquee that encloses just the two nodes you want to join - and click the third icon in the control bar, 'join selected nodes'.
That's what I need! Thanks!
I'm drawing more complex shapes than triangles. I was just figuring out how to do it with a triangle because it's the simplest shape.

