GraphiteEditor/Graphite

Polygon: Use inner instead of outer radius

開放

#3,484 建立於 2025年12月17日

 (5 則留言) (1 個反應) (0 位負責人)Rust (1,176 個分叉)batch import
Good First Issue

倉庫指標

星標
 (25,662 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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?

貢獻者指南