asset-fit.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "readme": [
  3. "Allowed XY scale range when a source footprint module is mapped onto an approved library asset.",
  4. "Shared contract: tools/city-massing/generate-oldtown-fill.mjs decides the module lattice with it,",
  5. "and tools/city-massing/assemble-lod-district.py refuses to place anything outside it.",
  6. "Below the minimum the facade windows/balconies stop reading as architecture; above the maximum",
  7. "the asset is stretched past a believable building. Keep both readers in sync through this file."
  8. ],
  9. "variants": {
  10. "house": {
  11. "nominal_m": [12, 9],
  12. "minScale": [0.55, 0.55],
  13. "maxScale": [1.7, 1.7]
  14. },
  15. "slab": {
  16. "nominal_m": [30, 12],
  17. "minScale": [0.6, 0.62],
  18. "maxScale": [1.5, 1.5]
  19. },
  20. "midrise": {
  21. "nominal_m": [20, 16],
  22. "minScale": [0.65, 0.65],
  23. "maxScale": [1.45, 1.45]
  24. },
  25. "midrise-wide": {
  26. "nominal_m": [28, 24],
  27. "minScale": [0.7, 0.7],
  28. "maxScale": [1.4, 1.4]
  29. }
  30. },
  31. "lattice": {
  32. "inset_m": 0.25,
  33. "gap_m": 0.8,
  34. "maxModulesPerFootprint": 24
  35. }
  36. }