Scale_True Node
Attached is the latest addition to my node library: scale_true. I've been meaning to make this node for years.
The Nodebox scale node has an annoying quirk: it resizes objects but does not resize their strokeWidths. This can sometimes produce ghastly effects, forcing you to adjust all stroke widths in your original diagram or drawing.
Scale_true works just like scale except that it also scales any stokeWidths you have defined. Very easy!
There is one difference. Scale_true only accepts a single value for the scale amount (100 = leave the same size). This does not allow you to scale differently in one dimension than in the other. In such cases the change needed to any strokeWidths would depend on the overall geometry and would require your artistic judgement, so you would need to use scale as you do now. However most scaling is done evenly to maintain the original proportions; scale_true will work fine in those cases.
Demo attached (see screenshot). Scale is on the left, scale_true on the right. As you change the scale amount in the number1 node, scale will cause the edges to either almost disappear or completely overwhelm the shapes, while scale_true will maintain the relative proportions at all scales.
Scale_true will also appear in the next release of my node library. Enjoy and please reply if you encounter any problems with this node.
John
-
scale_true_screenshot.png 335 KB
- scale_true.ndbx.zip 2.17 KB
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac