Maintenance notice: These forum archives are read-only, and will be removed shortly. Please visit our forums at their new location, https://www.evilmadscientist.com/forums/.

Custom Frequency for Preset Hatch for Fills

edited August 2015 in Egg-Bot
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?

Comments

  • 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.
Sign In or Register to comment.