diff --git a/README.md b/README.md index a2e0109..83fa048 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ Photonic Etcher is a browser-based tool for converting gerber files into "printa - AnyCubic Photon Mono (.pwmo) - AnyCubic Photon Mono SE (.pwms) - AnyCubic Photon Mono X (.pwmx) + - AnyCubic Photon Mono X2 (.pmx2) - AnyCubic Photon & Photon S (.pws) - AnyCubic Photon X (.pwx) diff --git a/src/ui/export_dialog.tsx b/src/ui/export_dialog.tsx index 2f85f50..9968256 100644 --- a/src/ui/export_dialog.tsx +++ b/src/ui/export_dialog.tsx @@ -13,7 +13,7 @@ export interface PrinterModel { previewResolution: [number, number], rotate180: boolean, encoding: "RLE" | "RLE4", - fileFormat: "dlp" | "pm3" | "pm3m" | "pmsq" | "pw0" | "pwma" | "pwmb" | "pwmo" | "pwms" | "pwmx" | "pws" | "photon" | "pwx" + fileFormat: "dlp" | "pm3" | "pm3m" | "pmsq" | "pw0" | "pwma" | "pwmb" | "pwmo" | "pwms" | "pwmx" | "pmx2" | "pws" | "photon" | "pwx" } const printerModels: { [key: string]: PrinterModel } = { 'AnyCubic Photon Ultra (.dlp)': { @@ -110,6 +110,15 @@ const printerModels: { [key: string]: PrinterModel } = { "encoding": "RLE4", "fileFormat": "pwmx" }, + 'AnyCubic Photon Mono X2 (.pmx2)': { + "fileVersion": [1, 4], + "xyRes": 0.050, + "resolution": [4096, 2560], + "previewResolution": [224, 168], + "rotate180": false, + "encoding": "RLE4", + "fileFormat": "pmx2" + }, 'AnyCubic Photon & Photon S (.pws)': { "fileVersion": [1, 4], "xyRes": 0.047,