GraphiteEditor/Graphite

Polygon: Use inner instead of outer radius

Offen

#3.484 geöffnet am 17.12.2025

 (5 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Rust (1.176 Forks)batch import
Good First Issue

Repository-Metriken

Stars
 (25.662 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 6T 9h) (65 gemergte PRs in 30 T)

Beschreibung

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?

Contributor Guide