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

683 lines
15 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "233312",
"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": 8.0
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
50.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": 13.0
}
},
{
"id": "sk_004",
"name": "草图7",
"role": "profile",
"workplane": {
"origin_mm": [
76.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": 5.0
}
},
{
"id": "sk_005",
"name": "草图19",
"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,
-66.0
],
"radius_mm": 2.1
}
}
]
},
"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": 50.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": 26.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "基准面2",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
14.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 14.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 25.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_009",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001",
"f_005"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 8.462379478,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
12.991967976,
0.45691149,
65.922762263
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 8.462379478,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-fa5cb8a96cf291c482670c61",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-13.0000001,
-1e-07,
49.9999999,
13.0000001,
13.0000001,
76.0000001
],
"center_mm": [
-0.0,
13.0,
63.0
],
"normal": [
-0.0,
1.0,
0.0
],
"surface_type": "cylinder",
"axis": {
"origin_mm": [
0.0,
0.0,
76.0
],
"direction": [
-0.0,
-0.0,
-1.0
],
"surface_type": "cylinder",
"radius_mm": 13.0
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-fa5cb8a96cf291c482670c61",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-13.0000001,
-1e-07,
49.9999999,
13.0000001,
13.0000001,
76.0000001
],
"center_mm": [
-0.0,
13.0,
63.0
],
"normal": [
-0.0,
1.0,
0.0
],
"surface_type": "cylinder",
"axis": {
"origin_mm": [
0.0,
0.0,
76.0
],
"direction": [
-0.0,
-0.0,
-1.0
],
"surface_type": "cylinder",
"radius_mm": 13.0
}
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "233312.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.1703111305810593,
"volume": 2.1558370959627758e-05,
"surface_area": 0.0067223561224763724,
"center_of_mass": [
-4.6235233238771775e-05,
-1.627398018684979e-06,
0.04518801864969563
],
"principal_moments": [
1.1333561905139002e-05,
8.812882858943503e-05,
8.820258508712204e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.013000000000000001,
-0.013000000000000001,
0.0,
0.013000000000000001,
0.013000000000000001,
0.076
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M5 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAAB5AAAAdwAAAG0AAABrAAAAagAAAA==",
"persist_reference_sha256": "9262ed1dc326b514b8c502798d19e05ed7253a7ed9e1ce9e93884427ebb79d62",
"component": null,
"geometry": {
"box": [
-0.013000000000000001,
-0.013000000000000001,
0.0,
0.013000000000000001,
0.013000000000000001,
0.076
],
"face_count": 10,
"edge_count": 12,
"vertex_count": 0
},
"stable_id": "9262ed1dc326b514b8c502798d19e05ed7253a7ed9e1ce9e93884427ebb79d62"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 16,
"surface_counts": {
"cylinder": 12,
"plane": 4
},
"axis_count": 12,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-13.0000001,
-13.0000001,
0.0,
13.0000001,
13.0000001,
76.0000001
],
"volume_mm3": 21558.384897563,
"surface_area_mm2": 6722.350690443,
"solid_count": 1,
"face_count": 16,
"edge_count": 42,
"vertex_count": 28
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-13.0,
-13.0,
0.0,
13.0,
13.0,
76.0
],
"volume_mm3": 21558.370959628,
"surface_area_mm2": 6722.356122476,
"solid_count": 1,
"face_count": 10,
"edge_count": 12,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 21558.370959628,
"actual": 21558.384897563,
"absolute_delta": 0.013937935000285506,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 6722.356122476,
"actual": 6722.350690443,
"absolute_delta": 0.005432033000033698,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-13.0,
-13.0,
0.0,
13.0,
13.0,
76.0
],
"actual": [
-13.0000001,
-13.0000001,
0.0,
13.0000001,
13.0000001,
76.0000001
],
"max_absolute_delta": 9.99999993922529e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 10,
"actual": 16,
"matches": false
},
"edge_count": {
"expected": 12,
"actual": 42,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 28,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}