Inkscape hatch fill extension (Q40443)

From Library of Open Source Hardware
Jump to navigation Jump to search
No description defined
Language Label Description Also known as
English
Inkscape hatch fill extension
No description defined

    Statements

    thingiverse.com
    0 references
    https://spdx.org/licenses/GPL-3.0-or-later
    0 references
    dnewman
    0 references
    www.thingiverse.com
    0 references
    auto
    0 references
    1.0.0
    0 references
    en
    0 references
    This Inkscape extension performs the classic hatch and crosshatch fill operations on selected closed objects and closed paths in an Inkscape drawing. Should nothing be selected, then every closed path and closed object in the document is hatch filled. The orientation and spacing of the hatch fill is user selectable as is whether or not to draw hatches or crosshatches. The extension works by computing the points of intersection between a hatch or crosshatch grid with the selected closed objects or paths. An odd/even rule is then applied to determine which segments of the hatches or crosshatches to retain: for a given hatch line, its first intersection is considered to be the hatch line entering a closed figure, the second intersection it leaving, the third it entering another object (or section of an object), and so on. While this algorithm works well in most cases, one fault with it occurs when a hatch line intersects the corner of an object. In some circumstances this can appear to the an odd intersection and lead to stray, unwanted hatch lines. (And the manual workaround is to change the spacing of the hatch lines.) Another drawback of this extension is that the fills it generates are not smooth, continuous tool paths. Rather the fills are many independent line segments, each segment requiring pen up and pen down operations in order to be drawn. While the fills may look pleasant on a computer display, they are not optimal for the task of plotting a color filled region with a pen plotter. And, unlike Inkscape "Live Effects", the hatches generated by this extension do not change when the object of the hatching changes its shape. This is a limitation of the Inkscape extension mechanism. Note that this extension was originally designed for use with the Eggbot. However, it works quite well for other applications. The default hatch spacing of 8 pixels, while appropriate to the Eggbot, may be slightly too wide for the Unicorn.
    0 references
    0 references