Extends: core_modeler.Shape, core_modeler.IDrawable

Proxy of C++ CoreModeler::Geometry::Box class.

Class Variables

  • core_modeler.Box.thisown
  • core_modeler.Box.__repr__
  • core_modeler.Box.__swig_destroy__

Methods

init

__init__(self, width: double, height: double, depth: double)

ParameterTypeDescription
widthdouble
heightdouble
depthdouble

getVolume

getVolume(self)

renderToScreen

renderToScreen(self, mode: enum CoreModeler::RenderMode)

ParameterTypeDescription
modeenum CoreModeler::RenderMode

scale

scale(self, factor: double, xFactor: double, yFactor: double, zFactor: double)

ParameterTypeDescription
factordouble
xFactordouble
yFactordouble
zFactordouble