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

742 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "112069",
"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": "草图2",
"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": [
0.0,
0.0
],
"end": [
18.65,
0.0
]
},
{
"type": "line",
"start": [
18.65,
0.0
],
"end": [
18.65,
12.2
]
},
{
"type": "line",
"start": [
18.65,
12.2
],
"end": [
0.0,
12.2
]
},
{
"type": "line",
"start": [
0.0,
12.2
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图5",
"role": "profile",
"workplane": {
"origin_mm": [
-43.8,
-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": [
-10.57,
0.0
],
"end": [
-10.57,
-1.5
]
},
{
"type": "line",
"start": [
-10.57,
-1.5
],
"end": [
-7.4,
-1.5
]
},
{
"type": "line",
"start": [
-7.4,
-1.5
],
"end": [
-7.4,
-4.4
]
},
{
"type": "line",
"start": [
-7.4,
-4.4
],
"end": [
-0.0,
-4.4
]
},
{
"type": "line",
"start": [
-0.0,
-4.4
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-10.57,
0.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图6",
"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": "line",
"start": [
0.0,
12.2
],
"end": [
-7.0,
12.2
]
},
{
"type": "line",
"start": [
-7.0,
12.2
],
"end": [
-7.0,
-4.4
]
},
{
"type": "line",
"start": [
-7.0,
-4.4
],
"end": [
0.0,
-4.4
]
},
{
"type": "line",
"start": [
0.0,
-4.4
],
"end": [
0.0,
12.2
]
}
]
}
]
}
}
]
},
"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": 43.8,
"reverse": true,
"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": 0.0,
"reverse": true,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "6fb2b2ce8e26b89cb55b53f22764cfd923de410b136106b1a93fb439c6947df4",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
-1.0,
0.0,
0.012199999999999999,
0.0
]
},
"box": [
0.0,
0.0,
0.0,
0.01865,
0.012199999999999999,
0.0
],
"area": 0.00022752999999999998
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 1.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
8.5,
5.2,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-bd8c9601a3f48a98d5318e1f",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-1.0,
-4.4,
-0.0,
18.65,
12.2,
0.0
],
"center_mm": [
8.058192755,
4.871367652,
-0.0
],
"normal": [
-0.0,
-0.0,
1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-bd8c9601a3f48a98d5318e1f",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-1.0,
-4.4,
-0.0,
18.65,
12.2,
0.0
],
"center_mm": [
8.058192755,
4.871367652,
-0.0
],
"normal": [
-0.0,
-0.0,
1.0
],
"surface_type": "plane"
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "112069.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.011480983638222883,
"volume": 1.1480983638222882e-05,
"surface_area": 0.003855845496286838,
"center_of_mass": [
0.008537591954566003,
0.004940930285786011,
-0.022038448858277902
],
"principal_moments": [
5.652711552936834e-07,
2.029907244764722e-06,
2.2000588037704113e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0010000250000000016,
-0.004400049999999598,
-0.04380005,
0.018650025,
0.012200049999999999,
5.000000000143778e-08
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M5 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABsAAAAaQAAAGgAAABlAAAA",
"persist_reference_sha256": "d726344a64ff2d0b59881bf4f5c0dfe62bbbce6dd1e64b4403eea04b06a6bf16",
"component": null,
"geometry": {
"box": [
-0.001000025,
-0.004400049999999598,
-0.04380005,
0.018650025,
0.012200049999999999,
5e-08
],
"face_count": 16,
"edge_count": 34,
"vertex_count": 21
},
"stable_id": "d726344a64ff2d0b59881bf4f5c0dfe62bbbce6dd1e64b4403eea04b06a6bf16"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 19,
"surface_counts": {
"cone": 2,
"cylinder": 4,
"plane": 13
},
"axis_count": 6,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1.0,
-4.4,
-43.8,
18.65,
12.2,
0.0
],
"volume_mm3": 11480.983638243,
"surface_area_mm2": 3855.845496289,
"solid_count": 1,
"face_count": 19,
"edge_count": 44,
"vertex_count": 29
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-1.000025,
-4.40005,
-43.80005,
18.650025,
12.20005,
5e-05
],
"volume_mm3": 11480.983638223,
"surface_area_mm2": 3855.845496287,
"solid_count": 1,
"face_count": 16,
"edge_count": 34,
"vertex_count": 21
},
"comparisons": {
"volume_mm3": {
"expected": 11480.983638223,
"actual": 11480.983638243,
"absolute_delta": 1.9999788491986692e-08,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 3855.845496287,
"actual": 3855.845496289,
"absolute_delta": 1.999978849198669e-09,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-1.000025,
-4.40005,
-43.80005,
18.650025,
12.20005,
5e-05
],
"actual": [
-1.0,
-4.4,
-43.8,
18.65,
12.2,
0.0
],
"max_absolute_delta": 5.000000000165983e-05,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 16,
"actual": 19,
"matches": false
},
"edge_count": {
"expected": 34,
"actual": 44,
"matches": false
},
"vertex_count": {
"expected": 21,
"actual": 29,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}