Poly_labels Node
Poly_labels takes any closed polygon and draws it with interior angles labeled in blue and side lengths labeled in red.
If you give it other shapes (simple lines, open paths, self-crossing paths, curves, contours, text paths, etc.) it will do its best, but it's really intended for closed polygons. It tries to size the side labels to fit the overall scale of the shape (based on the shortest side), but you can adjust the size up or down (with 100 representing "normal" size).
Poly_labels is handy when you are working with a shape you've imported or created through some process and you need to understand its angles and/or side lengths in order to mold it or add on additional shapes. It's also great for quickly producing diagrams. If you can't remember the interior angles of a regular octagon, just place a polygon node, set Sides to 8, and attach a poly_labels node.
If you are using the polygon node and need to increase the radius until you reach a certain size length, just attach a poly_labels node, render it, and watch the side labels as you increase the radius. (For exact radius values you could also use my find_radius node.)
For professional diagrams you can use poly_labels as a starting point, then look inside it to adjust fonts, colors, etc. until you reach a state of perfection. It's great for teaching geometry, working with Islamic mosaics, and a thousand other things. And it's just fun!
Poly_labels will be included in the next release of my Cartan Node Library. Enjoy!
John
- poly_labels_screenshot.png 397 KB
- poly_label_demo.ndbx.zip 37.4 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