mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06:00
Added 'align selected face with buildplate' feature.
Alt-click to select a face. See the (identically named) 'feature_bottom_face' branch in Uranium for more indepth information.
This commit is contained in:
parent
243d51eb23
commit
b97015a354
5 changed files with 55 additions and 2 deletions
|
@ -26,6 +26,7 @@ Item
|
|||
|
||||
property alias deleteSelection: deleteSelectionAction;
|
||||
property alias centerSelection: centerSelectionAction;
|
||||
property alias bottomFaceSelection: bottomFaceSelectionAction;
|
||||
property alias multiplySelection: multiplySelectionAction;
|
||||
|
||||
property alias deleteObject: deleteObjectAction;
|
||||
|
@ -271,6 +272,15 @@ Item
|
|||
onTriggered: CuraActions.centerSelection();
|
||||
}
|
||||
|
||||
Action
|
||||
{
|
||||
id: bottomFaceSelectionAction;
|
||||
text: catalog.i18nc("@action:inmenu menubar:edit", "Align Selected Face To Bottom");
|
||||
enabled: UM.Controller.toolsEnabled && UM.Selection.hasFaceSelected;
|
||||
// iconName: "NO-ICON-YET"; // TODO?
|
||||
onTriggered: CuraActions.bottomFaceSelection();
|
||||
}
|
||||
|
||||
Action
|
||||
{
|
||||
id: multiplySelectionAction;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue