Files
cdsl-cad/json_to_cdsl/output/168239.cdsl.json
T
2026-08-24 14:52:08 +08:00

751 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "168239",
"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": "arc",
"start": [
-0.0,
4.0
],
"end": [
0.48,
4.0
],
"center": [
0.24,
4.3865553
],
"radius_mm": 0.455,
"clockwise": false
},
{
"type": "line",
"start": [
0.48,
4.0
],
"end": [
20.0,
4.0
]
},
{
"type": "line",
"start": [
20.0,
4.0
],
"end": [
20.0,
2.4585
]
},
{
"type": "line",
"start": [
20.0,
2.4585
],
"end": [
21.617,
2.4585
]
},
{
"type": "line",
"start": [
21.617,
2.4585
],
"end": [
22.1585,
3.0
]
},
{
"type": "line",
"start": [
22.1585,
3.0
],
"end": [
28.4585,
3.0
]
},
{
"type": "line",
"start": [
28.4585,
3.0
],
"end": [
29.0,
2.4585
]
},
{
"type": "line",
"start": [
29.0,
2.4585
],
"end": [
29.0,
0.0
]
},
{
"type": "line",
"start": [
29.0,
0.0
],
"end": [
-1.614359354,
0.0
]
},
{
"type": "line",
"start": [
-1.614359354,
0.0
],
"end": [
-3.0,
2.4
]
},
{
"type": "line",
"start": [
-3.0,
2.4
],
"end": [
-6.0,
2.4
]
},
{
"type": "line",
"start": [
-6.0,
2.4
],
"end": [
-6.0,
5.85
]
},
{
"type": "line",
"start": [
-6.0,
5.85
],
"end": [
-5.35,
6.5
]
},
{
"type": "line",
"start": [
-5.35,
6.5
],
"end": [
0.0,
6.5
]
},
{
"type": "line",
"start": [
0.0,
6.5
],
"end": [
-0.0,
4.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
29.0,
0.0
],
"end": [
-1.614359354,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖2",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-2.5,
1.443375673
],
"end": [
-2.5,
-1.443375673
]
},
{
"type": "line",
"start": [
-2.5,
-1.443375673
],
"end": [
0.0,
-2.886751346
]
},
{
"type": "line",
"start": [
0.0,
-2.886751346
],
"end": [
2.5,
-1.443375673
]
},
{
"type": "line",
"start": [
2.5,
-1.443375673
],
"end": [
2.5,
1.443375673
]
},
{
"type": "line",
"start": [
2.5,
1.443375673
],
"end": [
0.0,
2.886751346
]
},
{
"type": "line",
"start": [
0.0,
2.886751346
],
"end": [
-2.5,
1.443375673
]
}
]
}
]
}
}
]
},
"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": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
29.0,
0.0,
0.0
],
"direction": [
-1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "360c08c24c685283f8abd82792dd76dd6912e422e27135d81f7966134401b175",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.029,
0.0,
0.0
],
"end": [
-0.0016143593539448978,
0.0,
0.0
]
}
}
]
},
{
"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": "平面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
-6.0,
-0.0,
-0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 6.0,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_006",
"name": "除料-伸長1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 3.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"missing source sketch parent"
]
}
],
"meta": {
"unit": "mm",
"source": "02_传动件/0202_轴/020299_通用轴/168239.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.001953757242871624,
"volume": 1.953757242871624e-06,
"surface_area": 0.0012223185045324662,
"center_of_mass": [
0.007072036013967025,
1.0997942021287176e-19,
3.119863058751443e-19
],
"principal_moments": [
2.5278326480447432e-08,
2.0138679452339682e-07,
2.0138679452339682e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.006000000000000002,
-0.006500000000000001,
-0.006500000000000001,
0.029,
0.006500000000000001,
0.006500000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "除料-伸長1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
-0.006000000000000002,
-0.006500000000000001,
-0.006500000000000001,
0.029,
0.006500000000000001,
0.006500000000000001
],
"face_count": 20,
"edge_count": 30,
"vertex_count": 13
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 31,
"surface_counts": {
"cone": 8,
"cylinder": 8,
"plane": 11,
"torus": 4
},
"axis_count": 16,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-6.0,
-6.5,
-6.5,
29.0,
6.5,
6.5
],
"volume_mm3": 1953.757242872,
"surface_area_mm2": 1222.318504532,
"solid_count": 1,
"face_count": 31,
"edge_count": 64,
"vertex_count": 39
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-6.0,
-6.5,
-6.5,
29.0,
6.5,
6.5
],
"volume_mm3": 1953.757242872,
"surface_area_mm2": 1222.318504532,
"solid_count": 1,
"face_count": 20,
"edge_count": 30,
"vertex_count": 13
},
"comparisons": {
"volume_mm3": {
"expected": 1953.757242872,
"actual": 1953.757242872,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1222.318504532,
"actual": 1222.318504532,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-6.0,
-6.5,
-6.5,
29.0,
6.5,
6.5
],
"actual": [
-6.0,
-6.5,
-6.5,
29.0,
6.5,
6.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 20,
"actual": 31,
"matches": false
},
"edge_count": {
"expected": 30,
"actual": 64,
"matches": false
},
"vertex_count": {
"expected": 13,
"actual": 39,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}