Curve Formatting Script

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
oik976
Posts: 10
Joined: Fri Apr 09, 2021 7:29 pm

Curve Formatting Script

Post by oik976 »

Hi All!-

I've jumped into scripting since I didn't feel like I could find a tool that would actually do what I was looking for. My baby over the last little while was a Curve Formatting algorithm that takes in a decimal factor and then formats any selected shape with tapering at the end of strokes, and widening at junctions to emulate what happens when I draw by hand. For example with two keystrokes I can turn this:

Image

Into this:

Image

I hope it's useful to anyone out there who wants to achieve a similar effect and is tired of doing the tapering by hand.

https://drive.google.com/file/d/1wnWQ-m ... sp=sharing
User avatar
DK
Posts: 2857
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Re: Curve Formatting Script

Post by DK »

This is a great topic! Moho really needs some work done on it's line work. I would like to see a script that does the opposite. One that corrects/smooths the line where it connects to another line like the area at the top of your number "6" like shape.

Cheers
D.K
Post Reply