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

783 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "156513",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
150.0,
79.0
],
"end": [
-150.0,
79.0
]
},
{
"type": "line",
"start": [
-150.0,
79.0
],
"end": [
-150.0,
-79.0
]
},
{
"type": "line",
"start": [
-150.0,
-79.0
],
"end": [
150.0,
-79.0
]
},
{
"type": "line",
"start": [
150.0,
-79.0
],
"end": [
150.0,
79.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
80.0,
-0.0
],
"radius_mm": 12.0
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-80.0,
-0.0
],
"radius_mm": 12.0
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-0.0
],
"end": [
80.0,
-0.0
]
},
{
"type": "line",
"start": [
150.0,
79.0
],
"end": [
-150.0,
-79.0
]
},
{
"type": "line",
"start": [
150.0,
-79.0
],
"end": [
-150.0,
79.0
]
},
{
"type": "line",
"start": [
0.0,
-0.0
],
"end": [
0.0,
52.477159442
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
4.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": [
-80.0,
-21.035953945
],
"end": [
-61.782329491,
-10.517976973
]
},
{
"type": "line",
"start": [
-61.782329491,
-10.517976973
],
"end": [
-61.782329491,
10.517976973
]
},
{
"type": "line",
"start": [
-61.782329491,
10.517976973
],
"end": [
-80.0,
21.035953945
]
},
{
"type": "line",
"start": [
-80.0,
21.035953945
],
"end": [
-98.217670509,
10.517976973
]
},
{
"type": "line",
"start": [
-98.217670509,
10.517976973
],
"end": [
-98.217670509,
-10.517976973
]
},
{
"type": "line",
"start": [
-98.217670509,
-10.517976973
],
"end": [
-80.0,
-21.035953945
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
98.217670509,
-10.517976973
],
"end": [
80.0,
-21.035953945
]
},
{
"type": "line",
"start": [
80.0,
-21.035953945
],
"end": [
61.782329491,
-10.517976973
]
},
{
"type": "line",
"start": [
61.782329491,
-10.517976973
],
"end": [
61.782329491,
10.517976973
]
},
{
"type": "line",
"start": [
61.782329491,
10.517976973
],
"end": [
80.0,
21.035953945
]
},
{
"type": "line",
"start": [
80.0,
21.035953945
],
"end": [
98.217670509,
10.517976973
]
},
{
"type": "line",
"start": [
98.217670509,
10.517976973
],
"end": [
98.217670509,
-10.517976973
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
-80.0,
-0.0
],
"radius_mm": 12.0
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
80.0,
-0.0
],
"radius_mm": 12.0
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
-80.0,
-0.0
],
"radius_mm": 18.217670509
},
{
"type": "circle",
"center": [
80.0,
-0.0
],
"radius_mm": 18.217670509
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
13.099780863
]
}
]
}
}
]
},
"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": 4.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"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": 13.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
}
],
"meta": {
"unit": "mm",
"source": "156513.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.2041103964378711,
"volume": 0.0002041103964378711,
"surface_area": 0.10528874661764337,
"center_of_mass": [
-3.897744243311909e-17,
-1.6027774035127305e-17,
0.002754987730538082
],
"principal_moments": [
0.00039832999259237423,
0.0015187653297947456,
0.001913701699591367
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.15000000000000002,
-0.07900000000000003,
0.0,
0.14999999999999994,
0.07900000000000001,
0.017
],
"solid_body_count": 3,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸2[2]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABsAAAA",
"persist_reference_sha256": "7a6aa43013ffee45d1655d96086b93435420eded56a6d3c7a0227d5c411fd1d9",
"component": null,
"geometry": {
"box": [
-0.09821767050924839,
-0.021035953945044858,
0.004,
-0.06178232949075166,
0.021035953945044802,
0.017
],
"face_count": 9,
"edge_count": 20,
"vertex_count": 12
},
"stable_id": "7a6aa43013ffee45d1655d96086b93435420eded56a6d3c7a0227d5c411fd1d9"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABqAAAA",
"persist_reference_sha256": "e7c660540d9b751b0168bd238d38ea4f30e335295d3f241d0c885d54707288d6",
"component": null,
"geometry": {
"box": [
-0.15000000000000002,
-0.07900000000000003,
0.0,
0.14999999999999994,
0.07900000000000001,
0.004
],
"face_count": 8,
"edge_count": 16,
"vertex_count": 8
},
"stable_id": "e7c660540d9b751b0168bd238d38ea4f30e335295d3f241d0c885d54707288d6"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸2[1]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABrAAAA",
"persist_reference_sha256": "2f3b50beba037e4791e16aa0ab7fb1c99698947dcdf892206241c7d1823ca6e2",
"component": null,
"geometry": {
"box": [
0.06178232949075166,
-0.021035953945044858,
0.004,
0.09821767050924839,
0.021035953945044802,
0.017
],
"face_count": 9,
"edge_count": 20,
"vertex_count": 12
},
"stable_id": "2f3b50beba037e4791e16aa0ab7fb1c99698947dcdf892206241c7d1823ca6e2"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 30,
"surface_counts": {
"cylinder": 8,
"plane": 22
},
"axis_count": 8,
"repeat_spacings_mm": [
{
"spacing_mm": 160.0,
"pair_count": 2
},
{
"spacing_mm": 160.5273,
"pair_count": 2
},
{
"spacing_mm": 13.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-150.0,
-79.0,
0.0,
150.0,
79.0,
17.0
],
"volume_mm3": 204110.396437871,
"surface_area_mm2": 105288.746617643,
"solid_count": 3,
"face_count": 30,
"edge_count": 72,
"vertex_count": 48
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-150.0,
-79.0,
0.0,
150.0,
79.0,
17.0
],
"volume_mm3": 204110.396437871,
"surface_area_mm2": 105288.746617643,
"solid_count": 3,
"face_count": 26,
"edge_count": 56,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 204110.396437871,
"actual": 204110.396437871,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 105288.746617643,
"actual": 105288.746617643,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-150.0,
-79.0,
0.0,
150.0,
79.0,
17.0
],
"actual": [
-150.0,
-79.0,
0.0,
150.0,
79.0,
17.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 3,
"actual": 3,
"matches": true
},
"face_count": {
"expected": 26,
"actual": 30,
"matches": false
},
"edge_count": {
"expected": 56,
"actual": 72,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 48,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}