mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-30 15:54:32 +08:00
Merge branch 'main' into CURA-10475_engineplugin
This commit is contained in:
commit
c15a53d349
@ -21,6 +21,7 @@ catalog = i18nCatalog("cura")
|
||||
|
||||
class RemotePackageList(PackageList):
|
||||
ITEMS_PER_PAGE = 20 # Pagination of number of elements to download at once.
|
||||
SORT_TYPE = "last_updated" # Default value to send for sort_by filter.
|
||||
|
||||
def __init__(self, parent: Optional["QObject"] = None) -> None:
|
||||
super().__init__(parent)
|
||||
@ -28,6 +29,7 @@ class RemotePackageList(PackageList):
|
||||
self._package_type_filter = ""
|
||||
self._requested_search_string = ""
|
||||
self._current_search_string = ""
|
||||
self._search_sort = "sort_by"
|
||||
self._search_type = "search"
|
||||
self._request_url = self._initialRequestUrl()
|
||||
self._ongoing_requests["get_packages"] = None
|
||||
@ -102,6 +104,8 @@ class RemotePackageList(PackageList):
|
||||
request_url += f"&package_type={self._package_type_filter}"
|
||||
if self._current_search_string != "":
|
||||
request_url += f"&{self._search_type}={self._current_search_string}"
|
||||
if self.SORT_TYPE:
|
||||
request_url += f"&{self._search_sort}={self.SORT_TYPE}"
|
||||
return request_url
|
||||
|
||||
def _parseResponse(self, reply: "QNetworkReply") -> None:
|
||||
|
@ -1289,7 +1289,7 @@
|
||||
"hole_xy_offset":
|
||||
{
|
||||
"label": "Hole Horizontal Expansion",
|
||||
"description": "Amount of offset applied to all holes in each layer. Positive values increase the size of the holes, negative values reduce the size of the holes.",
|
||||
"description": "When greater than zero, the Hole Horizontal Expansion is the amount of offset applied to all holes in each layer. Positive values increase the size of the holes, negative values reduce the size of the holes. When this setting is enabled it can be further tuned with Hole Horizontal Expansion Max Diameter.",
|
||||
"unit": "mm",
|
||||
"type": "float",
|
||||
"minimum_value_warning": "-1",
|
||||
|
@ -111,7 +111,6 @@ Flickable
|
||||
anchors.right: parent.right
|
||||
text: catalog.i18nc("@button", "Show Custom")
|
||||
textFont: UM.Theme.getFont("medium_bold")
|
||||
outlineColor: "transparent"
|
||||
onClicked: onModeChanged()
|
||||
}
|
||||
}
|
||||
|
@ -45,6 +45,7 @@ support_extruder_nr
|
||||
support_type
|
||||
support_angle
|
||||
support_offset
|
||||
support_structure
|
||||
|
||||
[platform_adhesion]
|
||||
prime_blob_enable
|
||||
|
Loading…
x
Reference in New Issue
Block a user