GraphiteEditor / GraphiteEditor/Graphite

Extrude curves

Open
#2,040 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
27.2k
Forks
1.3k
Avg merge
20h 5m
Merged PRs (30d)
57

Description

(as requested in #general by Keavon)

- For noncurving polygons, just do extrude (but allow multiselect, so you can extrude multiple polygon segments at a time) (see image below)
- For bezier segments, break the bezier into curve elements, turn these into subdivision lines (2d analog of subdivision surfaces) , and extrude those. You end up with cusps, but that's inevitable.

![image](https://github.com/user-attachments/assets/7775b308-6f39-4eb4-99da-f67c734dafb4)
![image](https://github.com/user-attachments/assets/8a620611-b843-4feb-b5db-31fb16352f74)

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by locating the existing extrusion behavior for polygon segments and the handling of Bézier segments, then trace how selection and subdivision lines are represented. Done means noncurving polygons support multiselect extrusion and Bézier segments are converted into subdivision lines before extrusion, with the expected cusp behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.