Poly_labels Node

john's Avatar


05 Nov, 2023 10:16 PM

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!


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • poly_labels_screenshot.png 397 KB
  • poly_label_demo.ndbx.zip 37.4 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? 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

Recent Discussions

03 Mar, 2024 04:34 AM
23 Feb, 2024 07:39 PM
23 Feb, 2024 10:02 AM
22 Feb, 2024 05:51 AM
21 Feb, 2024 05:27 PM


21 Feb, 2024 04:49 PM
16 Feb, 2024 05:24 PM
06 Feb, 2024 04:45 AM
19 Jan, 2024 09:50 AM
13 Jan, 2024 03:47 AM
05 Jan, 2024 05:10 PM