GraphiteEditor/Graphite

Polygon: Use inner instead of outer radius

Open

#3484 aperta il 17 dic 2025

Vedi su GitHub
 (5 commenti) (1 reazione) (0 assegnatari)Rust (1176 fork)batch import
Good First Issue

Metriche repository

Star
 (25.662 star)
Metriche merge PR
 (Merge medio 7g 18h) (37 PR mergiate in 30 g)

Descrizione

When creating a polygon, I often want to be able to create it with a radius based on the middle segment. For example, with hexagons:

What the radius currently sets

What I want to set as the radius

I don't know how this should be implemented. Should it be a toggle? It could be a simple custom component with a relatively simple trigonomery node also. Should it be implemented directly within the editor?

I currently don't realize what is the scope of these nodes. Should they be general? Should the provide the bare minimum to be composable into any wanted node?

Guida contributor