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:42] – 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 230: | Line 242: | ||
All parts and drawing elements use the values defined in the general #common settings. However, these can be overridden per part (or drawing element) if required, as indicated in the table above. | All parts and drawing elements use the values defined in the general #common settings. However, these can be overridden per part (or drawing element) if required, as indicated in the table above. | ||
- | ## Properties of drawing elements | + | === Properties of drawing elements |
- | + | ||
- | * The following drawing elements are defined in the " | + | |
- | | + | The following drawing elements are defined in the " |
- | A box with width and height and optional round corners | + | |
- | * #seat | + | * #seat: a seat with backrest, with the property " |
- | A seat with backrest | + | * #armrest: an armrest with optional rounded corners, see overview below |
- | With the property " | + | * #corner: corners |
- | * #armrest | + | |
- | An armrest with optional rounded corners, see overview below | + | |
- | * #corner | + | |
- | Corners | + | |
- | | + | Each drawing element can have the following properties: |
| Property | | Property | ||
- | | ------------- | ------ | -------- | ------------------------------------------------------------ | | ||
| Width | Number | 1.0 | Set width for the drawing element. | | Width | Number | 1.0 | Set width for the drawing element. | ||
| Depth | Number | 1.0 | Set depth for the drawing element. | | Depth | Number | 1.0 | Set depth for the drawing element. | ||
Line 263: | Line 268: | ||
| diameter_3 | | diameter_3 | ||
- | ### RenderMode (Drawing element #seat) | + | == RenderMode (Drawing element # |
The element #seat can take the following representations: | The element #seat can take the following representations: | ||
- | * Mode " | + | |
- | < | + | {{ :ig:gfx:shapecreator: |
- | * Mode " | + | * Mode " |
- | < | + | {{ :ig:gfx:shapecreator: |
- | * Mode " | + | * Mode " |
- | < | + | {{ :ig:gfx:shapecreator: |
- | + | == Orientation (Orientation) | |
- | + | ||
- | ### Orientation (Orientation) | + | |
The following drawing elements support different orientations: | The following drawing elements support different orientations: | ||
- | * Ottomans (#seat plus RenderMode " | + | |
+ | {{ : | ||
- | | + | |
+ | {{:ig:gfx:shapecreator: | ||
- | Ottomans with orientation " | + | == Rounding corners (Drawing element #seat und # |
- | + | ||
- | * Corners (#corner) | + | |
- | <img src=" | + | |
- | + | ||
- | ### Rounding corners (Drawing element #seat und #armrest) | + | |
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 === | ||
+ | Drawing elements can be given various extensions that can be used to display additional functions. These include, for example, a pull-out function, LED lighting or electronic seat depth adjustments. | ||
- | ### Extensions | + | == PullOut == |
- | Drawing elements can be given various extensions that can be used to display additional functions. These include, | + | A PullOut element represents an arrow for displaying |
- | #### PullOut | + | * left (Alignment left), |
+ | {{ : | ||
- | A PullOut element represents an arrow for displaying a pull-out function. With the help of the " | + | * center (Alignment centered) and |
+ | {{ : | ||
- | * left (Alignment | + | |
- | < | + | {{ :ig:gfx: |
- | * center (Alignment centered) and | + | |
- | <img src=" | + | |
- | * right (Alignment right) | + | |
- | <img src=" | + | |
ig/gfx/shapecreator/specification.1630413730.txt.gz · Last modified: 2024/04/04 08:04 (external edit)