box

marxs.visualization.threejs.box(obs, display, outfile)[source] [edit on github]

Output three.js commands to include a box-shaped optical element.

Parameters:
objmarxs.base.MarxsElement

The element that should be plotted.

displaydict of None

Dictionary with display settings.

outfilefile handle

Output is written to this file.