ig:gfx:shapecreator
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ig:gfx:shapecreator [2021/08/30 13:56] – ig_sb | ig:gfx:shapecreator [2024/04/04 08:04] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== IG.GFX.ShapeCreator ====== | ====== IG.GFX.ShapeCreator ====== | ||
| + | |||
| + | If you searching for the JSON format specification, | ||
| The IG.GFX.ShapeCreator is a tool, to build SVG shapes for furniture products. It is intended to be used to create twodim symbols. | The IG.GFX.ShapeCreator is a tool, to build SVG shapes for furniture products. It is intended to be used to create twodim symbols. | ||
| Line 7: | Line 9: | ||
| The IG.GFX.ShapeCreator is located inside IG NextCloud xchange folder or can be given as download url. Ask the admin or IG for access if needed. | The IG.GFX.ShapeCreator is located inside IG NextCloud xchange folder or can be given as download url. Ask the admin or IG for access if needed. | ||
| Save the latest Zip Version on your PC and unzip it. | Save the latest Zip Version on your PC and unzip it. | ||
| + | |||
| + | Alternatively, | ||
| + | |||
| The zip file contains an folder. | The zip file contains an folder. | ||
| Line 26: | Line 31: | ||
| < | < | ||
| - | IG.GFX.ShapeCreator | + | Command Line Arguments: |
| - | -file=< | + | -file=< |
| -domain=< | -domain=< | ||
| - | -subdomain=<SUB DOMAIN> - IG.GFX Sub Domain, required | + | -subDomain=<SUB DOMAIN> - IG.GFX Sub Domain, required |
| -user=< | -user=< | ||
| -password=< | -password=< | ||
| + | |||
| + | |||
| + | -outline=NONE|BOX|SHAPE|SHAPES - outline mode, optional, SHAPE is default | ||
| -output=< | -output=< | ||
| - | --force - force overwrite shapes and previews (if preview option), optional | + | -format=PNG|JPG - specify preview output format, optional, PNG is default |
| - | | + | |
| + | -preview - generate preview images for the products, optional | ||
| + | -points - generate json file for attach points, optional | ||
| + | -points_prefix - attach prefix before the default filename points.json, optional | ||
| </ | </ | ||
| Line 88: | Line 99: | ||
| * --preview generates additional, optional preview files (format JPG) | * --preview generates additional, optional preview files (format JPG) | ||
| * --force tells the IG.GFX.ShapeCreator.exe to overwrite existing shape files | * --force tells the IG.GFX.ShapeCreator.exe to overwrite existing shape files | ||
| + | |||
| + | === Running the IG.GFX.ShapeCreator in batch mode over directories === | ||
| + | |||
| + | It is possible do use an batch file with the following code template for that purpose. | ||
| + | |||
| + | Prerequisites: | ||
| + | |||
| + | * Directory contains all models (here **.\models**) as sub folder. The model directory name should match the SubDomain name of the IG.Creator login credentials. | ||
| + | * Replace DOMAIN with your domain which match the IG.Creator login credentials. | ||
| + | |||
| + | < | ||
| + | @echo off | ||
| + | set back=%cd% | ||
| + | for /d %%i in (.\models\*) do ( | ||
| + | cd " | ||
| + | echo current directory: | ||
| + | cd | ||
| + | call %IG_GFX_SHAPECREATOR% -domain=DOMAIN -subDomain=" | ||
| + | cd %back% | ||
| + | ) | ||
| + | </ | ||
| ===== Problems and how to solve===== | ===== Problems and how to solve===== | ||
ig/gfx/shapecreator.1630324602.txt.gz · Last modified: 2024/04/04 08:04 (external edit)
