mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-02 07:11:22 -07:00
Add API abstraction layer
Contributes to CURA-5595
This commit is contained in:
parent
bf219c3821
commit
4912073aed
2 changed files with 38 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
from UM.PluginRegistry import PluginRegistry
|
||||
from cura.API.Backups import Backups
|
||||
from cura.API.SidebarContextMenu import SidebarContextMenu
|
||||
|
||||
## The official Cura API that plug-ins can use to interact with Cura.
|
||||
#
|
||||
|
|
@ -16,3 +17,6 @@ class CuraAPI:
|
|||
|
||||
# Backups API.
|
||||
backups = Backups()
|
||||
|
||||
# Sidebar Context Menu API
|
||||
sidebar_context_menu = SidebarContextMenu()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue