You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 15, 2025. It is now read-only.
Automatically zoom (more appropriately, set size and pixel_scale) to fit the primitives contained in a scene
Solutions:
Add an auto_zoom() method to Scene
Add machinery to zoom property setters to auto-zoom when setting prim.zoom = 'auto'
Add a way to access commonly-used orientations (isometric/viewing each face/slightly-off-each-face)
Solutions:
Add a plato.rotations module that contains these by name
Add machinery to rotation property setters to convert string descriptions into appropriate quaternions
Easier way to access child primitives via Scene objects
Solutions:
Add __getitem__ to scenes that searches through the set of contained primitives for the given key (something like 'spheres'/'convex_polyhedra' -> the first primitive of the given type, 'spheres_2' for the second spheres object in the scene, and so on? Also allow querying by draw class/type?)
Ideas from discussion with @bdice:
Automatically zoom (more appropriately, set
sizeandpixel_scale) to fit the primitives contained in a sceneSolutions:
auto_zoom()method toScenezoomproperty setters to auto-zoom when settingprim.zoom = 'auto'Add a way to access commonly-used orientations (isometric/viewing each face/slightly-off-each-face)
Solutions:
plato.rotationsmodule that contains these by namerotationproperty setters to convert string descriptions into appropriate quaternionsEasier way to access child primitives via Scene objects
Solutions:
__getitem__to scenes that searches through the set of contained primitives for the given key (something like 'spheres'/'convex_polyhedra' -> the first primitive of the given type, 'spheres_2' for the second spheres object in the scene, and so on? Also allow querying bydrawclass/type?)