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
@@ -12,7 +12,7 @@ import { t } from "../i18n";
|
||||
import { Dropdown } from "./Dropdown";
|
||||
|
||||
/** Direkt-herunterladbare Exportformate (mit Datei-Endung). */
|
||||
export type ExportSaveFormat = "csv" | "ifc" | "obj" | "stl";
|
||||
export type ExportSaveFormat = "csv" | "ifc" | "obj" | "stl" | "step";
|
||||
|
||||
/** Datei-Endung je Format. */
|
||||
export const EXPORT_FORMAT_EXT: Record<ExportSaveFormat, string> = {
|
||||
@@ -20,6 +20,7 @@ export const EXPORT_FORMAT_EXT: Record<ExportSaveFormat, string> = {
|
||||
ifc: "ifc",
|
||||
obj: "obj",
|
||||
stl: "stl",
|
||||
step: "stp",
|
||||
};
|
||||
|
||||
export interface ExportSaveDialogProps {
|
||||
@@ -87,6 +88,7 @@ export function ExportSaveDialog({
|
||||
{ value: "ifc", label: t("exportSave.fmt.ifc") },
|
||||
{ value: "obj", label: t("exportSave.fmt.obj") },
|
||||
{ value: "stl", label: t("exportSave.fmt.stl") },
|
||||
{ value: "step", label: t("exportSave.fmt.step") },
|
||||
]}
|
||||
/>
|
||||
</section>
|
||||
|
||||
@@ -122,6 +122,7 @@ export interface TopBarProps {
|
||||
onExportIfc: () => void;
|
||||
onExportObj: () => void;
|
||||
onExportStl: () => void;
|
||||
onExportStep?: () => void;
|
||||
|
||||
// Kamera-Settings (FOV), ZUSÄTZLICH zur bestehenden im „Ansichten"-Ribbon-
|
||||
// Tab (ViewRibbonTab) und im 3D-Ribbon-Tab (Ribbon3dTab) — hier direkt neben
|
||||
|
||||
Reference in new issue
Block a user