Named views: save the camera and recall it from a slot

Aperta
#191 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
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
desktop, devtools

Direzione di ricerca

Start by reading the existing profile storage and menu action code, then locate how the ZBrush API exposes get_transform and set_transform (the issue names ZScript's TransformGet and TransformSet). Define how named views are stored and recalled, including how document size affects canvas-space values; perspective is outside the transform. Done means a named view can be saved and restored from a slot, with the document-size behavior explained or handled.

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

Descrizione

bridge idea ring

Two actions. Save view stores the current transform (position, scale and rotation, which the API gives as get_transform) in the profile under a name. Recall view sets it back with set_transform. A fan of saved views on one slot.

ZBrush's own Store Camera is awkward and people buy plugins for this. The values are in canvas space, so a view saved at one document size is off at another: store the document size with the view and scale, or just say so in the docs. Perspective is a separate switch and is not in the transform. ZBrush 2022 to 2025 have TransformGet and TransformSet in ZScript.

Lingua principale
Python
Stelle
2
Fork
1
Merge medio
47m
PR unite (30g)
62

Preparare l'ambiente

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 combwizard/ZOrbit

Tutte le issue di combwizard/ZOrbit

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.