Extruded shape: self-intersecting 2D shapes

Chiusa
#190 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
28/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp, unity
Ambito
game-dev

Direzione di ricerca

The payload names no files, so start by locating the extruded shape generator and the size handling it shares with the other generators in the Chisel codebase. Done means creating an extruded shape at zero size cancels, an existing one cannot be set to zero, and a 2D shape whose edges cross extrudes into a valid brush. Coordinate the rule with the related generator issues (#184 to #189) before changing shared code.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Problems with the extruded shape:

  1. Zero size, while creating and after. As with the other generators, the extruded shape can be sized to zero, both while it is being created and once it exists.
  2. Self-intersecting 2D shapes aren't handled well. The extruded shape extrudes a 2D shape, and a 2D shape whose edges cross each other doesn't extrude properly.

Rule for all generators: negative sizes are allowed, and every generator builds a valid shape from them (swapping sides under the hood, so the brush is the right way out). A zero size is never allowed: creating at zero size cancels, and an existing generator can't be made zero sized.

Related: box (#184), capsule (#185), cylinder (#186), inspector values (#187), hemisphere (#188), sphere (#189), linear stairs (#191), spiral stairs (#192), 2D shape editor (#38, self-intersecting shapes).

Lingua principale
C#
Stelle
135
Fork
15
Merge medio
25m
PR unite (30g)
108

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di RadicalCSG/com.chisel

Tutte le issue di RadicalCSG/com.chisel

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.