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

949 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "190447",
"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": [
-6.7,
12.75
],
"end": [
6.7,
12.75
]
},
{
"type": "line",
"start": [
6.7,
12.75
],
"end": [
6.7,
-12.75
]
},
{
"type": "line",
"start": [
6.7,
-12.75
],
"end": [
-6.7,
-12.75
]
},
{
"type": "line",
"start": [
-6.7,
-12.75
],
"end": [
-6.7,
12.75
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-6.7,
12.75
],
"end": [
6.7,
-12.75
]
},
{
"type": "line",
"start": [
-6.7,
-12.75
],
"end": [
6.7,
12.75
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
-12.75,
15.5
],
"end": [
-1.95,
15.5
]
},
{
"type": "line",
"start": [
-1.95,
15.5
],
"end": [
-1.95,
6.5
]
},
{
"type": "line",
"start": [
-1.95,
6.5
],
"end": [
-12.75,
6.5
]
},
{
"type": "line",
"start": [
-12.75,
6.5
],
"end": [
-12.75,
15.5
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": [
4.45,
15.5
],
"end": [
12.75,
15.5
]
},
{
"type": "line",
"start": [
12.75,
15.5
],
"end": [
12.75,
2.5
]
},
{
"type": "line",
"start": [
12.75,
2.5
],
"end": [
4.45,
2.5
]
},
{
"type": "line",
"start": [
4.45,
2.5
],
"end": [
4.45,
15.5
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
1.95,
-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": [
-2.5,
15.5
],
"end": [
2.5,
15.5
]
},
{
"type": "line",
"start": [
2.5,
15.5
],
"end": [
2.5,
7.0
]
},
{
"type": "line",
"start": [
2.5,
7.0
],
"end": [
-2.5,
7.0
]
},
{
"type": "line",
"start": [
-2.5,
7.0
],
"end": [
-2.5,
15.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.0,
0.0
],
"end": [
-0.0,
15.5
]
}
]
}
},
{
"id": "sk_006",
"name": "草图5",
"role": "profile",
"workplane": {
"origin_mm": [
12.75,
-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,
3.25
],
"radius_mm": 2.4
}
},
{
"id": "sk_007",
"name": "草图6",
"role": "profile",
"workplane": {
"origin_mm": [
14.75,
-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,
3.25
],
"radius_mm": 1.35
}
}
]
},
"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.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_011",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 0.5,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_008",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_009",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_008",
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
},
{
"id": "f_010",
"name": "Ø3.5 (3.5) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_006",
"f_004",
"f_007"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 3.5,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-3.5,
9.25,
0.0
]
},
{
"mm": [
3.5,
9.25,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "190447.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0022917575646523866,
"volume": 2.2917575646523865e-06,
"surface_area": 0.0015876721149972197,
"center_of_mass": [
2.197213112412526e-18,
0.004710192749539489,
0.00202123383196113
],
"principal_moments": [
6.993145135433703e-08,
1.2315791503533706e-07,
1.2714079209320973e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.006700000000000005,
0.0,
-0.012749999999999997,
0.0067000000000000046,
0.0155,
0.019750000000000004
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "圆角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABwAAAAbwAAAG4AAABtAAAAbAAAAGsAAABqAAAA",
"persist_reference_sha256": "bc12271f0d98e74967ed2edf79c19143398ebcd3a67405aba0315fae954a07f3",
"component": null,
"geometry": {
"box": [
-0.006700000000000005,
0.0,
-0.012749999999999996,
0.0067000000000000046,
0.0155,
0.019750000000000004
],
"face_count": 24,
"edge_count": 56,
"vertex_count": 32
},
"stable_id": "bc12271f0d98e74967ed2edf79c19143398ebcd3a67405aba0315fae954a07f3"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 28,
"surface_counts": {
"cylinder": 12,
"plane": 16
},
"axis_count": 12,
"repeat_spacings_mm": [
{
"spacing_mm": 29.2201,
"pair_count": 2
},
{
"spacing_mm": 24.2655,
"pair_count": 2
},
{
"spacing_mm": 26.9321,
"pair_count": 2
},
{
"spacing_mm": 25.2693,
"pair_count": 2
},
{
"spacing_mm": 16.4952,
"pair_count": 2
},
{
"spacing_mm": 13.6121,
"pair_count": 2
},
{
"spacing_mm": 15.6446,
"pair_count": 2
},
{
"spacing_mm": 34.821,
"pair_count": 2
},
{
"spacing_mm": 13.9554,
"pair_count": 2
},
{
"spacing_mm": 30.2903,
"pair_count": 2
},
{
"spacing_mm": 12.4,
"pair_count": 2
},
{
"spacing_mm": 24.5,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-6.7,
0.0,
-12.75,
6.7,
15.5,
19.75
],
"volume_mm3": 2291.757564652,
"surface_area_mm2": 1587.672114997,
"solid_count": 1,
"face_count": 28,
"edge_count": 72,
"vertex_count": 48
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-6.7,
0.0,
-12.75,
6.7,
15.5,
19.75
],
"volume_mm3": 2291.757564652,
"surface_area_mm2": 1587.672114997,
"solid_count": 1,
"face_count": 24,
"edge_count": 56,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 2291.757564652,
"actual": 2291.757564652,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1587.672114997,
"actual": 1587.672114997,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-6.7,
0.0,
-12.75,
6.7,
15.5,
19.75
],
"actual": [
-6.7,
0.0,
-12.75,
6.7,
15.5,
19.75
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 24,
"actual": 28,
"matches": false
},
"edge_count": {
"expected": 56,
"actual": 72,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 48,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}