mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
Merge pull request #1239 from fieldOfView/fix_elliptic_buildvolume_aspect
Fix elliptic buildplate mesh when machine_height != machine_width
This commit is contained in:
commit
6d50287c42
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ class BuildVolume(SceneNode):
|
|||
scale_matrix = Matrix()
|
||||
if self._width != 0:
|
||||
# Scale circular meshes by aspect ratio if width != height
|
||||
aspect = self._height / self._width
|
||||
aspect = self._depth / self._width
|
||||
scale_matrix.compose(scale = Vector(1, 1, aspect))
|
||||
mb = MeshBuilder()
|
||||
mb.addArc(max_w, Vector.Unit_Y, center = (0, min_h - z_fight_distance, 0), color = self.VolumeOutlineColor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue