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

658 lines
15 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "218993",
"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": []
}
},
{
"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": "circles",
"items": [
{
"center": [
-30.0,
-855.0
],
"radius_mm": 2.55
},
{
"center": [
-30.0,
-655.0
],
"radius_mm": 2.55
},
{
"center": [
-30.0,
-455.0
],
"radius_mm": 2.55
},
{
"center": [
-30.0,
-255.0
],
"radius_mm": 2.55
},
{
"center": [
-985.0,
-255.0
],
"radius_mm": 2.55
},
{
"center": [
-985.0,
-455.0
],
"radius_mm": 2.55
},
{
"center": [
-985.0,
-655.0
],
"radius_mm": 2.55
},
{
"center": [
-985.0,
-855.0
],
"radius_mm": 2.55
}
]
}
}
]
},
"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": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"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": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 20.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "M6 螺纹孔的螺纹孔钻头1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹钻孔",
"diameter_mm": 5.0,
"depth_mm": 30.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-970.0,
-435.0,
0.0
]
},
{
"mm": [
-45.0,
-435.0,
0.0
]
},
{
"mm": [
-970.0,
-195.0,
0.0
]
},
{
"mm": [
-45.0,
-195.0,
0.0
]
},
{
"mm": [
-970.0,
45.0,
0.0
]
},
{
"mm": [
-45.0,
45.0,
0.0
]
},
{
"mm": [
-45.0,
-1155.0,
0.0
]
},
{
"mm": [
-970.0,
-1155.0,
0.0
]
},
{
"mm": [
-45.0,
-915.0,
0.0
]
},
{
"mm": [
-970.0,
-915.0,
0.0
]
},
{
"mm": [
-45.0,
-675.0,
0.0
]
},
{
"mm": [
-970.0,
-675.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "218993.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 3.9776116814692726,
"volume": 0.003977611681469272,
"surface_area": 1.9964764955592151,
"center_of_mass": [
-0.5074999999999984,
-0.26254114956168695,
0.5549999999999989
],
"principal_moments": [
0.6255165447384708,
1.1261150764919663,
1.3174396359215774
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-1.0150000000000001,
-0.525,
0.0,
0.0,
2.42861286636753e-16,
1.1099999999999999
],
"solid_body_count": 4,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸1[3]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABsAAAA",
"persist_reference_sha256": "7a6aa43013ffee45d1655d96086b93435420eded56a6d3c7a0227d5c411fd1d9",
"component": null,
"geometry": {
"box": [
-1.0150000000000001,
-0.525,
0.0,
-0.9549999999999996,
-0.46499999999999986,
1.1099999999999999
],
"face_count": 10,
"edge_count": 24,
"vertex_count": 16
},
"stable_id": "7a6aa43013ffee45d1655d96086b93435420eded56a6d3c7a0227d5c411fd1d9"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M6 螺纹孔的螺纹孔钻头1[2]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAAB1AAAAawAAAA==",
"persist_reference_sha256": "01560880977f333bf036e1f96acbcab2062ce69d0848ab2710d9ba1c38436a8c",
"component": null,
"geometry": {
"box": [
-0.06,
-0.05999999999999994,
0.0,
0.0,
5.204170427930421e-17,
1.1099999999999999
],
"face_count": 14,
"edge_count": 32,
"vertex_count": 16
},
"stable_id": "01560880977f333bf036e1f96acbcab2062ce69d0848ab2710d9ba1c38436a8c"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M6 螺纹孔的螺纹孔钻头1[1]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAAB0AAAAagAAAA==",
"persist_reference_sha256": "ec8674b2419d56ec2f5ce89ca57d6db6f76e005afc86d2423392f31805ce87b4",
"component": null,
"geometry": {
"box": [
-1.0150000000000001,
-0.059999999999999755,
0.0,
-0.9549999999999996,
2.42861286636753e-16,
1.1099999999999999
],
"face_count": 14,
"edge_count": 32,
"vertex_count": 16
},
"stable_id": "ec8674b2419d56ec2f5ce89ca57d6db6f76e005afc86d2423392f31805ce87b4"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸1[4]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABtAAAA",
"persist_reference_sha256": "6c72d34fbb42464762cd27ccf9f2cc06d04ede938aba7ae9f3829460ba6195cd",
"component": null,
"geometry": {
"box": [
-0.060000000000000095,
-0.525,
0.0,
-9.71445146547012e-17,
-0.46499999999999997,
1.1099999999999999
],
"face_count": 10,
"edge_count": 24,
"vertex_count": 16
},
"stable_id": "6c72d34fbb42464762cd27ccf9f2cc06d04ede938aba7ae9f3829460ba6195cd"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 56,
"surface_counts": {
"cylinder": 16,
"plane": 40
},
"axis_count": 16,
"repeat_spacings_mm": [
{
"spacing_mm": 240.0,
"pair_count": 6
},
{
"spacing_mm": 955.6281,
"pair_count": 6
},
{
"spacing_mm": 480.0,
"pair_count": 4
},
{
"spacing_mm": 925.0,
"pair_count": 4
},
{
"spacing_mm": 1042.1252,
"pair_count": 4
},
{
"spacing_mm": 720.0,
"pair_count": 2
},
{
"spacing_mm": 1172.1881,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-1015.0,
-525.0,
0.0,
0.0,
0.0,
1110.0
],
"volume_mm3": 3977611.681469271,
"surface_area_mm2": 1996476.495559213,
"solid_count": 4,
"face_count": 56,
"edge_count": 144,
"vertex_count": 96
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-1015.0,
-525.0,
0.0,
0.0,
0.0,
1110.0
],
"volume_mm3": 3977611.681469272,
"surface_area_mm2": 1996476.495559215,
"solid_count": 4,
"face_count": 48,
"edge_count": 112,
"vertex_count": 64
},
"comparisons": {
"volume_mm3": {
"expected": 3977611.681469272,
"actual": 3977611.681469271,
"absolute_delta": 9.313225746154785e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1996476.495559215,
"actual": 1996476.495559213,
"absolute_delta": 2.0954757928848267e-09,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-1015.0,
-525.0,
0.0,
0.0,
0.0,
1110.0
],
"actual": [
-1015.0,
-525.0,
0.0,
0.0,
0.0,
1110.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 4,
"actual": 4,
"matches": true
},
"face_count": {
"expected": 48,
"actual": 56,
"matches": false
},
"edge_count": {
"expected": 112,
"actual": 144,
"matches": false
},
"vertex_count": {
"expected": 64,
"actual": 96,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}