GraphiteEditor/Graphite

Polygon: Use inner instead of outer radius

Open

#3 484 ouverte le 17 déc. 2025

Voir sur GitHub
 (5 commentaires) (1 réaction) (0 assignés)Rust (1 176 forks)batch import
Good First Issue

Métriques du dépôt

Stars
 (25 662 stars)
Métriques de merge PR
 (Merge moyen 7j 18h) (37 PRs mergées en 30 j)

Description

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?

Guide contributeur