mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
Also offset inner corners of the Y-borders
These should coincide with the inner corners of the X-borders. Contributes to issue CURA-2625.
This commit is contained in:
parent
5ddc1d9d71
commit
98089e702c
1 changed files with 4 additions and 4 deletions
|
@ -554,15 +554,15 @@ class BuildVolume(SceneNode):
|
|||
result[extruder_id].append(Polygon(numpy.array([
|
||||
[-half_machine_width, half_machine_depth],
|
||||
[half_machine_width, half_machine_depth],
|
||||
[half_machine_width - border_size, half_machine_depth - border_size],
|
||||
[-half_machine_width + border_size, half_machine_depth - border_size]
|
||||
[half_machine_width - border_size + offset_x, half_machine_depth - border_size + offset_y],
|
||||
[-half_machine_width + border_size + offset_x, half_machine_depth - border_size + offset_y]
|
||||
], numpy.float32)))
|
||||
if border_size + offset_y > 0:
|
||||
result[extruder_id].append(Polygon(numpy.array([
|
||||
[half_machine_width, -half_machine_depth],
|
||||
[-half_machine_width, -half_machine_depth],
|
||||
[-half_machine_width + border_size, -half_machine_depth + border_size],
|
||||
[half_machine_width - border_size, -half_machine_depth + border_size]
|
||||
[-half_machine_width + border_size + offset_x, -half_machine_depth + border_size + offset_y],
|
||||
[half_machine_width - border_size + offset_x, -half_machine_depth + border_size + offset_y]
|
||||
], numpy.float32)))
|
||||
|
||||
return result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue