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

1112 lines
27 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "026299",
"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": [
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": [
-7.499,
-13.999321403
],
"end": [
-6.499,
-14.999321403
],
"center": [
-6.499,
-13.999321403
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-6.499,
-14.999321403
],
"end": [
-3.249,
-14.999321403
]
},
{
"type": "line",
"start": [
-3.249,
-14.999321403
],
"end": [
-3.249,
-12.599321403
]
},
{
"type": "line",
"start": [
-3.249,
-12.599321403
],
"end": [
-5.299,
-12.599321403
]
},
{
"type": "line",
"start": [
-5.299,
-12.599321403
],
"end": [
-5.299,
-6.599321403
]
},
{
"type": "line",
"start": [
-5.299,
-6.599321403
],
"end": [
-3.249,
-6.599321403
]
},
{
"type": "line",
"start": [
-3.249,
-6.599321403
],
"end": [
-3.249,
-4.699321403
]
},
{
"type": "line",
"start": [
-3.249,
-4.699321403
],
"end": [
3.251,
-4.699321403
]
},
{
"type": "line",
"start": [
3.251,
-4.699321403
],
"end": [
3.251,
-6.599321403
]
},
{
"type": "line",
"start": [
3.251,
-6.599321403
],
"end": [
5.301,
-6.599321403
]
},
{
"type": "line",
"start": [
5.301,
-6.599321403
],
"end": [
5.301,
-12.599321403
]
},
{
"type": "line",
"start": [
5.301,
-12.599321403
],
"end": [
3.251,
-12.599321403
]
},
{
"type": "line",
"start": [
3.251,
-12.599321403
],
"end": [
3.251,
-14.999321403
]
},
{
"type": "line",
"start": [
3.251,
-14.999321403
],
"end": [
6.501,
-14.999321403
]
},
{
"type": "arc",
"start": [
6.501,
-14.999321403
],
"end": [
7.501,
-13.999321403
],
"center": [
6.501,
-13.999321403
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
7.501,
-13.999321403
],
"end": [
7.501,
14.000678597
]
},
{
"type": "arc",
"start": [
7.501,
14.000678597
],
"end": [
6.501,
15.000678597
],
"center": [
6.501,
14.000678597
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
6.501,
15.000678597
],
"end": [
3.251,
15.000678597
]
},
{
"type": "line",
"start": [
3.251,
15.000678597
],
"end": [
3.251,
12.600678597
]
},
{
"type": "line",
"start": [
3.251,
12.600678597
],
"end": [
5.301,
12.600678597
]
},
{
"type": "line",
"start": [
5.301,
12.600678597
],
"end": [
5.301,
6.600678597
]
},
{
"type": "line",
"start": [
5.301,
6.600678597
],
"end": [
3.251,
6.600678597
]
},
{
"type": "line",
"start": [
3.251,
6.600678597
],
"end": [
3.251,
4.700678597
]
},
{
"type": "line",
"start": [
3.251,
4.700678597
],
"end": [
-3.249,
4.700678597
]
},
{
"type": "line",
"start": [
-3.249,
4.700678597
],
"end": [
-3.249,
6.600678597
]
},
{
"type": "line",
"start": [
-3.249,
6.600678597
],
"end": [
-5.299,
6.600678597
]
},
{
"type": "line",
"start": [
-5.299,
6.600678597
],
"end": [
-5.299,
12.600678597
]
},
{
"type": "line",
"start": [
-5.299,
12.600678597
],
"end": [
-3.249,
12.600678597
]
},
{
"type": "line",
"start": [
-3.249,
12.600678597
],
"end": [
-3.249,
15.000678597
]
},
{
"type": "line",
"start": [
-3.249,
15.000678597
],
"end": [
-6.499,
15.000678597
]
},
{
"type": "arc",
"start": [
-6.499,
15.000678597
],
"end": [
-7.499,
14.000678597
],
"center": [
-6.499,
14.000678597
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-7.499,
14.000678597
],
"end": [
-7.499,
-13.999321403
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
2.217,
-1.155321403
],
"end": [
2.217,
1.156678596
],
"center": [
0.000321404,
0.000678597
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
2.217,
1.156678596
],
"end": [
3.359,
2.298678597
]
},
{
"type": "line",
"start": [
3.359,
2.298678597
],
"end": [
2.299,
3.358678597
]
},
{
"type": "line",
"start": [
2.299,
3.358678597
],
"end": [
1.157,
2.216678596
]
},
{
"type": "arc",
"start": [
1.157,
2.216678596
],
"end": [
-1.155,
2.216678596
],
"center": [
0.001,
0.0
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-1.155,
2.216678596
],
"end": [
-2.2975,
3.359178597
]
},
{
"type": "line",
"start": [
-2.2975,
3.359178597
],
"end": [
-3.358,
2.298678597
]
},
{
"type": "line",
"start": [
-3.358,
2.298678597
],
"end": [
-2.216,
1.156678596
]
},
{
"type": "arc",
"start": [
-2.216,
1.156678596
],
"end": [
-2.216,
-1.155321403
],
"center": [
0.000678597,
0.000678597
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-2.216,
-1.155321403
],
"end": [
-3.3585,
-2.297821403
]
},
{
"type": "line",
"start": [
-3.3585,
-2.297821403
],
"end": [
-2.2975,
-3.358821403
]
},
{
"type": "line",
"start": [
-2.2975,
-3.358821403
],
"end": [
-1.155,
-2.216321403
]
},
{
"type": "arc",
"start": [
-1.155,
-2.216321403
],
"end": [
1.157,
-2.216321403
],
"center": [
0.001,
0.000357193
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
1.157,
-2.216321403
],
"end": [
2.299,
-3.358321403
]
},
{
"type": "line",
"start": [
2.299,
-3.358321403
],
"end": [
3.3595,
-2.297821403
]
},
{
"type": "line",
"start": [
3.3595,
-2.297821403
],
"end": [
2.217,
-1.155321403
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
7.499,
-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": [
-505.75,
15.000678597
],
"end": [
-475.75,
-14.999321403
]
},
{
"type": "line",
"start": [
-475.75,
-14.999321403
],
"end": [
-505.75,
-14.999321403
]
},
{
"type": "line",
"start": [
-505.75,
-14.999321403
],
"end": [
-505.75,
15.000678597
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
505.75,
15.000678597
],
"end": [
475.75,
-14.999321403
]
},
{
"type": "line",
"start": [
475.75,
-14.999321403
],
"end": [
505.75,
-14.999321403
]
},
{
"type": "line",
"start": [
505.75,
-14.999321403
],
"end": [
505.75,
15.000678597
]
}
]
}
]
}
}
]
},
"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_003"
],
"params": {
"distance_mm": 1011.5,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
}
],
"meta": {
"unit": "mm",
"source": "026299.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.23279510044693577,
"volume": 0.00023279510044693576,
"surface_area": 0.1718634821142574,
"center_of_mass": [
7.247960234949935e-15,
0.000126403890185136,
-1.0764660563479873e-06
],
"principal_moments": [
2.114648586402988e-05,
0.01870955137403373,
0.018717106890180576
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.50575,
-0.014999321403499043,
-0.00750100000003891,
0.50575,
0.015000678596500994,
0.007498999999961191
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABvAAAAbgAAAA==",
"persist_reference_sha256": "f8eb4a0a30f4f7f4d6e4a2f993170871102959b3c2987ed0b477db8cb7789f24",
"component": null,
"geometry": {
"box": [
-0.50575,
-0.014999321403499043,
-0.00750100000003891,
0.50575,
0.015000678596500994,
0.007498999999961191
],
"face_count": 50,
"edge_count": 144,
"vertex_count": 96
},
"stable_id": "f8eb4a0a30f4f7f4d6e4a2f993170871102959b3c2987ed0b477db8cb7789f24"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 51,
"surface_counts": {
"cylinder": 9,
"plane": 42
},
"axis_count": 9,
"repeat_spacings_mm": [
{
"spacing_mm": 15.4356,
"pair_count": 4
},
{
"spacing_mm": 15.4351,
"pair_count": 4
},
{
"spacing_mm": 15.4352,
"pair_count": 2
},
{
"spacing_mm": 15.4355,
"pair_count": 2
},
{
"spacing_mm": 0.0008,
"pair_count": 2
},
{
"spacing_mm": 0.0004,
"pair_count": 2
},
{
"spacing_mm": 28.0,
"pair_count": 2
},
{
"spacing_mm": 30.8707,
"pair_count": 2
},
{
"spacing_mm": 13.0,
"pair_count": 2
},
{
"spacing_mm": 15.436,
"pair_count": 2
},
{
"spacing_mm": 15.4347,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-505.7500001,
-14.999321503,
-7.5010001,
505.7500001,
15.000678697,
7.4990001
],
"volume_mm3": 232793.182773699,
"surface_area_mm2": 171863.424364831,
"solid_count": 1,
"face_count": 51,
"edge_count": 147,
"vertex_count": 98
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-505.75,
-14.999321403,
-7.501,
505.75,
15.000678597,
7.499
],
"volume_mm3": 232795.100446936,
"surface_area_mm2": 171863.482114257,
"solid_count": 1,
"face_count": 50,
"edge_count": 144,
"vertex_count": 96
},
"comparisons": {
"volume_mm3": {
"expected": 232795.100446936,
"actual": 232793.182773699,
"absolute_delta": 1.9176732370106038,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 171863.482114257,
"actual": 171863.424364831,
"absolute_delta": 0.05774942599236965,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-505.75,
-14.999321403,
-7.501,
505.75,
15.000678597,
7.499
],
"actual": [
-505.7500001,
-14.999321503,
-7.5010001,
505.7500001,
15.000678697,
7.4990001
],
"max_absolute_delta": 1.0000002248489182e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 50,
"actual": 51,
"matches": false
},
"edge_count": {
"expected": 144,
"actual": 147,
"matches": false
},
"vertex_count": {
"expected": 96,
"actual": 98,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}