Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ImportPrusaSlicerData.bat - github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7954794d91ea2cc0524f75647031c91ea128035a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
@echo off
SET DIR=%~dp0
SET INPUT_DIR=%AppData%\PrusaSlicer
SET OUTPUT_DIR=%~dp0PrusaSlicer

SET PRINT_DIR=sla_print
SET PRINTER_DIR=printer

SET files[0]=EPAX X1.ini
SET files[1]=EPAX X10.ini
SET files[2]=EPAX X133 4K Mono.ini
SET files[3]=EPAX X156 4K Color.ini
SET files[4]=Zortrax Inkspire.ini
SET files[5]=Nova3D Elfin.ini
SET files[6]=AnyCubic Photon.ini
SET files[7]=AnyCubic Photon S.ini
SET files[8]=AnyCubic Photon Zero.ini
SET files[9]=Elegoo Mars.ini
SET files[10]=Elegoo Mars Saturn.ini
SET files[11]=Peopoly Phenom.ini
SET files[12]=Peopoly Phenom L.ini
SET files[13]=Peopoly Phenom Noir.ini
SET files[14]=QIDI Shadow5.5.ini
SET files[15]=QIDI Shadow6.0 Pro.ini
SET files[16]=Phrozen Shuffle.ini
SET files[17]=Phrozen Shuffle Lite.ini
SET files[18]=Phrozen Shuffle XL.ini
SET files[19]=Phrozen Shuffle 4K.ini
SET files[20]=Phrozen Sonic.ini
SET files[21]=Phrozen Sonic Mini.ini
SET files[22]=Phrozen Transform.ini
SET files[23]=Kelant S400.ini
SET files[24]=Wanhao D7.ini
SET files[25]=Wanhao D8.ini
SET files[26]=Creality LD-002R.ini

echo PrusaSlicer Printers Instalation
echo This will replace printers, all changes will be discarded
echo %INPUT_DIR%
echo %OUTPUT_DIR%

echo Importing Printers
for /F "tokens=2 delims==" %%s in ('set files[') do xcopy /d /y "%INPUT_DIR%\%PRINTER_DIR%\%%s" "%OUTPUT_DIR%\%PRINTER_DIR%\"

echo Importing Profiles
xcopy /i /y /d %INPUT_DIR%\%PRINT_DIR% %OUTPUT_DIR%\%PRINT_DIR%

REM /s Copies directories and subdirectories, unless they are empty. If you omit /s, xcopy works within a single directory.
REM /y Suppresses prompting to confirm that you want to overwrite an existing destination file.
REM /i If Source is a directory or contains wildcards and Destination does not exist, 
REM		xcopy assumes Destination specifies a directory name and creates a new directory. 
REM 	Then, xcopy copies all specified files into the new directory. 
REM 	By default, xcopy prompts you to specify whether Destination is a file or a directory.
REM /d Copies source files changed on or after the specified date only. 
REM		If you do not include a MM-DD-YYYY value, xcopy copies all Source files that are newer than existing Destination files. 
REM		This command-line option allows you to update files that have changed.

pause