Custom Frequency for Preset Hatch for Fills

Home Evil Mad Scientist Forums Egg-Bot Custom Frequency for Preset Hatch for Fills

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20469
    tomin
    Participant

    I’d like to tighten up the hatches in the Preset Hatch for fills. I assume it’s possible to adjust the code in eggbot_presethatch.py. Is it the “scale” elements that would need to be adjusted down? Also, if I would like to add a slight bend them, it appears I would set the “do_bend” parameter to “true”, would I need to add a parameter to tell it how much?

    #22223
    Windell Oskay
    Keymaster

    Yes, you can edit the extension itself to customize it for your use.  

    I’d honestly suggest just messing with the parameters there, and try it over and over again until it does what you want. Each time you edit the code and save the file, you can just select Extensions>Previous Extension (and then undo) to try out its function. You don’t need to restart Inkscape in order for the changes to take effect, and the worst thing that can go wrong would be that you get an error message. Remember that as a python file, it is sensitive to invisible whitespaces.
    I think that adjusting the scale parameters should be straightforward. I don’t know exactly how all the bend parameters work. One other thing you can do is save an SVG file with a single shape and a bend preset that you like. If you open that file with a text editor, you can see what parameters look good to you.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.