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

1118 lines
28 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "059226",
"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": [
280.0,
120.0
],
"end": [
180.0,
220.0
],
"center": [
180.0,
120.0
],
"radius_mm": 100.0,
"clockwise": false
},
{
"type": "line",
"start": [
180.0,
220.0
],
"end": [
-180.0,
220.0
]
},
{
"type": "arc",
"start": [
-180.0,
220.0
],
"end": [
-280.0,
120.0
],
"center": [
-180.0,
120.0
],
"radius_mm": 100.0,
"clockwise": false
},
{
"type": "line",
"start": [
-280.0,
120.0
],
"end": [
-280.0,
-120.0
]
},
{
"type": "arc",
"start": [
-280.0,
-120.0
],
"end": [
-180.0,
-220.0
],
"center": [
-180.0,
-120.0
],
"radius_mm": 100.0,
"clockwise": true
},
{
"type": "line",
"start": [
-180.0,
-220.0
],
"end": [
180.0,
-220.0
]
},
{
"type": "arc",
"start": [
180.0,
-220.0
],
"end": [
280.0,
-120.0
],
"center": [
180.0,
-120.0
],
"radius_mm": 100.0,
"clockwise": false
},
{
"type": "line",
"start": [
280.0,
-120.0
],
"end": [
280.0,
120.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
280.0,
-220.0
],
"end": [
-280.0,
220.0
]
},
{
"type": "line",
"start": [
280.0,
220.0
],
"end": [
-280.0,
-220.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
8.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": [
-307.821707075,
80.654319423
],
"end": [
-307.821707075,
65.654319423
],
"center": [
-317.821707075,
73.154319423
],
"radius_mm": 12.5,
"clockwise": false
},
{
"type": "line",
"start": [
-307.821707075,
65.654319423
],
"end": [
-252.178292925,
65.654319423
]
},
{
"type": "arc",
"start": [
-252.178292925,
65.654319423
],
"end": [
-252.178292925,
80.654319423
],
"center": [
-242.178292925,
73.154319423
],
"radius_mm": 12.5,
"clockwise": false
},
{
"type": "line",
"start": [
-252.178292925,
80.654319423
],
"end": [
-307.821707075,
80.654319423
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-252.178292925,
-65.654319423
],
"end": [
-252.178292925,
-80.654319423
],
"center": [
-242.178292925,
-73.154319423
],
"radius_mm": 12.5,
"clockwise": true
},
{
"type": "line",
"start": [
-252.178292925,
-80.654319423
],
"end": [
-307.821707075,
-80.654319423
]
},
{
"type": "arc",
"start": [
-307.821707075,
-80.654319423
],
"end": [
-307.821707075,
-65.654319423
],
"center": [
-317.821707075,
-73.154319423
],
"radius_mm": 12.5,
"clockwise": true
},
{
"type": "line",
"start": [
-307.821707075,
-65.654319423
],
"end": [
-252.178292925,
-65.654319423
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
252.178292925,
-65.654319423
],
"end": [
252.178292925,
-80.654319423
],
"center": [
242.178292925,
-73.154319423
],
"radius_mm": 12.5,
"clockwise": false
},
{
"type": "line",
"start": [
252.178292925,
-80.654319423
],
"end": [
307.821707075,
-80.654319423
]
},
{
"type": "arc",
"start": [
307.821707075,
-80.654319423
],
"end": [
307.821707075,
-65.654319423
],
"center": [
317.821707075,
-73.154319423
],
"radius_mm": 12.5,
"clockwise": false
},
{
"type": "line",
"start": [
307.821707075,
-65.654319423
],
"end": [
252.178292925,
-65.654319423
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
252.178292925,
65.654319423
],
"end": [
252.178292925,
80.654319423
],
"center": [
242.178292925,
73.154319423
],
"radius_mm": 12.5,
"clockwise": true
},
{
"type": "line",
"start": [
252.178292925,
80.654319423
],
"end": [
307.821707075,
80.654319423
]
},
{
"type": "arc",
"start": [
307.821707075,
80.654319423
],
"end": [
307.821707075,
65.654319423
],
"center": [
317.821707075,
73.154319423
],
"radius_mm": 12.5,
"clockwise": true
},
{
"type": "line",
"start": [
307.821707075,
65.654319423
],
"end": [
252.178292925,
65.654319423
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-242.178292925,
65.654319423
],
"end": [
-317.821707075,
80.654319423
]
},
{
"type": "line",
"start": [
-242.178292925,
80.654319423
],
"end": [
-317.821707075,
65.654319423
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
91.197368329
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-96.657048221,
0.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
8.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": [
317.821707075,
73.154319423
],
"radius_mm": 12.5
},
{
"center": [
317.821707075,
-73.154319423
],
"radius_mm": 12.5
},
{
"center": [
-317.821707075,
73.154319423
],
"radius_mm": 12.5
},
{
"center": [
-317.821707075,
-73.154319423
],
"radius_mm": 12.5
}
]
}
}
]
},
"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": 8.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_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 8.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_005"
],
"params": {
"distance_mm": 8.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "059226.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.9747251297949915,
"volume": 0.0019747251297949917,
"surface_area": 0.5173974820903768,
"center_of_mass": [
4.789513658028263e-17,
-8.291310511004402e-18,
0.004228851107984729
],
"principal_moments": [
0.02949752977382378,
0.053012694436675924,
0.08248213663112512
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.3303217070748892,
-0.22000000000000006,
0.0,
0.3303217070748892,
0.22000000000000003,
0.016
],
"solid_body_count": 8,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸2[2]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABtAAAA",
"persist_reference_sha256": "6c72d34fbb42464762cd27ccf9f2cc06d04ede938aba7ae9f3829460ba6195cd",
"component": null,
"geometry": {
"box": [
-0.3303217070748892,
-0.08565431942342719,
0.008,
-0.22967829292511072,
-0.06065431942342717,
0.016
],
"face_count": 6,
"edge_count": 12,
"vertex_count": 8
},
"stable_id": "6c72d34fbb42464762cd27ccf9f2cc06d04ede938aba7ae9f3829460ba6195cd"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸3[4]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAAByAAAA",
"persist_reference_sha256": "78fd57789eb63e9ac268664616b1bd3135e15dcb300fc0504c179638966579ec",
"component": null,
"geometry": {
"box": [
0.3053217070748892,
-0.08565431942342719,
0.0,
0.3303217070748892,
-0.060654319423427173,
0.008
],
"face_count": 3,
"edge_count": 2,
"vertex_count": 0
},
"stable_id": "78fd57789eb63e9ac268664616b1bd3135e15dcb300fc0504c179638966579ec"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸3[3]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABxAAAA",
"persist_reference_sha256": "aab15da3237d38955694dfb15db26147594c4fa5a199a20bcd8f02599f0ccc81",
"component": null,
"geometry": {
"box": [
0.3053217070748892,
0.060654319423427173,
0.0,
0.3303217070748892,
0.08565431942342719,
0.008
],
"face_count": 3,
"edge_count": 2,
"vertex_count": 0
},
"stable_id": "aab15da3237d38955694dfb15db26147594c4fa5a199a20bcd8f02599f0ccc81"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸2[3]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABuAAAA",
"persist_reference_sha256": "500a2a6da2dc2f3e7b340b5634ad1ec8f40956c9c1d4e74aeb22d54ca0503e60",
"component": null,
"geometry": {
"box": [
0.22967829292511072,
-0.08565431942342719,
0.008,
0.3303217070748892,
-0.06065431942342717,
0.016
],
"face_count": 6,
"edge_count": 12,
"vertex_count": 8
},
"stable_id": "500a2a6da2dc2f3e7b340b5634ad1ec8f40956c9c1d4e74aeb22d54ca0503e60"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸3[1]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABsAAAAawAAAA==",
"persist_reference_sha256": "504eee8bdf70ba3bf45639cf4229f68fc2e77d7a443df0fea9b42d5330e91aa2",
"component": null,
"geometry": {
"box": [
-0.3303217070748892,
0.06065431942342717,
0.0,
-0.22967829292511072,
0.08565431942342719,
0.016
],
"face_count": 7,
"edge_count": 13,
"vertex_count": 8
},
"stable_id": "504eee8bdf70ba3bf45639cf4229f68fc2e77d7a443df0fea9b42d5330e91aa2"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸3[2]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABwAAAA",
"persist_reference_sha256": "d5e62f2c215387f0bc985ba290d6fdb6c3bc386bd225da4047bc21db166f487f",
"component": null,
"geometry": {
"box": [
-0.3303217070748892,
-0.08565431942342719,
0.0,
-0.3053217070748892,
-0.060654319423427173,
0.008
],
"face_count": 3,
"edge_count": 2,
"vertex_count": 0
},
"stable_id": "d5e62f2c215387f0bc985ba290d6fdb6c3bc386bd225da4047bc21db166f487f"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABqAAAA",
"persist_reference_sha256": "e7c660540d9b751b0168bd238d38ea4f30e335295d3f241d0c885d54707288d6",
"component": null,
"geometry": {
"box": [
-0.27999999999999997,
-0.22000000000000006,
0.0,
0.2800000000000001,
0.22000000000000003,
0.008
],
"face_count": 10,
"edge_count": 24,
"vertex_count": 16
},
"stable_id": "e7c660540d9b751b0168bd238d38ea4f30e335295d3f241d0c885d54707288d6"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸2[4]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABvAAAA",
"persist_reference_sha256": "db905a89f3ebab64bac333088abcf1f62e6d56db1836681a12198c517ddc071f",
"component": null,
"geometry": {
"box": [
0.22967829292511072,
0.06065431942342717,
0.008,
0.3303217070748892,
0.08565431942342719,
0.016
],
"face_count": 6,
"edge_count": 12,
"vertex_count": 8
},
"stable_id": "db905a89f3ebab64bac333088abcf1f62e6d56db1836681a12198c517ddc071f"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 51,
"surface_counts": {
"cylinder": 22,
"plane": 29
},
"axis_count": 22,
"repeat_spacings_mm": [
{
"spacing_mm": 500.085,
"pair_count": 7
},
{
"spacing_mm": 534.0403,
"pair_count": 7
},
{
"spacing_mm": 237.4182,
"pair_count": 7
},
{
"spacing_mm": 145.7853,
"pair_count": 7
},
{
"spacing_mm": 146.3086,
"pair_count": 5
},
{
"spacing_mm": 424.8447,
"pair_count": 4
},
{
"spacing_mm": 464.3351,
"pair_count": 4
},
{
"spacing_mm": 203.0732,
"pair_count": 4
},
{
"spacing_mm": 78.2602,
"pair_count": 4
},
{
"spacing_mm": 75.6434,
"pair_count": 4
},
{
"spacing_mm": 164.7062,
"pair_count": 4
},
{
"spacing_mm": 578.7972,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-330.321707075,
-220.0,
0.0,
330.321707075,
220.0,
16.0
],
"volume_mm3": 1974725.129794989,
"surface_area_mm2": 517397.482090375,
"solid_count": 8,
"face_count": 51,
"edge_count": 105,
"vertex_count": 70
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-330.321707075,
-220.0,
0.0,
330.321707075,
220.0,
16.0
],
"volume_mm3": 1974725.129794992,
"surface_area_mm2": 517397.482090377,
"solid_count": 8,
"face_count": 44,
"edge_count": 79,
"vertex_count": 48
},
"comparisons": {
"volume_mm3": {
"expected": 1974725.129794992,
"actual": 1974725.129794989,
"absolute_delta": 3.026798367500305e-09,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 517397.482090377,
"actual": 517397.482090375,
"absolute_delta": 2.0372681319713593e-09,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-330.321707075,
-220.0,
0.0,
330.321707075,
220.0,
16.0
],
"actual": [
-330.321707075,
-220.0,
0.0,
330.321707075,
220.0,
16.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 8,
"actual": 8,
"matches": true
},
"face_count": {
"expected": 44,
"actual": 51,
"matches": false
},
"edge_count": {
"expected": 79,
"actual": 105,
"matches": false
},
"vertex_count": {
"expected": 48,
"actual": 70,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}