How hard would it be to modified the free hand drawing tool to lay down two parallel lines, that become larger apart with pen pressure, and closed at both ends to form a shape?
Dale
Mod of freehand drawing tool
Moderators: Víctor Paredes, Belgarath, slowtiger
- Víctor Paredes
- Site Admin
- Posts: 5826
- Joined: Tue Jan 25, 2005 3:18 pm
- Location: Barcelona/Chile
- Contact:






Moho co-owner
Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
- neeters_guy
- Posts: 1626
- Joined: Mon Sep 14, 2009 11:33 am
- Contact:
- neeters_guy
- Posts: 1626
- Joined: Mon Sep 14, 2009 11:33 am
- Contact:
I have put up the latest version of my modified freehand tool and updated the links in the original thread Minor tweak to ASP6's freehand tool.neeters_guy wrote:Works in 6.2, but I get lua errors in versions 5.6 and 7.1.
I'm not sure why the previous version gave errors in AS 7.1, but I have tested this version and it works fine. The only thing is, the new way AS calculates curves can sometimes cause some unsightly loops in the expanded stroke, so it's probably a good idea to use legacy curves when using the stroke-fill option.
Also, you might notice a few new features since I last updated it.
Now, if you hold down the <Ctrl> key you can click out a polygon. To terminate the polygon just release the <Ctrl> key before the last click. If you want to terminate without adding another point, press <Ctrl>-c. If you want the polygon to have sharp corners, make sure the Sharp Corners checkbox is checked. This also turns on the sharp corners feature for freehand drawing that was introduced in AS 7.
Also, the width of the filled stroke is now controlled by a separate parameter instead of the style settings. This means you can draw filled strokes with an outline, which is kind of cool.
I'm still working on the feature to add and subtract strokes from previous shapes. The basic concept is there, but there's a bit of a bug infestation going on at the moment
