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

1056 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "105751",
"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": [
-32.5,
-35.0
],
"end": [
32.5,
-35.0
]
},
{
"type": "line",
"start": [
32.5,
-35.0
],
"end": [
32.5,
35.0
]
},
{
"type": "line",
"start": [
32.5,
35.0
],
"end": [
-32.5,
35.0
]
},
{
"type": "line",
"start": [
-32.5,
35.0
],
"end": [
-32.5,
-35.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-32.5,
-35.0
],
"end": [
32.5,
35.0
]
},
{
"type": "line",
"start": [
-32.5,
35.0
],
"end": [
32.5,
-35.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图4",
"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": "circle",
"center": [
0.0,
7.0
],
"radius_mm": 14.0
}
},
{
"id": "sk_004",
"name": "草图5",
"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": [],
"construction": [
{
"type": "circle",
"center": [
0.0,
-3.0
],
"radius_mm": 35.0
},
{
"type": "line",
"start": [
-24.748737342,
-27.748737342
],
"end": [
24.748737342,
-27.748737342
]
},
{
"type": "line",
"start": [
-24.748737342,
-27.748737342
],
"end": [
-24.748737342,
21.748737342
]
},
{
"type": "line",
"start": [
-24.748737342,
21.748737342
],
"end": [
24.748737342,
21.748737342
]
},
{
"type": "line",
"start": [
24.748737342,
-27.748737342
],
"end": [
24.748737342,
21.748737342
]
},
{
"type": "line",
"start": [
-24.748737342,
-27.748737342
],
"end": [
24.748737342,
21.748737342
]
},
{
"type": "line",
"start": [
-24.748737342,
21.748737342
],
"end": [
24.748737342,
-27.748737342
]
}
]
}
}
]
},
"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": "切除-拉伸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": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-24.748737342,
21.748737342,
0.0
]
},
{
"mm": [
24.748737342,
21.748737342,
0.0
]
},
{
"mm": [
24.748737342,
-27.748737342,
0.0
]
},
{
"mm": [
-24.748737342,
-27.748737342,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-c32b4135a506203a345e2c63",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-31.5,
-34.0,
0.0,
31.5,
34.0,
0.0
],
"center_mm": [
0.0,
-1.342978858,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-c32b4135a506203a345e2c63",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-31.5,
-34.0,
0.0,
31.5,
34.0,
0.0
],
"center_mm": [
0.0,
-1.342978858,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_007",
"name": "M6 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
7.5,
24.0,
0.0
]
},
{
"mm": [
7.5,
-16.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": ""
},
"host_face": {
"kind": "face",
"stable_id": "step-face-c32b4135a506203a345e2c63",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-31.5,
-34.0,
0.0,
31.5,
34.0,
0.0
],
"center_mm": [
0.0,
-1.342978858,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-c32b4135a506203a345e2c63",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-31.5,
-34.0,
0.0,
31.5,
34.0,
0.0
],
"center_mm": [
0.0,
-1.342978858,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"name": "M4 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
17.5,
-7.5,
0.0
]
},
{
"mm": [
-17.5,
-7.5,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": ""
},
"host_face": {
"kind": "face",
"stable_id": "step-face-c32b4135a506203a345e2c63",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-31.5,
-34.0,
0.0,
31.5,
34.0,
0.0
],
"center_mm": [
0.0,
-1.342978858,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-c32b4135a506203a345e2c63",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-31.5,
-34.0,
0.0,
31.5,
34.0,
0.0
],
"center_mm": [
0.0,
-1.342978858,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_009",
"name": "M4 螺纹孔3",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-7.5,
18.5,
0.0
]
},
{
"mm": [
-7.5,
-11.5,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-c32b4135a506203a345e2c63",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-31.5,
-34.0,
0.0,
31.5,
34.0,
0.0
],
"center_mm": [
0.0,
-1.342978858,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-c32b4135a506203a345e2c63",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-31.5,
-34.0,
0.0,
31.5,
34.0,
0.0
],
"center_mm": [
0.0,
-1.342978858,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_010",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "105751.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.05711471795194182,
"volume": 5.711471795194182e-05,
"surface_area": 0.014157591762537202,
"center_of_mass": [
0.00017573106364987637,
-0.0012654524843680854,
0.007514347037872328
],
"principal_moments": [
2.3533455635847882e-05,
2.6900227888476102e-05,
4.827631653755031e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.032499999999999994,
-0.035,
0.0,
0.03250000000000001,
0.035,
0.015
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABrAAAAagAAAGkAAABoAAAAZwAAAGUAAAA=",
"persist_reference_sha256": "2630b0c9ea97d73c2a38934ee21ca05509532fdb9907826ba1e6ab106fa6f97b",
"component": null,
"geometry": {
"box": [
-0.032499999999999994,
-0.035,
0.0,
0.03250000000000001,
0.035,
0.015
],
"face_count": 52,
"edge_count": 86,
"vertex_count": 41
},
"stable_id": "2630b0c9ea97d73c2a38934ee21ca05509532fdb9907826ba1e6ab106fa6f97b"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 79,
"surface_counts": {
"cone": 30,
"cylinder": 23,
"plane": 26
},
"axis_count": 53,
"repeat_spacings_mm": [
{
"spacing_mm": 49.4975,
"pair_count": 12
},
{
"spacing_mm": 49.5076,
"pair_count": 8
},
{
"spacing_mm": 50.5989,
"pair_count": 8
},
{
"spacing_mm": 50.8158,
"pair_count": 8
},
{
"spacing_mm": 11.5,
"pair_count": 7
},
{
"spacing_mm": 70.0,
"pair_count": 6
},
{
"spacing_mm": 1.0,
"pair_count": 4
},
{
"spacing_mm": 10.5,
"pair_count": 4
},
{
"spacing_mm": 70.0071,
"pair_count": 4
},
{
"spacing_mm": 70.7831,
"pair_count": 4
},
{
"spacing_mm": 70.9384,
"pair_count": 4
},
{
"spacing_mm": 31.6074,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-32.5000001,
-35.0,
-0.0,
32.5000001,
35.0000001,
15.0
],
"volume_mm3": 57114.725124873,
"surface_area_mm2": 14157.592747491,
"solid_count": 1,
"face_count": 79,
"edge_count": 172,
"vertex_count": 103
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-32.5,
-35.0,
0.0,
32.5,
35.0,
15.0
],
"volume_mm3": 57114.717951942,
"surface_area_mm2": 14157.591762537,
"solid_count": 1,
"face_count": 52,
"edge_count": 86,
"vertex_count": 41
},
"comparisons": {
"volume_mm3": {
"expected": 57114.717951942,
"actual": 57114.725124873,
"absolute_delta": 0.0071729310002410784,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 14157.591762537,
"actual": 14157.592747491,
"absolute_delta": 0.0009849540001596324,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-32.5,
-35.0,
0.0,
32.5,
35.0,
15.0
],
"actual": [
-32.5000001,
-35.0,
-0.0,
32.5000001,
35.0000001,
15.0
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 52,
"actual": 79,
"matches": false
},
"edge_count": {
"expected": 86,
"actual": 172,
"matches": false
},
"vertex_count": {
"expected": 41,
"actual": 103,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}