RE: LPub3D 1.3.5: Feedback
2016-06-04, 14:06 (This post was last modified: 2016-06-04, 15:17 by Trevor Sandy. Edit Reason: Update )
2016-06-04, 14:06 (This post was last modified: 2016-06-04, 15:17 by Trevor Sandy. Edit Reason: Update )
(2016-02-12, 18:35)Trevor Sandy Wrote: Thanks Travis,
This is good information. Indeed, it would be a relatively straightforward enhancement - assuming no intelligence is expected from the output file name which I suspect may not be the case.
Cheers,
Well - this enhancement most certainly was not straightforward !!
LPub3D dynamically uses attributes from each image' file name and content as it builds each step (list parts and model). Significant rework is also necessary to manage to maintain the file name intelligence. Therefore, one must practically rewrite part of this core logic to isolate the generation of images to a single call as described by Travis.
Anyway, I have done it! However, the command output is not as expected.
Only the first input file is rendered and it is given the name '1' without extension. Additionally, when I run the command with the LPub3D parameter set, the rendered image is cropped. With only the '-SaveSnapShot=1' parameter a complete image is rendered.
Here is the command I am generating - formatted with current LPub3D parameters to test from the command window or batch file:
Code:
"C:\Program Files\LDView\LDView64.exe" -ca0.01 -cg23 -45,4106503 -SaveAlpha=1 -AutoCrop=1 -ShowHighlightLines=1 -ConditionalHighlights=1 -SaveZoomToFit=0 -SubduedLighting=1 -UseSpecular=0 -LightVector=0,1,1 -SaveActualSize=0 -SaveWidth=1275 -SaveHeight=1650 -SaveSnapShot=1 C:/Users/Trevor/Desktop/LPub/6964-01/LPub3D/tmp/3795_72_1275_150_DPCM_1_23_-45.ldr C:/Users/Trevor/Desktop/LPub/6964-01/LPub3D/tmp/3794a_378_1275_150_DPCM_1_23_-45.ldr
Any help to sort this out will be appreciated!
Cheers,