zserge / figma-simplify-path

Figma plugin to simplify vector paths
Apache License 2.0
26 stars 4 forks source link

Simplicity factor is missed #2

Open a-x- opened 4 years ago

a-x- commented 4 years ago

I want to tune simplicity level realtime. Currently I still have to do hard work to squash extra points to simplify paths manually even after plugin run

zserge commented 4 years ago

In the code the tolerance parameter controls the simplicity level (https://github.com/zserge/figma-simplify-path/blob/master/code.ts#L31). But to make it dynamic the plugin probably has to be rewritten, since now it's just a one-shot operation runner.