@twinfinity/printing 6.1.0-beta → 6.1.2-ci.30738-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/dist/BuildInfo.js +3 -3
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +3 -0
  5. package/dist/index.js.map +1 -1
  6. package/dist/layout/analyzeTemplate.d.ts +4 -4
  7. package/dist/layout/analyzeTemplate.d.ts.map +1 -1
  8. package/dist/layout/analyzeTemplate.js +18 -16
  9. package/dist/layout/analyzeTemplate.js.map +1 -1
  10. package/dist/layout/classClosure.d.ts +41 -0
  11. package/dist/layout/classClosure.d.ts.map +1 -0
  12. package/dist/layout/classClosure.js +143 -0
  13. package/dist/layout/classClosure.js.map +1 -0
  14. package/dist/layout/clipUtils.d.ts +11 -0
  15. package/dist/layout/clipUtils.d.ts.map +1 -1
  16. package/dist/layout/clipUtils.js +67 -6
  17. package/dist/layout/clipUtils.js.map +1 -1
  18. package/dist/layout/filters.d.ts +14 -8
  19. package/dist/layout/filters.d.ts.map +1 -1
  20. package/dist/layout/filters.js +28 -3
  21. package/dist/layout/filters.js.map +1 -1
  22. package/dist/layout/index.d.ts +24 -57
  23. package/dist/layout/index.d.ts.map +1 -1
  24. package/dist/layout/index.js +20 -337
  25. package/dist/layout/index.js.map +1 -1
  26. package/dist/layout/itemBuilders.d.ts +11 -0
  27. package/dist/layout/itemBuilders.d.ts.map +1 -1
  28. package/dist/layout/itemBuilders.js +17 -3
  29. package/dist/layout/itemBuilders.js.map +1 -1
  30. package/dist/layout/labelsRender.d.ts.map +1 -1
  31. package/dist/layout/labelsRender.js +15 -27
  32. package/dist/layout/labelsRender.js.map +1 -1
  33. package/dist/layout/legendRender.d.ts +18 -6
  34. package/dist/layout/legendRender.d.ts.map +1 -1
  35. package/dist/layout/legendRender.js +49 -79
  36. package/dist/layout/legendRender.js.map +1 -1
  37. package/dist/layout/metadata.d.ts.map +1 -1
  38. package/dist/layout/metadata.js +26 -5
  39. package/dist/layout/metadata.js.map +1 -1
  40. package/dist/layout/model.d.ts +4 -3
  41. package/dist/layout/model.d.ts.map +1 -1
  42. package/dist/layout/model.js +17 -57
  43. package/dist/layout/model.js.map +1 -1
  44. package/dist/layout/options.d.ts +1 -2
  45. package/dist/layout/options.d.ts.map +1 -1
  46. package/dist/layout/options.js.map +1 -1
  47. package/dist/layout/preflight.d.ts +32 -0
  48. package/dist/layout/preflight.d.ts.map +1 -0
  49. package/dist/layout/preflight.js +69 -0
  50. package/dist/layout/preflight.js.map +1 -0
  51. package/dist/layout/qrRender.d.ts.map +1 -1
  52. package/dist/layout/qrRender.js +11 -10
  53. package/dist/layout/qrRender.js.map +1 -1
  54. package/dist/layout/renderDrawing.d.ts +28 -17
  55. package/dist/layout/renderDrawing.d.ts.map +1 -1
  56. package/dist/layout/renderDrawing.js +107 -88
  57. package/dist/layout/renderDrawing.js.map +1 -1
  58. package/dist/layout/renderLayout.d.ts +25 -0
  59. package/dist/layout/renderLayout.d.ts.map +1 -0
  60. package/dist/layout/renderLayout.js +315 -0
  61. package/dist/layout/renderLayout.js.map +1 -0
  62. package/dist/layout/renderTemplateSheet.d.ts +99 -0
  63. package/dist/layout/renderTemplateSheet.d.ts.map +1 -0
  64. package/dist/layout/renderTemplateSheet.js +296 -0
  65. package/dist/layout/renderTemplateSheet.js.map +1 -0
  66. package/dist/layout/renderUtils.d.ts +19 -0
  67. package/dist/layout/renderUtils.d.ts.map +1 -1
  68. package/dist/layout/renderUtils.js +47 -4
  69. package/dist/layout/renderUtils.js.map +1 -1
  70. package/dist/layout/sectionDefs.d.ts +65 -0
  71. package/dist/layout/sectionDefs.d.ts.map +1 -0
  72. package/dist/layout/sectionDefs.js +88 -0
  73. package/dist/layout/sectionDefs.js.map +1 -0
  74. package/dist/layout/slabModelView.d.ts +34 -0
  75. package/dist/layout/slabModelView.d.ts.map +1 -0
  76. package/dist/layout/slabModelView.js +175 -0
  77. package/dist/layout/slabModelView.js.map +1 -0
  78. package/dist/layout/templateVariables.d.ts +1 -1
  79. package/dist/layout/templateVariables.d.ts.map +1 -1
  80. package/dist/layout/templateVariables.js +21 -9
  81. package/dist/layout/templateVariables.js.map +1 -1
  82. package/dist/layout/types.d.ts +164 -83
  83. package/dist/layout/types.d.ts.map +1 -1
  84. package/dist/layout/types.js.map +1 -1
  85. package/dist/layout/validation.d.ts.map +1 -1
  86. package/dist/layout/validation.js +78 -33
  87. package/dist/layout/validation.js.map +1 -1
  88. package/dist/layout/viewportPrep.d.ts +8 -6
  89. package/dist/layout/viewportPrep.d.ts.map +1 -1
  90. package/dist/layout/viewportPrep.js +35 -23
  91. package/dist/layout/viewportPrep.js.map +1 -1
  92. package/dist/layout/viewportRender.d.ts +9 -7
  93. package/dist/layout/viewportRender.d.ts.map +1 -1
  94. package/dist/layout/viewportRender.js +93 -126
  95. package/dist/layout/viewportRender.js.map +1 -1
  96. package/dist/layout/viewportUtils.d.ts +20 -0
  97. package/dist/layout/viewportUtils.d.ts.map +1 -1
  98. package/dist/layout/viewportUtils.js +107 -4
  99. package/dist/layout/viewportUtils.js.map +1 -1
  100. package/dist/printToPdf.d.ts +7 -1
  101. package/dist/printToPdf.d.ts.map +1 -1
  102. package/dist/printToPdf.js +81 -14
  103. package/dist/printToPdf.js.map +1 -1
  104. package/dist/printToSvg.d.ts.map +1 -1
  105. package/dist/printToSvg.js +7 -3
  106. package/dist/printToSvg.js.map +1 -1
  107. package/dist/schemaUtils.d.ts +9 -0
  108. package/dist/schemaUtils.d.ts.map +1 -0
  109. package/dist/schemaUtils.js +14 -0
  110. package/dist/schemaUtils.js.map +1 -0
  111. package/dist/templates/default-template.json +30 -8
  112. package/dist/types.d.ts +2 -1
  113. package/dist/types.d.ts.map +1 -1
  114. package/dist/types.js +10 -1
  115. package/dist/types.js.map +1 -1
  116. package/package.json +8 -3
  117. package/src/index.ts +4 -0
  118. package/src/layout/analyzeTemplate.ts +21 -19
  119. package/src/layout/classClosure.ts +142 -0
  120. package/src/layout/clipUtils.ts +65 -6
  121. package/src/layout/filters.ts +31 -3
  122. package/src/layout/index.ts +61 -571
  123. package/src/layout/itemBuilders.ts +20 -5
  124. package/src/layout/labelsRender.ts +23 -40
  125. package/src/layout/legendRender.ts +64 -84
  126. package/src/layout/metadata.ts +26 -5
  127. package/src/layout/model.ts +21 -66
  128. package/src/layout/options.ts +1 -2
  129. package/src/layout/preflight.ts +96 -0
  130. package/src/layout/qrRender.ts +11 -10
  131. package/src/layout/renderDrawing.ts +132 -110
  132. package/src/layout/renderLayout.ts +483 -0
  133. package/src/layout/renderTemplateSheet.ts +435 -0
  134. package/src/layout/renderUtils.ts +53 -4
  135. package/src/layout/sectionDefs.ts +131 -0
  136. package/src/layout/slabModelView.ts +196 -0
  137. package/src/layout/templateVariables.ts +25 -9
  138. package/src/layout/types.ts +160 -70
  139. package/src/layout/validation.ts +98 -32
  140. package/src/layout/viewportPrep.ts +47 -29
  141. package/src/layout/viewportRender.ts +114 -141
  142. package/src/layout/viewportUtils.ts +118 -5
  143. package/src/printToPdf.ts +84 -15
  144. package/src/printToSvg.ts +7 -3
  145. package/src/schemaUtils.ts +13 -0
  146. package/src/templates/default-template.json +30 -8
  147. package/src/types.ts +12 -2
  148. package/templates/default-a0-landscape.json +171 -66
  149. package/templates/default-a0-portrait.json +159 -60
  150. package/templates/default-a1-landscape.json +135 -48
  151. package/templates/default-a1-portrait.json +123 -42
  152. package/templates/default-a3-landscape.json +87 -24
  153. package/templates/default-a3-portrait.json +99 -30
  154. package/templates/default-a4-landscape.json +75 -18
  155. package/templates/default-a4-portrait.json +75 -18
  156. package/templates/llm-authoring-guide.md +247 -0
  157. package/templates/template-schema.json +295 -120
@@ -3,20 +3,58 @@
3
3
  "id": "default-a1-portrait",
4
4
  "presets": {
5
5
  "includeClasses": {
6
- "defaultBuilding": ["space", "walls", "windows", "doors", "beam", "columns", "stairs", "floor"]
6
+ "defaultBuilding": [
7
+ "space",
8
+ "walls",
9
+ "windows",
10
+ "doors",
11
+ "beam",
12
+ "columns",
13
+ "stairs",
14
+ "floor"
15
+ ]
7
16
  },
8
17
  "scales": {
9
- "default": { "preferredScales": [2, 10, 25, 50, 100, 150, 250, 500, 1000, 2500] }
18
+ "default": {
19
+ "preferredScales": [
20
+ 2,
21
+ 10,
22
+ 25,
23
+ 50,
24
+ 100,
25
+ 150,
26
+ 250,
27
+ 500,
28
+ 1000,
29
+ 2500
30
+ ]
31
+ }
10
32
  }
11
33
  },
12
- "page": { "widthMm": 594, "heightMm": 841, "marginMm": 5, "backgroundColor": "#ffffff" },
34
+ "page": {
35
+ "widthMm": 594,
36
+ "heightMm": 841,
37
+ "marginMm": 5,
38
+ "backgroundColor": "#ffffff"
39
+ },
13
40
  "styles": {
14
- "body": { "fontFamily": "Arial", "fontSizeMm": 3.5, "color": "#000000" },
15
- "spaceLabels": { "fontFamily": "Arial", "fontSizeMm": 5, "color": "#000000" }
41
+ "body": {
42
+ "fontFamily": "Arial",
43
+ "fontSizeMm": 3.5,
44
+ "color": "#000000"
45
+ },
46
+ "spaceLabels": {
47
+ "fontFamily": "Arial",
48
+ "fontSizeMm": 5,
49
+ "color": "#000000"
50
+ }
16
51
  },
17
- "allowRemoteAssets": true,
18
- "assets": [
19
- { "id": "logo-main", "src": "https://twinfinity.com/theme-assets/logo.svg" }
52
+ "allowRemoteResources": true,
53
+ "resources": [
54
+ {
55
+ "id": "logo-main",
56
+ "src": "https://twinfinity.com/theme-assets/logo.svg"
57
+ }
20
58
  ],
21
59
  "elements": [
22
60
  {
@@ -26,7 +64,7 @@
26
64
  "yMm": 7,
27
65
  "widthMm": 40,
28
66
  "heightMm": 10,
29
- "assetId": "logo-main",
67
+ "resourceId": "logo-main",
30
68
  "fit": "contain"
31
69
  },
32
70
  {
@@ -47,19 +85,38 @@
47
85
  "yMm": 20,
48
86
  "widthMm": 584,
49
87
  "heightMm": 794,
50
- "includeClasses": { "preset": "defaultBuilding" },
88
+ "includeClasses": {
89
+ "preset": "defaultBuilding"
90
+ },
51
91
  "scaleMode": "fitAndRound",
52
92
  "scalePreset": "default",
53
93
  "align": "center",
54
- "rotationDeg": 0,
55
- "fills": [{ "class": "space", "fill": "sample", "fillOpacity": 0.35 }],
94
+ "fills": [
95
+ {
96
+ "class": "space",
97
+ "fill": "sample",
98
+ "fillOpacity": 0.35
99
+ }
100
+ ],
56
101
  "lineStyles": {
57
- "default": { "widthMm": 0.01, "color": "#1f2937" },
58
- "visibleLines": { "widthMm": 0.01, "color": "#1f2937" },
59
- "hiddenLines": { "widthMm": 0.005, "color": "#9ca3af", "dash": "4 2" },
60
- "stairArrows": { "widthMm": 0.015, "color": "#1f2937" }
61
- },
62
- "border": { "stroke": "none", "strokeWidthMm": 0.25 }
102
+ "default": {
103
+ "widthMm": 0.25,
104
+ "color": "#1f2937"
105
+ },
106
+ "visibleLines": {
107
+ "widthMm": 0.25,
108
+ "color": "#1f2937"
109
+ },
110
+ "hiddenLines": {
111
+ "widthMm": 0.13,
112
+ "color": "#9ca3af",
113
+ "dash": "4 2"
114
+ },
115
+ "stairArrows": {
116
+ "widthMm": 0.35,
117
+ "color": "#1f2937"
118
+ }
119
+ }
63
120
  },
64
121
  {
65
122
  "kind": "text",
@@ -96,58 +153,82 @@
96
153
  {
97
154
  "kind": "line",
98
155
  "id": "fold-v-194-top",
99
- "x1Mm": 194, "y1Mm": 2,
100
- "x2Mm": 194, "y2Mm": 8,
101
- "stroke": "#000", "strokeWidthMm": 0.2
156
+ "x1Mm": 194,
157
+ "y1Mm": 2,
158
+ "x2Mm": 194,
159
+ "y2Mm": 8,
160
+ "stroke": "#000",
161
+ "strokeWidthMm": 0.2
102
162
  },
103
163
  {
104
164
  "kind": "line",
105
165
  "id": "fold-v-194-bottom",
106
- "x1Mm": 194, "y1Mm": 828,
107
- "x2Mm": 194, "y2Mm": 834,
108
- "stroke": "#000", "strokeWidthMm": 0.2
166
+ "x1Mm": 194,
167
+ "y1Mm": 828,
168
+ "x2Mm": 194,
169
+ "y2Mm": 834,
170
+ "stroke": "#000",
171
+ "strokeWidthMm": 0.2
109
172
  },
110
173
  {
111
174
  "kind": "line",
112
175
  "id": "fold-v-384-top",
113
- "x1Mm": 384, "y1Mm": 2,
114
- "x2Mm": 384, "y2Mm": 8,
115
- "stroke": "#000", "strokeWidthMm": 0.2
176
+ "x1Mm": 384,
177
+ "y1Mm": 2,
178
+ "x2Mm": 384,
179
+ "y2Mm": 8,
180
+ "stroke": "#000",
181
+ "strokeWidthMm": 0.2
116
182
  },
117
183
  {
118
184
  "kind": "line",
119
185
  "id": "fold-v-384-bottom",
120
- "x1Mm": 384, "y1Mm": 828,
121
- "x2Mm": 384, "y2Mm": 834,
122
- "stroke": "#000", "strokeWidthMm": 0.2
186
+ "x1Mm": 384,
187
+ "y1Mm": 828,
188
+ "x2Mm": 384,
189
+ "y2Mm": 834,
190
+ "stroke": "#000",
191
+ "strokeWidthMm": 0.2
123
192
  },
124
193
  {
125
194
  "kind": "line",
126
195
  "id": "fold-h-247-left",
127
- "x1Mm": 2, "y1Mm": 247,
128
- "x2Mm": 8, "y2Mm": 247,
129
- "stroke": "#000", "strokeWidthMm": 0.2
196
+ "x1Mm": 2,
197
+ "y1Mm": 247,
198
+ "x2Mm": 8,
199
+ "y2Mm": 247,
200
+ "stroke": "#000",
201
+ "strokeWidthMm": 0.2
130
202
  },
131
203
  {
132
204
  "kind": "line",
133
205
  "id": "fold-h-247-right",
134
- "x1Mm": 581, "y1Mm": 247,
135
- "x2Mm": 587, "y2Mm": 247,
136
- "stroke": "#000", "strokeWidthMm": 0.2
206
+ "x1Mm": 581,
207
+ "y1Mm": 247,
208
+ "x2Mm": 587,
209
+ "y2Mm": 247,
210
+ "stroke": "#000",
211
+ "strokeWidthMm": 0.2
137
212
  },
138
213
  {
139
214
  "kind": "line",
140
215
  "id": "fold-h-544-left",
141
- "x1Mm": 2, "y1Mm": 544,
142
- "x2Mm": 8, "y2Mm": 544,
143
- "stroke": "#000", "strokeWidthMm": 0.2
216
+ "x1Mm": 2,
217
+ "y1Mm": 544,
218
+ "x2Mm": 8,
219
+ "y2Mm": 544,
220
+ "stroke": "#000",
221
+ "strokeWidthMm": 0.2
144
222
  },
145
223
  {
146
224
  "kind": "line",
147
225
  "id": "fold-h-544-right",
148
- "x1Mm": 581, "y1Mm": 544,
149
- "x2Mm": 587, "y2Mm": 544,
150
- "stroke": "#000", "strokeWidthMm": 0.2
226
+ "x1Mm": 581,
227
+ "y1Mm": 544,
228
+ "x2Mm": 587,
229
+ "y2Mm": 544,
230
+ "stroke": "#000",
231
+ "strokeWidthMm": 0.2
151
232
  }
152
233
  ]
153
234
  }
@@ -3,20 +3,58 @@
3
3
  "id": "default-a3-landscape",
4
4
  "presets": {
5
5
  "includeClasses": {
6
- "defaultBuilding": ["space", "walls", "windows", "doors", "beam", "columns", "stairs", "floor"]
6
+ "defaultBuilding": [
7
+ "space",
8
+ "walls",
9
+ "windows",
10
+ "doors",
11
+ "beam",
12
+ "columns",
13
+ "stairs",
14
+ "floor"
15
+ ]
7
16
  },
8
17
  "scales": {
9
- "default": { "preferredScales": [2, 10, 25, 50, 100, 150, 250, 500, 1000, 2500] }
18
+ "default": {
19
+ "preferredScales": [
20
+ 2,
21
+ 10,
22
+ 25,
23
+ 50,
24
+ 100,
25
+ 150,
26
+ 250,
27
+ 500,
28
+ 1000,
29
+ 2500
30
+ ]
31
+ }
10
32
  }
11
33
  },
12
- "page": { "widthMm": 420, "heightMm": 297, "marginMm": 5, "backgroundColor": "#ffffff" },
34
+ "page": {
35
+ "widthMm": 420,
36
+ "heightMm": 297,
37
+ "marginMm": 5,
38
+ "backgroundColor": "#ffffff"
39
+ },
13
40
  "styles": {
14
- "body": { "fontFamily": "Arial", "fontSizeMm": 3.5, "color": "#000000" },
15
- "spaceLabels": { "fontFamily": "Arial", "fontSizeMm": 5, "color": "#000000" }
41
+ "body": {
42
+ "fontFamily": "Arial",
43
+ "fontSizeMm": 3.5,
44
+ "color": "#000000"
45
+ },
46
+ "spaceLabels": {
47
+ "fontFamily": "Arial",
48
+ "fontSizeMm": 5,
49
+ "color": "#000000"
50
+ }
16
51
  },
17
- "allowRemoteAssets": true,
18
- "assets": [
19
- { "id": "logo-main", "src": "https://twinfinity.com/theme-assets/logo.svg" }
52
+ "allowRemoteResources": true,
53
+ "resources": [
54
+ {
55
+ "id": "logo-main",
56
+ "src": "https://twinfinity.com/theme-assets/logo.svg"
57
+ }
20
58
  ],
21
59
  "elements": [
22
60
  {
@@ -26,7 +64,7 @@
26
64
  "yMm": 7,
27
65
  "widthMm": 40,
28
66
  "heightMm": 10,
29
- "assetId": "logo-main",
67
+ "resourceId": "logo-main",
30
68
  "fit": "contain"
31
69
  },
32
70
  {
@@ -47,19 +85,38 @@
47
85
  "yMm": 20,
48
86
  "widthMm": 410,
49
87
  "heightMm": 250,
50
- "includeClasses": { "preset": "defaultBuilding" },
88
+ "includeClasses": {
89
+ "preset": "defaultBuilding"
90
+ },
51
91
  "scaleMode": "fitAndRound",
52
92
  "scalePreset": "default",
53
93
  "align": "center",
54
- "rotationDeg": 0,
55
- "fills": [{ "class": "space", "fill": "sample", "fillOpacity": 0.35 }],
94
+ "fills": [
95
+ {
96
+ "class": "space",
97
+ "fill": "sample",
98
+ "fillOpacity": 0.35
99
+ }
100
+ ],
56
101
  "lineStyles": {
57
- "default": { "widthMm": 0.01, "color": "#1f2937" },
58
- "visibleLines": { "widthMm": 0.01, "color": "#1f2937" },
59
- "hiddenLines": { "widthMm": 0.005, "color": "#9ca3af", "dash": "4 2" },
60
- "stairArrows": { "widthMm": 0.015, "color": "#1f2937" }
61
- },
62
- "border": { "stroke": "none", "strokeWidthMm": 0.25 }
102
+ "default": {
103
+ "widthMm": 0.25,
104
+ "color": "#1f2937"
105
+ },
106
+ "visibleLines": {
107
+ "widthMm": 0.25,
108
+ "color": "#1f2937"
109
+ },
110
+ "hiddenLines": {
111
+ "widthMm": 0.13,
112
+ "color": "#9ca3af",
113
+ "dash": "4 2"
114
+ },
115
+ "stairArrows": {
116
+ "widthMm": 0.35,
117
+ "color": "#1f2937"
118
+ }
119
+ }
63
120
  },
64
121
  {
65
122
  "kind": "text",
@@ -96,16 +153,22 @@
96
153
  {
97
154
  "kind": "line",
98
155
  "id": "fold-v-210-top",
99
- "x1Mm": 210, "y1Mm": 2,
100
- "x2Mm": 210, "y2Mm": 8,
101
- "stroke": "#000", "strokeWidthMm": 0.2
156
+ "x1Mm": 210,
157
+ "y1Mm": 2,
158
+ "x2Mm": 210,
159
+ "y2Mm": 8,
160
+ "stroke": "#000",
161
+ "strokeWidthMm": 0.2
102
162
  },
103
163
  {
104
164
  "kind": "line",
105
165
  "id": "fold-v-210-bottom",
106
- "x1Mm": 210, "y1Mm": 284,
107
- "x2Mm": 210, "y2Mm": 290,
108
- "stroke": "#000", "strokeWidthMm": 0.2
166
+ "x1Mm": 210,
167
+ "y1Mm": 284,
168
+ "x2Mm": 210,
169
+ "y2Mm": 290,
170
+ "stroke": "#000",
171
+ "strokeWidthMm": 0.2
109
172
  }
110
173
  ]
111
174
  }
@@ -3,20 +3,58 @@
3
3
  "id": "default-a3-portrait",
4
4
  "presets": {
5
5
  "includeClasses": {
6
- "defaultBuilding": ["space", "walls", "windows", "doors", "beam", "columns", "stairs", "floor"]
6
+ "defaultBuilding": [
7
+ "space",
8
+ "walls",
9
+ "windows",
10
+ "doors",
11
+ "beam",
12
+ "columns",
13
+ "stairs",
14
+ "floor"
15
+ ]
7
16
  },
8
17
  "scales": {
9
- "default": { "preferredScales": [2, 10, 25, 50, 100, 150, 250, 500, 1000, 2500] }
18
+ "default": {
19
+ "preferredScales": [
20
+ 2,
21
+ 10,
22
+ 25,
23
+ 50,
24
+ 100,
25
+ 150,
26
+ 250,
27
+ 500,
28
+ 1000,
29
+ 2500
30
+ ]
31
+ }
10
32
  }
11
33
  },
12
- "page": { "widthMm": 297, "heightMm": 420, "marginMm": 5, "backgroundColor": "#ffffff" },
34
+ "page": {
35
+ "widthMm": 297,
36
+ "heightMm": 420,
37
+ "marginMm": 5,
38
+ "backgroundColor": "#ffffff"
39
+ },
13
40
  "styles": {
14
- "body": { "fontFamily": "Arial", "fontSizeMm": 3.5, "color": "#000000" },
15
- "spaceLabels": { "fontFamily": "Arial", "fontSizeMm": 5, "color": "#000000" }
41
+ "body": {
42
+ "fontFamily": "Arial",
43
+ "fontSizeMm": 3.5,
44
+ "color": "#000000"
45
+ },
46
+ "spaceLabels": {
47
+ "fontFamily": "Arial",
48
+ "fontSizeMm": 5,
49
+ "color": "#000000"
50
+ }
16
51
  },
17
- "allowRemoteAssets": true,
18
- "assets": [
19
- { "id": "logo-main", "src": "https://twinfinity.com/theme-assets/logo.svg" }
52
+ "allowRemoteResources": true,
53
+ "resources": [
54
+ {
55
+ "id": "logo-main",
56
+ "src": "https://twinfinity.com/theme-assets/logo.svg"
57
+ }
20
58
  ],
21
59
  "elements": [
22
60
  {
@@ -26,7 +64,7 @@
26
64
  "yMm": 7,
27
65
  "widthMm": 40,
28
66
  "heightMm": 10,
29
- "assetId": "logo-main",
67
+ "resourceId": "logo-main",
30
68
  "fit": "contain"
31
69
  },
32
70
  {
@@ -47,19 +85,38 @@
47
85
  "yMm": 20,
48
86
  "widthMm": 287,
49
87
  "heightMm": 373,
50
- "includeClasses": { "preset": "defaultBuilding" },
88
+ "includeClasses": {
89
+ "preset": "defaultBuilding"
90
+ },
51
91
  "scaleMode": "fitAndRound",
52
92
  "scalePreset": "default",
53
93
  "align": "center",
54
- "rotationDeg": 0,
55
- "fills": [{ "class": "space", "fill": "sample", "fillOpacity": 0.35 }],
94
+ "fills": [
95
+ {
96
+ "class": "space",
97
+ "fill": "sample",
98
+ "fillOpacity": 0.35
99
+ }
100
+ ],
56
101
  "lineStyles": {
57
- "default": { "widthMm": 0.01, "color": "#1f2937" },
58
- "visibleLines": { "widthMm": 0.01, "color": "#1f2937" },
59
- "hiddenLines": { "widthMm": 0.005, "color": "#9ca3af", "dash": "4 2" },
60
- "stairArrows": { "widthMm": 0.015, "color": "#1f2937" }
61
- },
62
- "border": { "stroke": "none", "strokeWidthMm": 0.25 }
102
+ "default": {
103
+ "widthMm": 0.25,
104
+ "color": "#1f2937"
105
+ },
106
+ "visibleLines": {
107
+ "widthMm": 0.25,
108
+ "color": "#1f2937"
109
+ },
110
+ "hiddenLines": {
111
+ "widthMm": 0.13,
112
+ "color": "#9ca3af",
113
+ "dash": "4 2"
114
+ },
115
+ "stairArrows": {
116
+ "widthMm": 0.35,
117
+ "color": "#1f2937"
118
+ }
119
+ }
63
120
  },
64
121
  {
65
122
  "kind": "text",
@@ -96,30 +153,42 @@
96
153
  {
97
154
  "kind": "line",
98
155
  "id": "fold-v-87-top",
99
- "x1Mm": 87, "y1Mm": 2,
100
- "x2Mm": 87, "y2Mm": 8,
101
- "stroke": "#000", "strokeWidthMm": 0.2
156
+ "x1Mm": 87,
157
+ "y1Mm": 2,
158
+ "x2Mm": 87,
159
+ "y2Mm": 8,
160
+ "stroke": "#000",
161
+ "strokeWidthMm": 0.2
102
162
  },
103
163
  {
104
164
  "kind": "line",
105
165
  "id": "fold-v-87-bottom",
106
- "x1Mm": 87, "y1Mm": 407,
107
- "x2Mm": 87, "y2Mm": 413,
108
- "stroke": "#000", "strokeWidthMm": 0.2
166
+ "x1Mm": 87,
167
+ "y1Mm": 407,
168
+ "x2Mm": 87,
169
+ "y2Mm": 413,
170
+ "stroke": "#000",
171
+ "strokeWidthMm": 0.2
109
172
  },
110
173
  {
111
174
  "kind": "line",
112
175
  "id": "fold-h-123-left",
113
- "x1Mm": 2, "y1Mm": 123,
114
- "x2Mm": 8, "y2Mm": 123,
115
- "stroke": "#000", "strokeWidthMm": 0.2
176
+ "x1Mm": 2,
177
+ "y1Mm": 123,
178
+ "x2Mm": 8,
179
+ "y2Mm": 123,
180
+ "stroke": "#000",
181
+ "strokeWidthMm": 0.2
116
182
  },
117
183
  {
118
184
  "kind": "line",
119
185
  "id": "fold-h-123-right",
120
- "x1Mm": 284, "y1Mm": 123,
121
- "x2Mm": 290, "y2Mm": 123,
122
- "stroke": "#000", "strokeWidthMm": 0.2
186
+ "x1Mm": 284,
187
+ "y1Mm": 123,
188
+ "x2Mm": 290,
189
+ "y2Mm": 123,
190
+ "stroke": "#000",
191
+ "strokeWidthMm": 0.2
123
192
  }
124
193
  ]
125
194
  }
@@ -3,20 +3,58 @@
3
3
  "id": "default-a4-landscape",
4
4
  "presets": {
5
5
  "includeClasses": {
6
- "defaultBuilding": ["space", "walls", "windows", "doors", "beam", "columns", "stairs", "floor"]
6
+ "defaultBuilding": [
7
+ "space",
8
+ "walls",
9
+ "windows",
10
+ "doors",
11
+ "beam",
12
+ "columns",
13
+ "stairs",
14
+ "floor"
15
+ ]
7
16
  },
8
17
  "scales": {
9
- "default": { "preferredScales": [2, 10, 25, 50, 100, 150, 250, 500, 1000, 2500] }
18
+ "default": {
19
+ "preferredScales": [
20
+ 2,
21
+ 10,
22
+ 25,
23
+ 50,
24
+ 100,
25
+ 150,
26
+ 250,
27
+ 500,
28
+ 1000,
29
+ 2500
30
+ ]
31
+ }
10
32
  }
11
33
  },
12
- "page": { "widthMm": 297, "heightMm": 210, "marginMm": 5, "backgroundColor": "#ffffff" },
34
+ "page": {
35
+ "widthMm": 297,
36
+ "heightMm": 210,
37
+ "marginMm": 5,
38
+ "backgroundColor": "#ffffff"
39
+ },
13
40
  "styles": {
14
- "body": { "fontFamily": "Arial", "fontSizeMm": 3.5, "color": "#000000" },
15
- "spaceLabels": { "fontFamily": "Arial", "fontSizeMm": 5, "color": "#000000" }
41
+ "body": {
42
+ "fontFamily": "Arial",
43
+ "fontSizeMm": 3.5,
44
+ "color": "#000000"
45
+ },
46
+ "spaceLabels": {
47
+ "fontFamily": "Arial",
48
+ "fontSizeMm": 5,
49
+ "color": "#000000"
50
+ }
16
51
  },
17
- "allowRemoteAssets": true,
18
- "assets": [
19
- { "id": "logo-main", "src": "https://twinfinity.com/theme-assets/logo.svg" }
52
+ "allowRemoteResources": true,
53
+ "resources": [
54
+ {
55
+ "id": "logo-main",
56
+ "src": "https://twinfinity.com/theme-assets/logo.svg"
57
+ }
20
58
  ],
21
59
  "elements": [
22
60
  {
@@ -26,7 +64,7 @@
26
64
  "yMm": 7,
27
65
  "widthMm": 40,
28
66
  "heightMm": 10,
29
- "assetId": "logo-main",
67
+ "resourceId": "logo-main",
30
68
  "fit": "contain"
31
69
  },
32
70
  {
@@ -47,19 +85,38 @@
47
85
  "yMm": 20,
48
86
  "widthMm": 287,
49
87
  "heightMm": 163,
50
- "includeClasses": { "preset": "defaultBuilding" },
88
+ "includeClasses": {
89
+ "preset": "defaultBuilding"
90
+ },
51
91
  "scaleMode": "fitAndRound",
52
92
  "scalePreset": "default",
53
93
  "align": "center",
54
- "rotationDeg": 0,
55
- "fills": [{ "class": "space", "fill": "sample", "fillOpacity": 0.35 }],
94
+ "fills": [
95
+ {
96
+ "class": "space",
97
+ "fill": "sample",
98
+ "fillOpacity": 0.35
99
+ }
100
+ ],
56
101
  "lineStyles": {
57
- "default": { "widthMm": 0.01, "color": "#1f2937" },
58
- "visibleLines": { "widthMm": 0.01, "color": "#1f2937" },
59
- "hiddenLines": { "widthMm": 0.005, "color": "#9ca3af", "dash": "4 2" },
60
- "stairArrows": { "widthMm": 0.015, "color": "#1f2937" }
61
- },
62
- "border": { "stroke": "none", "strokeWidthMm": 0.25 }
102
+ "default": {
103
+ "widthMm": 0.25,
104
+ "color": "#1f2937"
105
+ },
106
+ "visibleLines": {
107
+ "widthMm": 0.25,
108
+ "color": "#1f2937"
109
+ },
110
+ "hiddenLines": {
111
+ "widthMm": 0.13,
112
+ "color": "#9ca3af",
113
+ "dash": "4 2"
114
+ },
115
+ "stairArrows": {
116
+ "widthMm": 0.35,
117
+ "color": "#1f2937"
118
+ }
119
+ }
63
120
  },
64
121
  {
65
122
  "kind": "text",