User Tools

Site Tools


ig:gfx:shapecreator:specification

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ig:gfx:shapecreator:specification [2021/08/31 14:46] ig_sbig: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:gfx:shapecreator:specification_de|Deutsche Version]]+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 siedas die Wiki Version der Dokumentation nicht aktuell ist. 
 + 
 +Bitte laden sie die aktuelle Version als PDF von den folgenden Quellen. 
 + 
 +{{ :ig:gfx:shapecreator:specification_en-1.1.pdf |Download as PDF}} 
 + 
 +{{ :ig:gfx:shapecreator:specification_de-1.1.pdf |Download german version (Deutsche Version) as PDF}}
  
 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+{{ :ig:gfx:shapecreator:npartsandelements.png?nolink&400 |}}
  
 **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 **"stool "**. The width and depth are specified as 1.0 m. The defined drawing element **#box** is used for the representation, here with round corners. The diameter of the corners is taken from the general furniture settings (#common, Rounding). A stool usually consists of exactly one component, here **"stool "**. The width and depth are specified as 1.0 m. The defined drawing element **#box** is used for the representation, here with round corners. The diameter of the corners is taken from the general furniture settings (#common, Rounding).
  
-BILD+{{ :ig:gfx:shapecreator:ppropsparts.png?nolink&400 |}}
  
-**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 **"stool "**, corner is a property of the defined drawing element **#box**. **Width** and **Depth** are properties of the component **"stool "**, corner is a property of the defined drawing element **#box**.
Line 170: Line 180:
 The combination consists of the components "2" (2-seater sofa with armrest left) and "rec" (recamier with armrest right). The sofa has a total width of 1.55 m (incl. armrest) and the recamier has a total width of 1.25 m (incl. armrest). The combination consists of the components "2" (2-seater sofa with armrest left) and "rec" (recamier with armrest right). The sofa has a total width of 1.55 m (incl. armrest) and the recamier has a total width of 1.25 m (incl. armrest).
  
-![](C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\nPropsPartsElements.png)+{{ :ig:gfx:shapecreator:npropspartselements.png?direct&400 }}
  
 **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.
  
 +<code>
 "2_e_3": { "2_e_3": {
             "2": {             "2": {
Line 209: Line 220:
             }             }
 } }
 +</code>
  
 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 "**cushion**" mode and can be used in the parts: The following drawing elements are defined in the "**cushion**" mode and can be used in the parts:
-  * #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 "**RenderMode**" the rendering can be adapted for different purposes, see overview below 
-  * #seat +  * #armrest: an armrest with optional rounded corners, see overview below 
-    A seat with backrest +  * #corner: corners are special drawing elements to be able to plan combinations around corners
-    With the property "**RenderMode**" the rendering can be adapted for different purposes, see overview below +
-  * #armrest +
-    An armrest with optional rounded corners, see overview below +
-  * #corner +
-    Corners are special drawing elements to be able to plan combinations around corners+
  
 Each drawing element can have the following properties: Each drawing element can have the following properties:
Line 266: Line 273:
  
   * Mode "standard", Normal seat (e.g. n-seater or recamier)   * Mode "standard", Normal seat (e.g. n-seater or recamier)
-  <img src="C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\nRenderModeStandard.png" style="zoom:50%;" />+{{ :ig:gfx:shapecreator:nrendermodestandard.png?nolink&400 |}}
   * Mode "ottomane", for ottomans   * Mode "ottomane", for ottomans
-  <img src="C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\nRenderModeOttomane.png" style="zoom:50%;" />+{{ :ig:gfx:shapecreator:nrendermodeottomane.png?nolink&400 |}}
   * Mode "single", for armchairs   * Mode "single", for armchairs
-  <img src="C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\nRenderModeSeat.png" style="zoom:50%;" /> +{{ :ig:gfx:shapecreator:nrendermodeseat.png?nolink&400 |}}
  
 == 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 "ottomane") +  * Ottomans (#seat plus RenderMode "ottomane"): ottomans with orientation "left" are finishing elements on the left side and vice verca. 
-  <img src="C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\ot_align.png" style="zoom:33%;" /> +{{ :ig:gfx:shapecreator:ot_align.png?nolink&400 |}} 
-  Ottomans with orientation "left" are finishing elements on the left side and vice verca. +
-  +
   * Corners (#corner)   * Corners (#corner)
-  <img src="C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\nCornerLeft.png" style="zoom:33%;" /> <img src="C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\nCornerRight.png" style="zoom:33%;" />+{{:ig:gfx:shapecreator:ncornerleft.png?nolink&400|}} {{ :ig:gfx:shapecreator:ncornerright.png?nolink&400|}}
  
 == 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="zoom: 50%;" />+{{ :ig:gfx:shapecreator:pcorners.png?nolink&400 |}}
  
 === 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="zoom:50%;" />+{{ :ig:gfx:shapecreator:npullout_left.png?nolink&400 |}} 
   * center (Alignment centered) and   * center (Alignment centered) and
-  <img src="C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\nPullOut_center.png" style="zoom:50%;" />+{{ :ig:gfx:shapecreator:npullout_center.png?nolink&400 |}} 
   * right (Alignment right)   * right (Alignment right)
-  <img src="C:\Users\StueB\Documents\Arbeit\VisualStudio2\ig.gfx.shapecreator\Specification\nPullOut_right.png" style="zoom:50%;" />+{{ :ig:gfx:shapecreator:npullout_right.png?nolink&400 |}}
  
  
ig/gfx/shapecreator/specification.1630413970.txt.gz · Last modified: 2024/04/04 08:04 (external edit)