pyboxbuilder.preview¶
View-time helpers for pyboxbuilder.Project.show().
Nothing in this module affects exported geometry. Colours assigned here are a preview aid so a viewer can tell one box from another; the material a box prints in is decided by the exporter, not by this file.
Classes
One solid in a preview, with the colour it should be drawn in. |
Functions
Return the distinct Z levels boxes rest at, lowest first. |
|
Return the preview colour for a lid sitting on a box of |
|
Lift a colour towards white, preserving its alpha. |
|
Drop the top |
|
Return the preview colour for a spacer tray — always a variant of grey. |
|
Assign a distinct, stable preview colour to a box label. |
|
Return |