mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 10:29:02 +08:00
Merge branch '4.11'
This commit is contained in:
commit
e5374ada3b
@ -48,8 +48,8 @@ class AuthorizationHelpers:
|
||||
}
|
||||
try:
|
||||
return self.parseTokenResponse(requests.post(self._token_url, data = data)) # type: ignore
|
||||
except requests.exceptions.ConnectionError:
|
||||
return AuthenticationResponse(success=False, err_message="Unable to connect to remote server")
|
||||
except requests.exceptions.ConnectionError as connection_error:
|
||||
return AuthenticationResponse(success = False, err_message = f"Unable to connect to remote server: {connection_error}")
|
||||
|
||||
def getAccessTokenUsingRefreshToken(self, refresh_token: str) -> "AuthenticationResponse":
|
||||
"""Request the access token from the authorization server using a refresh token.
|
||||
|
@ -468,8 +468,8 @@ class PauseAtHeight(Script):
|
||||
|
||||
#Move the head back
|
||||
if park_enabled:
|
||||
prepend_gcode += self.putValue(G = 1, Z = current_z, F = 300) + "\n"
|
||||
prepend_gcode += self.putValue(G = 1, X = x, Y = y, F = 9000) + "\n"
|
||||
prepend_gcode += self.putValue(G = 1, Z = current_z, F = 300) + "\n"
|
||||
|
||||
if retraction_amount != 0:
|
||||
prepend_gcode += self.putValue(G = 1, E = retraction_amount, F = 6000) + "\n"
|
||||
|
@ -168,7 +168,7 @@
|
||||
"size": "default"
|
||||
},
|
||||
"pencil": {
|
||||
"new_icon": "Pencil",
|
||||
"new_icon": "Pen",
|
||||
"size": "default"
|
||||
},
|
||||
"printing_guideline": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user