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

1507 lines
34 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "146696",
"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": [
-80.0,
65.0
],
"end": [
80.0,
65.0
]
},
{
"type": "line",
"start": [
80.0,
65.0
],
"end": [
80.0,
-65.0
]
},
{
"type": "line",
"start": [
80.0,
-65.0
],
"end": [
-80.0,
-65.0
]
},
{
"type": "line",
"start": [
-80.0,
-65.0
],
"end": [
-80.0,
65.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-80.0,
65.0
],
"end": [
80.0,
-65.0
]
},
{
"type": "line",
"start": [
-80.0,
-65.0
],
"end": [
80.0,
65.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图4",
"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": [
-57.5,
55.0
],
"end": [
-57.5,
45.0
],
"center": [
-57.5,
50.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
-57.5,
45.0
],
"end": [
-42.5,
45.0
]
},
{
"type": "arc",
"start": [
-42.5,
45.0
],
"end": [
-42.5,
55.0
],
"center": [
-42.5,
50.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
-42.5,
55.0
],
"end": [
-57.5,
55.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
42.5,
55.0
],
"end": [
42.5,
45.0
],
"center": [
42.5,
50.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
42.5,
45.0
],
"end": [
57.5,
45.0
]
},
{
"type": "arc",
"start": [
57.5,
45.0
],
"end": [
57.5,
55.0
],
"center": [
57.5,
50.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
57.5,
55.0
],
"end": [
42.5,
55.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-57.5,
-45.0
],
"end": [
-57.5,
-55.0
],
"center": [
-57.5,
-50.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
-57.5,
-55.0
],
"end": [
-42.5,
-55.0
]
},
{
"type": "arc",
"start": [
-42.5,
-55.0
],
"end": [
-42.5,
-45.0
],
"center": [
-42.5,
-50.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
-42.5,
-45.0
],
"end": [
-57.5,
-45.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
42.5,
-45.0
],
"end": [
42.5,
-55.0
],
"center": [
42.5,
-50.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
42.5,
-55.0
],
"end": [
57.5,
-55.0
]
},
{
"type": "arc",
"start": [
57.5,
-55.0
],
"end": [
57.5,
-45.0
],
"center": [
57.5,
-50.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
57.5,
-45.0
],
"end": [
42.5,
-45.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-57.5,
50.0
],
"end": [
-42.5,
50.0
]
},
{
"type": "line",
"start": [
42.5,
50.0
],
"end": [
57.5,
50.0
]
},
{
"type": "line",
"start": [
-57.5,
-50.0
],
"end": [
-42.5,
-50.0
]
},
{
"type": "line",
"start": [
42.5,
-50.0
],
"end": [
57.5,
-50.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图5",
"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": [
15.0,
-65.0
],
"end": [
0.0,
-65.0
]
},
{
"type": "line",
"start": [
0.0,
-65.0
],
"end": [
0.0,
65.0
]
},
{
"type": "line",
"start": [
0.0,
65.0
],
"end": [
15.0,
65.0
]
},
{
"type": "line",
"start": [
15.0,
65.0
],
"end": [
15.0,
-65.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图6",
"role": "profile",
"workplane": {
"origin_mm": [
15.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": "circles",
"items": [
{
"center": [
-96.547308772,
29.0
],
"radius_mm": 8.05
},
{
"center": [
-96.547308772,
-29.0
],
"radius_mm": 8.05
}
]
}
},
{
"id": "sk_006",
"name": "草图7",
"role": "profile",
"workplane": {
"origin_mm": [
15.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": [
-97.797308772,
65.0
],
"end": [
-95.297308772,
65.0
]
},
{
"type": "line",
"start": [
-95.297308772,
65.0
],
"end": [
-95.297308772,
29.0
]
},
{
"type": "line",
"start": [
-95.297308772,
29.0
],
"end": [
-97.797308772,
29.0
]
},
{
"type": "line",
"start": [
-97.797308772,
29.0
],
"end": [
-97.797308772,
65.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-97.797308772,
-29.0
],
"end": [
-95.297308772,
-29.0
]
},
{
"type": "line",
"start": [
-95.297308772,
-29.0
],
"end": [
-95.297308772,
-65.0
]
},
{
"type": "line",
"start": [
-95.297308772,
-65.0
],
"end": [
-97.797308772,
-65.0
]
},
{
"type": "line",
"start": [
-97.797308772,
-65.0
],
"end": [
-97.797308772,
-29.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-96.547308772,
29.0
],
"end": [
-96.547308772,
-29.0
]
},
{
"type": "line",
"start": [
-97.797308772,
65.0
],
"end": [
-95.297308772,
29.0
]
},
{
"type": "line",
"start": [
-97.797308772,
29.0
],
"end": [
-95.297308772,
65.0
]
},
{
"type": "line",
"start": [
-97.797308772,
-29.0
],
"end": [
-95.297308772,
-65.0
]
},
{
"type": "line",
"start": [
-97.797308772,
-65.0
],
"end": [
-95.297308772,
-29.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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 15.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": "M6 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 6.6,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
65.0,
28.0,
0.0
]
},
{
"mm": [
65.0,
-28.0,
0.0
]
},
{
"mm": [
-65.0,
28.0,
0.0
]
},
{
"mm": [
-65.0,
-28.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.4
},
"host_face": {
"kind": "face",
"stable_id": "step-face-b462ed236e708c85f0f8b533",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-116.0,
-65.0,
0.0,
80.0,
65.0,
0.0
],
"center_mm": [
-16.992818871,
0.0,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-b462ed236e708c85f0f8b533",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-116.0,
-65.0,
0.0,
80.0,
65.0,
0.0
],
"center_mm": [
-16.992818871,
0.0,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 36.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"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": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_008"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_010",
"name": "Ø7.0 (7) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_007",
"f_009"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 7.0,
"depth_mm": 18.201691228,
"end_condition": {
"solidworks_code": 4,
"type": "up_to_surface"
},
"positions": [
{
"mm": [
7.5,
50.0,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "3c1355f814e10f4baee7102b614d43d8c78a030a19dbdbe45c02ce72c7308101",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
-3.8549410577262406e-16,
0.0,
-0.09779730877182805,
0.065,
0.0
]
},
"box": [
-0.09779730877182805,
0.03695235814082845,
0.0,
-0.09779730877182803,
0.065,
0.015
],
"area": 0.00042071462788757324
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "3c1355f814e10f4baee7102b614d43d8c78a030a19dbdbe45c02ce72c7308101",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
-3.8549410577262406e-16,
0.0,
-0.09779730877182805,
0.065,
0.0
]
},
"box": [
-0.09779730877182805,
0.03695235814082845,
0.0,
-0.09779730877182803,
0.065,
0.015
],
"area": 0.00042071462788757324
}
}
]
},
{
"id": "f_011",
"name": "M6 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_009",
"f_010"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 20.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
7.5,
50.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 20.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-b462ed236e708c85f0f8b533",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-116.0,
-65.0,
0.0,
80.0,
65.0,
0.0
],
"center_mm": [
-16.992818871,
0.0,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-b462ed236e708c85f0f8b533",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-116.0,
-65.0,
0.0,
80.0,
65.0,
0.0
],
"center_mm": [
-16.992818871,
0.0,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_012",
"name": "镜向1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_002",
"f_011",
"f_010"
],
"params": {
"source_feature_ids": [
"f_011",
"f_010"
],
"mirror_plane": {
"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"
}
]
}
],
"meta": {
"unit": "mm",
"source": "146696.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.3544655893766935,
"volume": 0.0003544655893766935,
"surface_area": 0.06715818767802123,
"center_of_mass": [
-0.0165575466226626,
-5.4466205114399984e-18,
0.007481111843816602
],
"principal_moments": [
0.000491351306515054,
0.0011082222089971684,
0.00158621949461372
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.11599999999999999,
-0.065,
0.0,
0.08000000000000002,
0.065,
0.015
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "镜向1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAkAAAByAAAAcQAAAHAAAABvAAAAbgAAAG0AAABsAAAAawAAAGoAAAA=",
"persist_reference_sha256": "b3aa29f6645447da4be94a8952ad2e597fbb709645d6ccca0a3e3a0d5e52c64f",
"component": null,
"geometry": {
"box": [
-0.11599999999999999,
-0.065,
0.0,
0.08000000000000002,
0.065,
0.015
],
"face_count": 48,
"edge_count": 108,
"vertex_count": 58
},
"stable_id": "b3aa29f6645447da4be94a8952ad2e597fbb709645d6ccca0a3e3a0d5e52c64f"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 70,
"surface_counts": {
"cone": 4,
"cylinder": 42,
"plane": 24
},
"axis_count": 46,
"repeat_spacings_mm": [
{
"spacing_mm": 100.0,
"pair_count": 11
},
{
"spacing_mm": 141.4214,
"pair_count": 4
},
{
"spacing_mm": 145.2248,
"pair_count": 4
},
{
"spacing_mm": 124.4598,
"pair_count": 4
},
{
"spacing_mm": 78.3597,
"pair_count": 4
},
{
"spacing_mm": 23.2433,
"pair_count": 4
},
{
"spacing_mm": 101.1187,
"pair_count": 4
},
{
"spacing_mm": 15.0,
"pair_count": 4
},
{
"spacing_mm": 81.1804,
"pair_count": 4
},
{
"spacing_mm": 31.4682,
"pair_count": 4
},
{
"spacing_mm": 132.8166,
"pair_count": 4
},
{
"spacing_mm": 109.7281,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-116.0,
-65.0,
0.0,
80.0,
65.0,
15.0
],
"volume_mm3": 354465.589376694,
"surface_area_mm2": 67158.187678021,
"solid_count": 1,
"face_count": 70,
"edge_count": 184,
"vertex_count": 122
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-116.0,
-65.0,
0.0,
80.0,
65.0,
15.0
],
"volume_mm3": 354465.589376693,
"surface_area_mm2": 67158.187678021,
"solid_count": 1,
"face_count": 48,
"edge_count": 108,
"vertex_count": 58
},
"comparisons": {
"volume_mm3": {
"expected": 354465.589376693,
"actual": 354465.589376694,
"absolute_delta": 9.89530235528946e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 67158.187678021,
"actual": 67158.187678021,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-116.0,
-65.0,
0.0,
80.0,
65.0,
15.0
],
"actual": [
-116.0,
-65.0,
0.0,
80.0,
65.0,
15.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 48,
"actual": 70,
"matches": false
},
"edge_count": {
"expected": 108,
"actual": 184,
"matches": false
},
"vertex_count": {
"expected": 58,
"actual": 122,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}