Create the expected shape

Bug #170858 reported by Mimooh-
2
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

The technic to create images I use is draw strokes with
calligraphic tool. The hard part is to put color below
the strokes.

When the final shape, that is made of few separate
strokes is closed I use this procedure:
a) union all shapes
b) create rectangle to contain the shape
c) path::division

That procedure produces the object with needed shape
and size that can be colored and then be put below the
original strokes and it makes the job finished.

If the shape made of strokes is not closed, then
path::division doesn't work so there's some extra
stroke needed to always close the shape.

Anyway, the request for feature is to create a way to
easily create color-shape for a given stroke-shape. The
attachment should makes things clear.

mimooh at inf sgsp edu pl

Revision history for this message
Mimooh- (mimooh-) wrote :
Revision history for this message
Horkana-users (horkana-users) wrote :

please provide more description
examples of other programs that do this including
screenshots would be useful

Revision history for this message
Mimooh- (mimooh-) wrote :

See the attachment, plane.svg. Inspect how the orange color
was put to the image. I am talking about a fast method to
put color below left wing of the plane. The shape of the
wing is pretty basic, so I put color manually. But more
complicated shapes would need more work.

I think, I could write an extension, see 'the extension' in
plane.svg. The numbers are nodes indices in the svg file.

1. User passes nodes that mark 'the break' in the shape. In
plane.svg those are nodes 3 and 9.

2. The extension collects the nodes from 3 to 9 and end with
lineto(9,3)

3. The resulted shape is the color-shape

The algorithm needs some more details, I know.

I couldn't figure it out how to find the color-wing-shape
without user pointing which nodes start 'the break'. Finding
the points at which line changes from inner to outer seems
impossible - take the 'S' letter for instance or similar shapes.

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.