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

506 lines
11 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "186537",
"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,
1000.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
0.0,
1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-20.0,
122.5
],
"end": [
20.0,
122.5
]
},
{
"type": "line",
"start": [
20.0,
122.5
],
"end": [
20.0,
-122.5
]
},
{
"type": "line",
"start": [
20.0,
-122.5
],
"end": [
-20.0,
-122.5
]
},
{
"type": "line",
"start": [
-20.0,
-122.5
],
"end": [
-20.0,
122.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
20.0,
122.5
],
"end": [
-20.0,
-122.5
]
}
]
}
}
]
},
"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_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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 22.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 8.0,
"angle_rad": 1.30899693899575
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 10.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "M6 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 7.0,
"depth_mm": 22.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
90.0,
0.0
]
},
{
"mm": [
0.0,
0.0,
0.0
]
},
{
"mm": [
0.0,
-90.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.4
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "186537.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.21257072959029058,
"volume": 0.00020840267606891233,
"surface_area": 0.03293541229875503,
"center_of_mass": [
-0.00021852393091521672,
0.010959363628892996,
0.0008739952021310565
],
"principal_moments": [
3.6689038817278595e-05,
0.0010404266270307464,
0.0010600219765589847
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.020000000000000025,
0.0,
-0.12250000000000001,
0.02000000000000001,
0.022,
0.12249999999999998
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M6 六角凹头螺钉的柱形沉头孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
-0.020000000000000025,
0.0,
-0.12250000000000001,
0.020000000000000007,
0.022,
0.12249999999999998
],
"face_count": 18,
"edge_count": 33,
"vertex_count": 14
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 24,
"surface_counts": {
"cylinder": 14,
"plane": 10
},
"axis_count": 14,
"repeat_spacings_mm": [
{
"spacing_mm": 90.0,
"pair_count": 2
},
{
"spacing_mm": 202.7468,
"pair_count": 2
},
{
"spacing_mm": 112.9436,
"pair_count": 2
},
{
"spacing_mm": 24.6221,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-20.0,
0.0,
-122.5,
20.0,
22.0,
122.5
],
"volume_mm3": 208402.676068912,
"surface_area_mm2": 32935.412298755,
"solid_count": 1,
"face_count": 24,
"edge_count": 57,
"vertex_count": 38
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-20.0,
0.0,
-122.5,
20.0,
22.0,
122.5
],
"volume_mm3": 208402.676068912,
"surface_area_mm2": 32935.412298755,
"solid_count": 1,
"face_count": 18,
"edge_count": 33,
"vertex_count": 14
},
"comparisons": {
"volume_mm3": {
"expected": 208402.676068912,
"actual": 208402.676068912,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 32935.412298755,
"actual": 32935.412298755,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-20.0,
0.0,
-122.5,
20.0,
22.0,
122.5
],
"actual": [
-20.0,
0.0,
-122.5,
20.0,
22.0,
122.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 18,
"actual": 24,
"matches": false
},
"edge_count": {
"expected": 33,
"actual": 57,
"matches": false
},
"vertex_count": {
"expected": 14,
"actual": 38,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}