@bendyline/molen-tooling 0.0.17 → 0.0.18

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.
@@ -434,6 +434,101 @@ How to turn any outline into a styled building: massing, roof grammar, facade rh
434
434
  },
435
435
  "description": "Weighted resizable plans for vacant lots; supplied outlines remain authoritative."
436
436
  },
437
+ "lots": {
438
+ "type": "object",
439
+ "properties": {
440
+ "compact": {
441
+ "type": "boolean",
442
+ "description": "Detached lots fill most of their frontage, close to the street."
443
+ },
444
+ "rows": {
445
+ "type": "number",
446
+ "minimum": 0,
447
+ "maximum": 1,
448
+ "description": "Share of invented blocks built as rows: fronts wall to wall along the street, in place of houses in yards."
449
+ },
450
+ "units": {
451
+ "type": "object",
452
+ "properties": {
453
+ "min": {
454
+ "type": "integer",
455
+ "minimum": 1,
456
+ "maximum": 4
457
+ },
458
+ "max": {
459
+ "type": "integer",
460
+ "minimum": 1,
461
+ "maximum": 4
462
+ }
463
+ },
464
+ "required": [
465
+ "min",
466
+ "max"
467
+ ],
468
+ "additionalProperties": false,
469
+ "description": "Buildings to each 16 m of a row frontage: 3 is a 5.3 m front, 1 a 16 m one."
470
+ },
471
+ "setback": {
472
+ "type": "object",
473
+ "properties": {
474
+ "min": {
475
+ "type": "number",
476
+ "description": "Minimum distance a row front stands behind the street footway, meters."
477
+ },
478
+ "max": {
479
+ "type": "number",
480
+ "description": "Maximum distance a row front stands behind the street footway, meters (>= min)."
481
+ }
482
+ },
483
+ "required": [
484
+ "min",
485
+ "max"
486
+ ]
487
+ },
488
+ "depth": {
489
+ "type": "object",
490
+ "properties": {
491
+ "min": {
492
+ "type": "number",
493
+ "description": "Minimum depth of a row building, meters."
494
+ },
495
+ "max": {
496
+ "type": "number",
497
+ "description": "Maximum depth of a row building, meters (>= min)."
498
+ }
499
+ },
500
+ "required": [
501
+ "min",
502
+ "max"
503
+ ]
504
+ },
505
+ "levels": {
506
+ "type": "object",
507
+ "properties": {
508
+ "min": {
509
+ "type": "number",
510
+ "description": "Minimum storeys of a row building."
511
+ },
512
+ "max": {
513
+ "type": "number",
514
+ "description": "Maximum storeys of a row building (>= min)."
515
+ }
516
+ },
517
+ "required": [
518
+ "min",
519
+ "max"
520
+ ]
521
+ },
522
+ "gap": {
523
+ "type": "number",
524
+ "minimum": 0,
525
+ "maximum": 1,
526
+ "description": "Share of row frontages left open: a yard, a lane, a vacant plot."
527
+ }
528
+ },
529
+ "additionalProperties": false,
530
+ "description": "How the style lays out lots it invents along a street where no building is mapped. Supplied outlines remain authoritative."
531
+ },
437
532
  "format": {
438
533
  "type": "string",
439
534
  "const": "molen/archstyle@1",
@@ -1138,8 +1233,19 @@ How to turn any outline into a styled building: massing, roof grammar, facade rh
1138
1233
  "fallback": {
1139
1234
  "default": "flat",
1140
1235
  "type": "string",
1141
- "const": "flat",
1142
- "description": "Always constructible fallback."
1236
+ "enum": [
1237
+ "flat",
1238
+ "hipped"
1239
+ ],
1240
+ "description": "Roof for a footprint the chosen pitched form cannot cover (irregular, too wide, around a courtyard): flat, or slopes rising from every wall to a level deck."
1241
+ },
1242
+ "partyRidge": {
1243
+ "type": "string",
1244
+ "enum": [
1245
+ "between",
1246
+ "along"
1247
+ ],
1248
+ "description": "Ridge of a building that shares walls with neighbours: from party wall to party wall, eaves to the street (between), or along the party walls, a gable to the street (along). Such roofs are gabled."
1143
1249
  },
1144
1250
  "features": {
1145
1251
  "type": "object",
@@ -1344,6 +1450,16 @@ How to turn any outline into a styled building: massing, roof grammar, facade rh
1344
1450
  "type": "boolean",
1345
1451
  "description": "Paired louvered shutters beside punched windows."
1346
1452
  },
1453
+ "paint": {
1454
+ "minItems": 1,
1455
+ "maxItems": 12,
1456
+ "type": "array",
1457
+ "items": {
1458
+ "type": "string",
1459
+ "pattern": "^#[0-9a-fA-F]{6}$"
1460
+ },
1461
+ "description": "Colors a building paints its shutters and door leaf, one drawn per building; without it they take the trim darkened."
1462
+ },
1347
1463
  "cornerBoards": {
1348
1464
  "type": "boolean",
1349
1465
  "description": "Trim boards up each outside wall corner, as on lap-sided houses."
@@ -1431,6 +1547,37 @@ How to turn any outline into a styled building: massing, roof grammar, facade rh
1431
1547
  }
1432
1548
  },
1433
1549
  "additionalProperties": false
1550
+ },
1551
+ "porch": {
1552
+ "type": "object",
1553
+ "properties": {
1554
+ "probability": {
1555
+ "default": 1,
1556
+ "type": "number",
1557
+ "minimum": 0,
1558
+ "maximum": 1,
1559
+ "description": "Share of buildings whose entrance gets the porch."
1560
+ },
1561
+ "depth": {
1562
+ "default": 1.1,
1563
+ "type": "number",
1564
+ "minimum": 0.4,
1565
+ "maximum": 2.5,
1566
+ "description": "Projection of the step and its canopy, meters."
1567
+ },
1568
+ "canopy": {
1569
+ "default": "pitched",
1570
+ "type": "string",
1571
+ "enum": [
1572
+ "none",
1573
+ "flat",
1574
+ "pitched"
1575
+ ],
1576
+ "description": "Roof over the entrance step, on two posts."
1577
+ }
1578
+ },
1579
+ "additionalProperties": false,
1580
+ "description": "A step in front of the entrance, under a small canopy."
1434
1581
  }
1435
1582
  },
1436
1583
  "additionalProperties": false,
@@ -1647,6 +1794,16 @@ How to turn any outline into a styled building: massing, roof grammar, facade rh
1647
1794
  "type": "string",
1648
1795
  "minLength": 1,
1649
1796
  "description": "Key of `palettes` that tints this choice instead of the part palette, so brick stays brick-colored and concrete stays concrete-colored."
1797
+ },
1798
+ "uvScale": {
1799
+ "minItems": 2,
1800
+ "maxItems": 2,
1801
+ "type": "array",
1802
+ "items": {
1803
+ "type": "number",
1804
+ "exclusiveMinimum": 0
1805
+ },
1806
+ "description": "Meters per texture repeat [u, v] for this choice instead of the part scale, so each material keeps its own course and board size."
1650
1807
  }
1651
1808
  },
1652
1809
  "required": [
@@ -1735,6 +1892,16 @@ How to turn any outline into a styled building: massing, roof grammar, facade rh
1735
1892
  "type": "string",
1736
1893
  "minLength": 1,
1737
1894
  "description": "Key of `palettes` that tints this choice instead of the part palette, so brick stays brick-colored and concrete stays concrete-colored."
1895
+ },
1896
+ "uvScale": {
1897
+ "minItems": 2,
1898
+ "maxItems": 2,
1899
+ "type": "array",
1900
+ "items": {
1901
+ "type": "number",
1902
+ "exclusiveMinimum": 0
1903
+ },
1904
+ "description": "Meters per texture repeat [u, v] for this choice instead of the part scale, so each material keeps its own course and board size."
1738
1905
  }
1739
1906
  },
1740
1907
  "required": [
@@ -1823,6 +1990,16 @@ How to turn any outline into a styled building: massing, roof grammar, facade rh
1823
1990
  "type": "string",
1824
1991
  "minLength": 1,
1825
1992
  "description": "Key of `palettes` that tints this choice instead of the part palette, so brick stays brick-colored and concrete stays concrete-colored."
1993
+ },
1994
+ "uvScale": {
1995
+ "minItems": 2,
1996
+ "maxItems": 2,
1997
+ "type": "array",
1998
+ "items": {
1999
+ "type": "number",
2000
+ "exclusiveMinimum": 0
2001
+ },
2002
+ "description": "Meters per texture repeat [u, v] for this choice instead of the part scale, so each material keeps its own course and board size."
1826
2003
  }
1827
2004
  },
1828
2005
  "required": [
@@ -1912,6 +2089,16 @@ How to turn any outline into a styled building: massing, roof grammar, facade rh
1912
2089
  "type": "string",
1913
2090
  "minLength": 1,
1914
2091
  "description": "Key of `palettes` that tints this choice instead of the part palette, so brick stays brick-colored and concrete stays concrete-colored."
2092
+ },
2093
+ "uvScale": {
2094
+ "minItems": 2,
2095
+ "maxItems": 2,
2096
+ "type": "array",
2097
+ "items": {
2098
+ "type": "number",
2099
+ "exclusiveMinimum": 0
2100
+ },
2101
+ "description": "Meters per texture repeat [u, v] for this choice instead of the part scale, so each material keeps its own course and board size."
1915
2102
  }
1916
2103
  },
1917
2104
  "required": [
@@ -2000,6 +2187,16 @@ How to turn any outline into a styled building: massing, roof grammar, facade rh
2000
2187
  "type": "string",
2001
2188
  "minLength": 1,
2002
2189
  "description": "Key of `palettes` that tints this choice instead of the part palette, so brick stays brick-colored and concrete stays concrete-colored."
2190
+ },
2191
+ "uvScale": {
2192
+ "minItems": 2,
2193
+ "maxItems": 2,
2194
+ "type": "array",
2195
+ "items": {
2196
+ "type": "number",
2197
+ "exclusiveMinimum": 0
2198
+ },
2199
+ "description": "Meters per texture repeat [u, v] for this choice instead of the part scale, so each material keeps its own course and board size."
2003
2200
  }
2004
2201
  },
2005
2202
  "required": [
@@ -2088,6 +2285,16 @@ How to turn any outline into a styled building: massing, roof grammar, facade rh
2088
2285
  "type": "string",
2089
2286
  "minLength": 1,
2090
2287
  "description": "Key of `palettes` that tints this choice instead of the part palette, so brick stays brick-colored and concrete stays concrete-colored."
2288
+ },
2289
+ "uvScale": {
2290
+ "minItems": 2,
2291
+ "maxItems": 2,
2292
+ "type": "array",
2293
+ "items": {
2294
+ "type": "number",
2295
+ "exclusiveMinimum": 0
2296
+ },
2297
+ "description": "Meters per texture repeat [u, v] for this choice instead of the part scale, so each material keeps its own course and board size."
2091
2298
  }
2092
2299
  },
2093
2300
  "required": [
@@ -175,8 +175,8 @@ Binds archstyles and scatter rule sets to places on Earth: prioritized lon/lat r
175
175
  "fallbackDistanceMeters": {
176
176
  "type": "number",
177
177
  "minimum": 0,
178
- "maximum": 5000,
179
- "description": "Optional nearest-outline fallback in local world meters, used only when no region contains the point. Compensates for coarse coastlines; default 0."
178
+ "maximum": 50000,
179
+ "description": "Optional nearest-outline fallback in local world meters, used only when no region contains the point. Compensates for coarse coastlines, which leave estuary, lagoon and inshore island cities outside every outline; default 0."
180
180
  },
181
181
  "regions": {
182
182
  "default": [],
@@ -681,9 +681,10 @@ Composable ecological and architectural channels with explicit dependency versio
681
681
  "canopy",
682
682
  "understory",
683
683
  "groundcover",
684
- "agriculture"
684
+ "agriculture",
685
+ "garden"
685
686
  ],
686
- "description": "Budget pool: canopy uses the batch instance and model caps; understory (shrubs and thickets) and groundcover (low patches) have independent caps and never thin canopy trees."
687
+ "description": "Budget pool: canopy uses the batch instance and model caps; understory (shrubs and thickets), groundcover (low patches) and garden (planted ornamental shrubs, hedges and small trees in yards, parks and verges) have independent caps and never thin canopy trees or each other."
687
688
  },
688
689
  "slopeMax": {
689
690
  "type": "number",
@@ -802,6 +803,12 @@ Composable ecological and architectural channels with explicit dependency versio
802
803
  "additionalProperties": false,
803
804
  "description": "Independent X/Z scale multiplier for crown width/bushiness; omitted means 1."
804
805
  },
806
+ "width": {
807
+ "type": "number",
808
+ "exclusiveMinimum": 0,
809
+ "maximum": 50,
810
+ "description": "Crown width in meters of the model at scale 1. A crowns rule fits the plant to its painted crown's width with it; scale then varies its height alone."
811
+ },
805
812
  "yaw": {
806
813
  "default": "random",
807
814
  "type": "string",
@@ -880,6 +887,19 @@ Composable ecological and architectural channels with explicit dependency versio
880
887
  },
881
888
  "description": "Weighted species."
882
889
  },
890
+ "crowns": {
891
+ "type": "object",
892
+ "propertyNames": {
893
+ "type": "string",
894
+ "minLength": 1
895
+ },
896
+ "additionalProperties": {
897
+ "type": "number",
898
+ "minimum": 0,
899
+ "maximum": 1
900
+ },
901
+ "description": "Stand one plant on each shrub crown the ground paints (see surface.detail), at its center and fitted to its width, in place of densityPerHectare. Maps a ground appearance class to the brush (0..1) the ground paints it with, normally that class's surface.detail brush. Up close the painted crown gives way to the plant. Crowns are kept whole: keepByTier only switches the rule off, and they stand outside their layer's instance cap (the rule's own cap bounds them). Needs a host that supplies the ground's crowns; populations should give their width."
902
+ },
883
903
  "lod": {
884
904
  "type": "object",
885
905
  "properties": {
@@ -968,6 +988,8 @@ Composable ecological and architectural channels with explicit dependency versio
968
988
  "vine",
969
989
  "mat",
970
990
  "fallenwood",
991
+ "hedge",
992
+ "rock",
971
993
  "crop"
972
994
  ]
973
995
  },
@@ -1028,6 +1050,10 @@ Composable ecological and architectural channels with explicit dependency versio
1028
1050
  "type": "string",
1029
1051
  "pattern": "^#[0-9a-fA-F]{6}$"
1030
1052
  },
1053
+ "bloom": {
1054
+ "type": "string",
1055
+ "pattern": "^#[0-9a-fA-F]{6}$"
1056
+ },
1031
1057
  "cropKind": {
1032
1058
  "type": "string",
1033
1059
  "enum": [
@@ -442,9 +442,10 @@ Label-keyed deterministic prop placement (density, clustering, slope and clearan
442
442
  "canopy",
443
443
  "understory",
444
444
  "groundcover",
445
- "agriculture"
445
+ "agriculture",
446
+ "garden"
446
447
  ],
447
- "description": "Budget pool: canopy uses the batch instance and model caps; understory (shrubs and thickets) and groundcover (low patches) have independent caps and never thin canopy trees."
448
+ "description": "Budget pool: canopy uses the batch instance and model caps; understory (shrubs and thickets), groundcover (low patches) and garden (planted ornamental shrubs, hedges and small trees in yards, parks and verges) have independent caps and never thin canopy trees or each other."
448
449
  },
449
450
  "slopeMax": {
450
451
  "type": "number",
@@ -563,6 +564,12 @@ Label-keyed deterministic prop placement (density, clustering, slope and clearan
563
564
  "additionalProperties": false,
564
565
  "description": "Independent X/Z scale multiplier for crown width/bushiness; omitted means 1."
565
566
  },
567
+ "width": {
568
+ "type": "number",
569
+ "exclusiveMinimum": 0,
570
+ "maximum": 50,
571
+ "description": "Crown width in meters of the model at scale 1. A crowns rule fits the plant to its painted crown's width with it; scale then varies its height alone."
572
+ },
566
573
  "yaw": {
567
574
  "default": "random",
568
575
  "type": "string",
@@ -641,6 +648,19 @@ Label-keyed deterministic prop placement (density, clustering, slope and clearan
641
648
  },
642
649
  "description": "Weighted species."
643
650
  },
651
+ "crowns": {
652
+ "type": "object",
653
+ "propertyNames": {
654
+ "type": "string",
655
+ "minLength": 1
656
+ },
657
+ "additionalProperties": {
658
+ "type": "number",
659
+ "minimum": 0,
660
+ "maximum": 1
661
+ },
662
+ "description": "Stand one plant on each shrub crown the ground paints (see surface.detail), at its center and fitted to its width, in place of densityPerHectare. Maps a ground appearance class to the brush (0..1) the ground paints it with, normally that class's surface.detail brush. Up close the painted crown gives way to the plant. Crowns are kept whole: keepByTier only switches the rule off, and they stand outside their layer's instance cap (the rule's own cap bounds them). Needs a host that supplies the ground's crowns; populations should give their width."
663
+ },
644
664
  "lod": {
645
665
  "type": "object",
646
666
  "properties": {
@@ -473,6 +473,16 @@ Geographic placement data with authoring explanations omitted.
473
473
  "replaceFootprint": {
474
474
  "type": "boolean"
475
475
  },
476
+ "surfacePassageIds": {
477
+ "minItems": 1,
478
+ "maxItems": 32,
479
+ "type": "array",
480
+ "items": {
481
+ "type": "integer",
482
+ "exclusiveMinimum": 0,
483
+ "maximum": 9007199254740991
484
+ }
485
+ },
476
486
  "buildingCutout": {
477
487
  "type": "object",
478
488
  "properties": {
@@ -487,6 +487,16 @@ WGS84 anchors for authored models; draft entries are indexed but not rendered.
487
487
  "replaceFootprint": {
488
488
  "type": "boolean"
489
489
  },
490
+ "surfacePassageIds": {
491
+ "minItems": 1,
492
+ "maxItems": 32,
493
+ "type": "array",
494
+ "items": {
495
+ "type": "integer",
496
+ "exclusiveMinimum": 0,
497
+ "maximum": 9007199254740991
498
+ }
499
+ },
490
500
  "buildingCutout": {
491
501
  "type": "object",
492
502
  "properties": {
@@ -527,6 +527,36 @@ A serialized generation request: labeled building outlines, optional labeled pol
527
527
  },
528
528
  "description": "Outline edge indices on the cut boundary."
529
529
  },
530
+ "partyEdges": {
531
+ "type": "array",
532
+ "items": {
533
+ "type": "integer",
534
+ "minimum": 0,
535
+ "maximum": 9007199254740991
536
+ },
537
+ "description": "Outline edge indices shared with a neighbouring building: walls with no openings or trim."
538
+ },
539
+ "fallbackLevelsMax": {
540
+ "type": "integer",
541
+ "minimum": 1,
542
+ "maximum": 200,
543
+ "description": "Most storeys the style may guess when neither height nor levels is supplied; ignored otherwise."
544
+ },
545
+ "crown": {
546
+ "maxItems": 3,
547
+ "type": "array",
548
+ "items": {
549
+ "type": "string",
550
+ "enum": [
551
+ "spire",
552
+ "belfry",
553
+ "dome",
554
+ "minaret",
555
+ "shikhara"
556
+ ]
557
+ },
558
+ "description": "Towers and domes the building carries, in its style materials."
559
+ },
530
560
  "style": {
531
561
  "type": "string",
532
562
  "pattern": "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*)+$",
@@ -595,6 +625,15 @@ A serialized generation request: labeled building outlines, optional labeled pol
595
625
  "minimum": 0,
596
626
  "maximum": 4294967295,
597
627
  "description": "Owner seed for acceptance and appearance on the shared placement grid."
628
+ },
629
+ "appearance": {
630
+ "type": "string",
631
+ "minLength": 1,
632
+ "description": "The ground's appearance class here, the key a crowns rule looks its brush up by (default: label)."
633
+ },
634
+ "ground": {
635
+ "type": "boolean",
636
+ "description": "False for a polygon only scatter sees (an inferred yard): crowns rules look through it to the polygon beneath."
598
637
  }
599
638
  },
600
639
  "required": [
@@ -208,22 +208,22 @@
208
208
  }
209
209
  ],
210
210
  "versions": {
211
- "@bendyline/molen-ambient": "0.0.18",
212
- "@bendyline/molen-client": "0.0.16",
213
- "@bendyline/molen-dioramas": "0.0.9",
214
- "@bendyline/molen-earth": "0.0.18",
211
+ "@bendyline/molen-ambient": "0.0.19",
212
+ "@bendyline/molen-client": "0.0.17",
213
+ "@bendyline/molen-dioramas": "0.0.10",
214
+ "@bendyline/molen-earth": "0.0.19",
215
215
  "@bendyline/molen-entities": "0.0.17",
216
- "@bendyline/molen-figures": "0.0.16",
217
- "@bendyline/molen-input-react": "0.0.15",
216
+ "@bendyline/molen-figures": "0.0.17",
217
+ "@bendyline/molen-input-react": "0.0.16",
218
218
  "@bendyline/molen-kernel": "0.0.12",
219
219
  "@bendyline/molen-materials": "0.0.13",
220
220
  "@bendyline/molen-pack": "0.0.13",
221
221
  "@bendyline/molen-pathfinding": "0.0.12",
222
222
  "@bendyline/molen-physics-rapier": "0.0.12",
223
223
  "@bendyline/molen-schema": "0.0.12",
224
- "@bendyline/molen-terrain": "0.0.17",
225
- "@bendyline/molen-tooling": "0.0.17",
226
- "@bendyline/molen-worldgen": "0.0.16",
227
- "@bendyline/molen-worldgen-earth": "0.0.17"
224
+ "@bendyline/molen-terrain": "0.0.18",
225
+ "@bendyline/molen-tooling": "0.0.18",
226
+ "@bendyline/molen-worldgen": "0.0.17",
227
+ "@bendyline/molen-worldgen-earth": "0.0.18"
228
228
  }
229
229
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bendyline/molen-tooling",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -49,17 +49,17 @@
49
49
  }
50
50
  },
51
51
  "dependencies": {
52
- "@bendyline/molen-ambient": "0.0.18",
53
- "@bendyline/molen-client": "0.0.16",
54
- "@bendyline/molen-figures": "0.0.16",
52
+ "@bendyline/molen-ambient": "0.0.19",
53
+ "@bendyline/molen-client": "0.0.17",
54
+ "@bendyline/molen-figures": "0.0.17",
55
55
  "@bendyline/molen-kernel": "0.0.12",
56
56
  "@bendyline/molen-materials": "0.0.13",
57
57
  "@bendyline/molen-pack": "0.0.13",
58
58
  "@bendyline/molen-physics-rapier": "0.0.12",
59
59
  "@bendyline/molen-schema": "0.0.12",
60
- "@bendyline/molen-terrain": "0.0.17",
61
- "@bendyline/molen-worldgen": "0.0.16",
62
- "@bendyline/molen-worldgen-earth": "0.0.17",
60
+ "@bendyline/molen-terrain": "0.0.18",
61
+ "@bendyline/molen-worldgen": "0.0.17",
62
+ "@bendyline/molen-worldgen-earth": "0.0.18",
63
63
  "@gltf-transform/core": "4.2.1",
64
64
  "@gltf-transform/extensions": "4.2.1",
65
65
  "@gltf-transform/functions": "4.2.1",