mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 03:09:04 +08:00
Fix prime tower location/visualization on buildplate. CURA-3525
This commit is contained in:
parent
b21a87b25b
commit
2b17f9665f
@ -629,7 +629,7 @@ class BuildVolume(SceneNode):
|
|||||||
|
|
||||||
if not self._global_container_stack.getProperty("machine_center_is_zero", "value"):
|
if not self._global_container_stack.getProperty("machine_center_is_zero", "value"):
|
||||||
prime_x = prime_x - machine_width / 2 #Offset by half machine_width and _depth to put the origin in the front-left.
|
prime_x = prime_x - machine_width / 2 #Offset by half machine_width and _depth to put the origin in the front-left.
|
||||||
prime_y = prime_x + machine_depth / 2
|
prime_y = prime_y + machine_depth / 2
|
||||||
|
|
||||||
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user