STEP: Export (Datei → Exportieren → STEP) und Import (Datei → STEP importieren) im nativen Menue
This commit is contained in:
1 parent
b87451c3e5
commit
80d45ffdd6
8 files changed
+91
-1
No files matched your search
@@ -32,6 +32,8 @@ export interface NativeAppMenuHandlers {
|
||||
onExportIfc: () => void;
|
||||
onExportObj: () => void;
|
||||
onExportStl: () => void;
|
||||
onExportStep: () => void;
|
||||
onImportStep: () => void;
|
||||
|
||||
onUndo: () => void;
|
||||
onRedo: () => void;
|
||||
@@ -166,6 +168,10 @@ export function useNativeAppMenu(
|
||||
text: t("menu.native.import"),
|
||||
action: () => handlersRef.current.onImport(),
|
||||
}),
|
||||
await MenuItem.new({
|
||||
text: t("menu.native.importStep"),
|
||||
action: () => handlersRef.current.onImportStep(),
|
||||
}),
|
||||
await Submenu.new({
|
||||
text: t("menu.native.export"),
|
||||
items: [
|
||||
@@ -193,6 +199,10 @@ export function useNativeAppMenu(
|
||||
text: "STL",
|
||||
action: () => handlersRef.current.onExportStl(),
|
||||
}),
|
||||
await MenuItem.new({
|
||||
text: "STEP",
|
||||
action: () => handlersRef.current.onExportStep(),
|
||||
}),
|
||||
],
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user