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

1282 lines
31 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "024675",
"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,
0.0
],
"end": [
25.0,
-2.876236976
]
},
{
"type": "line",
"start": [
25.0,
-2.876236976
],
"end": [
30.0,
-2.876236976
]
},
{
"type": "line",
"start": [
30.0,
-2.876236976
],
"end": [
30.0,
-5.876236976
]
},
{
"type": "line",
"start": [
30.0,
-5.876236976
],
"end": [
27.510009772,
-7.509253248
]
},
{
"type": "line",
"start": [
27.510009772,
-7.509253248
],
"end": [
12.489990228,
-7.509253248
]
},
{
"type": "line",
"start": [
12.489990228,
-7.509253248
],
"end": [
10.0,
-5.876236976
]
},
{
"type": "line",
"start": [
10.0,
-5.876236976
],
"end": [
10.0,
-2.876236976
]
},
{
"type": "line",
"start": [
10.0,
-2.876236976
],
"end": [
15.0,
-2.876236976
]
},
{
"type": "line",
"start": [
15.0,
-2.876236976
],
"end": [
15.0,
0.0
]
},
{
"type": "line",
"start": [
15.0,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-0.0,
-15.0
]
},
{
"type": "line",
"start": [
-0.0,
-15.0
],
"end": [
2.876236976,
-15.0
]
},
{
"type": "line",
"start": [
2.876236976,
-15.0
],
"end": [
2.876236976,
-10.0
]
},
{
"type": "line",
"start": [
2.876236976,
-10.0
],
"end": [
5.876236976,
-10.0
]
},
{
"type": "line",
"start": [
5.876236976,
-10.0
],
"end": [
7.509253248,
-12.489990228
]
},
{
"type": "line",
"start": [
7.509253248,
-12.489990228
],
"end": [
7.509253248,
-27.510009772
]
},
{
"type": "line",
"start": [
7.509253248,
-27.510009772
],
"end": [
5.876236976,
-30.0
]
},
{
"type": "line",
"start": [
5.876236976,
-30.0
],
"end": [
2.876236976,
-30.0
]
},
{
"type": "line",
"start": [
2.876236976,
-30.0
],
"end": [
2.876236976,
-25.0
]
},
{
"type": "line",
"start": [
2.876236976,
-25.0
],
"end": [
-0.0,
-25.0
]
},
{
"type": "line",
"start": [
-0.0,
-25.0
],
"end": [
0.0,
-40.0
]
},
{
"type": "line",
"start": [
0.0,
-40.0
],
"end": [
15.0,
-40.0
]
},
{
"type": "line",
"start": [
15.0,
-40.0
],
"end": [
15.0,
-37.123763024
]
},
{
"type": "line",
"start": [
15.0,
-37.123763024
],
"end": [
10.0,
-37.123763024
]
},
{
"type": "line",
"start": [
10.0,
-37.123763024
],
"end": [
10.0,
-34.123763024
]
},
{
"type": "line",
"start": [
10.0,
-34.123763024
],
"end": [
12.489990228,
-32.490746752
]
},
{
"type": "line",
"start": [
12.489990228,
-32.490746752
],
"end": [
27.510009772,
-32.490746752
]
},
{
"type": "line",
"start": [
27.510009772,
-32.490746752
],
"end": [
30.0,
-34.123763024
]
},
{
"type": "line",
"start": [
30.0,
-34.123763024
],
"end": [
30.0,
-37.123763024
]
},
{
"type": "line",
"start": [
30.0,
-37.123763024
],
"end": [
25.0,
-37.123763024
]
},
{
"type": "line",
"start": [
25.0,
-37.123763024
],
"end": [
25.0,
-40.0
]
},
{
"type": "line",
"start": [
25.0,
-40.0
],
"end": [
40.0,
-40.0
]
},
{
"type": "line",
"start": [
40.0,
-40.0
],
"end": [
40.0,
-25.0
]
},
{
"type": "line",
"start": [
40.0,
-25.0
],
"end": [
37.123763024,
-25.0
]
},
{
"type": "line",
"start": [
37.123763024,
-25.0
],
"end": [
37.123763024,
-30.0
]
},
{
"type": "line",
"start": [
37.123763024,
-30.0
],
"end": [
34.123763024,
-30.0
]
},
{
"type": "line",
"start": [
34.123763024,
-30.0
],
"end": [
32.490746752,
-27.510009772
]
},
{
"type": "line",
"start": [
32.490746752,
-27.510009772
],
"end": [
32.490746752,
-12.489990228
]
},
{
"type": "line",
"start": [
32.490746752,
-12.489990228
],
"end": [
34.123763024,
-10.0
]
},
{
"type": "line",
"start": [
34.123763024,
-10.0
],
"end": [
37.123763024,
-10.0
]
},
{
"type": "line",
"start": [
37.123763024,
-10.0
],
"end": [
37.123763024,
-15.0
]
},
{
"type": "line",
"start": [
37.123763024,
-15.0
],
"end": [
40.0,
-15.0
]
},
{
"type": "line",
"start": [
40.0,
-15.0
],
"end": [
40.0,
0.0
]
},
{
"type": "line",
"start": [
40.0,
0.0
],
"end": [
25.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
20.0,
7.646526175
],
"end": [
20.0,
-47.979979563
]
},
{
"type": "line",
"start": [
-2.488025245,
-20.0
],
"end": [
46.452267605,
-20.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
750.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": [
13.503771529,
-25.712913182
],
"end": [
18.30058629,
-28.482355476
],
"center": [
20.0,
-20.0
],
"radius_mm": 8.650916794,
"clockwise": false
},
{
"type": "line",
"start": [
18.30058629,
-28.482355476
],
"end": [
20.0,
-29.463512439
]
},
{
"type": "line",
"start": [
20.0,
-29.463512439
],
"end": [
21.69941371,
-28.482355476
]
},
{
"type": "arc",
"start": [
21.69941371,
-28.482355476
],
"end": [
26.496228471,
-25.712913182
],
"center": [
20.0,
-20.0
],
"radius_mm": 8.650916794,
"clockwise": false
},
{
"type": "line",
"start": [
26.496228471,
-25.712913182
],
"end": [
28.195642181,
-24.731756219
]
},
{
"type": "line",
"start": [
28.195642181,
-24.731756219
],
"end": [
28.195642181,
-22.769442293
]
},
{
"type": "arc",
"start": [
28.195642181,
-22.769442293
],
"end": [
28.195642181,
-17.230557707
],
"center": [
20.0,
-20.0
],
"radius_mm": 8.650916794,
"clockwise": false
},
{
"type": "line",
"start": [
28.195642181,
-17.230557707
],
"end": [
28.195642181,
-15.268243781
]
},
{
"type": "line",
"start": [
28.195642181,
-15.268243781
],
"end": [
26.496228471,
-14.287086818
]
},
{
"type": "arc",
"start": [
26.496228471,
-14.287086818
],
"end": [
21.69941371,
-11.517644524
],
"center": [
20.0,
-20.0
],
"radius_mm": 8.650916794,
"clockwise": false
},
{
"type": "line",
"start": [
21.69941371,
-11.517644524
],
"end": [
20.0,
-10.536487561
]
},
{
"type": "line",
"start": [
20.0,
-10.536487561
],
"end": [
18.30058629,
-11.517644524
]
},
{
"type": "arc",
"start": [
18.30058629,
-11.517644524
],
"end": [
13.503771529,
-14.287086818
],
"center": [
20.0,
-20.0
],
"radius_mm": 8.650916794,
"clockwise": false
},
{
"type": "line",
"start": [
13.503771529,
-14.287086818
],
"end": [
11.804357819,
-15.268243781
]
},
{
"type": "line",
"start": [
11.804357819,
-15.268243781
],
"end": [
11.804357819,
-17.230557707
]
},
{
"type": "arc",
"start": [
11.804357819,
-17.230557707
],
"end": [
11.804357819,
-22.769442293
],
"center": [
20.0,
-20.0
],
"radius_mm": 8.650916794,
"clockwise": false
},
{
"type": "line",
"start": [
11.804357819,
-22.769442293
],
"end": [
11.804357819,
-24.731756219
]
},
{
"type": "line",
"start": [
11.804357819,
-24.731756219
],
"end": [
13.503771529,
-25.712913182
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
5.0,
-5.0
],
"radius_mm": 3.0
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
5.0,
-35.0
],
"radius_mm": 3.0
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
35.0,
-35.0
],
"radius_mm": 3.0
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
35.0,
-5.0
],
"radius_mm": 3.0
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
20.0,
-20.0
],
"radius_mm": 8.195642181
},
{
"type": "line",
"start": [
20.0,
0.680869993
],
"end": [
20.0,
-43.520884768
]
},
{
"type": "line",
"start": [
7.509253248,
-20.0
],
"end": [
32.490746752,
-20.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": 750.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": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "024675.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.567667544655088,
"volume": 0.0005806176091315141,
"surface_area": 0.31843454711943003,
"center_of_mass": [
0.02,
-0.020000000000000018,
0.375
],
"principal_moments": [
0.0004751448493552979,
0.07372198858038494,
0.07372198858038494
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-2.5509618525927377e-18,
-0.04000000000000001,
0.0,
0.04000000000000001,
3.469446951953614e-18,
0.75
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
-2.5509618525927377e-18,
-0.04,
0.0,
0.04000000000000001,
1.734723475976807e-18,
0.75
],
"face_count": 72,
"edge_count": 206,
"vertex_count": 132
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 77,
"surface_counts": {
"cylinder": 15,
"plane": 62
},
"axis_count": 15,
"repeat_spacings_mm": [
{
"spacing_mm": 21.2132,
"pair_count": 4
},
{
"spacing_mm": 30.0,
"pair_count": 4
},
{
"spacing_mm": 42.4264,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-0.0,
-40.0,
0.0,
40.0,
0.0,
750.0
],
"volume_mm3": 580617.609131514,
"surface_area_mm2": 318434.54711943,
"solid_count": 1,
"face_count": 77,
"edge_count": 225,
"vertex_count": 150
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.0,
-40.0,
0.0,
40.0,
0.0,
750.0
],
"volume_mm3": 580617.609131514,
"surface_area_mm2": 318434.54711943,
"solid_count": 1,
"face_count": 72,
"edge_count": 206,
"vertex_count": 132
},
"comparisons": {
"volume_mm3": {
"expected": 580617.609131514,
"actual": 580617.609131514,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 318434.54711943,
"actual": 318434.54711943,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
-40.0,
0.0,
40.0,
0.0,
750.0
],
"actual": [
-0.0,
-40.0,
0.0,
40.0,
0.0,
750.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 72,
"actual": 77,
"matches": false
},
"edge_count": {
"expected": 206,
"actual": 225,
"matches": false
},
"vertex_count": {
"expected": 132,
"actual": 150,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}