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

540 lines
12 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "144781",
"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,
18.402130708
],
"end": [
25.0,
18.402130708
]
},
{
"type": "line",
"start": [
25.0,
18.402130708
],
"end": [
25.0,
0.0
]
},
{
"type": "line",
"start": [
25.0,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-25.0,
-5.313914042
]
},
{
"type": "line",
"start": [
-25.0,
-5.313914042
],
"end": [
-25.0,
13.088216666
]
},
{
"type": "line",
"start": [
-25.0,
13.088216666
],
"end": [
-0.0,
18.402130708
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-0.0,
18.402130708
]
}
]
}
},
{
"id": "sk_003",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
4.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": [
20.0,
9.201065354
],
"radius_mm": 2.25
},
{
"center": [
10.0,
9.201065354
],
"radius_mm": 2.25
},
{
"center": [
-20.0,
4.94993412
],
"radius_mm": 2.25
},
{
"center": [
-10.218523993,
7.029051029
],
"radius_mm": 2.25
}
]
}
}
]
},
"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": 4.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": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 3.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_006",
"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": "supported",
"sketch_id": "sk_003"
}
],
"meta": {
"unit": "mm",
"source": "144781.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.026638550701787424,
"volume": 3.393445949272283e-06,
"surface_area": 0.0024529286854608097,
"center_of_mass": [
1.5230714732098538e-05,
0.007925213370026609,
0.002
],
"principal_moments": [
8.342565286766638e-07,
5.4679698304214845e-06,
6.2311902238933965e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.025,
-0.004609222572145433,
0.0,
0.025,
0.018402130707570533,
0.004
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABrAAAAagAAAA==",
"persist_reference_sha256": "3a27ca3aaad56ef866f3b65e70e3f1214ca09973643e9534c8ef1bc183826b68",
"component": null,
"geometry": {
"box": [
-0.025,
-0.004609222572145433,
0.0,
0.025,
0.018402130707570533,
0.004
],
"face_count": 16,
"edge_count": 38,
"vertex_count": 20
},
"stable_id": "3a27ca3aaad56ef866f3b65e70e3f1214ca09973643e9534c8ef1bc183826b68"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 20,
"surface_counts": {
"cylinder": 12,
"plane": 8
},
"axis_count": 12,
"repeat_spacings_mm": [
{
"spacing_mm": 10.0,
"pair_count": 2
},
{
"spacing_mm": 14.0873,
"pair_count": 2
},
{
"spacing_mm": 7.6455,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-25.0,
-4.609222572,
0.0,
25.0,
18.402130708,
4.0
],
"volume_mm3": 3393.445949272,
"surface_area_mm2": 2452.928685461,
"solid_count": 1,
"face_count": 20,
"edge_count": 54,
"vertex_count": 36
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-25.0,
-4.609222572,
0.0,
25.0,
18.402130708,
4.0
],
"volume_mm3": 3393.445949272,
"surface_area_mm2": 2452.928685461,
"solid_count": 1,
"face_count": 16,
"edge_count": 38,
"vertex_count": 20
},
"comparisons": {
"volume_mm3": {
"expected": 3393.445949272,
"actual": 3393.445949272,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 2452.928685461,
"actual": 2452.928685461,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-25.0,
-4.609222572,
0.0,
25.0,
18.402130708,
4.0
],
"actual": [
-25.0,
-4.609222572,
0.0,
25.0,
18.402130708,
4.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 16,
"actual": 20,
"matches": false
},
"edge_count": {
"expected": 38,
"actual": 54,
"matches": false
},
"vertex_count": {
"expected": 20,
"actual": 36,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}