mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 13:17:51 -06:00
Fix applying skirt radius to prime locations
This makes the prime locations equal to what it was before. Contributes to issue CURA-2625.
This commit is contained in:
parent
45db315f77
commit
bcd4dd3aeb
1 changed files with 2 additions and 1 deletions
|
@ -378,6 +378,7 @@ class BuildVolume(SceneNode):
|
||||||
|
|
||||||
self._error_areas = []
|
self._error_areas = []
|
||||||
|
|
||||||
|
disallowed_border_size = self._getEdgeDisallowedSize()
|
||||||
result_areas = self._computeDisallowedAreasStatic()
|
result_areas = self._computeDisallowedAreasStatic()
|
||||||
|
|
||||||
machine_width = self._global_container_stack.getProperty("machine_width", "value")
|
machine_width = self._global_container_stack.getProperty("machine_width", "value")
|
||||||
|
@ -404,7 +405,7 @@ class BuildVolume(SceneNode):
|
||||||
|
|
||||||
prime_polygon = Polygon.approximatedCircle(PRIME_CLEARANCE)
|
prime_polygon = Polygon.approximatedCircle(PRIME_CLEARANCE)
|
||||||
prime_polygon = prime_polygon.translate(prime_x, prime_y)
|
prime_polygon = prime_polygon.translate(prime_x, prime_y)
|
||||||
prime_polygon = prime_polygon.getMinkowskiHull(Polygon.approximatedCircle(0))
|
prime_polygon = prime_polygon.getMinkowskiHull(Polygon.approximatedCircle(disallowed_border_size))
|
||||||
collision = False
|
collision = False
|
||||||
|
|
||||||
# Check if prime polygon is intersecting with any of the other disallowed areas.
|
# Check if prime polygon is intersecting with any of the other disallowed areas.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue