GraphiteEditor / GraphiteEditor/Graphite

Polygon: Use inner instead of outer radius

Offen
#3,484 5 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Good First Issue
Vorherrschende Sprache
Rust
Sterne
27.2k
Forks
1.3k
Ø Merge
20 Std. 5 Min.
Gemergte PRs (30 T.)
57

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

Image

### What I want to set as the radius

Image

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by locating the polygon-creation nodes in the editor and reviewing how their current radius is defined. Compare the existing outer-radius behavior with the requested middle-segment radius, then determine whether the result should be a toggle, a custom component, or composable trigonometry nodes. Done requires an agreed scope and a way to create polygons using the inner radius.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
rust
Bereich
computer-graphics, design
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.