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

921 lines
19 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "113529",
"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": [
-110.0,
120.0
],
"end": [
110.0,
120.0
]
},
{
"type": "line",
"start": [
110.0,
120.0
],
"end": [
110.0,
-120.0
]
},
{
"type": "line",
"start": [
110.0,
-120.0
],
"end": [
-110.0,
-120.0
]
},
{
"type": "line",
"start": [
-110.0,
-120.0
],
"end": [
-110.0,
120.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-110.0,
120.0
],
"end": [
110.0,
-120.0
]
},
{
"type": "line",
"start": [
-110.0,
-120.0
],
"end": [
110.0,
120.0
]
}
]
}
},
{
"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": "circles",
"items": [
{
"center": [
-40.0,
85.0
],
"radius_mm": 4.0
},
{
"center": [
40.0,
85.0
],
"radius_mm": 4.0
},
{
"center": [
-40.0,
-85.0
],
"radius_mm": 4.0
},
{
"center": [
40.0,
-85.0
],
"radius_mm": 4.0
}
]
}
},
{
"id": "sk_004",
"name": "草图6",
"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": "circles",
"items": [
{
"center": [
45.0,
55.0
],
"radius_mm": 4.0
},
{
"center": [
-45.0,
-55.0
],
"radius_mm": 4.0
},
{
"center": [
-45.0,
55.0
],
"radius_mm": 4.0
},
{
"center": [
45.0,
-55.0
],
"radius_mm": 4.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": 15.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": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-拉伸4",
"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_004"
},
{
"id": "f_007",
"name": "打孔尺寸根据内六角圆柱头螺钉的类型1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 6.6,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-52.5,
100.0,
0.0
]
},
{
"mm": [
52.5,
100.0,
0.0
]
},
{
"mm": [
85.0,
29.0,
0.0
]
},
{
"mm": [
85.0,
-29.0,
0.0
]
},
{
"mm": [
52.5,
-100.0,
0.0
]
},
{
"mm": [
-52.5,
-100.0,
0.0
]
},
{
"mm": [
0.0,
0.0,
0.0
]
},
{
"mm": [
-85.0,
29.0,
0.0
]
},
{
"mm": [
-85.0,
-29.0,
0.0
]
},
{
"mm": [
-45.0,
40.0,
0.0
]
},
{
"mm": [
45.0,
40.0,
0.0
]
},
{
"mm": [
45.0,
-40.0,
0.0
]
},
{
"mm": [
-45.0,
-40.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.8
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "打孔尺寸根据内六角圆柱头螺钉的类型2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 5.5,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-0.0,
104.75,
0.0
]
},
{
"mm": [
38.5,
-104.75,
0.0
]
},
{
"mm": [
-38.5,
-104.75,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 5.7
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"name": "M10 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 10.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-86.5,
89.0,
0.0
]
},
{
"mm": [
86.5,
89.0,
0.0
]
},
{
"mm": [
86.5,
-89.0,
0.0
]
},
{
"mm": [
-86.5,
-89.0,
0.0
]
}
],
"thread": {
"diameter_mm": 10.0,
"depth_mm": 15.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "打孔尺寸根据内六角圆柱头螺钉的类型3",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 3.4,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
42.5,
104.75,
0.0
]
},
{
"mm": [
-42.5,
104.75,
0.0
]
}
],
"counterbore": {
"diameter_mm": 6.0,
"depth_mm": 3.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 10.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "113529.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 5.993532758508802,
"volume": 0.0007684016357062567,
"surface_area": 0.1272390588802568,
"center_of_mass": [
5.8966199971716355e-05,
-2.8800704448701048e-05,
-0.00010076176845453099
],
"principal_moments": [
0.024245910278860666,
0.02867585817841557,
0.05269742594117758
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.11,
-0.0075,
-0.11999999999999998,
0.11000000000000004,
0.0075,
0.12000000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "圆角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABtAAAAbAAAAGsAAABqAAAAaQAAAGYAAABlAAAA",
"persist_reference_sha256": "101b95fc3628d3c80fc37770adf2dc66d08db49d901766e69f6831d4ed28e59d",
"component": null,
"geometry": {
"box": [
-0.11,
-0.0075,
-0.11999999999999998,
0.11000000000000004,
0.0075,
0.12000000000000001
],
"face_count": 80,
"edge_count": 120,
"vertex_count": 16
},
"stable_id": "101b95fc3628d3c80fc37770adf2dc66d08db49d901766e69f6831d4ed28e59d"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 128,
"surface_counts": {
"cylinder": 99,
"plane": 29
},
"axis_count": 99,
"repeat_spacings_mm": [
{
"spacing_mm": 35.7351,
"pair_count": 4
},
{
"spacing_mm": 139.4346,
"pair_count": 4
},
{
"spacing_mm": 181.6927,
"pair_count": 4
},
{
"spacing_mm": 208.1736,
"pair_count": 4
},
{
"spacing_mm": 234.6103,
"pair_count": 4
},
{
"spacing_mm": 192.0339,
"pair_count": 4
},
{
"spacing_mm": 124.1098,
"pair_count": 4
},
{
"spacing_mm": 60.0187,
"pair_count": 4
},
{
"spacing_mm": 118.0095,
"pair_count": 4
},
{
"spacing_mm": 64.2125,
"pair_count": 4
},
{
"spacing_mm": 140.3326,
"pair_count": 4
},
{
"spacing_mm": 184.2098,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-110.0,
-7.5,
-120.0,
110.0,
7.5,
120.0
],
"volume_mm3": 768401.635706256,
"surface_area_mm2": 127239.058880257,
"solid_count": 1,
"face_count": 128,
"edge_count": 312,
"vertex_count": 208
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-110.0,
-7.5,
-120.0,
110.0,
7.5,
120.0
],
"volume_mm3": 768401.635706257,
"surface_area_mm2": 127239.058880257,
"solid_count": 1,
"face_count": 80,
"edge_count": 120,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 768401.635706257,
"actual": 768401.635706256,
"absolute_delta": 9.313225746154785e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 127239.058880257,
"actual": 127239.058880257,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-110.0,
-7.5,
-120.0,
110.0,
7.5,
120.0
],
"actual": [
-110.0,
-7.5,
-120.0,
110.0,
7.5,
120.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 80,
"actual": 128,
"matches": false
},
"edge_count": {
"expected": 120,
"actual": 312,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 208,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}