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

705 lines
15 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "061321",
"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": "line",
"start": [
-9.0,
12.5
],
"end": [
9.0,
12.5
]
},
{
"type": "line",
"start": [
9.0,
12.5
],
"end": [
9.0,
-12.5
]
},
{
"type": "line",
"start": [
9.0,
-12.5
],
"end": [
-9.0,
-12.5
]
},
{
"type": "line",
"start": [
-9.0,
-12.5
],
"end": [
-9.0,
12.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-9.0,
12.5
],
"end": [
9.0,
-12.5
]
},
{
"type": "line",
"start": [
-9.0,
-12.5
],
"end": [
9.0,
12.5
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
20.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": "circle",
"center": [
0.0,
-7.5
],
"radius_mm": 4.0
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
20.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": "circle",
"center": [
0.0,
6.5
],
"radius_mm": 4.05
}
}
]
},
"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": 20.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": "切除-拉伸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": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 3.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 16.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "M4 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 5.356169598,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-15.0,
-7.5,
0.0
]
},
{
"mm": [
-5.0,
-7.5,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 5.356169598,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_006"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 4.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
6.5,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 4.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-ee28edf9ceb5db7343487cf6",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-9.0,
-12.5,
0.0,
9.0,
12.5,
0.0
],
"center_mm": [
-0.0,
0.838158282,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-ee28edf9ceb5db7343487cf6",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-9.0,
-12.5,
0.0,
9.0,
12.5,
0.0
],
"center_mm": [
-0.0,
0.838158282,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "061321.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0068944513964729025,
"volume": 6.894451396472903e-06,
"surface_area": 0.0034079122443167196,
"center_of_mass": [
-8.14874400409551e-05,
0.00037871105805092306,
0.009800527946167863
],
"principal_moments": [
4.558208494850785e-07,
5.624894051882463e-07,
5.767540900052684e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.009000000000000003,
-0.012499999999999999,
0.0,
0.009000000000000001,
0.012500000000000002,
0.02
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M4 螺纹孔2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABvAAAAbgAAAG0AAABsAAAAagAAAA==",
"persist_reference_sha256": "f3d6309cba2d9b202f53c67099c8f134774d1e294d106864fdab8f61bc8eaf43",
"component": null,
"geometry": {
"box": [
-0.009000000000000003,
-0.012499999999999999,
0.0,
0.009000000000000001,
0.012500000000000002,
0.02
],
"face_count": 16,
"edge_count": 34,
"vertex_count": 16
},
"stable_id": "f3d6309cba2d9b202f53c67099c8f134774d1e294d106864fdab8f61bc8eaf43"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 21,
"surface_counts": {
"cylinder": 14,
"plane": 7
},
"axis_count": 14,
"repeat_spacings_mm": [
{
"spacing_mm": 23.4094,
"pair_count": 2
},
{
"spacing_mm": 17.3494,
"pair_count": 2
},
{
"spacing_mm": 20.9762,
"pair_count": 2
},
{
"spacing_mm": 26.9258,
"pair_count": 2
},
{
"spacing_mm": 12.0,
"pair_count": 2
},
{
"spacing_mm": 22.4722,
"pair_count": 2
},
{
"spacing_mm": 19.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-9.0,
-12.5,
-1e-07,
9.0000001,
12.5,
20.0000001
],
"volume_mm3": 6894.461419274,
"surface_area_mm2": 3407.900689187,
"solid_count": 1,
"face_count": 21,
"edge_count": 56,
"vertex_count": 36
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-9.0,
-12.5,
0.0,
9.0,
12.5,
20.0
],
"volume_mm3": 6894.451396473,
"surface_area_mm2": 3407.912244317,
"solid_count": 1,
"face_count": 16,
"edge_count": 34,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 6894.451396473,
"actual": 6894.461419274,
"absolute_delta": 0.010022800999649917,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 3407.912244317,
"actual": 3407.900689187,
"absolute_delta": 0.011555130000033387,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-9.0,
-12.5,
0.0,
9.0,
12.5,
20.0
],
"actual": [
-9.0,
-12.5,
-1e-07,
9.0000001,
12.5,
20.0000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 16,
"actual": 21,
"matches": false
},
"edge_count": {
"expected": 34,
"actual": 56,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 36,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}