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

1529 lines
34 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "139302",
"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": [
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": [
-39.5,
0.0
],
"end": [
-39.5,
4.0
]
},
{
"type": "line",
"start": [
-39.5,
4.0
],
"end": [
-40.1765,
3.3235
]
},
{
"type": "line",
"start": [
-40.1765,
3.3235
],
"end": [
-50.3235,
3.3235
]
},
{
"type": "line",
"start": [
-50.3235,
3.3235
],
"end": [
-51.0,
4.0
]
},
{
"type": "line",
"start": [
-51.0,
4.0
],
"end": [
-51.0,
6.0
]
},
{
"type": "line",
"start": [
-51.0,
6.0
],
"end": [
-50.464101615,
6.92820323
]
},
{
"type": "line",
"start": [
-50.464101615,
6.92820323
],
"end": [
-43.6,
6.92820323
]
},
{
"type": "line",
"start": [
-43.6,
6.92820323
],
"end": [
-43.0,
7.52820323
]
},
{
"type": "line",
"start": [
-43.0,
7.52820323
],
"end": [
-43.0,
11.5
]
},
{
"type": "line",
"start": [
-43.0,
11.5
],
"end": [
-42.5,
12.0
]
},
{
"type": "line",
"start": [
-42.5,
12.0
],
"end": [
-29.0,
12.0
]
},
{
"type": "line",
"start": [
-29.0,
12.0
],
"end": [
-26.0,
10.471423652
]
},
{
"type": "line",
"start": [
-26.0,
10.471423652
],
"end": [
-26.0,
3.5
]
},
{
"type": "line",
"start": [
-26.0,
3.5
],
"end": [
-23.0,
3.5
]
},
{
"type": "line",
"start": [
-23.0,
3.5
],
"end": [
-23.0,
4.3
]
},
{
"type": "line",
"start": [
-23.0,
4.3
],
"end": [
-22.8,
4.5
]
},
{
"type": "line",
"start": [
-22.8,
4.5
],
"end": [
-20.2,
4.5
]
},
{
"type": "line",
"start": [
-20.2,
4.5
],
"end": [
-20.0,
4.3
]
},
{
"type": "line",
"start": [
-20.0,
4.3
],
"end": [
-20.0,
4.0
]
},
{
"type": "line",
"start": [
-20.0,
4.0
],
"end": [
-0.767,
4.0
]
},
{
"type": "line",
"start": [
-0.767,
4.0
],
"end": [
0.0,
3.233
]
},
{
"type": "line",
"start": [
0.0,
3.233
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-39.5,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-51.0,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
20.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": [
-4.0,
-8.0
],
"end": [
4.0,
-8.0
]
},
{
"type": "line",
"start": [
4.0,
-8.0
],
"end": [
4.0,
8.0
]
},
{
"type": "line",
"start": [
4.0,
8.0
],
"end": [
-4.0,
8.0
]
},
{
"type": "line",
"start": [
-4.0,
8.0
],
"end": [
-4.0,
-8.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 12.0
}
]
}
]
}
},
{
"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": "arc",
"start": [
-22.231042214,
6.979310345
],
"end": [
-23.0,
8.0
],
"center": [
-23.0,
7.2
],
"radius_mm": 0.8,
"clockwise": false
},
{
"type": "line",
"start": [
-23.0,
8.0
],
"end": [
-26.0,
8.0
]
},
{
"type": "line",
"start": [
-26.0,
8.0
],
"end": [
-26.0,
3.5
]
},
{
"type": "line",
"start": [
-26.0,
3.5
],
"end": [
-23.0,
3.5
]
},
{
"type": "line",
"start": [
-23.0,
3.5
],
"end": [
-23.0,
4.3
]
},
{
"type": "line",
"start": [
-23.0,
4.3
],
"end": [
-22.231042214,
6.979310345
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
50.0,
0.0
],
"end": [
-50.0,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
51.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,
-6.92820323
],
"end": [
6.0,
-3.464101615
]
},
{
"type": "line",
"start": [
6.0,
-3.464101615
],
"end": [
6.0,
3.464101615
]
},
{
"type": "line",
"start": [
6.0,
3.464101615
],
"end": [
0.0,
6.92820323
]
},
{
"type": "line",
"start": [
0.0,
6.92820323
],
"end": [
-6.0,
3.464101615
]
},
{
"type": "line",
"start": [
-6.0,
3.464101615
],
"end": [
-6.0,
-3.464101615
]
},
{
"type": "line",
"start": [
-6.0,
-3.464101615
],
"end": [
0.0,
-6.92820323
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 12.0
}
]
}
]
}
},
{
"id": "sk_006",
"name": "草图5",
"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": [
-13.0,
6.5
],
"end": [
-13.0,
4.0
]
},
{
"type": "line",
"start": [
-13.0,
4.0
],
"end": [
-12.3235,
3.3235
]
},
{
"type": "line",
"start": [
-12.3235,
3.3235
],
"end": [
-7.6765,
3.3235
]
},
{
"type": "line",
"start": [
-7.6765,
3.3235
],
"end": [
-7.0,
4.0
]
},
{
"type": "line",
"start": [
-7.0,
4.0
],
"end": [
-7.0,
6.5
]
},
{
"type": "line",
"start": [
-7.0,
6.5
],
"end": [
-7.580556584,
7.505553499
]
},
{
"type": "line",
"start": [
-7.580556584,
7.505553499
],
"end": [
-12.419443416,
7.505553499
]
},
{
"type": "line",
"start": [
-12.419443416,
7.505553499
],
"end": [
-13.0,
6.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-7.0,
0.0
],
"end": [
-13.0,
0.0
]
}
]
}
},
{
"id": "sk_007",
"name": "草图6",
"role": "profile",
"workplane": {
"origin_mm": [
7.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,
-7.505553499
],
"end": [
6.5,
-3.75277675
]
},
{
"type": "line",
"start": [
6.5,
-3.75277675
],
"end": [
6.5,
3.75277675
]
},
{
"type": "line",
"start": [
6.5,
3.75277675
],
"end": [
0.0,
7.505553499
]
},
{
"type": "line",
"start": [
0.0,
7.505553499
],
"end": [
-6.5,
3.75277675
]
},
{
"type": "line",
"start": [
-6.5,
3.75277675
],
"end": [
-6.5,
-3.75277675
]
},
{
"type": "line",
"start": [
-6.5,
-3.75277675
],
"end": [
-0.0,
-7.505553499
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 12.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": "revolve_add",
"depends_on": [
"f_003"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
-1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "2ce017074267a97c737d536ebb16a82db293691865c16c313d812dc20f50b3e6",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-0.051000000000000004,
0.0,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
20.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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_003"
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "旋转2",
"atomic_id": "revolve_add",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
50.0,
0.0,
0.0
],
"direction": [
-1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "axis",
"stable_id": "cf581a5b039c05e2d9f0d2acffd42bae4daefb10d14d688960104dce04fbb4f3",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.05,
0.0,
0.0
],
"end": [
-0.05,
0.0,
0.0
]
}
}
]
},
{
"id": "f_010",
"name": "旋转3",
"atomic_id": "revolve_add",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-7.0,
0.0,
0.0
],
"direction": [
-1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006",
"selectors": [
{
"kind": "axis",
"stable_id": "5af4e94b6e9aeb92ca6b012ec1cc238b425e55d6e71658d3d5b7039074b24049",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.007,
1.4210854715202004e-17,
0.0
],
"end": [
-0.013000000000000001,
7.105427357601002e-18,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 3.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "基准面2",
"atomic_id": "reference_plane",
"depends_on": [
"f_007"
],
"params": {
"plane": {
"origin_mm": [
51.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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_005"
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "基准面3",
"atomic_id": "reference_plane",
"depends_on": [
"f_010"
],
"params": {
"plane": {
"origin_mm": [
7.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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_007"
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_008",
"f_004"
],
"params": {
"distance_mm": 8.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_012",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_011",
"f_004"
],
"params": {
"distance_mm": 6.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_007"
}
],
"meta": {
"unit": "mm",
"source": "139302.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.010528349532014286,
"volume": 1.0528349532014285e-05,
"surface_area": 0.0037032222115920377,
"center_of_mass": [
-1.0557437751646093e-19,
4.0360065408202236e-10,
0.030849755619428203
],
"principal_moments": [
5.982728015485157e-07,
1.5179323716393533e-06,
1.5180672755399142e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.012,
-0.012,
0.0,
0.012,
0.012,
0.051000000000000004
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABqAAAAaQAAAGgAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "0a26bbf75646bd83d8870646ce4005d1ea62ef8846c2724b2f0430bdfd10750a",
"component": null,
"geometry": {
"box": [
-0.012,
-0.012,
0.0,
0.012,
0.012,
0.051000000000000004
],
"face_count": 61,
"edge_count": 117,
"vertex_count": 60
},
"stable_id": "0a26bbf75646bd83d8870646ce4005d1ea62ef8846c2724b2f0430bdfd10750a"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 75,
"surface_counts": {
"cone": 36,
"cylinder": 12,
"plane": 25,
"torus": 2
},
"axis_count": 48,
"repeat_spacings_mm": [
{
"spacing_mm": 3.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-12.0,
-12.0,
0.0,
12.0,
12.0,
51.0000001
],
"volume_mm3": 10528.36469,
"surface_area_mm2": 3703.217128483,
"solid_count": 1,
"face_count": 75,
"edge_count": 162,
"vertex_count": 94
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-12.0,
-12.0,
0.0,
12.0,
12.0,
51.0
],
"volume_mm3": 10528.349532014,
"surface_area_mm2": 3703.222211592,
"solid_count": 1,
"face_count": 61,
"edge_count": 117,
"vertex_count": 60
},
"comparisons": {
"volume_mm3": {
"expected": 10528.349532014,
"actual": 10528.36469,
"absolute_delta": 0.01515798600121343,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 3703.222211592,
"actual": 3703.217128483,
"absolute_delta": 0.005083108999770047,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-12.0,
-12.0,
0.0,
12.0,
12.0,
51.0
],
"actual": [
-12.0,
-12.0,
0.0,
12.0,
12.0,
51.0000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 61,
"actual": 75,
"matches": false
},
"edge_count": {
"expected": 117,
"actual": 162,
"matches": false
},
"vertex_count": {
"expected": 60,
"actual": 94,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}