GraphiteEditor/Graphite

Polygon: Use inner instead of outer radius

Aperta

#3484 aperta il 17 dic 2025

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

Metriche repository

Star
 (25.662 stelle)
Metriche merge PR
 (Merge medio 6g 9h) (65 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