Animated Rotation of Model


RE: Animated Rotation of Model
#4
OK, here is the contents of a batch file:

Code:
@echo off
SET LDVIEW=C:\Program Files\LDView\LDView64.exe
FOR %%F IN (%*) DO (
   FOR /L %%L IN (0,1,359) DO (
        ECHO %%~nF-%%L.png
       "%LDVIEW%" -SaveSnapshot="%%~nF-%%L.png" -SaveZoomToFit=0 -ZoomToFit=0 -SaveSeries=1 -SaveWidth=1024 -SaveHeight=1024 -DefaultLatLong=30,%%L "%%F"
    )
)

I'm not batch file expert, and I haven't tested it with filenames with spaces (although it might work), nor have I tested it with full paths. Specify an LDraw file (or LDraw files) as the parameters for the program. It will generate PNG files from 0 to 359. Note that this is set up for a 64-bit LDView. Change the second line to the correct full path to your LDView.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Animated Rotation of Model - by Tanner S. - 2016-05-14, 1:59
RE: Animated Rotation of Model - by Tanner S. - 2016-05-19, 19:39
RE: Animated Rotation of Model - by Travis Cobbs - 2016-05-15, 5:31
RE: Animated Rotation of Model - by Tanner S. - 2016-05-18, 20:48
RE: Animated Rotation of Model - by Tanner S. - 2016-05-19, 19:54
RE: Animated Rotation of Model - by P Ko - 2020-12-17, 18:33

Forum Jump:


Users browsing this thread: 1 Guest(s)