Files
cdsl-cad/json_to_cdsl/output/026613.cdsl.json
T
2026-08-21 11:13:18 +08:00

827 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "026613",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "原点",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": []
}
},
{
"id": "sk_002",
"name": "草图1",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 41.5
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
-1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-41.0,
-41.0
],
"end": [
41.0,
-41.0
]
},
{
"type": "line",
"start": [
41.0,
-41.0
],
"end": [
41.0,
41.0
]
},
{
"type": "line",
"start": [
41.0,
41.0
],
"end": [
-41.0,
41.0
]
},
{
"type": "line",
"start": [
-41.0,
41.0
],
"end": [
-41.0,
-41.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-41.0,
-41.0
],
"end": [
41.0,
41.0
]
},
{
"type": "line",
"start": [
-41.0,
41.0
],
"end": [
41.0,
-41.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
-1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 36.5
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
-1.6,
-0.0,
-0.0
],
"x_dir": [
-1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 5.0
}
},
{
"id": "sk_006",
"name": "草图5",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
-1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "circles",
"items": [
{
"center": [
-34.5,
34.5
],
"radius_mm": 2.75
},
{
"center": [
34.5,
34.5
],
"radius_mm": 2.75
},
{
"center": [
34.5,
-34.5
],
"radius_mm": 2.75
},
{
"center": [
-34.5,
-34.5
],
"radius_mm": 2.75
}
]
}
},
{
"id": "sk_007",
"name": "草图6",
"role": "profile",
"workplane": {
"origin_mm": [
-31.6,
-0.0,
-0.0
],
"x_dir": [
-1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-1.5,
6.8
],
"end": [
1.5,
6.8
]
},
{
"type": "line",
"start": [
1.5,
6.8
],
"end": [
1.5,
3.2
]
},
{
"type": "line",
"start": [
1.5,
3.2
],
"end": [
-1.5,
3.2
]
},
{
"type": "line",
"start": [
-1.5,
3.2
],
"end": [
-1.5,
6.8
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-1.5,
6.8
],
"end": [
1.5,
3.2
]
},
{
"type": "line",
"start": [
-1.5,
3.2
],
"end": [
1.5,
6.8
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "前视基准面",
"atomic_id": "reference_plane",
"depends_on": [],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_002",
"name": "上视基准面",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 62.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_002"
},
{
"id": "f_003",
"name": "右视基准面",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.6,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_007",
"name": "凸台-拉伸4",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 30.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_009",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_004",
"f_006"
],
"params": {
"distance_mm": 20.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_007"
},
{
"id": "f_010",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_009"
],
"params": {
"radius_mm": 1.5,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "026613.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.35058619922026946,
"volume": 0.00035058619922026947,
"surface_area": 0.03151107216718531,
"center_of_mass": [
1.3083927173089342e-11,
-1.1804945872485918e-06,
0.029585811991281973
],
"principal_moments": [
0.0002771655727511254,
0.00027716719276812073,
0.0003067535601941071
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0415,
-0.0415,
-0.031599999999999996,
0.0415,
0.0415,
0.062
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "圆角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABvAAAAbgAAAG0AAABsAAAAawAAAGoAAAA=",
"persist_reference_sha256": "0700f756110bac580a894a776e7fad79b4c66f1a06972cbecee080a0df0d2cc3",
"component": null,
"geometry": {
"box": [
-0.0415,
-0.0415,
-0.031599999999999996,
0.0415,
0.0415,
0.062
],
"face_count": 28,
"edge_count": 63,
"vertex_count": 34
},
"stable_id": "0700f756110bac580a894a776e7fad79b4c66f1a06972cbecee080a0df0d2cc3"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 35,
"surface_counts": {
"cylinder": 16,
"plane": 19
},
"axis_count": 16,
"repeat_spacings_mm": [
{
"spacing_mm": 69.0,
"pair_count": 4
},
{
"spacing_mm": 64.1175,
"pair_count": 4
},
{
"spacing_mm": 50.1504,
"pair_count": 4
},
{
"spacing_mm": 71.3057,
"pair_count": 4
},
{
"spacing_mm": 53.9825,
"pair_count": 4
},
{
"spacing_mm": 97.5807,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-41.5,
-41.5,
-31.6000001,
41.5,
41.5,
62.0
],
"volume_mm3": 350586.199228973,
"surface_area_mm2": 31511.072320019,
"solid_count": 1,
"face_count": 35,
"edge_count": 93,
"vertex_count": 62
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-41.5,
-41.5,
-31.6,
41.5,
41.5,
62.0
],
"volume_mm3": 350586.199220269,
"surface_area_mm2": 31511.072167185,
"solid_count": 1,
"face_count": 28,
"edge_count": 63,
"vertex_count": 34
},
"comparisons": {
"volume_mm3": {
"expected": 350586.199220269,
"actual": 350586.199228973,
"absolute_delta": 8.704024367034435e-06,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 31511.072167185,
"actual": 31511.072320019,
"absolute_delta": 0.00015283399989129975,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-41.5,
-41.5,
-31.6,
41.5,
41.5,
62.0
],
"actual": [
-41.5,
-41.5,
-31.6000001,
41.5,
41.5,
62.0
],
"max_absolute_delta": 9.999999761589606e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 28,
"actual": 35,
"matches": false
},
"edge_count": {
"expected": 63,
"actual": 93,
"matches": false
},
"vertex_count": {
"expected": 34,
"actual": 62,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}