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

1157 lines
26 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "022492",
"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": [
-15.0,
-7.5
],
"end": [
15.0,
-7.5
]
},
{
"type": "line",
"start": [
15.0,
-7.5
],
"end": [
15.0,
7.5
]
},
{
"type": "line",
"start": [
15.0,
7.5
],
"end": [
-15.0,
7.5
]
},
{
"type": "line",
"start": [
-15.0,
7.5
],
"end": [
-15.0,
-7.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-15.0,
-7.5
],
"end": [
15.0,
7.5
]
},
{
"type": "line",
"start": [
-15.0,
7.5
],
"end": [
15.0,
-7.5
]
}
]
}
},
{
"id": "sk_003",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 2.5
}
},
{
"id": "sk_004",
"name": "草图3",
"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": [
-15.0,
-3.25
],
"end": [
-12.7,
-3.25
]
},
{
"type": "line",
"start": [
-12.7,
-3.25
],
"end": [
-12.7,
-5.25
]
},
{
"type": "line",
"start": [
-12.7,
-5.25
],
"end": [
-6.7,
-5.25
]
},
{
"type": "line",
"start": [
-6.7,
-5.25
],
"end": [
-6.7,
-3.25
]
},
{
"type": "line",
"start": [
-6.7,
-3.25
],
"end": [
-4.7,
-3.25
]
},
{
"type": "line",
"start": [
-4.7,
-3.25
],
"end": [
-4.7,
3.25
]
},
{
"type": "line",
"start": [
-4.7,
3.25
],
"end": [
-6.7,
3.25
]
},
{
"type": "line",
"start": [
-6.7,
3.25
],
"end": [
-6.7,
5.25
]
},
{
"type": "line",
"start": [
-6.7,
5.25
],
"end": [
-12.7,
5.25
]
},
{
"type": "line",
"start": [
-12.7,
5.25
],
"end": [
-12.7,
3.25
]
},
{
"type": "line",
"start": [
-12.7,
3.25
],
"end": [
-15.0,
3.25
]
},
{
"type": "line",
"start": [
-15.0,
3.25
],
"end": [
-15.0,
-3.25
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
15.0,
3.25
],
"end": [
12.7,
3.25
]
},
{
"type": "line",
"start": [
12.7,
3.25
],
"end": [
12.7,
5.25
]
},
{
"type": "line",
"start": [
12.7,
5.25
],
"end": [
6.7,
5.25
]
},
{
"type": "line",
"start": [
6.7,
5.25
],
"end": [
6.7,
3.25
]
},
{
"type": "line",
"start": [
6.7,
3.25
],
"end": [
4.7,
3.25
]
},
{
"type": "line",
"start": [
4.7,
3.25
],
"end": [
4.7,
-3.25
]
},
{
"type": "line",
"start": [
4.7,
-3.25
],
"end": [
6.7,
-3.25
]
},
{
"type": "line",
"start": [
6.7,
-3.25
],
"end": [
6.7,
-5.25
]
},
{
"type": "line",
"start": [
6.7,
-5.25
],
"end": [
12.7,
-5.25
]
},
{
"type": "line",
"start": [
12.7,
-5.25
],
"end": [
12.7,
-3.25
]
},
{
"type": "line",
"start": [
12.7,
-3.25
],
"end": [
15.0,
-3.25
]
},
{
"type": "line",
"start": [
15.0,
-3.25
],
"end": [
15.0,
3.25
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.0,
7.5
],
"end": [
-0.0,
-7.5
]
},
{
"type": "line",
"start": [
15.0,
0.0
],
"end": [
-15.0,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"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": [],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-206.68
]
}
]
}
}
]
},
"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": 206.68,
"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_both",
"solidworks_code": 2
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
206.68
],
"x_dir": [
-0.0,
1.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 1,
"references": [
{
"kind": "feature",
"stable_id": "100c71443276b191056aa267549001437163ab2fbc352080f764bb231d2c766c",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "6027b688ec4b2c161154742537132c7c1d7ba3f7295bcc0b3ec0005dc512e7f6",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
-1.0,
0.0,
0.0,
0.20668
]
},
"box": [
-0.014999999999999993,
-0.0075,
0.20668,
0.015000000000000006,
0.0075,
0.20668
],
"area": 0.00024846504591506376
}
},
{
"kind": "face",
"stable_id": "78c7250f6f7b977e4c9276c31ea95503f90a3b38f6f29cb0f59057206cfa5788",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
-1.0,
0.0,
0.0,
0.0
]
},
"box": [
-0.014999999999999993,
-0.0075,
0.0,
0.015000000000000006,
0.0075,
0.0
],
"area": 0.00024846504591506376
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "100c71443276b191056aa267549001437163ab2fbc352080f764bb231d2c766c",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "6027b688ec4b2c161154742537132c7c1d7ba3f7295bcc0b3ec0005dc512e7f6",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
-1.0,
0.0,
0.0,
0.20668
]
},
"box": [
-0.014999999999999993,
-0.0075,
0.20668,
0.015000000000000006,
0.0075,
0.20668
],
"area": 0.00024846504591506376
}
},
{
"kind": "face",
"stable_id": "78c7250f6f7b977e4c9276c31ea95503f90a3b38f6f29cb0f59057206cfa5788",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
-1.0,
0.0,
0.0,
0.0
]
},
"box": [
-0.014999999999999993,
-0.0075,
0.0,
0.015000000000000006,
0.0075,
0.0
],
"area": 0.00024846504591506376
}
}
]
},
{
"id": "f_009",
"name": "打孔尺寸根据内六角圆柱头螺钉的类型1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 6.6,
"depth_mm": 30.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
191.68,
-0.0,
0.0
]
},
{
"mm": [
15.0,
0.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 10.3
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "M6 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
-184.68,
0.0
]
},
{
"mm": [
0.0,
-199.68,
0.0
]
},
{
"mm": [
0.0,
-22.0,
0.0
]
},
{
"mm": [
0.0,
-7.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "022492.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.13459377952899018,
"volume": 4.984954797370006e-05,
"surface_area": 0.034464419464132215,
"center_of_mass": [
5.092831130357043e-05,
-2.7731998546250194e-09,
0.1033400415618391
],
"principal_moments": [
1.2070500049442432e-05,
0.00046541546065229577,
0.0004697639699726611
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.014999999999999993,
-0.0075,
0.0,
0.015000000000000006,
0.007500000000000001,
0.20668
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "打孔尺寸根据内六角圆柱头螺钉的类型1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABwAAAAbwAAAGwAAABrAAAAagAAAA==",
"persist_reference_sha256": "be31f9293e3991d881853e156dab9aaebaf9533e944261fad619d4099f397b4f",
"component": null,
"geometry": {
"box": [
-0.014999999999999993,
-0.0075,
0.0,
0.015000000000000006,
0.007500000000000001,
0.20668
],
"face_count": 85,
"edge_count": 236,
"vertex_count": 144
},
"stable_id": "be31f9293e3991d881853e156dab9aaebaf9533e944261fad619d4099f397b4f"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 102,
"surface_counts": {
"cylinder": 42,
"plane": 60
},
"axis_count": 42,
"repeat_spacings_mm": [
{
"spacing_mm": 18.1728,
"pair_count": 2
},
{
"spacing_mm": 18.5809,
"pair_count": 2
},
{
"spacing_mm": 170.5068,
"pair_count": 2
},
{
"spacing_mm": 185.4399,
"pair_count": 2
},
{
"spacing_mm": 15.0,
"pair_count": 2
},
{
"spacing_mm": 177.68,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-15.0,
-7.5000001,
-1e-07,
15.0,
7.5000001,
206.6800001
],
"volume_mm3": 49849.571130644,
"surface_area_mm2": 34464.475764193,
"solid_count": 1,
"face_count": 102,
"edge_count": 310,
"vertex_count": 196
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-15.0,
-7.5,
0.0,
15.0,
7.5,
206.68
],
"volume_mm3": 49849.5479737,
"surface_area_mm2": 34464.419464132,
"solid_count": 1,
"face_count": 85,
"edge_count": 236,
"vertex_count": 144
},
"comparisons": {
"volume_mm3": {
"expected": 49849.5479737,
"actual": 49849.571130644,
"absolute_delta": 0.023156944000220392,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 34464.419464132,
"actual": 34464.475764193,
"absolute_delta": 0.056300060998182744,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-15.0,
-7.5,
0.0,
15.0,
7.5,
206.68
],
"actual": [
-15.0,
-7.5000001,
-1e-07,
15.0,
7.5000001,
206.6800001
],
"max_absolute_delta": 1.0000000028043132e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 85,
"actual": 102,
"matches": false
},
"edge_count": {
"expected": 236,
"actual": 310,
"matches": false
},
"vertex_count": {
"expected": 144,
"actual": 196,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}