killing time

This commit is contained in:
lovebird 2022-10-15 20:18:37 +02:00
parent 4e3a652c6c
commit adc499b66f
2 changed files with 21 additions and 1 deletions

View File

@ -199,5 +199,25 @@ Or to bypass the hardcoded 'product' array:
grunt cad-convert:htmlex --product='products/injection/myriad-spring`
```
## As batch droplet - single file
1. create a file toHTML.bat with the following content
```batch
@echo off
osr-cad sw --verbose=true --hash=false --debug=true --skip=false --src="%~1" --dst="${SRC_DIR}/${SRC_NAME}.+(html)"
```
2. drop any SW supported file onto it, to convert it to an eDrawing HTML webview
## As batch droplet - folders
1. create a file toHTMLs.bat with the following content
```batch
@echo off
osr-cad sw --verbose=true --hash=false --debug=true --skip=false --src="%~1/**/*.+(SLDASM|SLDPRT)" --dst="${SRC_DIR}/${SRC_NAME}.+(html)"
```
2. drop a folder SW supported files onto it, to convert it to an eDrawing HTML webview

File diff suppressed because one or more lines are too long