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

675 lines
14 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "024718",
"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,
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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-38.0,
5.0
],
"end": [
38.0,
5.0
]
},
{
"type": "line",
"start": [
38.0,
5.0
],
"end": [
38.0,
-5.0
]
},
{
"type": "line",
"start": [
38.0,
-5.0
],
"end": [
-38.0,
-5.0
]
},
{
"type": "line",
"start": [
-38.0,
-5.0
],
"end": [
-38.0,
5.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-38.0,
5.0
],
"end": [
38.0,
-5.0
]
},
{
"type": "line",
"start": [
-38.0,
-5.0
],
"end": [
38.0,
5.0
]
}
]
}
}
]
},
"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_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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 200.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-25.0,
0.0,
0.0
]
},
{
"mm": [
0.0,
0.0,
0.0
]
},
{
"mm": [
25.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "打孔尺寸根据内六角圆柱头螺钉的类型0",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 3.4,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
34.0,
80.0,
0.0
]
},
{
"mm": [
34.0,
0.0,
0.0
]
},
{
"mm": [
34.0,
-80.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 6.0,
"depth_mm": 3.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "镜向1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_005",
"f_002"
],
"params": {
"source_feature_ids": [
"f_005"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_008",
"name": "M3 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 3.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
-32.5,
0.0
]
},
{
"mm": [
0.0,
-52.2,
0.0
]
},
{
"mm": [
0.0,
-42.35,
0.0
]
},
{
"mm": [
0.0,
-22.65,
0.0
]
}
],
"thread": {
"diameter_mm": 3.0,
"depth_mm": 6.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "024718.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.1858190548591372,
"volume": 0.00015029392330280573,
"surface_area": 0.03747627863226523,
"center_of_mass": [
7.135964639021591e-05,
3.7894141660933763e-05,
4.2989636512203186e-06
],
"principal_moments": [
0.0005777766162004061,
0.00391462241467734,
0.004472505475665649
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.038000000000000006,
-0.1,
-0.005000000000000001,
0.03799999999999999,
0.1,
0.004999999999999999
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "打孔尺寸根据内六角圆柱头螺钉的类型0",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABxAAAAbwAAAG0AAABsAAAAawAAAA==",
"persist_reference_sha256": "2d5ef4b5b8bb347e98503444f3d2ffb5f3836fbf9353187d647c3f28b9765f52",
"component": null,
"geometry": {
"box": [
-0.038000000000000006,
-0.1,
-0.005000000000000001,
0.03799999999999999,
0.1,
0.004999999999999999
],
"face_count": 39,
"edge_count": 56,
"vertex_count": 26
},
"stable_id": "2d5ef4b5b8bb347e98503444f3d2ffb5f3836fbf9353187d647c3f28b9765f52"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 65,
"surface_counts": {
"cone": 20,
"cylinder": 32,
"plane": 13
},
"axis_count": 52,
"repeat_spacings_mm": [
{
"spacing_mm": 25.0,
"pair_count": 8
},
{
"spacing_mm": 27.9063,
"pair_count": 8
},
{
"spacing_mm": 189.2584,
"pair_count": 8
},
{
"spacing_mm": 9.85,
"pair_count": 6
},
{
"spacing_mm": 12.3803,
"pair_count": 6
},
{
"spacing_mm": 12.4,
"pair_count": 6
},
{
"spacing_mm": 187.6,
"pair_count": 6
},
{
"spacing_mm": 7.5,
"pair_count": 4
},
{
"spacing_mm": 19.7,
"pair_count": 4
},
{
"spacing_mm": 21.0794,
"pair_count": 4
},
{
"spacing_mm": 50.0,
"pair_count": 4
},
{
"spacing_mm": 51.5147,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-38.0,
-100.0,
-5.0,
38.0,
100.0,
5.0
],
"volume_mm3": 150293.923302806,
"surface_area_mm2": 37476.278632265,
"solid_count": 1,
"face_count": 65,
"edge_count": 140,
"vertex_count": 90
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-38.0,
-100.0,
-5.0,
38.0,
100.0,
5.0
],
"volume_mm3": 150293.923302806,
"surface_area_mm2": 37476.278632265,
"solid_count": 1,
"face_count": 39,
"edge_count": 56,
"vertex_count": 26
},
"comparisons": {
"volume_mm3": {
"expected": 150293.923302806,
"actual": 150293.923302806,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 37476.278632265,
"actual": 37476.278632265,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-38.0,
-100.0,
-5.0,
38.0,
100.0,
5.0
],
"actual": [
-38.0,
-100.0,
-5.0,
38.0,
100.0,
5.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 39,
"actual": 65,
"matches": false
},
"edge_count": {
"expected": 56,
"actual": 140,
"matches": false
},
"vertex_count": {
"expected": 26,
"actual": 90,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}