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

1033 lines
23 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "020543",
"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": [
25.0,
30.0
],
"end": [
25.0,
0.0
]
},
{
"type": "line",
"start": [
25.0,
0.0
],
"end": [
33.0,
0.0
]
},
{
"type": "line",
"start": [
33.0,
0.0
],
"end": [
33.0,
30.0
]
},
{
"type": "line",
"start": [
33.0,
30.0
],
"end": [
25.0,
30.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
25.0,
0.0
],
"end": [
33.0,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": "arc",
"start": [
25.6,
0.0
],
"end": [
12.8,
22.170250337
],
"center": [
0.0,
0.0
],
"radius_mm": 25.6,
"clockwise": false
},
{
"type": "arc",
"start": [
12.8,
22.170250337
],
"end": [
9.7,
16.800892833
],
"center": [
11.25,
19.485571585
],
"radius_mm": 3.1,
"clockwise": false
},
{
"type": "arc",
"start": [
9.7,
16.800892833
],
"end": [
19.4,
0.0
],
"center": [
0.0,
0.0
],
"radius_mm": 19.4,
"clockwise": true
},
{
"type": "arc",
"start": [
19.4,
0.0
],
"end": [
25.6,
0.0
],
"center": [
22.5,
0.0
],
"radius_mm": 3.1,
"clockwise": false
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": "arc",
"start": [
-12.8,
-22.170250337
],
"end": [
12.8,
-22.170250337
],
"center": [
0.0,
0.0
],
"radius_mm": 25.6,
"clockwise": false
},
{
"type": "arc",
"start": [
12.8,
-22.170250337
],
"end": [
9.7,
-16.800892833
],
"center": [
11.25,
-19.485571585
],
"radius_mm": 3.1,
"clockwise": false
},
{
"type": "arc",
"start": [
9.7,
-16.800892833
],
"end": [
-9.7,
-16.800892833
],
"center": [
0.0,
0.0
],
"radius_mm": 19.4,
"clockwise": true
},
{
"type": "arc",
"start": [
-9.7,
-16.800892833
],
"end": [
-12.8,
-22.170250337
],
"center": [
-11.25,
-19.485571585
],
"radius_mm": 3.1,
"clockwise": false
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"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": "arc",
"start": [
12.8,
22.170250337
],
"end": [
9.7,
16.800892833
],
"center": [
11.25,
19.485571585
],
"radius_mm": 3.1,
"clockwise": false
},
{
"type": "arc",
"start": [
9.7,
16.800892833
],
"end": [
19.4,
0.0
],
"center": [
0.0,
0.0
],
"radius_mm": 19.4,
"clockwise": true
},
{
"type": "arc",
"start": [
19.4,
0.0
],
"end": [
25.6,
0.0
],
"center": [
22.5,
0.0
],
"radius_mm": 3.1,
"clockwise": false
},
{
"type": "arc",
"start": [
25.6,
0.0
],
"end": [
12.8,
22.170250337
],
"center": [
0.0,
0.0
],
"radius_mm": 25.6,
"clockwise": false
}
]
}
]
}
},
{
"id": "sk_006",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 17.5
}
}
]
},
"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": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
25.0,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "a96286412f5b765d74f73f17aa4ce6c490ff30ea18064a95be2e54b8227f9c3e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.025,
0.0,
0.0
],
"end": [
0.033,
0.0,
0.0
]
}
}
]
},
{
"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": 8.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 8.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 8.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_008",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 25.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_009",
"name": "M24 间隙孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_008"
],
"params": {
"hole_type": "螺钉间隙",
"diameter_mm": 26.5,
"depth_mm": 33.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
0.0,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-e59a1bbbf7cb1c4a7d6ffcc8",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
-17.0,
-17.0,
0.0,
17.0,
17.0
],
"center_mm": [
0.0,
-0.0,
0.0
],
"normal": [
-1.0,
0.0,
0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-e59a1bbbf7cb1c4a7d6ffcc8",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
-17.0,
-17.0,
0.0,
17.0,
17.0
],
"center_mm": [
0.0,
-0.0,
0.0
],
"normal": [
-1.0,
0.0,
0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_010",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_009",
"f_008",
"f_004"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.7853981633975967
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_009"
],
"params": {
"distance_mm": 0.75,
"angle_rad": 0.7853981633975963
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "020543.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.18833730698325063,
"volume": 2.4145808587596236e-05,
"surface_area": 0.011893247517607116,
"center_of_mass": [
0.0220111274922627,
-3.8814009090754583e-17,
-2.2430022067011525e-17
],
"principal_moments": [
5.631330023438002e-05,
5.631330023438002e-05,
7.825879643045546e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.03,
-0.03,
0.033,
0.03,
0.03
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAAB/AAAAfgAAAH0AAAB8AAAAewAAAHoAAAA=",
"persist_reference_sha256": "c716803e2ee311cce20567263ce1db3b43112e80066f4b065c7e030d268d0eac",
"component": null,
"geometry": {
"box": [
0.0,
-0.03,
-0.03,
0.033,
0.03,
0.03
],
"face_count": 23,
"edge_count": 47,
"vertex_count": 24
},
"stable_id": "c716803e2ee311cce20567263ce1db3b43112e80066f4b065c7e030d268d0eac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 32,
"surface_counts": {
"cone": 10,
"cylinder": 19,
"plane": 3
},
"axis_count": 29,
"repeat_spacings_mm": [
{
"spacing_mm": 22.5,
"pair_count": 10
},
{
"spacing_mm": 23.8799,
"pair_count": 8
},
{
"spacing_mm": 39.5285,
"pair_count": 4
},
{
"spacing_mm": 23.7171,
"pair_count": 4
},
{
"spacing_mm": 39.9406,
"pair_count": 4
},
{
"spacing_mm": 39.7838,
"pair_count": 4
},
{
"spacing_mm": 25.0,
"pair_count": 2
},
{
"spacing_mm": 0.5,
"pair_count": 2
},
{
"spacing_mm": 33.2641,
"pair_count": 2
},
{
"spacing_mm": 22.5056,
"pair_count": 2
},
{
"spacing_mm": 33.6341,
"pair_count": 2
},
{
"spacing_mm": 38.9711,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
0.0,
-30.0,
-30.0,
33.0,
30.0,
30.0
],
"volume_mm3": 24145.808587596,
"surface_area_mm2": 11893.247517607,
"solid_count": 1,
"face_count": 32,
"edge_count": 77,
"vertex_count": 48
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-30.0,
-30.0,
33.0,
30.0,
30.0
],
"volume_mm3": 24145.808587596,
"surface_area_mm2": 11893.247517607,
"solid_count": 1,
"face_count": 23,
"edge_count": 47,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 24145.808587596,
"actual": 24145.808587596,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 11893.247517607,
"actual": 11893.247517607,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-30.0,
-30.0,
33.0,
30.0,
30.0
],
"actual": [
0.0,
-30.0,
-30.0,
33.0,
30.0,
30.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 23,
"actual": 32,
"matches": false
},
"edge_count": {
"expected": 47,
"actual": 77,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 48,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}