mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:19:05 +08: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
@ -378,6 +378,7 @@ class BuildVolume(SceneNode):
|
||||
|
||||
self._error_areas = []
|
||||
|
||||
disallowed_border_size = self._getEdgeDisallowedSize()
|
||||
result_areas = self._computeDisallowedAreasStatic()
|
||||
|
||||
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 = 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
|
||||
|
||||
# Check if prime polygon is intersecting with any of the other disallowed areas.
|
||||
|
Loading…
x
Reference in New Issue
Block a user