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

1022 lines
23 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "013825",
"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": [
2.107328483,
-3.65
],
"end": [
4.214656965,
0.0
]
},
{
"type": "line",
"start": [
4.214656965,
0.0
],
"end": [
2.107328483,
3.65
]
},
{
"type": "line",
"start": [
2.107328483,
3.65
],
"end": [
-2.107328483,
3.65
]
},
{
"type": "line",
"start": [
-2.107328483,
3.65
],
"end": [
-4.214656965,
-0.0
]
},
{
"type": "line",
"start": [
-4.214656965,
-0.0
],
"end": [
-2.107328483,
-3.65
]
},
{
"type": "line",
"start": [
-2.107328483,
-3.65
],
"end": [
2.107328483,
-3.65
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 3.65
}
]
}
},
{
"id": "sk_003",
"name": "草图3",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 1.760918321
}
},
{
"id": "sk_004",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
1.703183294,
0.0
],
"end": [
0.851591647,
1.475
]
},
{
"type": "line",
"start": [
0.851591647,
1.475
],
"end": [
-0.851591647,
1.475
]
},
{
"type": "line",
"start": [
-0.851591647,
1.475
],
"end": [
-1.703183294,
-0.0
]
},
{
"type": "line",
"start": [
-1.703183294,
-0.0
],
"end": [
-0.851591647,
-1.475
]
},
{
"type": "line",
"start": [
-0.851591647,
-1.475
],
"end": [
0.851591647,
-1.475
]
},
{
"type": "line",
"start": [
0.851591647,
-1.475
],
"end": [
1.703183294,
0.0
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 1.475
}
]
}
},
{
"id": "sk_005",
"name": "草图5",
"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": "arc",
"start": [
3.160992724,
-13.0
],
"end": [
4.214656965,
-11.946335759
],
"center": [
3.160992724,
-11.946335759
],
"radius_mm": 1.053664241,
"clockwise": false
},
{
"type": "line",
"start": [
4.214656965,
-11.946335759
],
"end": [
4.841074831,
-11.946335759
]
},
{
"type": "line",
"start": [
4.841074831,
-11.946335759
],
"end": [
4.841074831,
-13.42061713
]
},
{
"type": "line",
"start": [
4.841074831,
-13.42061713
],
"end": [
3.160992724,
-13.42061713
]
},
{
"type": "line",
"start": [
3.160992724,
-13.42061713
],
"end": [
3.160992724,
-13.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-55.37142332
]
}
]
}
},
{
"id": "sk_006",
"name": "草图6",
"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": "arc",
"start": [
3.812324408,
5.911710595
],
"end": [
3.812324408,
2.088289405
],
"center": [
4.4,
4.0
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "arc",
"start": [
3.812324408,
2.088289405
],
"end": [
4.214656965,
1.543695396
],
"center": [
3.644911722,
1.543695396
],
"radius_mm": 0.569745243,
"clockwise": true
},
{
"type": "line",
"start": [
4.214656965,
1.543695396
],
"end": [
7.752125142,
1.543695396
]
},
{
"type": "line",
"start": [
7.752125142,
1.543695396
],
"end": [
7.752125142,
6.456304604
]
},
{
"type": "line",
"start": [
7.752125142,
6.456304604
],
"end": [
4.214656965,
6.456304604
]
},
{
"type": "arc",
"start": [
4.214656965,
6.456304604
],
"end": [
3.812324408,
5.911710595
],
"center": [
3.644911722,
6.456304604
],
"radius_mm": 0.569745243,
"clockwise": false
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-69.227069162
]
},
{
"type": "line",
"start": [
4.4,
4.0
],
"end": [
8.360861901,
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": 26.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 65.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "圆角2",
"atomic_id": "fillet",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"radius_mm": 1.5,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 4.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_010",
"name": "切除-旋转2",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004",
"f_008"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006",
"selectors": [
{
"kind": "axis",
"stable_id": "12b49eec453551b780641e8b869cfd8f3eba4d320112bc1b13d5eac67a6773bb",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
-0.06922706916158378,
0.0
]
}
}
]
},
{
"id": "f_011",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 0.2,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "切除-旋转1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004",
"f_006"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"selectors": [
{
"kind": "axis",
"stable_id": "fc94f805d85c8d2cd5e179f9ba0064fe5089073de929b0c93f12a84c2dd17804",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
-0.05537142332035333,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "013825.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.011622412865446912,
"volume": 1.4900529314675528e-06,
"surface_area": 0.0011531212486213655,
"center_of_mass": [
-2.8104528565714064e-11,
-0.008275533717260905,
-3.229386411653255e-12
],
"principal_moments": [
6.630234292433588e-08,
3.0860543605982505e-06,
3.0860543605982505e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0042146569650842736,
-0.052000000000000005,
-0.0038893572210199475,
0.0042146569650842736,
0.013,
0.0038893572210199285
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABrAAAAagAAAGkAAABmAAAAZQAAAA==",
"persist_reference_sha256": "6b266a07b37d33ac622210ad32ca9dbe523ad8c334b08f7647389a83476c87e0",
"component": null,
"geometry": {
"box": [
-0.0042146569650842736,
-0.052000000000000005,
-0.003889357221019947,
0.0042146569650842736,
0.013,
0.0038893572210199285
],
"face_count": 50,
"edge_count": 118,
"vertex_count": 72
},
"stable_id": "6b266a07b37d33ac622210ad32ca9dbe523ad8c334b08f7647389a83476c87e0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 57,
"surface_counts": {
"cylinder": 4,
"plane": 33,
"torus": 20
},
"axis_count": 4,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-4.214657065,
-52.0,
-3.6500001,
4.214657065,
13.0,
3.6500001
],
"volume_mm3": 1490.031754358,
"surface_area_mm2": 1153.10272483,
"solid_count": 1,
"face_count": 57,
"edge_count": 142,
"vertex_count": 88
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-4.214656965,
-52.0,
-3.889357221,
4.214656965,
13.0,
3.889357221
],
"volume_mm3": 1490.052931468,
"surface_area_mm2": 1153.121248621,
"solid_count": 1,
"face_count": 50,
"edge_count": 118,
"vertex_count": 72
},
"comparisons": {
"volume_mm3": {
"expected": 1490.052931468,
"actual": 1490.031754358,
"absolute_delta": 0.02117711000005329,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1153.121248621,
"actual": 1153.10272483,
"absolute_delta": 0.018523791000006895,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-4.214656965,
-52.0,
-3.889357221,
4.214656965,
13.0,
3.889357221
],
"actual": [
-4.214657065,
-52.0,
-3.6500001,
4.214657065,
13.0,
3.6500001
],
"max_absolute_delta": 0.23935712099999984,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 50,
"actual": 57,
"matches": false
},
"edge_count": {
"expected": 118,
"actual": 142,
"matches": false
},
"vertex_count": {
"expected": 72,
"actual": 88,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}