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

1155 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "026940",
"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,
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": [
-5.25,
-66.0
],
"end": [
5.25,
-66.0
]
},
{
"type": "line",
"start": [
5.25,
-66.0
],
"end": [
5.25,
66.0
]
},
{
"type": "line",
"start": [
5.25,
66.0
],
"end": [
-5.25,
66.0
]
},
{
"type": "line",
"start": [
-5.25,
66.0
],
"end": [
-5.25,
-66.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-5.25,
-66.0
],
"end": [
5.25,
66.0
]
},
{
"type": "line",
"start": [
-5.25,
66.0
],
"end": [
5.25,
-66.0
]
}
]
}
},
{
"id": "sk_003",
"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": "line",
"start": [
-46.5,
17.5
],
"end": [
46.5,
17.5
]
},
{
"type": "line",
"start": [
46.5,
17.5
],
"end": [
46.5,
0.0
]
},
{
"type": "line",
"start": [
46.5,
0.0
],
"end": [
-46.5,
0.0
]
},
{
"type": "line",
"start": [
-46.5,
0.0
],
"end": [
-46.5,
17.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
16.070602315
]
}
]
}
},
{
"id": "sk_004",
"name": "草图8",
"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": [
5.25,
-66.0
],
"end": [
5.25,
66.0
]
},
{
"type": "line",
"start": [
5.25,
66.0
],
"end": [
-5.25,
66.0
]
},
{
"type": "line",
"start": [
-5.25,
66.0
],
"end": [
-5.25,
46.5
]
},
{
"type": "line",
"start": [
-5.25,
46.5
],
"end": [
-25.25,
46.5
]
},
{
"type": "line",
"start": [
-25.25,
46.5
],
"end": [
-25.25,
-46.5
]
},
{
"type": "line",
"start": [
-25.25,
-46.5
],
"end": [
-5.25,
-46.5
]
},
{
"type": "line",
"start": [
-5.25,
-46.5
],
"end": [
-5.25,
-66.0
]
},
{
"type": "line",
"start": [
-5.25,
-66.0
],
"end": [
5.25,
-66.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-51.75,
28.75
],
"end": [
-56.25,
28.75
],
"center": [
-54.0,
28.75
],
"radius_mm": 2.25,
"clockwise": false
},
{
"type": "line",
"start": [
-56.25,
28.75
],
"end": [
-56.25,
3.75
]
},
{
"type": "arc",
"start": [
-56.25,
3.75
],
"end": [
-51.75,
3.75
],
"center": [
-54.0,
3.75
],
"radius_mm": 2.25,
"clockwise": false
},
{
"type": "line",
"start": [
-51.75,
3.75
],
"end": [
-51.75,
28.75
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
56.25,
28.75
],
"end": [
51.75,
28.75
],
"center": [
54.0,
28.75
],
"radius_mm": 2.25,
"clockwise": false
},
{
"type": "line",
"start": [
51.75,
28.75
],
"end": [
51.75,
3.75
]
},
{
"type": "arc",
"start": [
51.75,
3.75
],
"end": [
56.25,
3.75
],
"center": [
54.0,
3.75
],
"radius_mm": 2.25,
"clockwise": false
},
{
"type": "line",
"start": [
56.25,
3.75
],
"end": [
56.25,
28.75
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-54.0,
28.75
],
"end": [
-54.0,
3.75
]
},
{
"type": "line",
"start": [
54.0,
28.75
],
"end": [
54.0,
3.75
]
},
{
"type": "line",
"start": [
-66.0,
16.25
],
"end": [
-5.128340633,
16.25
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
26.754972342
]
}
]
}
},
{
"id": "sk_006",
"name": "草图6",
"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": [
15.0,
22.0
],
"end": [
20.0,
17.0
],
"center": [
15.0,
17.0
],
"radius_mm": 5.0,
"clockwise": true
},
{
"type": "line",
"start": [
20.0,
17.0
],
"end": [
20.0,
-0.0
]
},
{
"type": "line",
"start": [
20.0,
-0.0
],
"end": [
-20.0,
-0.0
]
},
{
"type": "line",
"start": [
-20.0,
-0.0
],
"end": [
-20.0,
17.0
]
},
{
"type": "arc",
"start": [
-20.0,
17.0
],
"end": [
-15.0,
22.0
],
"center": [
-15.0,
17.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
-15.0,
22.0
],
"end": [
15.0,
22.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
30.150781692
]
}
]
}
}
]
},
"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_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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 17.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 20.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 15.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "切除-拉伸1",
"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_009",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"radius_mm": 2.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_009"
],
"params": {
"distance_mm": 49.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_011",
"name": "倒角3",
"atomic_id": "chamfer",
"depends_on": [
"f_006",
"f_005"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "圆角2",
"atomic_id": "fillet",
"depends_on": [
"f_004",
"f_010"
],
"params": {
"radius_mm": 5.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "026940.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0757440689977853,
"volume": 7.57440689977853e-05,
"surface_area": 0.016952874598059706,
"center_of_mass": [
-0.008628172390264864,
0.018190839666936336,
-7.480728980733933e-12
],
"principal_moments": [
1.2922450925292442e-05,
0.00010293962905061826,
0.00010387005906962046
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.025249999999999998,
-8.673617379884035e-19,
-0.066,
0.005250000000000002,
0.0325,
0.066
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "圆角2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAAB1AAAAcwAAAHcAAABuAAAAagAAAA==",
"persist_reference_sha256": "5a5c2954074026d2f0474406f3f79d67450984ddeb90ea8a4ed2a31cc879efa5",
"component": null,
"geometry": {
"box": [
-0.025249999999999998,
-8.673617379884035e-19,
-0.066,
0.005250000000000002,
0.0325,
0.066
],
"face_count": 43,
"edge_count": 115,
"vertex_count": 74
},
"stable_id": "5a5c2954074026d2f0474406f3f79d67450984ddeb90ea8a4ed2a31cc879efa5"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 43,
"surface_counts": {
"cone": 4,
"cylinder": 12,
"plane": 27
},
"axis_count": 16,
"repeat_spacings_mm": [
{
"spacing_mm": 41.7829,
"pair_count": 4
},
{
"spacing_mm": 124.7791,
"pair_count": 4
},
{
"spacing_mm": 32.1452,
"pair_count": 4
},
{
"spacing_mm": 121.8906,
"pair_count": 4
},
{
"spacing_mm": 128.0,
"pair_count": 4
},
{
"spacing_mm": 131.2395,
"pair_count": 4
},
{
"spacing_mm": 28.9795,
"pair_count": 4
},
{
"spacing_mm": 25.0,
"pair_count": 2
},
{
"spacing_mm": 108.0,
"pair_count": 2
},
{
"spacing_mm": 110.8558,
"pair_count": 2
},
{
"spacing_mm": 27.2144,
"pair_count": 2
},
{
"spacing_mm": 120.684,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-25.2500001,
-1e-07,
-66.0,
5.2500001,
32.5,
66.0
],
"volume_mm3": 75744.070445526,
"surface_area_mm2": 16952.87455251,
"solid_count": 1,
"face_count": 43,
"edge_count": 115,
"vertex_count": 74
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-25.25,
-0.0,
-66.0,
5.25,
32.5,
66.0
],
"volume_mm3": 75744.068997785,
"surface_area_mm2": 16952.87459806,
"solid_count": 1,
"face_count": 43,
"edge_count": 115,
"vertex_count": 74
},
"comparisons": {
"volume_mm3": {
"expected": 75744.068997785,
"actual": 75744.070445526,
"absolute_delta": 0.0014477410004474223,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 16952.87459806,
"actual": 16952.87455251,
"absolute_delta": 4.555000123218633e-05,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-25.25,
-0.0,
-66.0,
5.25,
32.5,
66.0
],
"actual": [
-25.2500001,
-1e-07,
-66.0,
5.2500001,
32.5,
66.0
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 43,
"actual": 43,
"matches": true
},
"edge_count": {
"expected": 115,
"actual": 115,
"matches": true
},
"vertex_count": {
"expected": 74,
"actual": 74,
"matches": true
}
},
"numeric_geometry_match": true,
"topology_counts_match": true
}
},
"source_has_modeling_features": true
}
}