-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
SDK Versions
Cura offers an SDK for plugins to interact with the software. Previously, plugins called a variety of Python methods exposed in Cura. From now on, we want to move functionality to an SDK layer that is more stable to use between Cura releases. Internally, this layer is known as Cura.API
.
Each Cura release can have changes in its API, and this will be accompanied by a change in the SDK version. In the Change log section below, you can find all SDK versions and the corresponding Cura release versions.
Since Cura 4.0, the SDK version starting using semantic versioning, i.e. a number like 1.2.3
. Below is a few examples showing which SDK versions of a plugin is considered compatible with a Cura SDK version:
Suppose Cura has SDK version 6.5.0
.
- Only plugins that support SDK versions
6.5.x
is compatible because it's a patch version and it should not contain API-breaking changes. - SDK versions such as
6.7.x
and6.8.x
are not compatible with6.5.0
because they have minor version changes that can introduce new features. Those new features will not be present in6.5.0
. - SDK versions such as
6.1.0
and6.4.0
are compatible because6.5.0
contains all features in those versions. - SDK versions such as
5.x.y
and7.a.b
are not compatible because their different major version numbers suggest breaking changes in the API.
It is possible for a plugin to support multiple SDK versions. First and foremost, the supported_sdk_versions
property in the plugin.json file needs to be set. All versions that are supported can be placed in a list for this property.
When supporting multiple SDK's with a single plugin, it's fairly likely that different instances of plugin objects need to be provided, depending on the SDK version of Cura. The best way to do this is to make use of the register(app)
function in the __init__
of the plugin. By checking at this point what the SDK version of the app is, different results can be returned. An example of this (although it provides different objects based on the operating system, the concept is the same) can be found in the RemovableDriveOutputDevice
plugin.
To use the API in your plug-in, simply get the API object from CuraApplication:
# The application instance is often already passed into the main class of your plugin.
def __init__(application: "CuraApplication") -> None:
self._api = application.getCuraAPI()
# or
# Otherwise, just call getInstance() on the CuraApplication class to get it.
from cura.CuraApplication import CuraApplication
api = CuraApplication.getInstance().getCuraAPI()
# or
# As a final resort, you can also create a new instance of CuraAPI yourself, but this is deprecated.
from cura.API import CuraAPI
api = CuraAPI()
Now you can use the public properties on api
.
- The official Cura API class is made available to make upgrading between versions more stable.
- No SDK changes in this release.
- The Ultimaker Account functionality was added to the SDK. Developers can use the API class in Cura to interact with this functionality. No SDK version change was done as the SDK version is not yet semantic (but will be from the next release onward) and the new functionality is only used by a single plugin from Ultimaker.
- The UI has gotten a major overhaul, all plugins doing something with the UI (QML) should be updated.
- The settings 'Minimum support area' and 'minimum support interface' have been added.
- Output devices can now specify which type of output they are (USB, networking, butt).
- New login functionality with an Ultimaker Account was added.
- In order to connect Cura to printers, plug-ins can use the DiscoveredPrintersModel. The plug-in finds a bunch of printers, the user can select a printer and then the plug-in can register the printer in Cura and make it active.
- The flow when first time users run Ultimaker Cura has changed. Now it shows a wizard-like dialog showing some pages one after the other. If a plug-in wants to make use of it, the best option is to create a model based on the WelcomePagesModel (as an example, take a look at AddPrinterPagesModel).
- Orthogonal view has been added and plug-ins can display things differently depending on this view.
- There is now a list model for all the objects on the build plate: ObjectsModel.
- New settings were added to control the flow of different parts of the prints, such as infill, walls, skin, and so on. The print profiles can now make use of these settings.
- Some modifications have been made to be able to select a single triangle in a model. (Used for instance in the 'lay flat by face' option.)
- Architectural changes to allow display information about peripherals in the printer output device.
- Major refactor to the Container system, which had to result in API rework to facilitate the Intent profiles. (For a lot of actions, instead of
...Manager
, please now useContainerTree
.)
New additions:
- SentryLogger plug-in
- CuraApplication.installPackageViaDragAndDrop(file_url)
- CuraApplication.getInstance() to return the correct type
- AuthorizationRequestServer.setState(state)
- LocalAuthorizationServer.start(verification_code, state)
- ConvexHullDecorator.getPrintingArea()
- ExtruderManager.getInitialExtruderNr()
- MachineManager.getAllSettingKeys()
- ImageReaderUI.onColorModelChanged(value)
- ImageReaderUI.onTransmittanceChanged(value)
- SimulationView.recalculateStartEndElements()
- New classes in Toolbox: CloudApiModel, CloudPackageChecker, CloudPackageManager, DiscrepanciesPresenter, DownloadPresenter, LicenseModel, LicensePresenter, RestartApplicationPresenter, SubscribedPackagesModel, SyncOrchestrator, UltimakerCloudScope
- Toolbox.launch()
- Toolbox.onLicenseAccepted()
- Toolbox.onLicenseDeclined()
- Toolbox.setViewCategoryToMaterials()
- Toolbox.getWebMarketplaceUrl(page)
- VersionUpgrade44to45 plug-in
- class XmlMaterialProfile.PluginInfo
- Application.getAppFolderPrefix()
- Controller.setCameraPosition(x_position, y_position, z_position)
- Controller.setLookAtPosition(x_look_at_position, y_look_at_position, z_look_at_position)
- Controller.setCameraZoomFactor(camera_zoom_factor)
- Logger.debug(message)
- Logger.info(message)
- Logger.warning(message)
- Logger.error(message)
- Logger.critical(message)
- MeshData.getFaceNodes(face_id)
- Signal PackageManager.packageInstalled
- PackageManager.getUserInstalledPackages()
- PackageManager.dismissAllIncompatiblePackages(incompatible_packages)
- PackageManager.getDismissedPackages()
- PackageManager.reEvaluateDismissedPackages(subscribed_packages_payload, sdk_version)
- PackageManager.removeFromDismissedPackages(package)
- PluginRegistry.setCheckIfTrusted(check_if_trusted)
- PluginRegistry.getCheckIfTrusted()
- ControllerProxy.setCameraPosition(x_position, y_position, z_position)
- ControllerProxy.setLookAtPosition(x_look_at_position, y_look_at_position, z_look_at_position)
- ControllerProxy.setCameraZoomFactor(camera_zoom_factor)
- QtApplication.resetWorkspace()
- QtApplication.getHttpRequestManager()
- QtApplication.applicationDisplayName()
- QtRenderer.reRenderLast()
- Camera.getInverseWorldTransformation()
- Camera.getCameraLightPosition()
- ContainerRegistry.setExplicitReadOnly(container_id)
- ContainerRegistry.isExplicitReadOnly(container_id)
- ContainerRegistryInterface.setExplicitReadOnly(container_id)
- ContainerRegistryInterface.isExplicitReadOnly(container_id)
- SettingDefinitionsModel.collapseRecursive(key)
- SettingDefinitionsModel.collapseAllCategories()
- SettingDefinitionsModel.onExpandedChanged()
- Classes HttpRequestData, HttpRequestManager, HttpRequestScope, TaskManager
- The
setting_version
is now at 14. - Class Trust
- Enum OpenGLContext.OpenGlVersionDetect
- OpenGLContext.detectBestOpenGLVersion(force_compatibility)
- Class WorkspaceMetadataStorage
- The
setting_version
is now at 15. - The new
ConnectionStatus
class shows whether the user has a connection with the internet. Request it viaHttpRequestManager.isInternetReachable
. - A new
FastConfigParser
class is a version of Python'sconfigparser.ConfigParser
with better performance, but fewer features. - Tool handles can now register extra widgets with their own colour.
-
SettingDefinition
is now hashable, so it can be used in a set or as key of adict
. -
SettingDefinition.matchesFilter
now also looks through setting descriptions. - The
Account
class now has a number of functions to synchronize with the account information online. - A new
SyncState
QML element shows an icon and a message with the synchronization state with the account. - The new
DiscoveredCloudPrintersModel
shows a list of the printers the user can reach on his account. - The
QtRenderer
class now has a functionaddRenderBatch
and tracks named render batches throughgetNamedBatch
. -
CuraSceneNode
now has a functionisSupportMesh
to know whether the model is a support mesh. -
SceneNode
now has a functiongetCachedNormalMatrix
that gets the normalized transformation matrix from cache. -
ExtruderManager.registerExtruder
is removed as it was dysfunct. Directly add it to the machine instance instead. -
SettingOverrideDecorator
now has functions likeisCuttingMesh
to detect the mesh type. -
ObjectsModel
now contains roles for extruder number, number of per-object settings and the mesh type. -
UltimakerCloudAuthentication
was renamed toUltimakerCloudConstants
and contains the URL for the Digital Factory. -
MeshBuilder
has a functionresetNormals
that erases the mesh's own normals, causing it to reconstruct the normals from the vertices. - The
Trust
class has a functionremoveCached
that clears__pycache__
folders before validating keys. - The
VersionUpgrade
parent class has a functiongetCfgVersion
that uses a fixed convention to get version numbers from a CFG file. - A new QML widget
TertiaryButton
is a less salient button than theSecondaryButton
. - A new QML widget
ScrollView
is a stylized scrollview in Cura's style. - A new QML widget
AddCloudPrintersView
shows a form where users can add cloud printers from their account. - A new setting "Scene Has Support Meshes" indicates whether there are any support meshes in the scene.
- A new setting "Always Write Active Tool" indicates whether the firmware changes tools when a
T
parameter is encountered in heating commands. - A new setting "Support Structure" allows choosing between normal and tree support. It replaces "Enable Tree Support".
- A new setting "Support Stair Step Minimum Slope" prevents stair-stepping on very shallow slopes.
- Spaghetti Infill was removed.
- Printer build plate meshes can now use 3MF and other multi-mesh formats.
- A new printer "Smoothieware" is added to serve as basis for printers with Smoothieware firmware.
- The setting version has been incremented to 16.
- A new
Nest2dArrange
class is added that arranges objects more efficiently. - The
Arrange
class has been deprecated. Use Nest2dArrange instead. -
BuildVolume
has new functions to get its current width, height and depth. -
CuraContainerStack
now has a specialised functiongetProperty
that gets thesettable_per_extruder
property properly. -
MachineManager
has a new signal that triggers when the number of custom setting overrides changes. -
Polygon.approximatedCircle
now accepts a parameter as to how many segments the approximated circle should have. -
Polygon
has a new functionscale
that applies a linear scale. -
PluginRegistry.setCheckIfTrusted
has a new parameter that allows using symlinks when running from source, but not while plug-in signatures are checked. -
Trust
has a new functionsetFollowSymlinks
that allows you to configure that it needs to follow symlinks when running from source.
- Cura now runs on CPython 3.8.8, bringing support for Python 3.8.
- Cura's interface now runs on Qt 5.15.2, which brings new GUI functionality.
- Cura now comes with OpenSSL 1.1.1, bringing support for newer types of SSL connections.
- Cura's Ultimaker Account log-in token now has access to the Ultimaker Digital Library.
- A new plug-in type is added, File Provider, which is intended to denote sources of where Cura can open model or project files from. These plug-ins are listed in the "File -> Open" menu.
- The file providers can be listed with
UM.Application.Application.getFileProviders
. - Setting Visibility Preset files now have a version number, so that they can be upgraded. Files without version number will be seen as version 1 (and thus upgraded when starting 4.9 or later for the first time).
- Added support for storing things on the keyrings of MacOS and Windows through the
KeyringAttribute
class. Linux is not supported. - The What's New pages can now have subpages, each with an image and a text.
- The simulation view has new methods
getShowStarts
andsetShowStarts
to enable or disable the showing of extrusion starting points. - A new QML element was added: TableView. This is a themed version of QML's own TableView.
- The
Matrix
class has a new functionpseudoinvert
which does a Moore-Penrose pseudoinvert. - A new operation type was added for the undo stack, the
GravityOperation
which moves the model down to Z=0. - A new class
ProjectOutputDevice
represents locations where Cura can store project files, which are made accessible through the "File -> Save" menu. - The
DeviceManager
class now has functionsgetProjectOutputDevices
,addProjectOutputDevice
andremoveProjectOutputDevice
to add project output devices. - The
WorkspaceFileHandler
class now has asetEnabled
and anenabled
function, to be able to disable them temporarily. - The
WorkspaceMetadataStorage
class has an easier to use functiongetPluginMetadataEntry
to get a specific metadata entry instead of all of the metadata at once.
- Uranium/UM/CentralFileStorage : This class stores and retrieves items (files or directories) stored in a location central to all versions of the application. Its purpose is to provide a way for plug-ins to store very big items (files or directories) without having those big items copied to the new resource directory at every version upgrade.
- [classmethod]
def store(cls, path: str, path_id: str, version: Version = Version("1.0.0"), move_file: bool = True) -> None
Store a new item (file or directory) into the central file storage. This item will get moved to a storage location that is not specific to this version of the application. - [classmethod]
def retrieve(cls, path_id: str, sha256_hash: str, version: Version = Version("1.0.0")) -> str
Retrieve the path of a previously stored item (file or directory). - [classmethod]
def setIsEnterprise(cls, is_enterprise: bool) -> None
Some things central storage does will only (not) need to happen for enterprise editions of Cura. As of writing, this is only used to do a security check against the hash-values of the files.
- [classmethod]
- in Uranium/UM/FileHandler/FileHandler:
resolveAnySymlink(file_name: str) -> str
Some linked files (.lnk in Windows for example) aren't always automatically resolved to their base. This method resolves to what they're pointing at, given the link filename. - in Uranium/UM/Trust/Trust: [classmethod]
TrustBasics.getCentralStorageFilename(cls) -> str
See 'CentralFileStorage' in 'new classes and methods'. - in Cura/Machines/Models/MaterialManagementModel: [pyqtProperty]
MaterialManagementModel.preferredExportAllPath(self) -> QUrl
Get the preferred path to export materials to. - in Cura/Machines/Models/MaterialManagementModel: [pyqtSlot]
MaterialManagementModel.exportAll(self, file_path: QUrl) -> None
Export all materials to a certain file path. - in Cura/Settings/GlobalStack: [pyqtProperty]
GlobalStack.supportsMaterialExport(self)
Whether the printer supports Cura's export format of material profiles.
- in Uranium/UM/Bindings/Theme: Added 'detail_level' to Theme.getIcon [
getIcon(self, icon_name: str, detail_level: str = "default") -> QUrl
] ‘detail_level’: The level of detail of the icon. Choice between "low, "default", "medium", "high". - in Uranium/UM/View/GL/ShaderProgram: Added typechecking to ShaderProgram.setUniformValue [
setUniformValue(self, name: str, value: Union[Vector, Matrix, Color, List[float], List[List[float]], float, int], **kwargs: Any) -> None
]
- The settings_version has been incremented to 19, up from 17 (skipping over 18, which was used in Arachne).
- New replacement keys for start/end g-code: material_id, material_type, material_name and material_brand.
- The sqlite Python module is now available on all platforms.
- Added a preference to clear the build plate when loading a new object if the single-instance preference is enabled.
- ProjectOutputDevice now has a getLastOutputName and setLastOutputName function, to store the last filename that was saved.
- Added PackageManager.getPackagesInstalledOnStartup.
- Added DatabaseContainerMetadataController, a fast database of profile metadata. We plan to transition the ContainerRegistry to use this for queries in the future.
- Added DefinitionContainerUnpickler, a secure way to cache definition profiles.
- Added SQLQueryFactory class, which can generate SQL queries.
- IntentDatabaseHandler, QualityDatabaseHandler and VariantDatabaseHandler are an easy way to access certain types of profiles quickly.
- The new additionalRights function the Account class gives a list of permissions the user has on the Ultimaker account.
- The ExtrudersModel now also has a role for the material name.
- Added an ApplicationSwitcher QML element, with a custom button and pop-up.
- A new userProfileChanged signal indicates when the account information is updated.
- Cura now gets permission to send materials to printers when logging in, making that available in Ultimaker's API.
- The GlobalStacksModel now has a role to store whether printers are online (turned on and connected) or not.
- The GlobalStacksModel can now be filtered by connection type, capabilities or being online.
- The getUserProfile function is now asynchronous, returning the user profile via a callback instead of directly.
- A new UploadMaterialsJob class will upload material profiles to the Digital Factory.
- ExtruderManager now has a function getExtruderHasQualityForMaterial to check if there are profiles for a variant+material combination.
To get Mouse-Handling to work properly in Qt 6.2, we added the following methods and classes:
UM/Qt/Bindings/MainWindow:
- def mousePressed(self, event):
- def mouseMoved(self, event):
- def wheel(self, event):
- def mouseReleased(self, event):
UM/Qt/Bindings/MainWindow/MouseEventPosition:
- class MouseEventPosition:
- def x(self):
- def y(self):
UM/Qt/Bindings/MainWindow/MouseEventWrapper:
- class MouseEventWrapper:
- def button(self):
- def buttons(self):
- def type(self):
- def pos(self):
- def angleDelta(self):
We largely aimed to keep at least our current UI, but Qt 6.2 necessitated the following changes due to some components no longer being supported w.r.t. Qt 5.x:
UM/ColorImage:
- class ColorImage(QQuickPaintedItem):
- def setSource(self, source: QUrl) -> None:
- def source(self) -> QUrl:
- def setColor(self, color: QColor) -> None:
- def color(self) -> QColor:
- def paint(self, painter: QPainter) -> None:
UM/Qt/Bindings/TableModel:
- class TableModel(QAbstractTableModel):
- def data(self, index: QModelIndex, _: int = ...) -> Any:
- def rowCount(self, parent: QModelIndex = ...) -> int:
- def columnCount(self, parent: QModelIndex = ...) -> int:
- def rows(self):
- def rows(self, rows: List[Dict[str, Any]]):
- def headers(self):
- def headers(self, headers: List[str]):
- def clear(self) -> None:
We've finally begun removing deprecated methods. The following previously deprecated methods (and even some classes) are gone: in UM/Job:
- def getMessage(self):
- def setMessage(self, message) -> None:
in UM/Settings/SettingDefinitionModel:
- def collapse(self, key: str) -> None:
in UM/Scene:
- def getSceneLock(self) -> threading.Lock:
in Cura/CuraApplication:
- def arrangeObjectsToAllBuildPlates(self) -> None:
in Cura/Arranging/*:
- class Arrange:
- class ArrangeArray:
- class ArrangeObjectsAllBuildPlatesJob(Job):
in Cura/Settings/GlobalStack:
- def extruders(self) -> Dict[str, "ExtruderStack"]:
Other (not previously deprecated) removed methods are:
UM/Theme:
- def styles(self):
UM/Stage:
- def iconSource(self) -> QUrl:
- def setIconSource(self, source: Union[str, QUrl]) -> None:
Deleted UM/Math/ShapelyUtil:
- def polygon2ShapelyPolygon(polygon: "Polygon") -> shapely.geometry.Polygon:
Some types have had to change (these are mostly in changed method signatures):
- Changed relevant Dict[str, Any] to PackageData (= MutableMapping[str, Any]) where applicable.
- Changed relevant Dict[str, Dict[str, Any]] to PackageDataDict (= MutableMapping[str, PackageData]) where applicable.
- Changed ast.Index to ast.Subscript
The following methods have had their signature changed or expanded:
UM/Qt/ListModel: changed:
- def sort(self, fun: Callable[[Any], float]) -> None:
to include optional arguments:
- def sort(self, fun: Callable[[Any], float], key: Optional[str] = None, reverse = False) -> None:
UM/Qt/QtApplication: renamed:
- def exec_(self, *args: Any, **kwargs: Any) -> None:
to (note the lack of underscore):
- def exec(self, *args: Any, **kwargs: Any) -> None:
Lastly, the following methods where added wholesale:
UM/Qt/QtApplication:
- def isQmlEngineInitialized(self) -> bool:
UM/Math/Matrix:
- def getFlatData(self):
UM/PackageManager:
- def reinstallPackage(self, package_id: str) -> bool:
- def isBundledPackage(self, package_id: str) -> bool:
- def getPackagesToInstall(self) -> PackageDataDict:
- def hasPackagesToRemoveOrInstall(self) -> bool:
- def canDowngrade(self, package_id: str) -> bool:
UM/PluginRegistry:
- def getCurrentSessionActivationChangedPlugins(self) -> Set[str]:
UM/Settings/SettingDefinition:
- def toFloatConversion(value: str) -> float:
- def toIntConversion(value):
UM/Signal:
- def acquire_timeout(lock, timeout):
Cura/PackageManager:
- def local_packages(self) -> List[Dict[str, Any]]:
- def local_packages_ids(self) -> Set[str]:
- def getAllLocalPackages(self) -> List[Dict[str, Any]]:
We changed a lot of Qt/QML, so regarding the changes there, we've chosen for a high-level overview of removed/added classes. (So, this is not an exhaustive list of all changes, just the added/removed QML components.) Depending on the type of plugin, you can also expect changes due to the underlying upgrade to Qt 6.2.
The following QML classes were removed:
- UM/Qt/qml/UM/Preferences/SettingVisibilityCategory.qml
- UM/Qt/qml/UM/Preferences/SettingVisibilityItem.qml
- UM/Qt/qml/UM/RecolorImage.qml
- UM/Qt/qml/UM/Wizard.qml
- Cura/resources/qml/CheckBoxWithTooltip.qml
- Cura/resources/qml/Menus/LocalPrinterMenu.qml
- Cura/resources/qml/Menus/NetworkPrinterMenu.qml
- Cura/resources/qml/Preferences/ProfileTab.qml
- Cura/resources/qml/Preferences/ReadOnlySpinBox.qml
- Cura/resources/qml/Preferences/ReadOnlyTextField.qml
- Cura/resources/qml/ToolbarButton.qml
- Cura/resources/qml/Widgets/CheckBox.qml
- Cura/resources/themes/cura-light/styles.qml
The following QML classes were added:
- UM/Qt/qml/UM/BurgerButton.qml
- UM/Qt/qml/UM/CheckBox.qml
- UM/Qt/qml/UM/Enums.qml
- UM/Qt/qml/UM/ImageButton.qml
- UM/Qt/qml/UM/Label.qml
- UM/Qt/qml/UM/Menu.qml
- UM/Qt/qml/UM/MenuItem.qml
- UM/Qt/qml/UM/MessageDialog.qml
- UM/Qt/qml/UM/ScrollBar.qml
- UM/Qt/qml/UM/TextFieldWithUnit.qml
- UM/Qt/qml/UM/ToolTip.qml
- UM/Qt/qml/UM/ToolbarButton.qml
- UM/Qt/qml/UM/UnderlineBackground.qml
- Cura/resources/qml/CategoryButton.qml
- Cura/resources/qml/ColorDialog.qml
- Cura/resources/qml/Dialogs/MessageDialog.qml
- Cura/resources/qml/Menus/EditMenu.qml
- Cura/resources/qml/Menus/ExtensionMenu.qml
- Cura/resources/qml/Menus/HelpMenu.qml
- Cura/resources/qml/Menus/MaterialBrandMenu.qml
- Cura/resources/qml/Menus/PreferencesMenu.qml
- Cura/resources/qml/Preferences/RenameDialog.qml
- Cura/resources/qml/Preferences/SettingVisibilityCategory.qml
- Cura/resources/qml/Preferences/SettingVisibilityItem.qml
- Cura/resources/qml/PrintSetupHeaderButton.qml
- Cura/resources/qml/ProfileOverview.qml
- Cura/resources/qml/SearchBar.qml
- Cura/resources/qml/SpinBox.qml
External packages
- Qt5 is no longer supported, and you need to use Qt6
- Python 3.10 features is now supported
- Shapely is replaced with Pyclipper
- Added
IntentSelectionModel
for QML to show which intents are available. - Added
ActiveIntentQualitiesModel
for QML to show which quality profiles are available given the current intent. - Added
acceleration_travel_enabled
andjerk_travel_enabled
settings. - Added a
ProfileWarningReset
QML element which shows the status of customisation: User changes and/or a custom profile, and allows resetting them. - Added a
RecommendedQualityProfileSelectorButton
QML element which allows selecting intent profiles (not quality profiles!) - Added a
RecommendedResolutionSelector
QML element which displays a drop-down to change the quality level. - CuraPackageManager has a new function
getMaterialFilePackageId
to know which package a material profile belongs to. - CuraPackageManager has a new function
isMaterialBundled
to know whether a material file is bundled. - Added
intentCategoryHasQuality
to the MachineManager. - Added
getDefaultQualityTypeForIntent
to the MachineManager. - The Theme object now has the
setCheckIfTrusted
function, by which you can indicate whether a theme comes from a trusted source (for Cura editions that don't allow untrusted resources) or not. - You can now add secure resource paths to the
Resources
class withaddSecureSearchPath
andgetSecureSearchPaths
, which makes Cura trust a new resource path (for Cura editions that don't allow untrusted resources). - Added
OpenGL::getOpenGLVersionShort
, which gives an easier-to-parse version number of the active OpenGL instance.
- cura/Machines/Models/CompatibleMachineModel.py
-
cura/API/Account.py:
- permissionsChanged = pyqtSignal()
- def permissions(self) -> List[str]:
-
cura/Machines/Models/GlobalStacksModel.py:
- def setFilterAbstractMachines(self, new_filter: Optional[bool]) -> None:
- def filterAbstractMachines(self) -> Optional[bool]:
-
cura/PrinterOutput/Models/PrintJobOutputModel.py:
- def isMine(self) -> bool:
-
cura/Settings/CuraStackBuilder.py:
- def createUserContainer(cls, new_stack_id: str, definition: DefinitionContainerInterface,stack: GlobalStack, variant_container: "InstanceContainer", material_container: "InstanceContainer", quality_container: "InstanceContainer"):
- def createAbstractMachine(cls, definition_id: str) -> Optional[GlobalStack]:
-
cura/Settings/GlobalStack.py:
- def hasNetworkedConnection(self) -> bool:
-
cura/Settings/MachineManager.py:
- def getMachinesWithDefinition(self, definition_id: str, online_only=False) -> List[ContainerStack]:
- def activeMachineIsAbstractCloudPrinter(self) -> bool:
-
UM/Settings/InstanceContainer.py
- def createMergedInstanceContainer(cls, instance_container1: "InstanceContainer",instance_container2: "InstanceContainer") -> "InstanceContainer":
- cura/API/Account.py "Get permissions from the 'permissions' property" def updateAdditionalRight(self, **kwargs) -> None:
- cura/API/Account.py "Get permissions from the 'permissions' property" def additionalRights(self) -> Dict[str, Any]:
- UM/Qt/QtApplication.py "Showing toast messages is no longer supported" def showToastMessage(self, title: str, message: str) -> None:
- cura/resources/qml/Dialogs/ChoosePrinterDialog.qml
- cura/resources/qml/PrinterSelector/MachineListButton.qml
- cura/resources/qml/PrinterSelector/PrintSelectorCard.qml
- cura/resources/qml/Menus/Configurationmenu/CustomConfiguration.qml
- printerTypeSelectorRow and all sub-items
- cura/resources/qml/PrintSetupSelector/Recommended/RecommendedInfillDensitySelector.qml
- Added property ignoreValueChange to infillSlider item
- cura/Settings/ActiveQuality.py
- cura/Machines/Models/MachineListModel.py:
- set_machines_filter(self, machines_filter: Optional[List[GlobalStack]]) -> None
- cura/Settings/ExtruderManager.py:
- emitGlobalStackExtrudersChanged(self):
- cura/Settings/MachineManager.py:
- activeQualityDisplayNameMap(self) -> ActiveQuality
- cura/CuraApplication.py:
- showCompareAndSaveProfileChanges = pyqtSignal(int)
- cura/MachineAction.py:
- visibilityChanged = pyqtSignal()
- UM/validators/FloatValidator
- UM/validators/HexColorValidator
- UM/validators/IntListValidator
- UM/validators/IntValidator
- UM/ComponentWithIcon
- UM/Slider
- UM/Switch
- UM/TextField
- UM/TextFieldWithUnit
- cura/Settings/ExtruderManager.py:
- Added property enabledExtruderCount to ExtruderManager
- cura/Settings/MachineManager.py:
- Added property activeQualityDisplayNameMainStringPart to MachineManager
- Added property activeQualityDisplayNameTailStringParts to MachineManager
- cura/MachineAction.py:
- Added property shouldOpenAsDialog to MachineAction
- Added property visible to MachineAction
Do you want to stably use functionality but there is no API for it yet? Feel free to submit a pull request or talk to one of the developers via the GitHub issues board about getting it supported. To get started, have a look at the current API implementation.
- Welcome
- Getting Started
- Reporting An Issue
- Core Development
- Plugins & Material Packages
- Printers
- Translations
- Best Practices
- Settings
- 3D Scene
- Profiling
- Cura User Files
- GitHub Actions