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

571 lines
12 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "171102",
"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": "Sketch1",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 7.5
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 4.0
}
},
{
"id": "sk_004",
"name": "Sketch5",
"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": "circle",
"center": [
0.0,
53.0
],
"radius_mm": 1.0
}
}
]
},
"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": "Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 33.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 22.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "M5 Tapped Hole1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": "2B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-292793381ade1d6fdc43495d",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-7.5,
-0.0,
-7.5,
7.5,
0.0,
7.5
],
"center_mm": [
-0.0,
0.0,
0.0
],
"normal": [
-0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-292793381ade1d6fdc43495d",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-7.5,
-0.0,
-7.5,
7.5,
0.0,
7.5
],
"center_mm": [
-0.0,
0.0,
0.0
],
"normal": [
-0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_007",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 3.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "Extrude3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003",
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "171102.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.006911538482380403,
"volume": 6.911538482380403e-06,
"surface_area": 0.0026560230116124206,
"center_of_mass": [
-2.1339358133646245e-11,
0.021543113963619794,
4.0942146939388575e-11
],
"principal_moments": [
1.7801349485205608e-07,
1.331076457920392e-06,
1.3312011651752002e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0075,
-1.2981256070961913e-18,
-0.0075,
0.0075,
0.055,
0.0075
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Extrude3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAAByAAAAcQAAAHAAAABvAAAA",
"persist_reference_sha256": "1bf4b078015b2c488f1bc675ed7911b5ca157a14b758e0d36e28061acc31fe13",
"component": null,
"geometry": {
"box": [
-0.0075,
-1.2981256070961913e-18,
-0.0075,
0.0075,
0.055,
0.0075
],
"face_count": 8,
"edge_count": 8,
"vertex_count": 1
},
"stable_id": "1bf4b078015b2c488f1bc675ed7911b5ca157a14b758e0d36e28061acc31fe13"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 14,
"surface_counts": {
"cone": 4,
"cylinder": 8,
"plane": 2
},
"axis_count": 12,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-7.5,
-0.0,
-7.5,
7.5,
55.0000001,
7.5
],
"volume_mm3": 6911.535270027,
"surface_area_mm2": 2656.022092898,
"solid_count": 1,
"face_count": 14,
"edge_count": 28,
"vertex_count": 17
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-7.5,
-0.0,
-7.5,
7.5,
55.0,
7.5
],
"volume_mm3": 6911.53848238,
"surface_area_mm2": 2656.023011612,
"solid_count": 1,
"face_count": 8,
"edge_count": 8,
"vertex_count": 1
},
"comparisons": {
"volume_mm3": {
"expected": 6911.53848238,
"actual": 6911.535270027,
"absolute_delta": 0.0032123529999807943,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 2656.023011612,
"actual": 2656.022092898,
"absolute_delta": 0.0009187139999085048,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-7.5,
-0.0,
-7.5,
7.5,
55.0,
7.5
],
"actual": [
-7.5,
-0.0,
-7.5,
7.5,
55.0000001,
7.5
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 8,
"actual": 14,
"matches": false
},
"edge_count": {
"expected": 8,
"actual": 28,
"matches": false
},
"vertex_count": {
"expected": 1,
"actual": 17,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}