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

1368 lines
30 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "046760",
"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": [
80.0,
0.0
]
},
{
"type": "line",
"start": [
80.0,
0.0
],
"end": [
80.0,
100.0
]
},
{
"type": "line",
"start": [
80.0,
100.0
],
"end": [
0.0,
100.0
]
},
{
"type": "line",
"start": [
0.0,
100.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图7",
"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": [
3e-09,
-10.0
],
"end": [
20.000000003,
-10.0
]
},
{
"type": "line",
"start": [
20.000000003,
-10.0
],
"end": [
20.000000003,
-8.0
]
},
{
"type": "line",
"start": [
20.000000003,
-8.0
],
"end": [
3e-09,
-8.0
]
},
{
"type": "line",
"start": [
3e-09,
-8.0
],
"end": [
3e-09,
-10.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
60.0,
-10.0
],
"end": [
80.0,
-10.0
]
},
{
"type": "line",
"start": [
80.0,
-10.0
],
"end": [
80.0,
-8.0
]
},
{
"type": "line",
"start": [
80.0,
-8.0
],
"end": [
60.0,
-8.0
]
},
{
"type": "line",
"start": [
60.0,
-8.0
],
"end": [
60.0,
-10.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图8",
"role": "profile",
"workplane": {
"origin_mm": [
-10.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": [
-60.0,
30.0
],
"radius_mm": 1.0
},
{
"center": [
-20.000000003,
30.0
],
"radius_mm": 1.500000003
}
]
}
},
{
"id": "sk_005",
"name": "草图9",
"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": [
0.0,
100.0
],
"end": [
2.0,
100.0
]
},
{
"type": "line",
"start": [
2.0,
100.0
],
"end": [
2.0,
62.0
]
},
{
"type": "line",
"start": [
2.0,
62.0
],
"end": [
0.0,
62.0
]
},
{
"type": "line",
"start": [
0.0,
62.0
],
"end": [
0.0,
100.0
]
}
]
}
]
}
},
{
"id": "sk_006",
"name": "草图14",
"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": [
50.4,
11.0
],
"end": [
33.4,
11.0
]
},
{
"type": "line",
"start": [
33.4,
11.0
],
"end": [
33.4,
5.0
]
},
{
"type": "line",
"start": [
33.4,
5.0
],
"end": [
36.4,
5.0
]
},
{
"type": "line",
"start": [
36.4,
5.0
],
"end": [
36.4,
0.0
]
},
{
"type": "line",
"start": [
36.4,
0.0
],
"end": [
47.4,
0.0
]
},
{
"type": "line",
"start": [
47.4,
0.0
],
"end": [
47.4,
5.0
]
},
{
"type": "line",
"start": [
47.4,
5.0
],
"end": [
50.4,
5.0
]
},
{
"type": "line",
"start": [
50.4,
5.0
],
"end": [
50.4,
11.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
41.9,
10.0
],
"end": [
41.9,
6.183495068
]
}
]
}
},
{
"id": "sk_007",
"name": "草图21",
"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": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
77.5,
72.45
],
"end": [
80.0,
72.45
]
},
{
"type": "line",
"start": [
80.0,
72.45
],
"end": [
80.0,
66.45
]
},
{
"type": "line",
"start": [
80.0,
66.45
],
"end": [
77.5,
66.45
]
},
{
"type": "line",
"start": [
77.5,
66.45
],
"end": [
77.5,
72.45
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
77.5,
62.45
],
"end": [
80.0,
62.45
]
},
{
"type": "line",
"start": [
80.0,
62.45
],
"end": [
80.0,
56.45
]
},
{
"type": "line",
"start": [
80.0,
56.45
],
"end": [
77.5,
56.45
]
},
{
"type": "line",
"start": [
77.5,
56.45
],
"end": [
77.5,
62.45
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
2.500000003,
72.449999995
],
"end": [
-0.0,
72.449999995
]
},
{
"type": "line",
"start": [
-0.0,
72.449999995
],
"end": [
-0.0,
66.449999995
]
},
{
"type": "line",
"start": [
-0.0,
66.449999995
],
"end": [
2.500000003,
66.449999995
]
},
{
"type": "line",
"start": [
2.500000003,
66.449999995
],
"end": [
2.500000003,
72.449999995
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
2.500000003,
62.449999995
],
"end": [
-0.0,
62.449999995
]
},
{
"type": "line",
"start": [
-0.0,
62.449999995
],
"end": [
-0.0,
56.449999995
]
},
{
"type": "line",
"start": [
-0.0,
56.449999995
],
"end": [
2.500000003,
56.449999995
]
},
{
"type": "line",
"start": [
2.500000003,
56.449999995
],
"end": [
2.500000003,
62.449999995
]
}
]
}
]
}
}
]
},
"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": 10.0,
"reverse": true,
"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": "打孔尺寸根据内六角圆柱头螺钉的类型0",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 3.4,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
2.500000003,
59.449999995,
0.0
]
},
{
"mm": [
2.500000003,
69.449999995,
0.0
]
},
{
"mm": [
17.500000003,
69.449999995,
0.0
]
},
{
"mm": [
17.500000003,
59.449999995,
0.0
]
},
{
"mm": [
77.5,
69.45,
0.0
]
},
{
"mm": [
77.5,
59.45,
0.0
]
},
{
"mm": [
62.5,
59.45,
0.0
]
},
{
"mm": [
62.5,
69.45,
0.0
]
}
],
"counterbore": {
"diameter_mm": 6.0,
"depth_mm": 3.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 30.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "切除-拉伸3",
"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_010",
"name": "切除-拉伸4",
"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_006"
},
{
"id": "f_011",
"name": "M3 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 3.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-6.0,
95.0,
0.0
]
},
{
"mm": [
-6.0,
75.0,
0.0
]
},
{
"mm": [
-6.0,
55.0,
0.0
]
}
],
"thread": {
"diameter_mm": 3.0,
"depth_mm": 6.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_012",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_008"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 3.3,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
42.0,
90.0,
0.0
]
},
{
"mm": [
66.0,
90.0,
0.0
]
},
{
"mm": [
42.0,
67.0,
0.0
]
}
],
"thread": {
"diameter_mm": 3.3,
"depth_mm": 8.0,
"class": "2B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_013",
"name": "切除-拉伸5",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "deferred",
"sketch_id": "sk_007"
}
],
"meta": {
"unit": "mm",
"source": "046760.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.06857902777617017,
"volume": 6.857902777617017e-05,
"surface_area": 0.020464889167382646,
"center_of_mass": [
0.03998838317558339,
0.04914960006032154,
-0.005220786256963376
],
"principal_moments": [
3.641781723399913e-05,
5.3786846797302387e-05,
8.924763594209383e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-1.7347234759396586e-18,
0.0,
-0.01,
0.08,
0.1,
0.0
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸5",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAkAAACBAAAAfwAAAH4AAAB9AAAAfAAAAHsAAAB6AAAAeQAAAGUAAAA=",
"persist_reference_sha256": "edddc35f043850ab85ec80f707a63c7f4852ad68334671050d3b00dbbc18eab0",
"component": null,
"geometry": {
"box": [
-1.7347234759396586e-18,
0.0,
-0.01,
0.08,
0.1,
0.0
],
"face_count": 71,
"edge_count": 172,
"vertex_count": 95
},
"stable_id": "edddc35f043850ab85ec80f707a63c7f4852ad68334671050d3b00dbbc18eab0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 95,
"surface_counts": {
"cone": 6,
"cylinder": 45,
"plane": 44
},
"axis_count": 51,
"repeat_spacings_mm": [
{
"spacing_mm": 20.0,
"pair_count": 4
},
{
"spacing_mm": 21.36,
"pair_count": 4
},
{
"spacing_mm": 10.0,
"pair_count": 4
},
{
"spacing_mm": 18.0278,
"pair_count": 4
},
{
"spacing_mm": 15.0,
"pair_count": 4
},
{
"spacing_mm": 60.0,
"pair_count": 4
},
{
"spacing_mm": 60.8276,
"pair_count": 4
},
{
"spacing_mm": 7.5,
"pair_count": 3
},
{
"spacing_mm": 40.0,
"pair_count": 3
},
{
"spacing_mm": 40.6971,
"pair_count": 2
},
{
"spacing_mm": 35.6406,
"pair_count": 2
},
{
"spacing_mm": 64.7122,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-0.0,
0.0,
-10.0,
80.0,
100.0,
0.0
],
"volume_mm3": 68579.027776314,
"surface_area_mm2": 20464.88916739,
"solid_count": 1,
"face_count": 95,
"edge_count": 261,
"vertex_count": 173
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.0,
0.0,
-10.0,
80.0,
100.0,
0.0
],
"volume_mm3": 68579.02777617,
"surface_area_mm2": 20464.889167383,
"solid_count": 1,
"face_count": 71,
"edge_count": 172,
"vertex_count": 95
},
"comparisons": {
"volume_mm3": {
"expected": 68579.02777617,
"actual": 68579.027776314,
"absolute_delta": 1.4400575309991837e-07,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 20464.889167383,
"actual": 20464.88916739,
"absolute_delta": 6.999471224844456e-09,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
0.0,
-10.0,
80.0,
100.0,
0.0
],
"actual": [
-0.0,
0.0,
-10.0,
80.0,
100.0,
0.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 71,
"actual": 95,
"matches": false
},
"edge_count": {
"expected": 172,
"actual": 261,
"matches": false
},
"vertex_count": {
"expected": 95,
"actual": 173,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}