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

964 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "131040",
"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": "arc",
"start": [
-23.133974596,
52.0
],
"end": [
-23.133974596,
51.0
],
"center": [
-24.0,
51.5
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-23.133974596,
51.0
],
"end": [
-1.0,
51.0
]
},
{
"type": "line",
"start": [
-1.0,
51.0
],
"end": [
-1.0,
1.0
]
},
{
"type": "line",
"start": [
-1.0,
1.0
],
"end": [
-23.133974596,
1.0
]
},
{
"type": "arc",
"start": [
-23.133974596,
1.0
],
"end": [
-23.133974596,
-0.0
],
"center": [
-24.0,
0.5
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-23.133974596,
-0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
51.0
]
},
{
"type": "line",
"start": [
0.0,
51.0
],
"end": [
24.0,
51.0
]
},
{
"type": "line",
"start": [
24.0,
51.0
],
"end": [
24.0,
52.0
]
},
{
"type": "arc",
"start": [
24.0,
52.0
],
"end": [
22.0,
52.0
],
"center": [
23.0,
52.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
22.0,
52.0
],
"end": [
6.5,
52.0
]
},
{
"type": "arc",
"start": [
6.5,
52.0
],
"end": [
5.5,
52.0
],
"center": [
6.0,
52.0
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
5.5,
52.0
],
"end": [
5.0,
52.0
]
},
{
"type": "arc",
"start": [
5.0,
52.0
],
"end": [
4.0,
52.0
],
"center": [
4.5,
52.0
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
4.0,
52.0
],
"end": [
3.5,
52.0
]
},
{
"type": "arc",
"start": [
3.5,
52.0
],
"end": [
2.5,
52.0
],
"center": [
3.0,
52.0
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
2.5,
52.0
],
"end": [
2.0,
52.0
]
},
{
"type": "arc",
"start": [
2.0,
52.0
],
"end": [
1.0,
52.0
],
"center": [
1.5,
52.0
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
1.0,
52.0
],
"end": [
0.5,
52.0
]
},
{
"type": "arc",
"start": [
0.5,
52.0
],
"end": [
-0.5,
52.0
],
"center": [
0.0,
52.0
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
-0.5,
52.0
],
"end": [
-1.0,
52.0
]
},
{
"type": "arc",
"start": [
-1.0,
52.0
],
"end": [
-2.0,
52.0
],
"center": [
-1.5,
52.0
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
-2.0,
52.0
],
"end": [
-2.5,
52.0
]
},
{
"type": "arc",
"start": [
-2.5,
52.0
],
"end": [
-3.5,
52.0
],
"center": [
-3.0,
52.0
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
-3.5,
52.0
],
"end": [
-4.0,
52.0
]
},
{
"type": "arc",
"start": [
-4.0,
52.0
],
"end": [
-5.0,
52.0
],
"center": [
-4.5,
52.0
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
-5.0,
52.0
],
"end": [
-5.5,
52.0
]
},
{
"type": "arc",
"start": [
-5.5,
52.0
],
"end": [
-6.5,
52.0
],
"center": [
-6.0,
52.0
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
-6.5,
52.0
],
"end": [
-23.133974596,
52.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
51.0
],
"end": [
0.0,
53.8331738
]
}
]
}
},
{
"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": [
-25.0,
1880.0
],
"end": [
-25.0,
1831.0
]
},
{
"type": "line",
"start": [
-25.0,
1831.0
],
"end": [
24.0,
1880.0
]
},
{
"type": "line",
"start": [
24.0,
1880.0
],
"end": [
-25.0,
1880.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-25.0,
49.0
],
"end": [
24.0,
0.0
]
},
{
"type": "line",
"start": [
24.0,
0.0
],
"end": [
-25.0,
0.0
]
},
{
"type": "line",
"start": [
-25.0,
0.0
],
"end": [
-25.0,
49.0
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
24.0,
0.0
],
"end": [
24.0,
24.0
]
},
{
"type": "line",
"start": [
24.0,
24.0
],
"end": [
-0.0,
24.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
24.0,
940.0
],
"end": [
-219.516914988,
940.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": 1880.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_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
}
],
"meta": {
"unit": "mm",
"source": "131040.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.24006409854484048,
"volume": 0.00024006409854484048,
"surface_area": 0.4702321925856284,
"center_of_mass": [
-0.002776950674886184,
0.031760381049282305,
0.9399999742067786
],
"principal_moments": [
0.00013764332775867852,
0.06677613559748971,
0.06686363817651614
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.025,
-0.0005000000000000037,
0.0,
0.024,
0.053,
1.88
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAAByAAAAagAAAA==",
"persist_reference_sha256": "3148b62639b55fc2d388141fb4f7e83c451d5fcc5267c02e8ec51eee6df75f63",
"component": null,
"geometry": {
"box": [
-0.025,
-0.0005000000000000037,
0.0,
0.024,
0.053,
1.88
],
"face_count": 31,
"edge_count": 87,
"vertex_count": 58
},
"stable_id": "3148b62639b55fc2d388141fb4f7e83c451d5fcc5267c02e8ec51eee6df75f63"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 33,
"surface_counts": {
"cylinder": 14,
"plane": 19
},
"axis_count": 14,
"repeat_spacings_mm": [
{
"spacing_mm": 1.5,
"pair_count": 8
},
{
"spacing_mm": 3.0,
"pair_count": 7
},
{
"spacing_mm": 4.5,
"pair_count": 6
},
{
"spacing_mm": 6.0,
"pair_count": 5
},
{
"spacing_mm": 7.5,
"pair_count": 4
},
{
"spacing_mm": 9.0,
"pair_count": 3
},
{
"spacing_mm": 10.5,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-25.0000001,
-0.5000001,
-1e-07,
24.0000001,
53.0000001,
1880.0000001
],
"volume_mm3": 240097.450500504,
"surface_area_mm2": 470228.117693835,
"solid_count": 1,
"face_count": 33,
"edge_count": 93,
"vertex_count": 62
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-25.0,
-0.5,
0.0,
24.0,
53.0,
1880.0
],
"volume_mm3": 240064.09854484,
"surface_area_mm2": 470232.192585628,
"solid_count": 1,
"face_count": 31,
"edge_count": 87,
"vertex_count": 58
},
"comparisons": {
"volume_mm3": {
"expected": 240064.09854484,
"actual": 240097.450500504,
"absolute_delta": 33.351955663994886,
"within_tolerance": false
},
"surface_area_mm2": {
"expected": 470232.192585628,
"actual": 470228.117693835,
"absolute_delta": 4.074891793017741,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-25.0,
-0.5,
0.0,
24.0,
53.0,
1880.0
],
"actual": [
-25.0000001,
-0.5000001,
-1e-07,
24.0000001,
53.0000001,
1880.0000001
],
"max_absolute_delta": 1.0000007932831068e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 31,
"actual": 33,
"matches": false
},
"edge_count": {
"expected": 87,
"actual": 93,
"matches": false
},
"vertex_count": {
"expected": 58,
"actual": 62,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}