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

683 lines
15 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "240840",
"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,
-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": [
0.0,
0.0
],
"end": [
435.0,
0.0
]
},
{
"type": "line",
"start": [
435.0,
0.0
],
"end": [
435.0,
7.5
]
},
{
"type": "line",
"start": [
435.0,
7.5
],
"end": [
432.0,
7.5
]
},
{
"type": "line",
"start": [
432.0,
7.5
],
"end": [
432.0,
7.1
]
},
{
"type": "line",
"start": [
432.0,
7.1
],
"end": [
430.9,
7.1
]
},
{
"type": "line",
"start": [
430.9,
7.1
],
"end": [
430.9,
7.5
]
},
{
"type": "line",
"start": [
430.9,
7.5
],
"end": [
415.0,
7.5
]
},
{
"type": "line",
"start": [
415.0,
7.5
],
"end": [
415.0,
10.0
]
},
{
"type": "line",
"start": [
415.0,
10.0
],
"end": [
57.0,
10.0
]
},
{
"type": "line",
"start": [
57.0,
10.0
],
"end": [
57.0,
7.5
]
},
{
"type": "line",
"start": [
57.0,
7.5
],
"end": [
22.0,
7.5
]
},
{
"type": "line",
"start": [
22.0,
7.5
],
"end": [
22.0,
6.0
]
},
{
"type": "line",
"start": [
22.0,
6.0
],
"end": [
-0.0,
6.0
]
},
{
"type": "line",
"start": [
-0.0,
6.0
],
"end": [
0.0,
0.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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
0.0,
2.0
],
"end": [
0.0,
-2.0
],
"center": [
0.0,
0.0
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "line",
"start": [
0.0,
-2.0
],
"end": [
19.0,
-2.0
]
},
{
"type": "arc",
"start": [
19.0,
-2.0
],
"end": [
19.0,
2.0
],
"center": [
19.0,
0.0
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "line",
"start": [
19.0,
2.0
],
"end": [
0.0,
2.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
19.0,
0.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_004",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"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": "150e6b30257ac2b15fdaef75c290777003ae3ecf911f0b1b60604061bdfb047a",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.435,
0.0,
0.0
]
}
}
]
},
{
"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_005",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_002",
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 1.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "240840.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.6223404347820037,
"volume": 0.00012446808695640074,
"surface_area": 0.02664698681146827,
"center_of_mass": [
0.22741484192829192,
7.417945500284962e-06,
-5.922066063197099e-11
],
"principal_moments": [
2.9680666323377022e-05,
0.0083823449347853,
0.008382366006263537
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-1.130465332784666e-19,
-0.01,
-0.01,
0.435,
0.01,
0.01
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "圆角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAAByAAAAcQAAAA==",
"persist_reference_sha256": "040fa2fd451c19489160dc656be60734216574c9b76d194496aba7f1e070c79a",
"component": null,
"geometry": {
"box": [
-1.130465332784666e-19,
-0.01,
-0.01,
0.435,
0.01,
0.01
],
"face_count": 18,
"edge_count": 25,
"vertex_count": 9
},
"stable_id": "040fa2fd451c19489160dc656be60734216574c9b76d194496aba7f1e070c79a"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 26,
"surface_counts": {
"cylinder": 14,
"plane": 10,
"torus": 2
},
"axis_count": 14,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1e-07,
-10.0,
-10.0,
435.0,
10.0,
10.0
],
"volume_mm3": 124468.083758181,
"surface_area_mm2": 26646.986519185,
"solid_count": 1,
"face_count": 26,
"edge_count": 54,
"vertex_count": 35
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.0,
-10.0,
-10.0,
435.0,
10.0,
10.0
],
"volume_mm3": 124468.086956401,
"surface_area_mm2": 26646.986811468,
"solid_count": 1,
"face_count": 18,
"edge_count": 25,
"vertex_count": 9
},
"comparisons": {
"volume_mm3": {
"expected": 124468.086956401,
"actual": 124468.083758181,
"absolute_delta": 0.003198220001650043,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 26646.986811468,
"actual": 26646.986519185,
"absolute_delta": 0.0002922829989984166,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
-10.0,
-10.0,
435.0,
10.0,
10.0
],
"actual": [
-1e-07,
-10.0,
-10.0,
435.0,
10.0,
10.0
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 18,
"actual": 26,
"matches": false
},
"edge_count": {
"expected": 25,
"actual": 54,
"matches": false
},
"vertex_count": {
"expected": 9,
"actual": 35,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}