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

1207 lines
26 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "032405",
"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": [
67.0,
7.0
],
"end": [
37.0,
7.0
],
"center": [
52.0,
7.0
],
"radius_mm": 15.0,
"clockwise": false
},
{
"type": "line",
"start": [
37.0,
7.0
],
"end": [
37.0,
-0.0
]
},
{
"type": "line",
"start": [
37.0,
-0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
44.0
]
},
{
"type": "line",
"start": [
0.0,
44.0
],
"end": [
10.0,
44.0
]
},
{
"type": "line",
"start": [
10.0,
44.0
],
"end": [
10.0,
36.0
]
},
{
"type": "line",
"start": [
10.0,
36.0
],
"end": [
104.0,
36.0
]
},
{
"type": "line",
"start": [
104.0,
36.0
],
"end": [
104.0,
0.0
]
},
{
"type": "line",
"start": [
104.0,
0.0
],
"end": [
67.0,
-0.0
]
},
{
"type": "line",
"start": [
67.0,
-0.0
],
"end": [
67.0,
7.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
52.0,
0.0
],
"end": [
52.0,
36.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
12.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": "line",
"start": [
0.0,
13.0
],
"end": [
104.0,
13.0
]
},
{
"type": "line",
"start": [
52.0,
22.0
],
"end": [
52.0,
-3.51331952
]
}
]
}
},
{
"id": "sk_004",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
12.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": [
4.5,
4.5
],
"radius_mm": 1.0
},
{
"center": [
10.5,
4.5
],
"radius_mm": 1.0
}
]
}
},
{
"id": "sk_005",
"name": "草图5",
"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": "analytic_contours",
"contours": [],
"construction": [
{
"type": "line",
"start": [
0.0,
6.0
],
"end": [
18.079709487,
6.0
]
}
]
}
},
{
"id": "sk_006",
"name": "草图7",
"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": [
-4.5,
1.5
],
"end": [
-4.5,
7.5
],
"center": [
-4.5,
4.5
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
-4.5,
7.5
],
"end": [
-23.0,
7.5
]
},
{
"type": "line",
"start": [
-23.0,
7.5
],
"end": [
-23.0,
33.5
]
},
{
"type": "line",
"start": [
-23.0,
33.5
],
"end": [
-85.7,
33.5
]
},
{
"type": "arc",
"start": [
-85.7,
33.5
],
"end": [
-85.7,
27.5
],
"center": [
-85.7,
30.5
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
-85.7,
27.5
],
"end": [
-29.0,
27.5
]
},
{
"type": "line",
"start": [
-29.0,
27.5
],
"end": [
-29.0,
1.5
]
},
{
"type": "line",
"start": [
-29.0,
1.5
],
"end": [
-4.5,
1.5
]
}
]
}
]
}
},
{
"id": "sk_007",
"name": "草图8",
"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": "analytic_contours",
"contours": [],
"construction": [
{
"type": "line",
"start": [
104.0,
-6.0
],
"end": [
10.0,
-6.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": 12.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "M6 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 6.6,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
8.0,
13.0,
12.0
]
},
{
"mm": [
96.0,
13.0,
12.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.0
},
"host_face": {
"kind": "face",
"stable_id": "step-face-e11682ee901048eb924e6a90",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
-0.0,
12.0,
104.0,
44.0,
12.0
],
"center_mm": [
50.864181817,
20.440383703,
12.0
],
"normal": [
0.0,
0.0,
1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-e11682ee901048eb924e6a90",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
-0.0,
12.0,
104.0,
44.0,
12.0
],
"center_mm": [
50.864181817,
20.440383703,
12.0
],
"normal": [
0.0,
0.0,
1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_007",
"name": "M3 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 3.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
4.5,
-0.0,
6.0
]
},
{
"mm": [
10.5,
-0.0,
6.0
]
}
],
"thread": {
"diameter_mm": 3.0,
"depth_mm": 6.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-0a64c6cbec1538eaeff1717f",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
-0.0,
0.0,
37.0,
0.0,
12.0
],
"center_mm": [
18.748725459,
-0.0,
6.0
],
"normal": [
-0.0,
-1.0,
0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-0a64c6cbec1538eaeff1717f",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
-0.0,
0.0,
37.0,
0.0,
12.0
],
"center_mm": [
18.748725459,
-0.0,
6.0
],
"normal": [
-0.0,
-1.0,
0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_010",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
22.0,
36.0,
6.0
]
},
{
"mm": [
52.0,
36.0,
6.0
]
},
{
"mm": [
82.0,
36.0,
6.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-8021966ab367a9a616ed9668",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
10.0,
36.0,
0.0,
104.0,
36.0,
12.0
],
"center_mm": [
57.116383937,
36.0,
6.0
],
"normal": [
-0.0,
1.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_007",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-8021966ab367a9a616ed9668",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
10.0,
36.0,
0.0,
104.0,
36.0,
12.0
],
"center_mm": [
57.116383937,
36.0,
6.0
],
"normal": [
-0.0,
1.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"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_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": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_009",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_008"
],
"params": {
"radius_mm": 3.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "032405.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.035853361141712274,
"volume": 3.5853361141712276e-05,
"surface_area": 0.01193824871414396,
"center_of_mass": [
0.05130915500128294,
0.020176441074743683,
0.006123383824962777
],
"principal_moments": [
4.517814726767995e-06,
3.8336461994775e-05,
4.202340597383474e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-8.673617379884035e-19,
0.0,
0.104,
0.044,
0.012
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M4 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABqAAAAaQAAAGgAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "0a26bbf75646bd83d8870646ce4005d1ea62ef8846c2724b2f0430bdfd10750a",
"component": null,
"geometry": {
"box": [
0.0,
-8.673617379884035e-19,
0.0,
0.104,
0.044,
0.012
],
"face_count": 43,
"edge_count": 86,
"vertex_count": 45
},
"stable_id": "0a26bbf75646bd83d8870646ce4005d1ea62ef8846c2724b2f0430bdfd10750a"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 62,
"surface_counts": {
"cone": 10,
"cylinder": 32,
"plane": 20
},
"axis_count": 42,
"repeat_spacings_mm": [
{
"spacing_mm": 30.0,
"pair_count": 4
},
{
"spacing_mm": 31.6545,
"pair_count": 4
},
{
"spacing_mm": 10.1,
"pair_count": 3
},
{
"spacing_mm": 6.0,
"pair_count": 3
},
{
"spacing_mm": 8.8459,
"pair_count": 3
},
{
"spacing_mm": 60.0,
"pair_count": 2
},
{
"spacing_mm": 60.8441,
"pair_count": 2
},
{
"spacing_mm": 27.5862,
"pair_count": 2
},
{
"spacing_mm": 77.7239,
"pair_count": 2
},
{
"spacing_mm": 42.1545,
"pair_count": 2
},
{
"spacing_mm": 19.9602,
"pair_count": 2
},
{
"spacing_mm": 75.3552,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
0.0,
-1e-07,
0.0,
104.0,
44.0,
12.0000001
],
"volume_mm3": 35853.360739529,
"surface_area_mm2": 11938.249462825,
"solid_count": 1,
"face_count": 62,
"edge_count": 163,
"vertex_count": 107
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-0.0,
0.0,
104.0,
44.0,
12.0
],
"volume_mm3": 35853.361141712,
"surface_area_mm2": 11938.248714144,
"solid_count": 1,
"face_count": 43,
"edge_count": 86,
"vertex_count": 45
},
"comparisons": {
"volume_mm3": {
"expected": 35853.361141712,
"actual": 35853.360739529,
"absolute_delta": 0.0004021829954581335,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 11938.248714144,
"actual": 11938.249462825,
"absolute_delta": 0.0007486810009140754,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-0.0,
0.0,
104.0,
44.0,
12.0
],
"actual": [
0.0,
-1e-07,
0.0,
104.0,
44.0,
12.0000001
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 43,
"actual": 62,
"matches": false
},
"edge_count": {
"expected": 86,
"actual": 163,
"matches": false
},
"vertex_count": {
"expected": 45,
"actual": 107,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}