default `name=` in `register_surface_mesh` ?

Aperta
#25 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Start at the register_surface_mesh entry point named in the issue and inspect how repeated registrations use the name argument. Done means the default-name question has a consistent implemented answer, including defined behavior when the function is called repeatedly without a meaningful name.

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

Descrizione

When using polyscope for a quick visualization I don't always have or care about a meaningful "name" for my mesh. Could there be a default?

If I understand correctly calling register_surface_mesh twice with the same name will overwrite the first call's data. So I guess there's a question whether a default would be default1, default2, etc. or just keep overwriting default. I kind of like overwriting default because avoiding that clearly gives the non-default name a sense of purpose.

Lingua principale
C++
Stelle
53
Fork
25
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

  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 nmwsharp/polyscope-py

Tutte le issue di nmwsharp/polyscope-py

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.