mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Added simple test for BuildVolume
This commit is contained in:
parent
54ffcc478c
commit
f85095f5d8
2 changed files with 30 additions and 6 deletions
|
@ -165,16 +165,13 @@ class BuildVolume(SceneNode):
|
|||
active_extruder_changed.connect(self._updateDisallowedAreasAndRebuild)
|
||||
|
||||
def setWidth(self, width: float) -> None:
|
||||
if width is not None:
|
||||
self._width = width
|
||||
self._width = width
|
||||
|
||||
def setHeight(self, height: float) -> None:
|
||||
if height is not None:
|
||||
self._height = height
|
||||
self._height = height
|
||||
|
||||
def setDepth(self, depth: float) -> None:
|
||||
if depth is not None:
|
||||
self._depth = depth
|
||||
self._depth = depth
|
||||
|
||||
def setShape(self, shape: str) -> None:
|
||||
if shape:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue