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

604 lines
13 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "119831",
"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": [
0.0,
0.0
],
"end": [
0.0,
4.0
]
},
{
"type": "line",
"start": [
0.0,
4.0
],
"end": [
25.0,
4.0
]
},
{
"type": "line",
"start": [
25.0,
4.0
],
"end": [
25.0,
6.0
]
},
{
"type": "line",
"start": [
25.0,
6.0
],
"end": [
28.0,
6.0
]
},
{
"type": "line",
"start": [
28.0,
6.0
],
"end": [
28.0,
4.0
]
},
{
"type": "line",
"start": [
28.0,
4.0
],
"end": [
65.0,
4.0
]
},
{
"type": "line",
"start": [
65.0,
4.0
],
"end": [
65.0,
0.0
]
},
{
"type": "line",
"start": [
65.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
104.045668666,
0.0
]
}
]
}
},
{
"id": "sk_003",
"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": [
-7.226322264,
7.902294883
],
"end": [
8.969034661,
7.902294883
]
},
{
"type": "line",
"start": [
8.969034661,
7.902294883
],
"end": [
8.969034661,
3.5
]
},
{
"type": "line",
"start": [
8.969034661,
3.5
],
"end": [
-7.226322264,
3.5
]
},
{
"type": "line",
"start": [
-7.226322264,
3.5
],
"end": [
-7.226322264,
7.902294883
]
}
]
}
]
}
}
]
},
"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": "revolve_add",
"depends_on": [
"f_002"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "3e3e546bc23b66d23ad7cca0408ed0a6c0f8b20c3d810dfd4fbdb8d48a4da60a",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.10404566866619622,
0.0,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 12.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.2,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "119831.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.02681367037228178,
"volume": 3.4376500477284334e-06,
"surface_area": 0.0018809784552040873,
"center_of_mass": [
0.03229390515836515,
-1.6817466878837333e-05,
-1.1955528975522579e-20
],
"principal_moments": [
2.3978783277398475e-07,
9.04931442142582e-06,
9.050916208580624e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.006,
-0.006,
0.065,
0.006,
0.006
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABrAAAAagAAAA==",
"persist_reference_sha256": "3a27ca3aaad56ef866f3b65e70e3f1214ca09973643e9534c8ef1bc183826b68",
"component": null,
"geometry": {
"box": [
0.0,
-0.006,
-0.006,
0.065,
0.006,
0.006
],
"face_count": 13,
"edge_count": 17,
"vertex_count": 6
},
"stable_id": "3a27ca3aaad56ef866f3b65e70e3f1214ca09973643e9534c8ef1bc183826b68"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 21,
"surface_counts": {
"cone": 9,
"cylinder": 6,
"plane": 6
},
"axis_count": 15,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1e-07,
-6.0,
-6.0,
65.0,
6.0,
6.0
],
"volume_mm3": 3437.650035916,
"surface_area_mm2": 1880.978456617,
"solid_count": 1,
"face_count": 21,
"edge_count": 43,
"vertex_count": 26
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-6.0,
-6.0,
65.0,
6.0,
6.0
],
"volume_mm3": 3437.650047728,
"surface_area_mm2": 1880.978455204,
"solid_count": 1,
"face_count": 13,
"edge_count": 17,
"vertex_count": 6
},
"comparisons": {
"volume_mm3": {
"expected": 3437.650047728,
"actual": 3437.650035916,
"absolute_delta": 1.1812000138888834e-05,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1880.978455204,
"actual": 1880.978456617,
"absolute_delta": 1.4129998362477636e-06,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-6.0,
-6.0,
65.0,
6.0,
6.0
],
"actual": [
-1e-07,
-6.0,
-6.0,
65.0,
6.0,
6.0
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 13,
"actual": 21,
"matches": false
},
"edge_count": {
"expected": 17,
"actual": 43,
"matches": false
},
"vertex_count": {
"expected": 6,
"actual": 26,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}