Cut holes in mesh
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- cpp
- Ambito
- computer-graphics
Direzione di ricerca
Start by reading the mesh construction logic in src/surface/manifold_surface_mesh.cpp around lines 48 and 154-161, then inspect SeparateEdge around lines 671 and 808-814. Reproduce the reported failures with a mesh containing an interior edge loop. Done means the library can represent the loop as a boundary or clearly documents the supported approach.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
First of all, a huge thanks for creating this fantastic library!
I've been experimenting with GC inside of Rhino to work with modelling terrains. One thing I'm struggling with is cutting holes in the mesh. Consider this basic example:
Initial mesh:

Faces to remove:

Resulting mesh with a hole inside:

I tried several approaches:
- Omit the interior faces while constructing a new mesh:
https://github.com/nmwsharp/geometry-central/blob/ebe40292466517b2139f8f546688db278414e3bb/src/surface/manifold_surface_mesh.cpp#L48
This fails here:
https://github.com/nmwsharp/geometry-central/blob/ebe40292466517b2139f8f546688db278414e3bb/src/surface/manifold_surface_mesh.cpp#L154-L161
- Pass the edges defining the interior boundary to the SeparateEdge function
https://github.com/nmwsharp/geometry-central/blob/ebe40292466517b2139f8f546688db278414e3bb/src/surface/manifold_surface_mesh.cpp#L671
Which fails here;
https://github.com/nmwsharp/geometry-central/blob/ebe40292466517b2139f8f546688db278414e3bb/src/surface/manifold_surface_mesh.cpp#L808-L814
Is there a straight-forward way to define an edge loop as a boundary?
@nmwsharp, @MarkGillespie, @keenancrane
- Lingua principale
- C++
- Stelle
- 1.3k
- Fork
- 183
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nmwsharp/geometry-central
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
nmwsharp/geometry-central#256 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
nmwsharp/geometry-central#255 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
nmwsharp/geometry-central#253 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
nmwsharp/geometry-central#247 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
nmwsharp/geometry-central#246 ·
Tutte le issue di nmwsharp/geometry-central
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
litertlm-android AAR ships no consumer ProGuard rules → "mid == null" SIGABRT in minified apps Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
Component: GLib
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
brave/brave-browser#59300 ·
-
Mute ydb/tests/functional/dstool/test_canonical_requests.py.Test.test_group_take_snapshot in main Apertaai_reviewed
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
ydb-platform/ydb#53974 · 3 commenti ·