topotopo 0.4.0 → 0.5.0

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 (336) hide show
  1. package/NOTICE +10 -10
  2. package/README.md +460 -117
  3. package/dist/cli.js +323 -146
  4. package/dist/config.d.ts +48 -0
  5. package/dist/config.js +170 -0
  6. package/dist/core/bake.d.ts +14 -3
  7. package/dist/core/bake.js +153 -4
  8. package/dist/core/bevel.d.ts +3 -1
  9. package/dist/core/bevel.js +76 -3
  10. package/dist/core/decimate.d.ts +65 -0
  11. package/dist/core/decimate.js +409 -3
  12. package/dist/core/erosion.d.ts +37 -0
  13. package/dist/core/erosion.js +41 -1
  14. package/dist/core/geometry.d.ts +5 -1
  15. package/dist/core/geometry.js +203 -3
  16. package/dist/core/heightfield.d.ts +27 -4
  17. package/dist/core/heightfield.js +54 -16
  18. package/dist/core/intrinsics.d.ts +7 -0
  19. package/dist/core/intrinsics.js +94 -0
  20. package/dist/core/manifold.d.ts +12 -1
  21. package/dist/core/manifold.js +78 -6
  22. package/dist/core/materials.d.ts +7 -0
  23. package/dist/core/materials.js +45 -0
  24. package/dist/core/noise.d.ts +9 -0
  25. package/dist/core/noise.js +10 -1
  26. package/dist/core/polymerge.d.ts +21 -0
  27. package/dist/core/polymerge.js +327 -0
  28. package/dist/core/repair.d.ts +2 -0
  29. package/dist/core/repair.js +2 -0
  30. package/dist/core/report.d.ts +70 -0
  31. package/dist/core/report.js +275 -0
  32. package/dist/core/scene.js +2 -1
  33. package/dist/core/sha256.d.ts +4 -0
  34. package/dist/core/sha256.js +69 -0
  35. package/dist/core/shapes.d.ts +3 -0
  36. package/dist/core/shapes.js +34 -0
  37. package/dist/core/snippet-lib.d.ts +14 -1
  38. package/dist/core/snippet-lib.js +39 -13
  39. package/dist/core/tangents.d.ts +2 -0
  40. package/dist/core/tangents.js +5 -1
  41. package/dist/core/texnoise.d.ts +6 -1
  42. package/dist/core/texnoise.js +6 -2
  43. package/dist/core/texsdf.d.ts +131 -0
  44. package/dist/core/texsdf.js +637 -0
  45. package/dist/core/texture.d.ts +163 -9
  46. package/dist/core/texture.js +844 -20
  47. package/dist/core/topology.d.ts +10 -0
  48. package/dist/core/topology.js +168 -0
  49. package/dist/core/unwrap.d.ts +72 -0
  50. package/dist/core/unwrap.js +800 -0
  51. package/dist/core/usercode.d.ts +27 -0
  52. package/dist/core/usercode.js +87 -0
  53. package/dist/core/uv.d.ts +4 -18
  54. package/dist/core/uv.js +35 -188
  55. package/dist/core/uvislands.d.ts +62 -0
  56. package/dist/core/uvislands.js +574 -0
  57. package/dist/core/uvoverlap.d.ts +58 -0
  58. package/dist/core/uvoverlap.js +220 -0
  59. package/dist/core/uvpack.d.ts +64 -0
  60. package/dist/core/uvpack.js +628 -0
  61. package/dist/core/uvreport.d.ts +61 -0
  62. package/dist/core/uvreport.js +207 -143
  63. package/dist/core/wrangle.d.ts +6 -1
  64. package/dist/core/wrangle.js +27 -16
  65. package/dist/core/xatlas.d.ts +16 -1
  66. package/dist/core/xatlas.js +66 -62
  67. package/dist/engines.d.ts +63 -0
  68. package/dist/engines.js +180 -0
  69. package/dist/explain.d.ts +4 -3
  70. package/dist/explain.js +129 -12
  71. package/dist/graph/engine.d.ts +92 -29
  72. package/dist/graph/engine.js +298 -148
  73. package/dist/graph/expr.d.ts +6 -3
  74. package/dist/graph/expr.js +18 -8
  75. package/dist/graph/outputs.d.ts +23 -0
  76. package/dist/graph/outputs.js +41 -0
  77. package/dist/graph/packages.d.ts +72 -0
  78. package/dist/graph/packages.js +261 -0
  79. package/dist/graph/parallel.d.ts +3 -1
  80. package/dist/graph/parallel.js +4 -1
  81. package/dist/graph/params.d.ts +6 -0
  82. package/dist/graph/params.js +34 -7
  83. package/dist/graph/scope.d.ts +55 -0
  84. package/dist/graph/scope.js +14 -0
  85. package/dist/graph/types.d.ts +75 -12
  86. package/dist/graph/types.js +4 -2
  87. package/dist/graph/vars.d.ts +16 -0
  88. package/dist/graph/vars.js +80 -0
  89. package/dist/host/artifacts.d.ts +10 -1
  90. package/dist/host/artifacts.js +37 -6
  91. package/dist/host/cook.d.ts +241 -0
  92. package/dist/host/cook.js +844 -0
  93. package/dist/host/export-targets.d.ts +42 -5
  94. package/dist/host/export-targets.js +72 -13
  95. package/dist/host/godot-commands.d.ts +4 -0
  96. package/dist/host/godot-commands.js +21 -0
  97. package/dist/host/godot.d.ts +183 -0
  98. package/dist/host/godot.js +916 -0
  99. package/dist/host/node.d.ts +12 -7
  100. package/dist/host/node.js +27 -9
  101. package/dist/host/pool.js +51 -2
  102. package/dist/host/sidecars.d.ts +8 -0
  103. package/dist/host/sidecars.js +50 -0
  104. package/dist/host/types.d.ts +19 -6
  105. package/dist/host/version.d.ts +1 -0
  106. package/dist/host/version.js +3 -0
  107. package/dist/host/worker.js +5 -2
  108. package/dist/index.d.ts +2 -2
  109. package/dist/index.js +1 -1
  110. package/dist/inspect.d.ts +80 -2
  111. package/dist/inspect.js +265 -30
  112. package/dist/io/common.d.ts +25 -5
  113. package/dist/io/export.js +2 -1
  114. package/dist/io/files.d.ts +23 -4
  115. package/dist/io/files.js +60 -8
  116. package/dist/io/gltf.js +134 -47
  117. package/dist/io/heightmap.d.ts +3 -0
  118. package/dist/io/heightmap.js +1 -0
  119. package/dist/io/import.js +10 -0
  120. package/dist/io/inspect-scene.d.ts +55 -0
  121. package/dist/io/inspect-scene.js +155 -0
  122. package/dist/io/kinds.d.ts +81 -0
  123. package/dist/io/kinds.js +163 -0
  124. package/dist/io/points.d.ts +2 -1
  125. package/dist/io/points.js +3 -1
  126. package/dist/io/sidecars.d.ts +24 -0
  127. package/dist/io/sidecars.js +57 -0
  128. package/dist/io/source.d.ts +65 -0
  129. package/dist/io/source.js +112 -0
  130. package/dist/io/targets.d.ts +47 -3
  131. package/dist/io/targets.js +148 -13
  132. package/dist/io/textures.js +21 -1
  133. package/dist/io/unreal.js +5 -1
  134. package/dist/mcp/docs.d.ts +10 -1
  135. package/dist/mcp/docs.js +786 -143
  136. package/dist/mcp/inputs.d.ts +12 -5
  137. package/dist/mcp/inputs.js +50 -13
  138. package/dist/mcp/server.js +56 -27
  139. package/dist/mcp/tools.d.ts +14 -7
  140. package/dist/mcp/tools.js +196 -103
  141. package/dist/mcp/verify.d.ts +2 -2
  142. package/dist/mcp/verify.js +1 -1
  143. package/dist/mcp/workspace.d.ts +15 -0
  144. package/dist/mcp/workspace.js +349 -0
  145. package/dist/nodes/attributes.js +198 -1
  146. package/dist/nodes/bake.js +151 -47
  147. package/dist/nodes/beam.d.ts +1 -0
  148. package/dist/nodes/beam.js +201 -0
  149. package/dist/nodes/bevel.js +51 -3
  150. package/dist/nodes/cloth.js +2 -0
  151. package/dist/nodes/code.js +21 -9
  152. package/dist/nodes/curves.js +433 -93
  153. package/dist/nodes/flow.js +53 -33
  154. package/dist/nodes/generate.js +12 -38
  155. package/dist/nodes/heightfield.js +248 -77
  156. package/dist/nodes/imageops.js +16 -19
  157. package/dist/nodes/index.d.ts +1 -0
  158. package/dist/nodes/index.js +1 -0
  159. package/dist/nodes/material.js +89 -24
  160. package/dist/nodes/measure.js +43 -17
  161. package/dist/nodes/particles.js +2 -0
  162. package/dist/nodes/pcg.js +6 -5
  163. package/dist/nodes/procedural.js +4 -3
  164. package/dist/nodes/remesh.js +71 -15
  165. package/dist/nodes/scene.js +4 -2
  166. package/dist/nodes/sdf.js +10 -5
  167. package/dist/nodes/solid.js +20 -5
  168. package/dist/nodes/splines.d.ts +15 -1
  169. package/dist/nodes/splines.js +112 -105
  170. package/dist/nodes/texture.d.ts +21 -6
  171. package/dist/nodes/texture.js +1318 -185
  172. package/dist/nodes/topology.d.ts +7 -0
  173. package/dist/nodes/topology.js +133 -6
  174. package/dist/nodes/transform.js +6 -2
  175. package/dist/nodes/uv.js +192 -174
  176. package/dist/nodes/wasmcall.js +5 -1
  177. package/dist/open.d.ts +19 -0
  178. package/dist/open.js +12 -0
  179. package/dist/package.d.ts +288 -0
  180. package/dist/package.js +772 -0
  181. package/dist/packages/check.d.ts +32 -0
  182. package/dist/packages/check.js +169 -0
  183. package/dist/packages/commands.d.ts +57 -0
  184. package/dist/packages/commands.js +537 -0
  185. package/dist/packages/registry.d.ts +796 -0
  186. package/dist/packages/registry.js +2998 -0
  187. package/dist/packages/update.d.ts +124 -0
  188. package/dist/packages/update.js +476 -0
  189. package/dist/render/options.d.ts +2 -0
  190. package/dist/render/options.js +44 -5
  191. package/dist/render/preview.d.ts +15 -4
  192. package/dist/render/preview.js +6 -4
  193. package/dist/render/raster.d.ts +66 -5
  194. package/dist/render/raster.js +506 -138
  195. package/dist/render/texview.d.ts +6 -0
  196. package/dist/render/texview.js +27 -0
  197. package/dist/scan.d.ts +61 -0
  198. package/dist/scan.js +228 -0
  199. package/dist/session.d.ts +311 -0
  200. package/dist/session.js +849 -0
  201. package/dist/viewer/app/api.js +48 -6
  202. package/dist/viewer/app/cooking.js +78 -0
  203. package/dist/viewer/app/embed.js +27 -7
  204. package/dist/viewer/app/export-popover.js +118 -16
  205. package/dist/viewer/app/grid.js +5 -1
  206. package/dist/viewer/app/guides.js +122 -0
  207. package/dist/viewer/app/keymap.js +6 -3
  208. package/dist/viewer/app/layers.js +4 -4
  209. package/dist/viewer/app/main.js +185 -52
  210. package/dist/viewer/app/markers.js +60 -0
  211. package/dist/viewer/app/outliner.js +72 -27
  212. package/dist/viewer/app/output-info.js +45 -0
  213. package/dist/viewer/app/outputs.css +147 -8
  214. package/dist/viewer/app/outputs.js +168 -54
  215. package/dist/viewer/app/packages.js +614 -0
  216. package/dist/viewer/app/props.js +176 -52
  217. package/dist/viewer/app/scene.js +30 -5
  218. package/dist/viewer/app/select.js +4 -3
  219. package/dist/viewer/app/status.js +12 -15
  220. package/dist/viewer/app/style.css +65 -7
  221. package/dist/viewer/app/vars.js +47 -0
  222. package/dist/viewer/app/welcome.js +72 -0
  223. package/dist/viewer/graph-file.d.ts +62 -0
  224. package/dist/viewer/graph-file.js +175 -0
  225. package/dist/viewer/index.html +23 -10
  226. package/dist/viewer/json-edit.d.ts +13 -0
  227. package/dist/viewer/json-edit.js +274 -0
  228. package/dist/viewer/outputs.d.ts +49 -5
  229. package/dist/viewer/outputs.js +264 -56
  230. package/dist/viewer/packages.d.ts +121 -0
  231. package/dist/viewer/packages.js +584 -0
  232. package/dist/viewer/server.d.ts +14 -9
  233. package/dist/viewer/server.js +266 -28
  234. package/dist/web/app/web.css +419 -0
  235. package/dist/web/app/web.js +188 -0
  236. package/dist/{gallery → web}/bake.d.ts +4 -4
  237. package/dist/{gallery → web}/bake.js +24 -15
  238. package/dist/web/folder-page.d.ts +101 -0
  239. package/dist/web/folder-page.js +146 -0
  240. package/dist/web/folders.d.ts +280 -0
  241. package/dist/web/folders.js +970 -0
  242. package/dist/web/library.d.ts +91 -0
  243. package/dist/web/library.js +228 -0
  244. package/dist/web/markdown.d.ts +45 -0
  245. package/dist/web/markdown.js +677 -0
  246. package/dist/web/pages.d.ts +258 -0
  247. package/dist/web/pages.js +301 -0
  248. package/dist/web/server.d.ts +24 -0
  249. package/dist/web/server.js +1068 -0
  250. package/dist/workspace.d.ts +88 -118
  251. package/dist/workspace.js +358 -460
  252. package/integrations/godot/addons/topotopo/LICENSE +202 -0
  253. package/integrations/godot/addons/topotopo/README.md +57 -0
  254. package/integrations/godot/addons/topotopo/context_menu.gd +43 -0
  255. package/integrations/godot/addons/topotopo/dock.gd +266 -0
  256. package/integrations/godot/addons/topotopo/dock.tscn +72 -0
  257. package/integrations/godot/addons/topotopo/export_filter.gd +72 -0
  258. package/integrations/godot/addons/topotopo/gltf_instancing.gd +131 -0
  259. package/integrations/godot/addons/topotopo/icons/topotopo.svg +1 -0
  260. package/integrations/godot/addons/topotopo/inspector.gd +38 -0
  261. package/integrations/godot/addons/topotopo/instances_post_import.gd +111 -0
  262. package/integrations/godot/addons/topotopo/package.gd +23 -0
  263. package/integrations/godot/addons/topotopo/package_importer.gd +187 -0
  264. package/integrations/godot/addons/topotopo/plugin.cfg +7 -0
  265. package/integrations/godot/addons/topotopo/plugin.gd +970 -0
  266. package/integrations/godot/addons/topotopo/record.gd +435 -0
  267. package/integrations/godot/addons/topotopo/runner.gd +458 -0
  268. package/integrations/godot/addons/topotopo/tools/check.gd +42 -0
  269. package/integrations/godot/addons/topotopo/watcher.gd +199 -0
  270. package/kernels/pkg/README.md +2 -1
  271. package/kernels/pkg-simd/README.md +2 -1
  272. package/library/architecture/versions/1.0/architecture.topo +12 -0
  273. package/{shelf → library/architecture/versions/1.0/graphs}/arch.json +3 -3
  274. package/{shelf → library/architecture/versions/1.0/graphs}/beam_truss.json +6 -6
  275. package/{shelf → library/architecture/versions/1.0/graphs}/brick_wall.json +8 -8
  276. package/{shelf → library/architecture/versions/1.0/graphs}/door_frame.json +3 -3
  277. package/{shelf → library/architecture/versions/1.0/graphs}/hex_grid_floor.json +3 -2
  278. package/{shelf → library/architecture/versions/1.0/graphs}/house.json +8 -8
  279. package/library/architecture/versions/1.0/graphs/lineup.json +42 -0
  280. package/{shelf → library/architecture/versions/1.0/graphs}/pillar.json +3 -2
  281. package/{shelf → library/architecture/versions/1.0/graphs}/railing.json +5 -5
  282. package/{shelf → library/architecture/versions/1.0/graphs}/roof_gable.json +2 -2
  283. package/{shelf → library/architecture/versions/1.0/graphs}/roof_hip.json +2 -2
  284. package/{shelf → library/architecture/versions/1.0/graphs}/roof_skeleton.json +2 -1
  285. package/{shelf → library/architecture/versions/1.0/graphs}/scaffold.json +4 -4
  286. package/{shelf → library/architecture/versions/1.0/graphs}/spiral_stairs.json +3 -2
  287. package/{shelf → library/architecture/versions/1.0/graphs}/stairs.json +6 -6
  288. package/{shelf → library/architecture/versions/1.0/graphs}/tile_floor.json +3 -2
  289. package/{shelf → library/architecture/versions/1.0/graphs}/wall_segment.json +10 -10
  290. package/{shelf → library/architecture/versions/1.0/graphs}/window_frame.json +2 -2
  291. package/library/architecture/versions/1.0/version.json +1119 -0
  292. package/{shelf → library/nature/versions/1.0/graphs}/bush.json +2 -2
  293. package/{shelf → library/nature/versions/1.0/graphs}/cliff_block.json +4 -3
  294. package/{shelf → library/nature/versions/1.0/graphs}/forest_patch.json +5 -5
  295. package/{shelf → library/nature/versions/1.0/graphs}/grass_clumps.json +2 -2
  296. package/library/nature/versions/1.0/graphs/lineup.json +24 -0
  297. package/{shelf → library/nature/versions/1.0/graphs}/log.json +6 -6
  298. package/{shelf → library/nature/versions/1.0/graphs}/rock.json +5 -4
  299. package/{shelf → library/nature/versions/1.0/graphs}/scatter_rocks.json +5 -5
  300. package/{shelf → library/nature/versions/1.0/graphs}/tree_lowpoly.json +3 -2
  301. package/library/nature/versions/1.0/nature.topo +12 -0
  302. package/library/nature/versions/1.0/version.json +534 -0
  303. package/{shelf → library/props/versions/1.0/graphs}/barrel.json +5 -4
  304. package/{shelf → library/props/versions/1.0/graphs}/crate.json +3 -3
  305. package/library/props/versions/1.0/graphs/lineup.json +18 -0
  306. package/{shelf → library/props/versions/1.0/graphs}/pallet.json +4 -3
  307. package/{shelf → library/props/versions/1.0/graphs}/pipe_run.json +3 -3
  308. package/{shelf → library/props/versions/1.0/graphs}/sandbag_wall.json +5 -5
  309. package/library/props/versions/1.0/props.topo +12 -0
  310. package/library/props/versions/1.0/version.json +336 -0
  311. package/{shelf → library/street/versions/1.0/graphs}/bench.json +5 -5
  312. package/{shelf → library/street/versions/1.0/graphs}/bollard.json +2 -1
  313. package/{shelf → library/street/versions/1.0/graphs}/cable.json +4 -4
  314. package/{shelf → library/street/versions/1.0/graphs}/fence.json +7 -7
  315. package/{shelf → library/street/versions/1.0/graphs}/lamp_post.json +2 -2
  316. package/library/street/versions/1.0/graphs/lineup.json +22 -0
  317. package/{shelf → library/street/versions/1.0/graphs}/road_strip.json +2 -2
  318. package/{shelf → library/street/versions/1.0/graphs}/sign_post.json +1 -1
  319. package/library/street/versions/1.0/street.topo +12 -0
  320. package/library/street/versions/1.0/version.json +421 -0
  321. package/package.json +17 -8
  322. package/dist/gallery/app/gallery.css +0 -100
  323. package/dist/gallery/app/gallery.js +0 -80
  324. package/dist/gallery/cli.d.ts +0 -4
  325. package/dist/gallery/cli.js +0 -157
  326. package/dist/gallery/library.d.ts +0 -124
  327. package/dist/gallery/library.js +0 -366
  328. package/dist/gallery/pages.d.ts +0 -94
  329. package/dist/gallery/pages.js +0 -148
  330. package/dist/gallery/server.d.ts +0 -21
  331. package/dist/gallery/server.js +0 -391
  332. package/dist/graph/migrate.d.ts +0 -23
  333. package/dist/graph/migrate.js +0 -58
  334. package/dist/mcp/library.d.ts +0 -12
  335. package/dist/mcp/library.js +0 -159
  336. package/shelf/index.json +0 -190
@@ -0,0 +1,1119 @@
1
+ {
2
+ "package": "topotopo/architecture",
3
+ "version": "1.0",
4
+ "note": "first version",
5
+ "published": "2026-10-30T12:01:47.914Z",
6
+ "big": false,
7
+ "hash": "6750a1ee778d3f9b2c257204b46fd03c06895a465b19707b624f0b9285148bf1",
8
+ "outputs": {
9
+ "arch": {
10
+ "graph": "arch",
11
+ "node": "out",
12
+ "label": "Arch",
13
+ "kind": "mesh",
14
+ "tags": [
15
+ "arch",
16
+ "opening",
17
+ "masonry",
18
+ "stone",
19
+ "modular"
20
+ ],
21
+ "description": "Stone arch: a wall block with a round, pointed (equilateral gothic) or flat-topped opening cut by a 2D boolean and extruded, with impost blocks at the spring line and a keystone. Pivot at the centre of the base (the opening is centred on x = 0, depth along Z). Pieces: arch (stone), arch_trim (stone_dark). Every piece is closed.",
22
+ "sliders": {
23
+ "width": {
24
+ "type": "float",
25
+ "default": 2,
26
+ "min": 0.4,
27
+ "max": 10,
28
+ "desc": "opening width (m)"
29
+ },
30
+ "height": {
31
+ "type": "float",
32
+ "default": 3,
33
+ "min": 0.5,
34
+ "max": 15,
35
+ "desc": "opening height at the apex (m)"
36
+ },
37
+ "thickness": {
38
+ "type": "float",
39
+ "default": 0.5,
40
+ "min": 0.1,
41
+ "max": 3,
42
+ "desc": "masonry around the opening (m)"
43
+ },
44
+ "depth": {
45
+ "type": "float",
46
+ "default": 0.6,
47
+ "min": 0.1,
48
+ "max": 5,
49
+ "desc": "depth along Z (m)"
50
+ },
51
+ "style": {
52
+ "type": "enum",
53
+ "default": "round",
54
+ "options": [
55
+ "round",
56
+ "pointed",
57
+ "flat"
58
+ ],
59
+ "desc": "shape of the opening's top"
60
+ },
61
+ "segments": {
62
+ "type": "int",
63
+ "default": 16,
64
+ "min": 4,
65
+ "max": 64,
66
+ "desc": "segments of the curved top"
67
+ },
68
+ "keystone": {
69
+ "type": "bool",
70
+ "default": true,
71
+ "desc": "keystone at the apex and impost blocks at the spring line"
72
+ }
73
+ },
74
+ "inputs": []
75
+ },
76
+ "beam_truss": {
77
+ "graph": "beam_truss",
78
+ "node": "out",
79
+ "label": "Truss",
80
+ "kind": "mesh",
81
+ "tags": [
82
+ "truss",
83
+ "beam",
84
+ "structural",
85
+ "steel",
86
+ "timber",
87
+ "industrial"
88
+ ],
89
+ "description": "Planar truss in the XY plane: top and bottom chords, verticals and diagonals in Warren, Pratt or Howe layout, swept with a steel I-section or a square timber section. Spans x = -span/2 … span/2. Pivot at the centre of the bottom chord's underside. Pieces: truss_chords, truss_web (steel or wood_dark). Every member is closed.",
90
+ "sliders": {
91
+ "span": {
92
+ "type": "float",
93
+ "default": 8,
94
+ "min": 1,
95
+ "max": 40,
96
+ "desc": "span along X (m)"
97
+ },
98
+ "height": {
99
+ "type": "float",
100
+ "default": 1.2,
101
+ "min": 0.2,
102
+ "max": 6,
103
+ "desc": "depth of the truss, chord centre to chord centre (m)"
104
+ },
105
+ "panels": {
106
+ "type": "int",
107
+ "default": 6,
108
+ "min": 2,
109
+ "max": 30,
110
+ "desc": "panels along the span (even counts are symmetric)"
111
+ },
112
+ "member_size": {
113
+ "type": "float",
114
+ "default": 0.12,
115
+ "min": 0.03,
116
+ "max": 0.6,
117
+ "desc": "member section size (m)"
118
+ },
119
+ "layout": {
120
+ "type": "enum",
121
+ "default": "warren",
122
+ "options": [
123
+ "warren",
124
+ "pratt",
125
+ "howe"
126
+ ],
127
+ "desc": "web layout"
128
+ },
129
+ "steel": {
130
+ "type": "bool",
131
+ "default": true,
132
+ "desc": "steel I-sections (false = square timber)"
133
+ }
134
+ },
135
+ "inputs": []
136
+ },
137
+ "brick_wall": {
138
+ "graph": "brick_wall",
139
+ "node": "out",
140
+ "label": "Brick wall",
141
+ "kind": "mesh",
142
+ "tags": [
143
+ "wall",
144
+ "brick",
145
+ "masonry",
146
+ "modular"
147
+ ],
148
+ "description": "Brick wall from x = 0 to x = wall_length: individual bricks in running, stack, English or Flemish bond, cut to the wall ends and top, with random offset, yaw and tint, standing slightly proud of a recessed mortar core. One wythe deep (headers are drawn as half bricks). Pivot at the start of the wall, on the ground, centred in thickness. Pieces: brick_wall_bricks (brick), brick_wall_mortar (mortar). Every piece is a closed box.",
149
+ "sliders": {
150
+ "wall_length": {
151
+ "type": "float",
152
+ "default": 3,
153
+ "min": 0.3,
154
+ "max": 40,
155
+ "desc": "length along X (m)"
156
+ },
157
+ "height": {
158
+ "type": "float",
159
+ "default": 1.8,
160
+ "min": 0.1,
161
+ "max": 5,
162
+ "desc": "height (m)"
163
+ },
164
+ "brick_length": {
165
+ "type": "float",
166
+ "default": 0.215,
167
+ "min": 0.1,
168
+ "max": 0.5,
169
+ "desc": "brick length (m); depth is half of it"
170
+ },
171
+ "brick_height": {
172
+ "type": "float",
173
+ "default": 0.065,
174
+ "min": 0.03,
175
+ "max": 0.3,
176
+ "desc": "brick height (m)"
177
+ },
178
+ "mortar": {
179
+ "type": "float",
180
+ "default": 0.01,
181
+ "min": 0.002,
182
+ "max": 0.04,
183
+ "desc": "joint width (m)"
184
+ },
185
+ "bond": {
186
+ "type": "enum",
187
+ "default": "running",
188
+ "options": [
189
+ "running",
190
+ "stack",
191
+ "english",
192
+ "flemish"
193
+ ],
194
+ "desc": "brick pattern"
195
+ },
196
+ "jitter": {
197
+ "type": "float",
198
+ "default": 0.4,
199
+ "min": 0,
200
+ "max": 1,
201
+ "desc": "random offset and yaw of each brick (0 = perfect)"
202
+ },
203
+ "seed": {
204
+ "type": "int",
205
+ "default": 0,
206
+ "min": 0,
207
+ "max": 1000,
208
+ "desc": "random seed"
209
+ }
210
+ },
211
+ "inputs": []
212
+ },
213
+ "door_frame": {
214
+ "graph": "door_frame",
215
+ "node": "out",
216
+ "label": "Door",
217
+ "kind": "mesh",
218
+ "tags": [
219
+ "door",
220
+ "wall-opening",
221
+ "modular",
222
+ "building"
223
+ ],
224
+ "description": "Door for a wall opening: jambs and head that fill the opening (width × height), a panelled leaf hinged on the left (-X) that swings towards -Z by open_angle, and lever handles on both sides. Pivot at the bottom centre of the opening, centred in depth. Pieces: door_frame (paint_white), door_leaf (door_paint), door_handle (brass). Every piece is a closed box.",
225
+ "sliders": {
226
+ "width": {
227
+ "type": "float",
228
+ "default": 1,
229
+ "min": 0.5,
230
+ "max": 3,
231
+ "desc": "opening width (m)"
232
+ },
233
+ "height": {
234
+ "type": "float",
235
+ "default": 2.1,
236
+ "min": 1.5,
237
+ "max": 4,
238
+ "desc": "opening height (m)"
239
+ },
240
+ "depth": {
241
+ "type": "float",
242
+ "default": 0.16,
243
+ "min": 0.06,
244
+ "max": 0.6,
245
+ "desc": "frame depth along Z (m)"
246
+ },
247
+ "frame_width": {
248
+ "type": "float",
249
+ "default": 0.08,
250
+ "min": 0.03,
251
+ "max": 0.25,
252
+ "desc": "jamb and head width (m)"
253
+ },
254
+ "panels": {
255
+ "type": "int",
256
+ "default": 2,
257
+ "min": 0,
258
+ "max": 5,
259
+ "desc": "raised panels on each face of the leaf"
260
+ },
261
+ "open_angle": {
262
+ "type": "float",
263
+ "default": 0,
264
+ "min": 0,
265
+ "max": 110,
266
+ "desc": "how far the leaf is open (degrees)"
267
+ }
268
+ },
269
+ "inputs": []
270
+ },
271
+ "hex_grid_floor": {
272
+ "graph": "hex_grid_floor",
273
+ "node": "out",
274
+ "label": "Hexagonal paving",
275
+ "kind": "mesh",
276
+ "tags": [
277
+ "floor",
278
+ "paving",
279
+ "hexagonal",
280
+ "tiles"
281
+ ],
282
+ "description": "Hexagonal paving: flat-topped hexagonal prisms on a hex lattice filling a rectangle (tiles whose centre lies inside), with gaps and random height and tint. Pivot at the centre of the base. Piece: hex_tiles (paving). Every tile is a closed prism.",
283
+ "sliders": {
284
+ "size_x": {
285
+ "type": "float",
286
+ "default": 5,
287
+ "min": 0.5,
288
+ "max": 40,
289
+ "desc": "area size along X (m)"
290
+ },
291
+ "size_z": {
292
+ "type": "float",
293
+ "default": 5,
294
+ "min": 0.5,
295
+ "max": 40,
296
+ "desc": "area size along Z (m)"
297
+ },
298
+ "radius": {
299
+ "type": "float",
300
+ "default": 0.3,
301
+ "min": 0.05,
302
+ "max": 3,
303
+ "desc": "hexagon circumradius including the gap (m)"
304
+ },
305
+ "gap": {
306
+ "type": "float",
307
+ "default": 0.02,
308
+ "min": 0,
309
+ "max": 0.2,
310
+ "desc": "gap between tiles (m)"
311
+ },
312
+ "height": {
313
+ "type": "float",
314
+ "default": 0.08,
315
+ "min": 0.01,
316
+ "max": 1,
317
+ "desc": "tile height (m)"
318
+ },
319
+ "height_jitter": {
320
+ "type": "float",
321
+ "default": 0.015,
322
+ "min": 0,
323
+ "max": 0.5,
324
+ "desc": "random height variation (m)"
325
+ },
326
+ "seed": {
327
+ "type": "int",
328
+ "default": 0,
329
+ "min": 0,
330
+ "max": 1000,
331
+ "desc": "random seed"
332
+ }
333
+ },
334
+ "inputs": []
335
+ },
336
+ "house": {
337
+ "graph": "house",
338
+ "node": "out",
339
+ "label": "House",
340
+ "kind": "mesh",
341
+ "tags": [
342
+ "house",
343
+ "building",
344
+ "residential",
345
+ "footprint",
346
+ "modular"
347
+ ],
348
+ "description": "House built from a footprint polygon: one wall_segment per footprint edge (facing outward, floors stacked, a door on the first edge), topped with a roof_skeleton hip roof that follows the footprint exactly (straight skeleton: L-shapes, courtyards and any simple polygon get correct valleys and ridges). Input 0 is an optional closed polygon on the XZ ground plane; without it a width × depth rectangle is used. The walls, windows, doors and roof are this package's own wall_segment and roof_skeleton outputs, so a change to those changes every house. Pivot: the footprint's origin on the ground. Pieces come from those outputs (wall, window_frame, door_frame, roof).",
349
+ "sliders": {
350
+ "width": {
351
+ "type": "float",
352
+ "default": 8,
353
+ "min": 3,
354
+ "max": 30,
355
+ "desc": "default footprint along X (m), used when no footprint is connected"
356
+ },
357
+ "depth": {
358
+ "type": "float",
359
+ "default": 6,
360
+ "min": 3,
361
+ "max": 30,
362
+ "desc": "default footprint along Z (m)"
363
+ },
364
+ "floors": {
365
+ "type": "int",
366
+ "default": 2,
367
+ "min": 1,
368
+ "max": 4,
369
+ "desc": "number of floors (wall segments stacked)"
370
+ },
371
+ "floor_height": {
372
+ "type": "float",
373
+ "default": 3,
374
+ "min": 2.4,
375
+ "max": 4.5,
376
+ "desc": "height of one floor (m)"
377
+ },
378
+ "window_spacing": {
379
+ "type": "float",
380
+ "default": 2.5,
381
+ "min": 1.5,
382
+ "max": 6,
383
+ "desc": "one window per this length of wall (m)"
384
+ },
385
+ "pitch": {
386
+ "type": "float",
387
+ "default": 32,
388
+ "min": 5,
389
+ "max": 65,
390
+ "desc": "roof slope (degrees)"
391
+ },
392
+ "overhang": {
393
+ "type": "float",
394
+ "default": 0.5,
395
+ "min": 0,
396
+ "max": 2,
397
+ "desc": "eave overhang (m)"
398
+ },
399
+ "door": {
400
+ "type": "bool",
401
+ "default": true,
402
+ "desc": "a door on the first footprint edge"
403
+ }
404
+ },
405
+ "inputs": [
406
+ {
407
+ "index": 0,
408
+ "label": "footprint: a closed polygon on the XZ plane (optional)"
409
+ }
410
+ ]
411
+ },
412
+ "lineup": {
413
+ "graph": "lineup",
414
+ "node": "lineup",
415
+ "label": "Architecture line-up",
416
+ "kind": "mesh",
417
+ "tags": [
418
+ "lineup",
419
+ "architecture"
420
+ ],
421
+ "description": "TopoTopo's architecture package, its 17 outputs side by side at their defaults. The package's default output and its preview, from arch to window_frame along +X, 1 m apart.",
422
+ "sliders": {},
423
+ "inputs": []
424
+ },
425
+ "pillar": {
426
+ "graph": "pillar",
427
+ "node": "out",
428
+ "label": "Pillar",
429
+ "kind": "mesh",
430
+ "tags": [
431
+ "pillar",
432
+ "column",
433
+ "classical",
434
+ "stone"
435
+ ],
436
+ "description": "Classical pillar: a round, fluted or square shaft with an optional plinth base and capital. Pivot at the centre of the base. Pieces: pillar_shaft, pillar_base, pillar_capital (all stone_light). Every piece is closed.",
437
+ "sliders": {
438
+ "height": {
439
+ "type": "float",
440
+ "default": 3,
441
+ "min": 0.5,
442
+ "max": 15,
443
+ "desc": "total height (m)"
444
+ },
445
+ "radius": {
446
+ "type": "float",
447
+ "default": 0.22,
448
+ "min": 0.05,
449
+ "max": 2,
450
+ "desc": "shaft radius (half width for square) (m)"
451
+ },
452
+ "style": {
453
+ "type": "enum",
454
+ "default": "fluted",
455
+ "options": [
456
+ "round",
457
+ "fluted",
458
+ "square"
459
+ ],
460
+ "desc": "shaft section"
461
+ },
462
+ "flutes": {
463
+ "type": "int",
464
+ "default": 16,
465
+ "min": 6,
466
+ "max": 32,
467
+ "desc": "fluted style: number of flutes"
468
+ },
469
+ "base": {
470
+ "type": "bool",
471
+ "default": true,
472
+ "desc": "plinth and torus at the foot"
473
+ },
474
+ "capital": {
475
+ "type": "bool",
476
+ "default": true,
477
+ "desc": "echinus and abacus at the top"
478
+ }
479
+ },
480
+ "inputs": []
481
+ },
482
+ "railing": {
483
+ "graph": "railing",
484
+ "node": "out",
485
+ "label": "Railing",
486
+ "kind": "mesh",
487
+ "tags": [
488
+ "railing",
489
+ "balustrade",
490
+ "along-curve",
491
+ "metal"
492
+ ],
493
+ "description": "Railing along a curve (input 0; without one, a straight run of `run_length` along +X from the origin): posts at even spacing including both ends, a handrail on top, lower rails and balusters. Sits on the curve (pivot = the curve). Pieces: railing_posts, railing_rails, railing_balusters (all metal_dark).",
494
+ "sliders": {
495
+ "run_length": {
496
+ "type": "float",
497
+ "default": 4,
498
+ "min": 0.5,
499
+ "max": 30,
500
+ "desc": "run length along +X when no curve is connected (m)"
501
+ },
502
+ "height": {
503
+ "type": "float",
504
+ "default": 1,
505
+ "min": 0.4,
506
+ "max": 2,
507
+ "desc": "handrail height above the curve (m)"
508
+ },
509
+ "post_spacing": {
510
+ "type": "float",
511
+ "default": 1.5,
512
+ "min": 0.3,
513
+ "max": 6,
514
+ "desc": "maximum distance between posts (m)"
515
+ },
516
+ "baluster_spacing": {
517
+ "type": "float",
518
+ "default": 0.15,
519
+ "min": 0,
520
+ "max": 1,
521
+ "desc": "distance between balusters (m); 0 = none"
522
+ },
523
+ "rails": {
524
+ "type": "int",
525
+ "default": 2,
526
+ "min": 0,
527
+ "max": 6,
528
+ "desc": "horizontal rails below the handrail (the lowest at 0.1 m)"
529
+ },
530
+ "profile": {
531
+ "type": "enum",
532
+ "default": "round",
533
+ "options": [
534
+ "round",
535
+ "square"
536
+ ],
537
+ "desc": "tube or square section for posts and rails"
538
+ }
539
+ },
540
+ "inputs": [
541
+ {
542
+ "index": 0,
543
+ "label": "curve to follow (polyline); optional"
544
+ }
545
+ ]
546
+ },
547
+ "roof_gable": {
548
+ "graph": "roof_gable",
549
+ "node": "out",
550
+ "label": "Gable roof",
551
+ "kind": "mesh",
552
+ "tags": [
553
+ "roof",
554
+ "gable-roof",
555
+ "building",
556
+ "modular"
557
+ ],
558
+ "description": "Gable roof for a width × depth footprint: two pitched slabs meeting at a ridge along X with a ridge cap, overhanging eaves and verges, and optional triangular gable walls under it. Pivot at the centre of the wall-top plane (put it on top of the walls); the eaves hang below y = 0 by overhang × tan(pitch). Pieces: roof (roof_tiles on top, wood_dark on edges and underside), roof_ridge (roof_tiles), roof_gables (plaster). Every piece is closed.",
559
+ "sliders": {
560
+ "width": {
561
+ "type": "float",
562
+ "default": 8,
563
+ "min": 1,
564
+ "max": 40,
565
+ "desc": "footprint along X, the ridge direction (m)"
566
+ },
567
+ "depth": {
568
+ "type": "float",
569
+ "default": 6,
570
+ "min": 1,
571
+ "max": 30,
572
+ "desc": "footprint along Z, the span (m)"
573
+ },
574
+ "pitch": {
575
+ "type": "float",
576
+ "default": 35,
577
+ "min": 5,
578
+ "max": 65,
579
+ "desc": "roof slope (degrees)"
580
+ },
581
+ "overhang": {
582
+ "type": "float",
583
+ "default": 0.4,
584
+ "min": 0,
585
+ "max": 2,
586
+ "desc": "eave and verge overhang beyond the footprint (m)"
587
+ },
588
+ "thickness": {
589
+ "type": "float",
590
+ "default": 0.18,
591
+ "min": 0.03,
592
+ "max": 0.6,
593
+ "desc": "slab thickness (m)"
594
+ },
595
+ "gable_walls": {
596
+ "type": "bool",
597
+ "default": true,
598
+ "desc": "fill the gable triangles under the roof with wall"
599
+ }
600
+ },
601
+ "inputs": []
602
+ },
603
+ "roof_hip": {
604
+ "graph": "roof_hip",
605
+ "node": "out",
606
+ "label": "Hip roof",
607
+ "kind": "mesh",
608
+ "tags": [
609
+ "roof",
610
+ "hip-roof",
611
+ "building",
612
+ "modular"
613
+ ],
614
+ "description": "Hip roof for a width × depth footprint: four slopes at the same pitch meeting at a ridge along the longer side (a pyramid on a square), a fascia band and a flat soffit under overhanging eaves, and a ridge cap. Built as one closed solid (the attic is filled); there is no straight skeleton node yet, so footprints are rectangles. Pivot at the centre of the wall-top plane; the eaves hang below y = 0 by overhang × tan(pitch). Pieces: roof (roof_tiles on the slopes, wood_dark fascia and soffit), roof_ridge (roof_tiles). Every piece is closed.",
615
+ "sliders": {
616
+ "width": {
617
+ "type": "float",
618
+ "default": 8,
619
+ "min": 1,
620
+ "max": 40,
621
+ "desc": "footprint along X (m)"
622
+ },
623
+ "depth": {
624
+ "type": "float",
625
+ "default": 6,
626
+ "min": 1,
627
+ "max": 40,
628
+ "desc": "footprint along Z (m)"
629
+ },
630
+ "pitch": {
631
+ "type": "float",
632
+ "default": 30,
633
+ "min": 5,
634
+ "max": 65,
635
+ "desc": "roof slope (degrees)"
636
+ },
637
+ "overhang": {
638
+ "type": "float",
639
+ "default": 0.5,
640
+ "min": 0,
641
+ "max": 2,
642
+ "desc": "eave overhang beyond the footprint (m)"
643
+ },
644
+ "thickness": {
645
+ "type": "float",
646
+ "default": 0.2,
647
+ "min": 0.03,
648
+ "max": 0.6,
649
+ "desc": "fascia height measured square to the slope (m)"
650
+ }
651
+ },
652
+ "inputs": []
653
+ },
654
+ "roof_skeleton": {
655
+ "graph": "roof_skeleton",
656
+ "node": "paint",
657
+ "label": "Roof on a footprint",
658
+ "kind": "mesh",
659
+ "tags": [
660
+ "roof",
661
+ "hip-roof",
662
+ "footprint",
663
+ "building"
664
+ ],
665
+ "description": "Straight-skeleton hip roof from an optional XZ footprint, including concave outlines and courtyard holes. Without input it uses a width by depth rectangle. Negative offset distance adds the overhang before the roof is built; a connected extrusion gives the roof shell thickness along averaged vertex normals. Pivot is the wall-top plane. Every face carries the source contour edge as edge; the roof is one closed shell per connected footprint.",
666
+ "sliders": {
667
+ "width": {
668
+ "type": "float",
669
+ "default": 8,
670
+ "min": 1,
671
+ "max": 40,
672
+ "desc": "default footprint width along X (m)"
673
+ },
674
+ "depth": {
675
+ "type": "float",
676
+ "default": 6,
677
+ "min": 1,
678
+ "max": 40,
679
+ "desc": "default footprint depth along Z (m)"
680
+ },
681
+ "pitch": {
682
+ "type": "float",
683
+ "default": 32,
684
+ "min": 5,
685
+ "max": 65,
686
+ "desc": "roof face slope (degrees)"
687
+ },
688
+ "overhang": {
689
+ "type": "float",
690
+ "default": 0.4,
691
+ "min": 0,
692
+ "max": 2,
693
+ "desc": "outward footprint offset before roofing (m)"
694
+ },
695
+ "thickness": {
696
+ "type": "float",
697
+ "default": 0.16,
698
+ "min": 0.03,
699
+ "max": 0.6,
700
+ "desc": "shell extrusion along averaged vertex normals (m)"
701
+ }
702
+ },
703
+ "inputs": [
704
+ {
705
+ "index": 0,
706
+ "label": "footprint: closed XZ polygons, optional"
707
+ }
708
+ ]
709
+ },
710
+ "scaffold": {
711
+ "graph": "scaffold",
712
+ "node": "out",
713
+ "label": "Scaffold",
714
+ "kind": "mesh",
715
+ "tags": [
716
+ "scaffold",
717
+ "construction",
718
+ "industrial",
719
+ "modular"
720
+ ],
721
+ "description": "Tube-and-fitting scaffold: standards (verticals) on base plates, ledgers along X and transoms along Z at every lift, zig-zag face braces on the front (+Z), board decks on the lifts and guard rails at the top. Runs along +X from x = 0. Pivot at the start, on the ground, centred in depth. Pieces: scaffold_tubes (galvanized), scaffold_boards (wood_light), scaffold_plates (metal_dark). Every piece is closed.",
722
+ "sliders": {
723
+ "bays": {
724
+ "type": "int",
725
+ "default": 3,
726
+ "min": 1,
727
+ "max": 12,
728
+ "desc": "bays along X"
729
+ },
730
+ "lifts": {
731
+ "type": "int",
732
+ "default": 3,
733
+ "min": 1,
734
+ "max": 10,
735
+ "desc": "lifts (levels)"
736
+ },
737
+ "bay_width": {
738
+ "type": "float",
739
+ "default": 2.1,
740
+ "min": 0.8,
741
+ "max": 3.5,
742
+ "desc": "bay width along X (m)"
743
+ },
744
+ "lift_height": {
745
+ "type": "float",
746
+ "default": 2,
747
+ "min": 1.2,
748
+ "max": 3,
749
+ "desc": "height of one lift (m)"
750
+ },
751
+ "depth": {
752
+ "type": "float",
753
+ "default": 1.2,
754
+ "min": 0.6,
755
+ "max": 2.5,
756
+ "desc": "distance between the front and back standards (m)"
757
+ },
758
+ "boards": {
759
+ "type": "bool",
760
+ "default": true,
761
+ "desc": "board decks on every lift"
762
+ },
763
+ "braces": {
764
+ "type": "bool",
765
+ "default": true,
766
+ "desc": "diagonal braces on the front face"
767
+ }
768
+ },
769
+ "inputs": []
770
+ },
771
+ "spiral_stairs": {
772
+ "graph": "spiral_stairs",
773
+ "node": "out",
774
+ "label": "Spiral stairs",
775
+ "kind": "mesh",
776
+ "tags": [
777
+ "stairs",
778
+ "spiral",
779
+ "staircase",
780
+ "interior"
781
+ ],
782
+ "description": "Spiral staircase: wedge treads turning counter-clockwise (seen from above) around a central column, with an optional helical handrail on posts. Pivot at the foot of the column. Pieces: spiral_treads (wood), spiral_column (metal_dark), spiral_railing (metal_dark). Every piece is closed.",
783
+ "sliders": {
784
+ "steps": {
785
+ "type": "int",
786
+ "default": 16,
787
+ "min": 2,
788
+ "max": 60,
789
+ "desc": "number of treads"
790
+ },
791
+ "rise": {
792
+ "type": "float",
793
+ "default": 0.2,
794
+ "min": 0.1,
795
+ "max": 0.3,
796
+ "desc": "height of one step (m)"
797
+ },
798
+ "turn": {
799
+ "type": "float",
800
+ "default": 22.5,
801
+ "min": 10,
802
+ "max": 45,
803
+ "desc": "rotation per step (degrees)"
804
+ },
805
+ "radius": {
806
+ "type": "float",
807
+ "default": 1.1,
808
+ "min": 0.5,
809
+ "max": 4,
810
+ "desc": "outer radius (m)"
811
+ },
812
+ "column_radius": {
813
+ "type": "float",
814
+ "default": 0.1,
815
+ "min": 0.03,
816
+ "max": 0.5,
817
+ "desc": "column radius (m)"
818
+ },
819
+ "railing": {
820
+ "type": "bool",
821
+ "default": true,
822
+ "desc": "handrail along the outer edge"
823
+ }
824
+ },
825
+ "inputs": []
826
+ },
827
+ "stairs": {
828
+ "graph": "stairs",
829
+ "node": "out",
830
+ "label": "Stairs",
831
+ "kind": "mesh",
832
+ "tags": [
833
+ "stairs",
834
+ "staircase",
835
+ "concrete",
836
+ "wooden"
837
+ ],
838
+ "description": "Straight stairs climbing along +Z: a solid concrete flight (one watertight sawtooth solid) or open wooden treads between two stringers, with optional handrails on both sides. Pivot at the bottom of the first step, centred in width. Pieces: stairs_flight (concrete) or stairs_treads (wood) + stairs_stringers (wood_dark), stairs_railing (metal_dark).",
839
+ "sliders": {
840
+ "steps": {
841
+ "type": "int",
842
+ "default": 12,
843
+ "min": 1,
844
+ "max": 40,
845
+ "desc": "number of steps"
846
+ },
847
+ "rise": {
848
+ "type": "float",
849
+ "default": 0.18,
850
+ "min": 0.08,
851
+ "max": 0.3,
852
+ "desc": "height of one step (m)"
853
+ },
854
+ "run": {
855
+ "type": "float",
856
+ "default": 0.28,
857
+ "min": 0.15,
858
+ "max": 0.5,
859
+ "desc": "depth of one step (m)"
860
+ },
861
+ "width": {
862
+ "type": "float",
863
+ "default": 1.2,
864
+ "min": 0.5,
865
+ "max": 5,
866
+ "desc": "width along X (m)"
867
+ },
868
+ "style": {
869
+ "type": "enum",
870
+ "default": "solid",
871
+ "options": [
872
+ "solid",
873
+ "open"
874
+ ],
875
+ "desc": "solid concrete flight or open treads on stringers"
876
+ },
877
+ "railing": {
878
+ "type": "bool",
879
+ "default": true,
880
+ "desc": "handrails with posts on both sides"
881
+ }
882
+ },
883
+ "inputs": []
884
+ },
885
+ "tile_floor": {
886
+ "graph": "tile_floor",
887
+ "node": "out",
888
+ "label": "Tiled floor",
889
+ "kind": "mesh",
890
+ "tags": [
891
+ "floor",
892
+ "tiles",
893
+ "interior"
894
+ ],
895
+ "description": "Tiled floor: square tiles in a grid, offset (half-tile) or checker pattern with grout gaps, random height and tint, cut to the floor edges, on a grout bed. Pivot at the centre of the base; the tile tops are at the bed thickness + tile thickness. Pieces: tile_floor_tiles (tile_light; tile_dark for the checker's dark squares), tile_floor_grout (grout). Every piece is a closed box.",
896
+ "sliders": {
897
+ "size_x": {
898
+ "type": "float",
899
+ "default": 4,
900
+ "min": 0.2,
901
+ "max": 30,
902
+ "desc": "floor size along X (m)"
903
+ },
904
+ "size_z": {
905
+ "type": "float",
906
+ "default": 4,
907
+ "min": 0.2,
908
+ "max": 30,
909
+ "desc": "floor size along Z (m)"
910
+ },
911
+ "tile_size": {
912
+ "type": "float",
913
+ "default": 0.5,
914
+ "min": 0.1,
915
+ "max": 2,
916
+ "desc": "tile edge length including the gap (m)"
917
+ },
918
+ "gap": {
919
+ "type": "float",
920
+ "default": 0.012,
921
+ "min": 0,
922
+ "max": 0.08,
923
+ "desc": "grout gap (m)"
924
+ },
925
+ "thickness": {
926
+ "type": "float",
927
+ "default": 0.02,
928
+ "min": 0.005,
929
+ "max": 0.1,
930
+ "desc": "tile thickness (m)"
931
+ },
932
+ "pattern": {
933
+ "type": "enum",
934
+ "default": "checker",
935
+ "options": [
936
+ "grid",
937
+ "offset",
938
+ "checker"
939
+ ],
940
+ "desc": "tile layout"
941
+ },
942
+ "height_jitter": {
943
+ "type": "float",
944
+ "default": 0.002,
945
+ "min": 0,
946
+ "max": 0.02,
947
+ "desc": "random tile height variation (m)"
948
+ },
949
+ "seed": {
950
+ "type": "int",
951
+ "default": 0,
952
+ "min": 0,
953
+ "max": 1000,
954
+ "desc": "random seed"
955
+ }
956
+ },
957
+ "inputs": []
958
+ },
959
+ "wall_segment": {
960
+ "graph": "wall_segment",
961
+ "node": "out",
962
+ "label": "Wall",
963
+ "kind": "mesh",
964
+ "tags": [
965
+ "wall",
966
+ "window",
967
+ "building",
968
+ "modular"
969
+ ],
970
+ "description": "Straight wall from x = 0 to x = wall_length with window (and an optional door) openings cut by a boolean, filled with this package's window_frame and door_frame outputs. The openings are spread in equal bays; the door takes the middle bay. Modular: segments placed end to end line up. Pivot at the start of the wall, on the ground, centred in thickness (+Z = outside). Pieces: wall (plaster) plus the frames' pieces. Every piece is closed (the wall is one watertight solid).",
971
+ "sliders": {
972
+ "wall_length": {
973
+ "type": "float",
974
+ "default": 4,
975
+ "min": 0.5,
976
+ "max": 60,
977
+ "desc": "length along X (m)"
978
+ },
979
+ "height": {
980
+ "type": "float",
981
+ "default": 3,
982
+ "min": 1,
983
+ "max": 10,
984
+ "desc": "height (m)"
985
+ },
986
+ "thickness": {
987
+ "type": "float",
988
+ "default": 0.25,
989
+ "min": 0.05,
990
+ "max": 1,
991
+ "desc": "thickness along Z (m)"
992
+ },
993
+ "windows": {
994
+ "type": "int",
995
+ "default": 2,
996
+ "min": 0,
997
+ "max": 24,
998
+ "desc": "number of window openings"
999
+ },
1000
+ "window_width": {
1001
+ "type": "float",
1002
+ "default": 1,
1003
+ "min": 0.3,
1004
+ "max": 4,
1005
+ "desc": "window opening width (m), clamped to fit the bay"
1006
+ },
1007
+ "window_height": {
1008
+ "type": "float",
1009
+ "default": 1.3,
1010
+ "min": 0.3,
1011
+ "max": 4,
1012
+ "desc": "window opening height (m), clamped to fit under the top"
1013
+ },
1014
+ "sill_height": {
1015
+ "type": "float",
1016
+ "default": 0.9,
1017
+ "min": 0,
1018
+ "max": 3,
1019
+ "desc": "height of the window openings above the ground (m)"
1020
+ },
1021
+ "door": {
1022
+ "type": "bool",
1023
+ "default": false,
1024
+ "desc": "add a 1.0 × 2.1 m door in the middle bay"
1025
+ },
1026
+ "frames": {
1027
+ "type": "bool",
1028
+ "default": true,
1029
+ "desc": "fill the openings with window_frame / door_frame"
1030
+ }
1031
+ },
1032
+ "inputs": []
1033
+ },
1034
+ "window_frame": {
1035
+ "graph": "window_frame",
1036
+ "node": "out",
1037
+ "label": "Window",
1038
+ "kind": "mesh",
1039
+ "tags": [
1040
+ "window",
1041
+ "glass",
1042
+ "wall-opening",
1043
+ "modular",
1044
+ "building"
1045
+ ],
1046
+ "description": "Window for a wall opening: a frame that fills the opening (width × height), mullions, a glass pane and a stone sill that sticks out at the front (+Z). Pivot at the bottom centre of the opening, centred in depth. Pieces: window_frame (paint_white), window_glass (glass), window_sill (stone). Every piece is a closed box.",
1047
+ "sliders": {
1048
+ "width": {
1049
+ "type": "float",
1050
+ "default": 1,
1051
+ "min": 0.3,
1052
+ "max": 4,
1053
+ "desc": "opening width (m)"
1054
+ },
1055
+ "height": {
1056
+ "type": "float",
1057
+ "default": 1.3,
1058
+ "min": 0.3,
1059
+ "max": 4,
1060
+ "desc": "opening height (m)"
1061
+ },
1062
+ "depth": {
1063
+ "type": "float",
1064
+ "default": 0.12,
1065
+ "min": 0.04,
1066
+ "max": 0.5,
1067
+ "desc": "frame depth along Z (m)"
1068
+ },
1069
+ "frame_width": {
1070
+ "type": "float",
1071
+ "default": 0.07,
1072
+ "min": 0.02,
1073
+ "max": 0.25,
1074
+ "desc": "frame member width (m)"
1075
+ },
1076
+ "mullions_x": {
1077
+ "type": "int",
1078
+ "default": 1,
1079
+ "min": 0,
1080
+ "max": 6,
1081
+ "desc": "vertical glazing bars"
1082
+ },
1083
+ "mullions_y": {
1084
+ "type": "int",
1085
+ "default": 1,
1086
+ "min": 0,
1087
+ "max": 6,
1088
+ "desc": "horizontal glazing bars"
1089
+ },
1090
+ "sill": {
1091
+ "type": "bool",
1092
+ "default": true,
1093
+ "desc": "add a sill below the opening"
1094
+ },
1095
+ "sill_depth": {
1096
+ "type": "float",
1097
+ "default": 0.08,
1098
+ "min": 0,
1099
+ "max": 0.5,
1100
+ "desc": "how far the sill reaches in front of the frame (m)"
1101
+ }
1102
+ },
1103
+ "inputs": []
1104
+ }
1105
+ },
1106
+ "default": {
1107
+ "graph": "lineup",
1108
+ "node": "lineup",
1109
+ "kind": "mesh",
1110
+ "tags": [
1111
+ "lineup",
1112
+ "architecture"
1113
+ ],
1114
+ "description": "TopoTopo's architecture package, its 17 outputs side by side at their defaults. The package's default output and its preview, from arch to window_frame along +X, 1 m apart.",
1115
+ "sliders": {},
1116
+ "inputs": []
1117
+ },
1118
+ "topotopo": "0.4.0"
1119
+ }