ig:gfx:shapecreator:specification
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ig:gfx:shapecreator:specification [2021/08/31 14:46] – ig_sb | ig:gfx:shapecreator:specification [2024/04/04 08:04] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== IG.GFX.ShapeCreator Format definition and examples ==== | ==== IG.GFX.ShapeCreator Format definition and examples ==== | ||
- | ENGLISH VERSION, [[ig: | + | Please note that the wiki version of the documentation is not up to date. |
+ | |||
+ | Please download the latest version as PDF from the following sources. | ||
+ | |||
+ | Bitte beachten sie, das die Wiki Version der Dokumentation nicht aktuell ist. | ||
+ | |||
+ | Bitte laden sie die aktuelle Version als PDF von den folgenden Quellen. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | {{ :ig: | ||
Shape files are created in JSON format and are therefore subject to the requirements for this format. | Shape files are created in JSON format and are therefore subject to the requirements for this format. | ||
Line 108: | Line 118: | ||
Parts and drawing elements in turn can have defined properties that influence the generation of SVG symbols. | Parts and drawing elements in turn can have defined properties that influence the generation of SVG symbols. | ||
- | BILD | + | {{ : |
**Figure**: Components (red text) and associated drawing elements (black text). | **Figure**: Components (red text) and associated drawing elements (black text). | ||
Line 130: | Line 140: | ||
A stool usually consists of exactly one component, here **" | A stool usually consists of exactly one component, here **" | ||
- | BILD | + | {{ : |
- | **Image**: Stool with character element #box and the properties | + | **Figure**: Stool with character element #box and the properties |
**Width** and **Depth** are properties of the component **" | **Width** and **Depth** are properties of the component **" | ||
Line 170: | Line 180: | ||
The combination consists of the components " | The combination consists of the components " | ||
- |  | + | {{ :ig:gfx:shapecreator: |
**Figure**: Combination of several components and elements and the properties (exemplary). | **Figure**: Combination of several components and elements and the properties (exemplary). | ||
Line 180: | Line 190: | ||
The following example shows a corner combination. | The following example shows a corner combination. | ||
+ | < | ||
" | " | ||
" | " | ||
Line 209: | Line 220: | ||
} | } | ||
} | } | ||
+ | </ | ||
For corners it is important to rotate the corresponding parts before corner using the **Rotation** property. In this case it is left aligned corner with a rotation of -90°, for right aligned corners the rotation must be set to 90°. | For corners it is important to rotate the corresponding parts before corner using the **Rotation** property. In this case it is left aligned corner with a rotation of -90°, for right aligned corners the rotation must be set to 90°. | ||
Line 233: | Line 245: | ||
The following drawing elements are defined in the " | The following drawing elements are defined in the " | ||
- | * #box | + | * #box: a box with width and height and optional round corners |
- | A box with width and height and optional round corners | + | * #seat: a seat with backrest, with the property " |
- | * #seat | + | * #armrest: an armrest with optional rounded corners, see overview below |
- | A seat with backrest | + | * #corner: corners |
- | With the property " | + | |
- | * #armrest | + | |
- | An armrest with optional rounded corners, see overview below | + | |
- | * #corner | + | |
- | Corners | + | |
Each drawing element can have the following properties: | Each drawing element can have the following properties: | ||
Line 266: | Line 273: | ||
* Mode " | * Mode " | ||
- | <img src="C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\nRenderModeStandard.png" style=" | + | {{ :ig:gfx:shapecreator: |
* Mode " | * Mode " | ||
- | <img src="C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\nRenderModeOttomane.png" style=" | + | {{ :ig:gfx:shapecreator: |
* Mode " | * Mode " | ||
- | <img src="C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\nRenderModeSeat.png" style=" | + | {{ :ig:gfx:shapecreator: |
== Orientation (Orientation) == | == Orientation (Orientation) == | ||
Line 277: | Line 283: | ||
The following drawing elements support different orientations: | The following drawing elements support different orientations: | ||
- | * Ottomans (#seat plus RenderMode " | + | * Ottomans (#seat plus RenderMode " |
- | <img src="C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\ot_align.png" | + | {{ : |
- | Ottomans | + | |
- | + | ||
* Corners (#corner) | * Corners (#corner) | ||
- | <img src="C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\nCornerLeft.png" style=" | + | {{:ig:gfx:shapecreator: |
== Rounding corners (Drawing element #seat und #armrest) == | == Rounding corners (Drawing element #seat und #armrest) == | ||
Line 288: | Line 293: | ||
Seats and armrests support the rounding of the under left (3) and right corner (2). | Seats and armrests support the rounding of the under left (3) and right corner (2). | ||
- | <img src="C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\pCorners.png" style=" | + | {{ :ig:gfx:shapecreator:pcorners.png? |
=== Extensions === | === Extensions === | ||
Line 299: | Line 304: | ||
* left (Alignment left), | * left (Alignment left), | ||
- | <img src="C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\nPullOut_left.png" style=" | + | {{ :ig:gfx:shapecreator: |
* center (Alignment centered) and | * center (Alignment centered) and | ||
- | <img src="C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\nPullOut_center.png" style=" | + | {{ :ig:gfx:shapecreator: |
* right (Alignment right) | * right (Alignment right) | ||
- | <img src="C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\nPullOut_right.png" style=" | + | {{ :ig:gfx:shapecreator: |
ig/gfx/shapecreator/specification.1630413970.txt.gz · Last modified: 2024/04/04 08:04 (external edit)