Files
cdsl-cad/backend/cdsl_library/samples/b005/model.cdsl.json
T
2026-08-19 19:34:30 +08:00

77 lines
1.9 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.0.0",
"kind": "part",
"part_id": "b005",
"features": [
{
"id": "f01",
"atomic_id": "extrude_add_blind",
"depends_on": [],
"name": "凸台-拉伸1",
"params": {
"distance_mm": 20.0,
"reverse": true
},
"sketch_id": "sketch_001"
},
{
"id": "f02",
"atomic_id": "extrude_cut_blind",
"depends_on": ["f01"],
"name": "切除-拉伸1",
"params": {
"distance_mm": 8.0
},
"sketch_id": "sketch_002"
}
],
"geometry": {
"sketches": [
{
"id": "sketch_001",
"name": "草图1",
"workplane": {
"origin_mm": [0.0, 0.0, 0.0],
"x_dir": [1.0, 0.0, 0.0],
"y_dir": [0.0, 0.0, 1.0],
"normal": [0.0, -1.0, 0.0]
},
"profile": {
"type": "circle",
"center": [0.0, 0.0],
"radius_mm": 25.0
}
},
{
"id": "sketch_002",
"name": "草图2",
"workplane": {
"origin_mm": [0.0, 20.0, 0.0],
"x_dir": [1.0, 0.0, 0.0],
"y_dir": [0.0, 0.0, 1.0],
"normal": [0.0, -1.0, 0.0]
},
"profile": {
"type": "partial_ring_with_arc_island",
"inner_radius_mm": 10.0,
"outer_radius_mm": 20.0,
"half_angle_deg": 45.0,
"island_radius_mm": 12.265,
"island_gap_mm": 1.0,
"center_angles_deg": [90.0, -90.0]
}
}
]
},
"meta": {
"source": "b005.solidworks_evidence_v2.json",
"parameterized_sketches": 2,
"profile_from_sketches": 0,
"notes": [
"CDSL-only drawable: profiles expand via shape generators; no compiler_context required",
"Cut regions = annular sectors minus constant-width arc islands on outer chords"
]
}
}