Add corrected building config (clean recipe matching _output_building_complex)

The reusable, verified config for the 主楼+辅楼 set: expand_blocks=false,
S-GRID-derived split_x/offset per multi-floor sheet (detail blocks cut to the
non-main side), structural footprint_categories, roof caps via roof_specs for the
empty XREF-shell sheets. Re-derive with model-converter-3d's derive_showcase_spec
(--config this file). 11 real floors; the 4 XREF-shell floors need the XREF bound
and re-exported to add.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-14 21:58:05 +08:00
parent a6ac166049
commit 74cc7168f7

View File

@@ -0,0 +1,229 @@
{
"project_name": "主辅楼建筑群 CAD 展示模型",
"description": "由 11 张 CAD 平面图(主楼地下一层~八层、辅楼首层)生成的轻量化三维展示/数字孪生底座模型",
"scale": 0.001,
"origin_strategy": "center",
"floor_height": 4.2,
"curve_chord_source_length": 750,
"expand_blocks": false,
"expand_blocks_max_depth": 2,
"block_insert_layer_fallback": true,
"generate_footprints": true,
"use_footprint_slabs": true,
"use_footprint_roofs": true,
"footprint_categories": [
"walls",
"floor_lines",
"columns"
],
"footprint_concave_ratio": 0.85,
"footprint_simplify_tolerance": 0.15,
"footprint_min_area": 20.0,
"footprint_max_polygons": 4,
"slab_thickness": 0.38,
"default_disabled_categories": [],
"shorten_unsupported_columns": false,
"min_length_meters_by_category": {
"walls": 0.25,
"columns": 0.18,
"beams": 0.35,
"floor_lines": 0.4,
"detail_lines": 0.3,
"grid": 1.0
},
"floor_order": [
"B1",
"B1M",
"1F",
"2F",
"3F",
"4F",
"5F",
"6F",
"7F",
"8F",
"AUX_1F"
],
"drawings": [
{
"file": "A202 - 地下一层平面图.dxf",
"floors": [
{
"key": "B1",
"name": "地下一层",
"z": -9.0,
"height": 4.5
}
]
},
{
"file": "A205 - 地下一层夹层平面图.dxf",
"floors": [
{
"key": "B1M",
"name": "地下一层夹层",
"z": -4.5,
"height": 4.5
}
]
},
{
"file": "A208 - 主楼首层、二层平面图.dxf",
"split_x": -4336,
"floors": [
{
"key": "1F",
"name": "主楼首层",
"side": "left",
"z": 0.0,
"height": 4.5
},
{
"key": "2F",
"name": "主楼二层",
"side": "right",
"z": 4.5,
"height": 4.2,
"offset": [
-158029.2,
0
]
}
]
},
{
"file": "A209 - 主楼三层、四层平面图.dxf",
"split_x": -15487,
"floors": [
{
"key": "3F",
"name": "主楼三层",
"side": "left",
"z": 8.7,
"height": 4.2
},
{
"key": "4F",
"name": "主楼四层",
"side": "right",
"z": 12.9,
"height": 4.2,
"offset": [
-144877.5,
0
]
}
]
},
{
"file": "A210 - 主楼五层、六层平面图.dxf",
"split_x": -71695,
"floors": [
{
"key": "5F",
"name": "主楼五层",
"side": "left",
"z": 17.1,
"height": 4.2
},
{
"key": "6F",
"name": "主楼六层",
"side": "right",
"z": 21.3,
"height": 4.2,
"offset": [
-92610.0,
0
]
}
]
},
{
"file": "A211 - 主楼七层、八层平面图.dxf",
"split_x": -75943,
"floors": [
{
"key": "7F",
"name": "主楼七层",
"side": "left",
"z": 25.5,
"height": 4.2
},
{
"key": "8F",
"name": "主楼八层",
"side": "right",
"z": 29.7,
"height": 4.2,
"offset": [
-81464.1,
0
]
}
]
},
{
"file": "A213 - 辅楼首层平面图.dxf",
"floors": [
{
"key": "AUX_1F",
"name": "辅楼首层",
"z": 0.0,
"height": 4.5
}
]
}
],
"layers": {
"walls": [
"I-WALL",
"A-WALL",
"L-SITE-WALL"
],
"columns": [
"S-COLS"
],
"beams": [
"S-STRS",
"S-STRS-MBND"
],
"floor_lines": [
"A-FLOR",
"A-FLOR-OVHD"
],
"detail_lines": [
"A-GENM",
"A-DETL*"
],
"grid": [
"S-GRID"
]
},
"roof_specs": [
{
"floor_key": "8F",
"z": 33.9,
"bounds_from": [
"8F"
],
"footprint_from": [
"8F"
],
"thickness": 0.4,
"margin": 0.3
},
{
"floor_key": "AUX_1F",
"z": 4.5,
"bounds_from": [
"AUX_1F"
],
"footprint_from": [
"AUX_1F"
],
"thickness": 0.4,
"margin": 0.3
}
]
}