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

1233 lines
26 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "195910",
"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": [
60.0,
0.0
]
},
{
"type": "line",
"start": [
60.0,
0.0
],
"end": [
60.0,
85.0
]
},
{
"type": "line",
"start": [
60.0,
85.0
],
"end": [
-0.0,
85.0
]
},
{
"type": "line",
"start": [
-0.0,
85.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-18.0,
10.0
],
"end": [
78.0,
10.0
]
},
{
"type": "line",
"start": [
78.0,
10.0
],
"end": [
78.0,
0.0
]
},
{
"type": "line",
"start": [
78.0,
0.0
],
"end": [
-18.0,
0.0
]
},
{
"type": "line",
"start": [
-18.0,
0.0
],
"end": [
-18.0,
10.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
17.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": [
30.0,
55.0
],
"radius_mm": 18.5
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
6.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": [
30.0,
55.0
],
"radius_mm": 18.5
}
},
{
"id": "sk_006",
"name": "草图15",
"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": "circles",
"items": [
{
"center": [
-45.0,
-6.0
],
"radius_mm": 3.0
},
{
"center": [
-15.0,
-6.0
],
"radius_mm": 3.0
}
]
}
},
{
"id": "sk_007",
"name": "草图16",
"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": [
-60.0,
25.0
],
"end": [
0.0,
25.0
]
},
{
"type": "line",
"start": [
0.0,
25.0
],
"end": [
0.0,
86.87113268
]
},
{
"type": "line",
"start": [
0.0,
86.87113268
],
"end": [
-60.0,
86.87113268
]
},
{
"type": "line",
"start": [
-60.0,
86.87113268
],
"end": [
-60.0,
25.0
]
}
]
}
]
}
},
{
"id": "sk_008",
"name": "草图17",
"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": [
6.0,
0.0
]
},
{
"type": "line",
"start": [
6.0,
0.0
],
"end": [
6.0,
25.0
]
},
{
"type": "line",
"start": [
6.0,
25.0
],
"end": [
0.0,
25.0
]
},
{
"type": "line",
"start": [
0.0,
25.0
],
"end": [
0.0,
0.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-60.0,
0.0
],
"end": [
-66.0,
-0.0
]
},
{
"type": "line",
"start": [
-66.0,
-0.0
],
"end": [
-66.0,
25.0
]
},
{
"type": "line",
"start": [
-66.0,
25.0
],
"end": [
-60.0,
25.0
]
},
{
"type": "line",
"start": [
-60.0,
25.0
],
"end": [
-60.0,
0.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": 17.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": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 12.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 11.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "圆角3",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 20.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"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_008",
"name": "M3 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 3.0,
"depth_mm": 17.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
8.5,
55.0,
0.0
]
},
{
"mm": [
51.5,
55.0,
0.0
]
},
{
"mm": [
30.0,
33.5,
0.0
]
},
{
"mm": [
30.0,
76.5,
0.0
]
}
],
"thread": {
"diameter_mm": 3.0,
"depth_mm": 17.0,
"class": "2B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "倒角5",
"atomic_id": "chamfer",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "M5 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 5.5,
"depth_mm": 17.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-65.0,
-6.0,
0.0
]
},
{
"mm": [
-30.0,
-6.0,
0.0
]
},
{
"mm": [
5.0,
-6.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 5.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_013",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"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": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "083d9b8b50823a0bfcfc8661276a4645e1fe532160d5e09355578b85a304bfa1",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
-1.0,
-2.7755575615628914e-17,
0.085,
0.017
]
},
"box": [
-2.0816681711721685e-17,
0.0,
0.017,
0.05999999999999999,
0.025,
0.017
],
"area": 0.0015
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_008"
},
{
"id": "f_012",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005",
"f_011"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_015",
"name": "M6 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_013",
"f_014"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
2.0,
-8.0,
0.0
]
},
{
"mm": [
58.0,
-8.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 15.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-45cd59971c451e5956764d5a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-18.0,
-12.0,
0.0,
78.0,
25.0,
0.0
],
"center_mm": [
30.0,
6.519588253,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-45cd59971c451e5956764d5a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-18.0,
-12.0,
0.0,
78.0,
25.0,
0.0
],
"center_mm": [
30.0,
6.519588253,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "195910.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.03934559209401487,
"volume": 3.934559209401487e-05,
"surface_area": 0.011268511484779066,
"center_of_mass": [
0.029999999999999995,
0.008028258372946242,
0.007727498013716029
],
"principal_moments": [
5.0021260075112665e-06,
2.0978319866440902e-05,
2.4312755244559034e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.018000000000000002,
-0.012000000000000002,
0.0,
0.07799999999999999,
0.025,
0.017
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M6 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAoAAAByAAAAcQAAAHAAAABvAAAAbgAAAGwAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "80799e33d662ed3e270818bc0c1aa1186607c8c0e50fd4817e9959f8f931e0fd",
"component": null,
"geometry": {
"box": [
-0.018,
-0.012,
0.0,
0.07799999999999999,
0.025,
0.017
],
"face_count": 27,
"edge_count": 48,
"vertex_count": 20
},
"stable_id": "80799e33d662ed3e270818bc0c1aa1186607c8c0e50fd4817e9959f8f931e0fd"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 39,
"surface_counts": {
"cone": 4,
"cylinder": 20,
"plane": 15
},
"axis_count": 24,
"repeat_spacings_mm": [
{
"spacing_mm": 15.0,
"pair_count": 2
},
{
"spacing_mm": 56.0,
"pair_count": 2
},
{
"spacing_mm": 57.9741,
"pair_count": 2
},
{
"spacing_mm": 33.6749,
"pair_count": 2
},
{
"spacing_mm": 53.0471,
"pair_count": 2
},
{
"spacing_mm": 70.6682,
"pair_count": 2
},
{
"spacing_mm": 42.5323,
"pair_count": 2
},
{
"spacing_mm": 32.7719,
"pair_count": 2
},
{
"spacing_mm": 20.7123,
"pair_count": 2
},
{
"spacing_mm": 45.9239,
"pair_count": 2
},
{
"spacing_mm": 65.4905,
"pair_count": 2
},
{
"spacing_mm": 33.2265,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-18.0,
-12.0,
0.0,
78.0,
25.0,
17.0
],
"volume_mm3": 39345.592094015,
"surface_area_mm2": 11268.511484779,
"solid_count": 1,
"face_count": 39,
"edge_count": 92,
"vertex_count": 60
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-18.0,
-12.0,
0.0,
78.0,
25.0,
17.0
],
"volume_mm3": 39345.592094015,
"surface_area_mm2": 11268.511484779,
"solid_count": 1,
"face_count": 27,
"edge_count": 48,
"vertex_count": 20
},
"comparisons": {
"volume_mm3": {
"expected": 39345.592094015,
"actual": 39345.592094015,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 11268.511484779,
"actual": 11268.511484779,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-18.0,
-12.0,
0.0,
78.0,
25.0,
17.0
],
"actual": [
-18.0,
-12.0,
0.0,
78.0,
25.0,
17.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 27,
"actual": 39,
"matches": false
},
"edge_count": {
"expected": 48,
"actual": 92,
"matches": false
},
"vertex_count": {
"expected": 20,
"actual": 60,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}