In NB3 I have created a 400 x 400 rectangle with a 20 pixel stroke border. I use the Scale node to scale height and width by 50 %. The rectangle shrinks to 200 x 200 but the stroke appears to remain at 20. (I wanted it to scale to 10.) Does Scale not act to scale the stroke setting of an object? Is this by design in NB3 or is this an error?
The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.
NodeBox 3From the old forum
Scale Does Not Scale Stroke (Border Width) of Rect
-
-
NodeBox team You're right, it doesn't scale the strokes. This is by design, but we might need to add an option to scale strokes as well in the scale node.
-
Thank you. I think that would be very helpful. I manually changed my stroke setting for the single rectangle from 20 to 10 to make the stroke width look proportional to the smaller scaled rectangle. But if I had to do that for dozens of rectangles it could get to be very tedious! :-)