mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-25 11:51:41 -07:00
Minor code-style-related fixes
This commit is contained in:
parent
86383b2be0
commit
68fd0814e5
2 changed files with 2 additions and 2 deletions
|
|
@ -226,7 +226,7 @@ class BuildVolume(SceneNode):
|
||||||
if self._width != 0:
|
if self._width != 0:
|
||||||
# Scale circular meshes by aspect ratio if width != height
|
# Scale circular meshes by aspect ratio if width != height
|
||||||
aspect = self._height / self._width
|
aspect = self._height / self._width
|
||||||
scale_matrix.compose(Vector(1, 1, aspect))
|
scale_matrix.compose(scale = Vector(1, 1, aspect))
|
||||||
mb = MeshBuilder()
|
mb = MeshBuilder()
|
||||||
mb.addArc(max_w, Vector.Unit_Y, center = (0, min_h - z_fight_distance, 0), color = self.VolumeOutlineColor)
|
mb.addArc(max_w, Vector.Unit_Y, center = (0, min_h - z_fight_distance, 0), color = self.VolumeOutlineColor)
|
||||||
mb.addArc(max_w, Vector.Unit_Y, center = (0, max_h, 0), color = self.VolumeOutlineColor)
|
mb.addArc(max_w, Vector.Unit_Y, center = (0, max_h, 0), color = self.VolumeOutlineColor)
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,7 @@
|
||||||
{
|
{
|
||||||
"label": "Build plate shape",
|
"label": "Build plate shape",
|
||||||
"description": "The shape of the build plate without taking unprintable areas into account.",
|
"description": "The shape of the build plate without taking unprintable areas into account.",
|
||||||
"default_value": "Rectangular",
|
"default_value": "rectangular",
|
||||||
"type": "enum",
|
"type": "enum",
|
||||||
"options":
|
"options":
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue