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

1393 lines
30 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "055398",
"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": [
0.0,
0.0
],
"end": [
27.0,
0.0
]
},
{
"type": "line",
"start": [
27.0,
0.0
],
"end": [
27.0,
62.25
]
},
{
"type": "line",
"start": [
27.0,
62.25
],
"end": [
0.0,
62.25
]
},
{
"type": "line",
"start": [
0.0,
62.25
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图8",
"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": [
14.0,
0.0
],
"end": [
8.0,
-0.0
]
},
{
"type": "line",
"start": [
8.0,
-0.0
],
"end": [
8.0,
12.0
]
},
{
"type": "line",
"start": [
8.0,
12.0
],
"end": [
14.0,
12.0
]
},
{
"type": "line",
"start": [
14.0,
12.0
],
"end": [
14.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图9",
"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": [
-27.0,
43.75
],
"end": [
-25.5,
43.75
]
},
{
"type": "line",
"start": [
-25.5,
43.75
],
"end": [
-25.5,
60.75
]
},
{
"type": "line",
"start": [
-25.5,
60.75
],
"end": [
-27.0,
60.75
]
},
{
"type": "line",
"start": [
-27.0,
60.75
],
"end": [
-27.0,
43.75
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图10",
"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": [
-27.0,
0.0
],
"end": [
-20.0,
0.0
]
},
{
"type": "line",
"start": [
-20.0,
0.0
],
"end": [
-20.0,
38.0
]
},
{
"type": "line",
"start": [
-20.0,
38.0
],
"end": [
-27.0,
38.0
]
},
{
"type": "line",
"start": [
-27.0,
38.0
],
"end": [
-27.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_006",
"name": "草图11",
"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": [
0.0,
62.25
],
"end": [
-12.0,
62.25
]
},
{
"type": "line",
"start": [
-12.0,
62.25
],
"end": [
-12.0,
19.25
]
},
{
"type": "line",
"start": [
-12.0,
19.25
],
"end": [
0.0,
19.25
]
},
{
"type": "line",
"start": [
0.0,
19.25
],
"end": [
0.0,
62.25
]
}
]
}
]
}
},
{
"id": "sk_007",
"name": "草图16",
"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": [
-11.0,
12.0
],
"end": [
-14.0,
12.0
]
},
{
"type": "line",
"start": [
-14.0,
12.0
],
"end": [
-14.0,
38.0
]
},
{
"type": "line",
"start": [
-14.0,
38.0
],
"end": [
-11.0,
38.0
]
},
{
"type": "line",
"start": [
-11.0,
38.0
],
"end": [
-11.0,
12.0
]
}
]
}
]
}
},
{
"id": "sk_008",
"name": "草图19",
"role": "profile",
"workplane": {
"origin_mm": [
8.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": [
-11.5,
5.5
],
"end": [
-8.5,
5.5
],
"center": [
-10.0,
5.5
],
"radius_mm": 1.5,
"clockwise": false
},
{
"type": "line",
"start": [
-8.5,
5.5
],
"end": [
-8.5,
6.5
]
},
{
"type": "arc",
"start": [
-8.5,
6.5
],
"end": [
-11.5,
6.5
],
"center": [
-10.0,
6.5
],
"radius_mm": 1.5,
"clockwise": false
},
{
"type": "line",
"start": [
-11.5,
6.5
],
"end": [
-11.5,
5.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-10.0,
5.5
],
"end": [
-10.0,
6.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": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 14.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": "切除-拉伸7",
"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_006",
"name": "切除-拉伸8",
"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_004"
},
{
"id": "f_007",
"name": "切除-拉伸9",
"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_005"
},
{
"id": "f_011",
"name": "M3 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 3.4,
"depth_mm": 14.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-4.0,
6.0,
0.0
]
},
{
"mm": [
-16.0,
6.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 6.5,
"depth_mm": 3.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "切除-拉伸10",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_012",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_013",
"name": "切除-拉伸11",
"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": "deferred",
"sketch_id": "sk_007"
},
{
"id": "f_014",
"name": "大小mm 暗销孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"hole_type": "暗销孔",
"diameter_mm": 3.0,
"depth_mm": 5.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-10.0,
6.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_015",
"name": "切除-拉伸12",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_008"
},
{
"id": "f_009",
"name": "M2.5 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_008",
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 2.9,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
7.0,
46.25,
0.0
]
},
{
"mm": [
7.0,
58.25,
0.0
]
}
],
"counterbore": {
"diameter_mm": 5.5,
"depth_mm": 2.9
},
"host_face": {
"kind": "face",
"stable_id": "step-face-0e1f0063123c20601282f1e5",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
-0.0,
0.0,
27.0,
62.25,
0.0
],
"center_mm": [
14.754306696,
30.123370558,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-0e1f0063123c20601282f1e5",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
-0.0,
0.0,
27.0,
62.25,
0.0
],
"center_mm": [
14.754306696,
30.123370558,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_010",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_008",
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_016",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_008",
"f_013"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 14.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
16.0,
32.25,
0.0
]
},
{
"mm": [
16.0,
17.25,
0.0
]
},
{
"mm": [
20.0,
54.25,
0.0
]
},
{
"mm": [
20.0,
41.25,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 14.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-0e1f0063123c20601282f1e5",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
-0.0,
0.0,
27.0,
62.25,
0.0
],
"center_mm": [
14.754306696,
30.123370558,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-0e1f0063123c20601282f1e5",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
-0.0,
0.0,
27.0,
62.25,
0.0
],
"center_mm": [
14.754306696,
30.123370558,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_017",
"name": "大小mm 暗销孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_012"
],
"params": {
"hole_type": "暗销孔",
"diameter_mm": 3.0,
"depth_mm": 3.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-10.0,
-4.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "055398.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.06860132831714576,
"volume": 8.795042091941763e-06,
"surface_area": 0.004899866528213239,
"center_of_mass": [
0.015347740531765783,
0.03263512714814972,
0.005992356064767988
],
"principal_moments": [
2.4204592953310148e-06,
2.6123235378200645e-05,
2.678025375882399e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-6.938893903907228e-18,
-1.3716044150450332e-18,
0.0,
0.027,
0.06225,
0.014000000000000002
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "大小mm 暗销孔2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAwAAACOAAAAjQAAAIwAAACLAAAAigAAAIkAAACHAAAAhgAAAIUAAACEAAAAggAAAHAAAAA=",
"persist_reference_sha256": "c3af75856a97b7ce5c9a1da8a8a6087e91bc4885d7584c6fc1142493807e72d7",
"component": null,
"geometry": {
"box": [
-6.938893903907228e-18,
-1.3716044150450332e-18,
0.0,
0.027,
0.06225,
0.014000000000000002
],
"face_count": 47,
"edge_count": 98,
"vertex_count": 48
},
"stable_id": "c3af75856a97b7ce5c9a1da8a8a6087e91bc4885d7584c6fc1142493807e72d7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 64,
"surface_counts": {
"cone": 8,
"cylinder": 28,
"plane": 28
},
"axis_count": 36,
"repeat_spacings_mm": [
{
"spacing_mm": 6.7268,
"pair_count": 4
},
{
"spacing_mm": 9.3808,
"pair_count": 2
},
{
"spacing_mm": 7.8102,
"pair_count": 2
},
{
"spacing_mm": 6.7082,
"pair_count": 2
},
{
"spacing_mm": 0.5,
"pair_count": 2
},
{
"spacing_mm": 12.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-0.0,
-0.0,
0.0,
27.0,
62.25,
14.0
],
"volume_mm3": 8795.042091942,
"surface_area_mm2": 4899.866528213,
"solid_count": 1,
"face_count": 64,
"edge_count": 160,
"vertex_count": 104
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.0,
-0.0,
0.0,
27.0,
62.25,
14.0
],
"volume_mm3": 8795.042091942,
"surface_area_mm2": 4899.866528213,
"solid_count": 1,
"face_count": 47,
"edge_count": 98,
"vertex_count": 48
},
"comparisons": {
"volume_mm3": {
"expected": 8795.042091942,
"actual": 8795.042091942,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 4899.866528213,
"actual": 4899.866528213,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
-0.0,
0.0,
27.0,
62.25,
14.0
],
"actual": [
-0.0,
-0.0,
0.0,
27.0,
62.25,
14.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 47,
"actual": 64,
"matches": false
},
"edge_count": {
"expected": 98,
"actual": 160,
"matches": false
},
"vertex_count": {
"expected": 48,
"actual": 104,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}