mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-29 13:51:12 -07:00
We now use correct size of disallowed area for prime tower
CURA-2394
This commit is contained in:
parent
909a021dfc
commit
850a83fd8d
1 changed files with 2 additions and 2 deletions
|
|
@ -367,8 +367,6 @@ class BuildVolume(SceneNode):
|
|||
|
||||
areas.append(poly)
|
||||
|
||||
if self._prime_tower_area:
|
||||
self._prime_tower_area = self._prime_tower_area.getMinkowskiHull(Polygon(approximatedCircleVertices(bed_adhesion_size)))
|
||||
|
||||
# Add the skirt areas around the borders of the build plate.
|
||||
if bed_adhesion_size > 0:
|
||||
|
|
@ -409,6 +407,8 @@ class BuildVolume(SceneNode):
|
|||
collision = False
|
||||
if self._prime_tower_area:
|
||||
for area in areas:
|
||||
# Using Minkowski of 0 fixes the prime tower area so it's rendered correctly
|
||||
self._prime_tower_area = self._prime_tower_area.getMinkowskiHull(Polygon(approximatedCircleVertices(0)))
|
||||
if self._prime_tower_area.intersectsPolygon(area) is not None:
|
||||
collision = True
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue