Permalink
Browse files

Changing directories around.

  • Loading branch information...
1 parent f7ecd06 commit 97124a612ab567d77cb867b3886d8a7120db8031 @jherrm committed Sep 28, 2012
@@ -3,7 +3,7 @@
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
-; Scanbooth Stuff
+; ScanBooth Stuff
; Start ReconstructMe command line application
Run "C:\ReconstructMe\Start ReconstructMe Record OpenNI.bat"
@@ -24,4 +24,4 @@ WinWaitClose
Sleep 1000
; Go to the next step - move the
-Run C:\ScanBooth\move_scans.bat
+Run C:\ScanBooth\automation\move_scans.bat
@@ -1,4 +1,4 @@
:: Filename is the first argument provided to the script
set filename=%1
-"C:\Program Files\VCG\MeshLab\meshlabserver" -i %filename% -o %filename%.stl -s C:\ScanBooth\clean_scan.mlx -om vn
-move %filename%.stl C:\ScanBooth\cleaned_scans\
+"C:\Program Files\VCG\MeshLab\meshlabserver" -i %filename% -o %filename%.stl -s C:\ScanBooth\automation\clean_scan.mlx -om vn
+move %filename%.stl C:\ScanBooth\scans\cleaned\
@@ -7,9 +7,9 @@ set mytime=%mytime: =%
:: Loop through all .ply files in the ReconstructMe folder
for /r "C:\ReconstructMe" %%x in (*.ply) do (
-move "%%x" "C:\ScanBooth\raw_scans\%mydate%_%mytime%_%%~nx.ply"
+move "%%x" "C:\ScanBooth\scans\raw\%mydate%_%mytime%_%%~nx.ply"
:: Clean the scans
-call clean_scan.bat "C:\ScanBooth\raw_scans\%mydate%_%mytime%_%%~nx.ply"
+call clean_scan.bat "C:\ScanBooth\scans\raw\%mydate%_%mytime%_%%~nx.ply"
:: You can move the cleaned scans to a shared directory to continue editing or send to 3D printer
-move "C:\ScanBooth\cleaned_scans\%mydate%_%mytime%_%%~nx.ply.stl" "C:\ScanBooth\cleaned_scans\%mydate%_%mytime%_%%~nx.stl"
+move "C:\ScanBooth\scans\cleaned\%mydate%_%mytime%_%%~nx.ply.stl" "C:\ScanBooth\scans\cleaned\%mydate%_%mytime%_%%~nx.stl"
)
View
No changes.
View
No changes.

0 comments on commit 97124a6

Please sign in to comment.