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

781 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "108524",
"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": [
-22.5,
-27.5
],
"end": [
22.5,
-27.5
]
},
{
"type": "line",
"start": [
22.5,
-27.5
],
"end": [
22.5,
27.5
]
},
{
"type": "line",
"start": [
22.5,
27.5
],
"end": [
-22.5,
27.5
]
},
{
"type": "line",
"start": [
-22.5,
27.5
],
"end": [
-22.5,
-27.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-22.5,
-27.5
],
"end": [
22.5,
27.5
]
},
{
"type": "line",
"start": [
-22.5,
27.5
],
"end": [
22.5,
-27.5
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": "circle",
"center": [
-0.0,
-8.5
],
"radius_mm": 10.0
}
},
{
"id": "sk_004",
"name": "草图8",
"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": "circle",
"center": [
-0.0,
-8.5
],
"radius_mm": 15.1
}
},
{
"id": "sk_005",
"name": "草图9",
"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": "circle",
"center": [
0.0,
-8.5
],
"radius_mm": 13.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_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": 12.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 5.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_006",
"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_007",
"name": "M5 间隙孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺钉间隙",
"diameter_mm": 5.5,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-17.5,
21.5,
0.0
]
},
{
"mm": [
17.5,
21.5,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "大小mm 暗销孔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": [
-10.0,
21.5,
0.0
]
},
{
"mm": [
10.0,
21.5,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 3.2,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_010",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 7.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_011",
"name": "M3 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_009"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 3.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-15.909902577,
7.409902577,
0.0
]
},
{
"mm": [
15.909902577,
7.409902577,
0.0
]
},
{
"mm": [
15.909902577,
-24.409902577,
0.0
]
},
{
"mm": [
-15.909902577,
-24.409902577,
0.0
]
}
],
"thread": {
"diameter_mm": 3.0,
"depth_mm": 12.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "108524.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.05872558696388422,
"volume": 2.1750217394031193e-05,
"surface_area": 0.008617467878549497,
"center_of_mass": [
6.763409765762155e-17,
-9.673130158981037e-05,
-0.001857405324427791
],
"principal_moments": [
1.2487546213683813e-05,
1.6906987365562154e-05,
2.802464222406098e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.022500000000000003,
-0.006000000000000001,
-0.027499999999999997,
0.022499999999999996,
0.006000000000000001,
0.027500000000000004
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M3 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAAByAAAAcQAAAHAAAABvAAAAbgAAAGYAAABlAAAA",
"persist_reference_sha256": "fcbd89ff325fc57557471d8d5c87b906d1d08c61be6b67e28cc3d769a2f07c6d",
"component": null,
"geometry": {
"box": [
-0.022500000000000003,
-0.006000000000000001,
-0.027499999999999997,
0.022499999999999996,
0.006000000000000001,
0.027500000000000004
],
"face_count": 23,
"edge_count": 40,
"vertex_count": 14
},
"stable_id": "fcbd89ff325fc57557471d8d5c87b906d1d08c61be6b67e28cc3d769a2f07c6d"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 36,
"surface_counts": {
"cone": 4,
"cylinder": 24,
"plane": 8
},
"axis_count": 28,
"repeat_spacings_mm": [
{
"spacing_mm": 31.8198,
"pair_count": 4
},
{
"spacing_mm": 23.0489,
"pair_count": 4
},
{
"spacing_mm": 22.7264,
"pair_count": 4
},
{
"spacing_mm": 25.5,
"pair_count": 4
},
{
"spacing_mm": 32.0156,
"pair_count": 4
},
{
"spacing_mm": 45.0,
"pair_count": 2
},
{
"spacing_mm": 15.2793,
"pair_count": 2
},
{
"spacing_mm": 18.2608,
"pair_count": 2
},
{
"spacing_mm": 29.4933,
"pair_count": 2
},
{
"spacing_mm": 31.1425,
"pair_count": 2
},
{
"spacing_mm": 38.1936,
"pair_count": 2
},
{
"spacing_mm": 18.5758,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-22.5,
-6.0,
-27.5,
22.5,
6.0,
27.5
],
"volume_mm3": 21750.217394031,
"surface_area_mm2": 8617.467878549,
"solid_count": 1,
"face_count": 36,
"edge_count": 88,
"vertex_count": 58
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-22.5,
-6.0,
-27.5,
22.5,
6.0,
27.5
],
"volume_mm3": 21750.217394031,
"surface_area_mm2": 8617.467878549,
"solid_count": 1,
"face_count": 23,
"edge_count": 40,
"vertex_count": 14
},
"comparisons": {
"volume_mm3": {
"expected": 21750.217394031,
"actual": 21750.217394031,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 8617.467878549,
"actual": 8617.467878549,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-22.5,
-6.0,
-27.5,
22.5,
6.0,
27.5
],
"actual": [
-22.5,
-6.0,
-27.5,
22.5,
6.0,
27.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 23,
"actual": 36,
"matches": false
},
"edge_count": {
"expected": 40,
"actual": 88,
"matches": false
},
"vertex_count": {
"expected": 14,
"actual": 58,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}