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

970 lines
21 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "116716",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origin",
"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": [
0.0,
0.0
],
"end": [
550.0,
0.0
]
},
{
"type": "line",
"start": [
550.0,
0.0
],
"end": [
550.0,
-192.0
]
},
{
"type": "line",
"start": [
550.0,
-192.0
],
"end": [
0.0,
-192.0
]
},
{
"type": "line",
"start": [
0.0,
-192.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"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": "circles",
"items": [
{
"center": [
50.0,
-21.0
],
"radius_mm": 10.5
},
{
"center": [
500.0,
-21.0
],
"radius_mm": 10.5
},
{
"center": [
275.0,
-171.0
],
"radius_mm": 10.5
}
]
}
},
{
"id": "sk_004",
"name": "草图5",
"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": [
77.5,
196.0
],
"end": [
92.5,
196.0
]
},
{
"type": "line",
"start": [
92.5,
196.0
],
"end": [
92.5,
188.0
]
},
{
"type": "line",
"start": [
92.5,
188.0
],
"end": [
77.5,
188.0
]
},
{
"type": "line",
"start": [
77.5,
188.0
],
"end": [
77.5,
196.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
92.5,
-4.0
],
"end": [
92.5,
4.0
]
},
{
"type": "line",
"start": [
92.5,
4.0
],
"end": [
77.5,
4.0
]
},
{
"type": "line",
"start": [
77.5,
4.0
],
"end": [
77.5,
-4.0
]
},
{
"type": "line",
"start": [
77.5,
-4.0
],
"end": [
92.5,
-4.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
472.5,
-4.0
],
"end": [
457.5,
-4.0
]
},
{
"type": "line",
"start": [
457.5,
-4.0
],
"end": [
457.5,
4.0
]
},
{
"type": "line",
"start": [
457.5,
4.0
],
"end": [
472.5,
4.0
]
},
{
"type": "line",
"start": [
472.5,
4.0
],
"end": [
472.5,
-4.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
457.5,
196.0
],
"end": [
457.5,
188.0
]
},
{
"type": "line",
"start": [
457.5,
188.0
],
"end": [
472.5,
188.0
]
},
{
"type": "line",
"start": [
472.5,
188.0
],
"end": [
472.5,
196.0
]
},
{
"type": "line",
"start": [
472.5,
196.0
],
"end": [
457.5,
196.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
77.5,
196.0
],
"end": [
92.5,
188.0
]
},
{
"type": "line",
"start": [
77.5,
188.0
],
"end": [
92.5,
196.0
]
},
{
"type": "line",
"start": [
275.0,
191.5
],
"end": [
275.0,
0.5
]
},
{
"type": "line",
"start": [
275.0,
96.0
],
"end": [
411.817484648,
96.0
]
},
{
"type": "line",
"start": [
77.5,
4.0
],
"end": [
92.5,
-4.0
]
},
{
"type": "line",
"start": [
77.5,
-4.0
],
"end": [
92.5,
4.0
]
},
{
"type": "line",
"start": [
472.5,
-4.0
],
"end": [
457.5,
4.0
]
},
{
"type": "line",
"start": [
472.5,
4.0
],
"end": [
457.5,
-4.0
]
},
{
"type": "line",
"start": [
472.5,
188.0
],
"end": [
457.5,
196.0
]
},
{
"type": "line",
"start": [
472.5,
196.0
],
"end": [
457.5,
188.0
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front",
"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": "Top",
"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": "Right",
"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": "blind",
"solidworks_code": 0
}
},
"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": "chamfer",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "M8 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 8.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
16.0,
-36.0,
0.0
]
},
{
"mm": [
16.0,
-156.0,
0.0
]
},
{
"mm": [
534.0,
-156.0,
0.0
]
},
{
"mm": [
534.0,
-36.0,
0.0
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 12.0,
"class": ""
}
},
"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": 20.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_006",
"f_007"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
}
],
"meta": {
"unit": "mm",
"source": "116716.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 3.37846895736352,
"volume": 0.0012512847990235258,
"surface_area": 0.22902372053261547,
"center_of_mass": [
0.27499999999999997,
0.0060023334421050335,
0.0962491235658706
],
"principal_moments": [
0.010303880738110083,
0.0846414473936647,
0.0948642963338316
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
0.0,
-2.8406096919120216e-17,
0.55,
0.012,
0.192
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAAB7AAAAegAAAHkAAABlAAAA",
"persist_reference_sha256": "58c38355a1510565d3d3b81265caa3b4c673c290e69ee6c7e6972569bd191ab6",
"component": null,
"geometry": {
"box": [
0.0,
0.0,
-2.8406096919120216e-17,
0.55,
0.012,
0.192
],
"face_count": 49,
"edge_count": 118,
"vertex_count": 64
},
"stable_id": "58c38355a1510565d3d3b81265caa3b4c673c290e69ee6c7e6972569bd191ab6"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 56,
"surface_counts": {
"cone": 8,
"cylinder": 18,
"plane": 30
},
"axis_count": 26,
"repeat_spacings_mm": [
{
"spacing_mm": 550.1291,
"pair_count": 4
},
{
"spacing_mm": 529.9075,
"pair_count": 4
},
{
"spacing_mm": 151.4001,
"pair_count": 4
},
{
"spacing_mm": 32.8938,
"pair_count": 4
},
{
"spacing_mm": 151.8749,
"pair_count": 4
},
{
"spacing_mm": 35.0143,
"pair_count": 4
},
{
"spacing_mm": 550.2599,
"pair_count": 4
},
{
"spacing_mm": 530.0434,
"pair_count": 4
},
{
"spacing_mm": 182.0,
"pair_count": 4
},
{
"spacing_mm": 540.0,
"pair_count": 4
},
{
"spacing_mm": 569.8456,
"pair_count": 4
},
{
"spacing_mm": 540.1333,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
0.0,
-0.0,
-0.0,
550.0,
12.0,
192.0
],
"volume_mm3": 1251284.799023526,
"surface_area_mm2": 229023.720532616,
"solid_count": 1,
"face_count": 56,
"edge_count": 146,
"vertex_count": 92
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
0.0,
-0.0,
550.0,
12.0,
192.0
],
"volume_mm3": 1251284.799023526,
"surface_area_mm2": 229023.720532615,
"solid_count": 1,
"face_count": 49,
"edge_count": 118,
"vertex_count": 64
},
"comparisons": {
"volume_mm3": {
"expected": 1251284.799023526,
"actual": 1251284.799023526,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 229023.720532615,
"actual": 229023.720532616,
"absolute_delta": 9.89530235528946e-10,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
0.0,
-0.0,
550.0,
12.0,
192.0
],
"actual": [
0.0,
-0.0,
-0.0,
550.0,
12.0,
192.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 49,
"actual": 56,
"matches": false
},
"edge_count": {
"expected": 118,
"actual": 146,
"matches": false
},
"vertex_count": {
"expected": 64,
"actual": 92,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}