Skip to content

Scene to support plot_3d() #2679

@yuanshen-flexcompute

Description

@yuanshen-flexcompute

Simulation has a very convenient plot_3d() method for viewing the simulation setup when working in the API.

My suggestion is to also include a similar method Scene.plot_3d(). The reasoning is that when building complicated geometry, the user might want to quickly set up a test scene and view in 3D to check for mistakes. This is most helpful in the geometry creation step, long before defining any other simulation parameters.

The current workaround is for the user to create a dummy simulation. But one could imagine a Scene.plot_3d(center, size) convenience method that automatically sets up a dummy simulation to do so.

Thanks.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions