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

619 lines
14 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "129510",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origin",
"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.0,
56.0
],
"end": [
23.0,
56.0
],
"center": [
0.0,
56.0
],
"radius_mm": 23.0,
"clockwise": false
},
{
"type": "line",
"start": [
23.0,
56.0
],
"end": [
97.0,
56.0
]
},
{
"type": "arc",
"start": [
97.0,
56.0
],
"end": [
143.0,
56.0
],
"center": [
120.0,
56.0
],
"radius_mm": 23.0,
"clockwise": false
},
{
"type": "line",
"start": [
143.0,
56.0
],
"end": [
160.0,
56.0
]
},
{
"type": "line",
"start": [
160.0,
56.0
],
"end": [
160.0,
0.0
]
},
{
"type": "line",
"start": [
160.0,
0.0
],
"end": [
-160.0,
0.0
]
},
{
"type": "line",
"start": [
-160.0,
0.0
],
"end": [
-160.0,
56.0
]
},
{
"type": "line",
"start": [
-160.0,
56.0
],
"end": [
-143.0,
56.0
]
},
{
"type": "arc",
"start": [
-143.0,
56.0
],
"end": [
-97.0,
56.0
],
"center": [
-120.0,
56.0
],
"radius_mm": 23.0,
"clockwise": false
},
{
"type": "line",
"start": [
-97.0,
56.0
],
"end": [
-23.0,
56.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
15.0
],
"radius_mm": 7.0
}
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front",
"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": "Top",
"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": 15.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_003",
"name": "Right",
"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": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 6.6,
"depth_mm": 56.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-50.0,
0.0,
0.0
]
},
{
"mm": [
50.0,
0.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.8
},
"host_face": {
"kind": "face",
"stable_id": "step-face-970af90d3d5a6b49c80833de",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-160.0,
-0.0,
-7.5,
160.0,
0.0,
7.5
],
"center_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-970af90d3d5a6b49c80833de",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-160.0,
-0.0,
-7.5,
160.0,
0.0,
7.5
],
"center_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "129510.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.22443921633320899,
"volume": 0.000224439216333209,
"surface_area": 0.04604110965035451,
"center_of_mass": [
-3.3376286683156746e-17,
0.025004449450447514,
-2.460864807886362e-19
],
"principal_moments": [
5.6764849198369414e-05,
0.001922426017109828,
0.0019706375653753432
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.16,
-2.0816681711721685e-17,
-0.0075,
0.16,
0.05600000000000006,
0.0075
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "打孔尺寸(%根据)内六角圆柱头螺钉的类型1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
-0.16,
-2.0816681711721685e-17,
-0.0075,
0.16,
0.05600000000000006,
0.0075
],
"face_count": 19,
"edge_count": 40,
"vertex_count": 20
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 24,
"surface_counts": {
"cylinder": 13,
"plane": 11
},
"axis_count": 13,
"repeat_spacings_mm": [
{
"spacing_mm": 65.0942,
"pair_count": 2
},
{
"spacing_mm": 170.1654,
"pair_count": 2
},
{
"spacing_mm": 50.5594,
"pair_count": 2
},
{
"spacing_mm": 70.4006,
"pair_count": 2
},
{
"spacing_mm": 126.8109,
"pair_count": 2
},
{
"spacing_mm": 120.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-160.0,
-0.0,
-7.5,
160.0,
56.0,
7.5
],
"volume_mm3": 224439.216333209,
"surface_area_mm2": 46041.109650354,
"solid_count": 1,
"face_count": 24,
"edge_count": 60,
"vertex_count": 40
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-160.0,
-0.0,
-7.5,
160.0,
56.0,
7.5
],
"volume_mm3": 224439.216333209,
"surface_area_mm2": 46041.109650355,
"solid_count": 1,
"face_count": 19,
"edge_count": 40,
"vertex_count": 20
},
"comparisons": {
"volume_mm3": {
"expected": 224439.216333209,
"actual": 224439.216333209,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 46041.109650355,
"actual": 46041.109650354,
"absolute_delta": 9.968061931431293e-10,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-160.0,
-0.0,
-7.5,
160.0,
56.0,
7.5
],
"actual": [
-160.0,
-0.0,
-7.5,
160.0,
56.0,
7.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 19,
"actual": 24,
"matches": false
},
"edge_count": {
"expected": 40,
"actual": 60,
"matches": false
},
"vertex_count": {
"expected": 20,
"actual": 40,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}