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

1414 lines
32 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "219276",
"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": "arc",
"start": [
3.5,
47.2
],
"end": [
3.3,
47.0
],
"center": [
3.3,
47.2
],
"radius_mm": 0.2,
"clockwise": true
},
{
"type": "line",
"start": [
3.3,
47.0
],
"end": [
3.2,
47.0
]
},
{
"type": "arc",
"start": [
3.2,
47.0
],
"end": [
3.0,
46.8
],
"center": [
3.2,
46.8
],
"radius_mm": 0.2,
"clockwise": false
},
{
"type": "line",
"start": [
3.0,
46.8
],
"end": [
3.0,
46.2
]
},
{
"type": "arc",
"start": [
3.0,
46.2
],
"end": [
3.2,
46.0
],
"center": [
3.2,
46.2
],
"radius_mm": 0.2,
"clockwise": false
},
{
"type": "line",
"start": [
3.2,
46.0
],
"end": [
3.3,
46.0
]
},
{
"type": "arc",
"start": [
3.3,
46.0
],
"end": [
3.5,
45.8
],
"center": [
3.3,
45.8
],
"radius_mm": 0.2,
"clockwise": true
},
{
"type": "line",
"start": [
3.5,
45.8
],
"end": [
3.5,
45.0
]
},
{
"type": "line",
"start": [
3.5,
45.0
],
"end": [
4.54,
45.0
]
},
{
"type": "line",
"start": [
4.54,
45.0
],
"end": [
5.0,
44.54
]
},
{
"type": "line",
"start": [
5.0,
44.54
],
"end": [
5.0,
5.46
]
},
{
"type": "line",
"start": [
5.0,
5.46
],
"end": [
4.54,
5.0
]
},
{
"type": "line",
"start": [
4.54,
5.0
],
"end": [
3.5,
5.0
]
},
{
"type": "line",
"start": [
3.5,
5.0
],
"end": [
3.5,
0.3
]
},
{
"type": "line",
"start": [
3.5,
0.3
],
"end": [
3.2,
0.0
]
},
{
"type": "line",
"start": [
3.2,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
62.0
]
},
{
"type": "line",
"start": [
0.0,
62.0
],
"end": [
2.45379918,
62.0
]
},
{
"type": "line",
"start": [
2.45379918,
62.0
],
"end": [
4.25,
58.88888892
]
},
{
"type": "line",
"start": [
4.25,
58.88888892
],
"end": [
4.25,
55.5
]
},
{
"type": "line",
"start": [
4.25,
55.5
],
"end": [
3.75,
55.0
]
},
{
"type": "line",
"start": [
3.75,
55.0
],
"end": [
1.5,
55.0
]
},
{
"type": "line",
"start": [
1.5,
55.0
],
"end": [
1.5,
48.0
]
},
{
"type": "line",
"start": [
1.5,
48.0
],
"end": [
3.2,
48.0
]
},
{
"type": "line",
"start": [
3.2,
48.0
],
"end": [
3.5,
47.7
]
},
{
"type": "line",
"start": [
3.5,
47.7
],
"end": [
3.5,
47.2
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
62.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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,
1.2
],
"end": [
1.5,
1.2
]
},
{
"type": "line",
"start": [
1.5,
1.2
],
"end": [
1.2295,
0.9295
]
},
{
"type": "line",
"start": [
1.2295,
0.9295
],
"end": [
1.2295,
0.2705
]
},
{
"type": "line",
"start": [
1.2295,
0.2705
],
"end": [
1.5,
0.0
]
},
{
"type": "line",
"start": [
1.5,
0.0
],
"end": [
-0.0,
0.0
]
},
{
"type": "line",
"start": [
-0.0,
0.0
],
"end": [
0.0,
1.2
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.0,
0.0
],
"end": [
0.0,
1.2
]
}
]
}
},
{
"id": "sk_004",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-0.649519053,
-0.375
],
"end": [
-0.0,
-0.75
]
},
{
"type": "line",
"start": [
-0.0,
-0.75
],
"end": [
0.649519053,
-0.375
]
},
{
"type": "line",
"start": [
0.649519053,
-0.375
],
"end": [
0.649519053,
0.375
]
},
{
"type": "line",
"start": [
0.649519053,
0.375
],
"end": [
0.0,
0.75
]
},
{
"type": "line",
"start": [
0.0,
0.75
],
"end": [
-0.649519053,
0.375
]
},
{
"type": "line",
"start": [
-0.649519053,
0.375
],
"end": [
-0.649519053,
-0.375
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"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": [
-5.0,
1.2
],
"end": [
-5.0,
0.0
]
},
{
"type": "line",
"start": [
-5.0,
0.0
],
"end": [
5.0,
0.0
]
},
{
"type": "line",
"start": [
5.0,
0.0
],
"end": [
5.0,
1.2
]
},
{
"type": "line",
"start": [
5.0,
1.2
],
"end": [
-5.0,
1.2
]
}
]
}
]
}
},
{
"id": "sk_006",
"name": "IP_For NUT",
"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": []
}
}
]
},
"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": [
0.0,
1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "e30cd9d2d1311232ad0cae1e8b37b4caf42d6db0fb6268e187a0280d4216d948",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.062,
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": "revolve_cut",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-0.0,
0.0,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "2be54835ad1e031c904920b51275ae74091b4a0a36f56d5ce4c5a8604972ddc8",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-7.105427357601002e-18,
0.0,
0.0
],
"end": [
0.0,
0.001200000000000003,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_002",
"f_004"
],
"params": {
"distance_mm": 2.5,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
35.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 35.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_008",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 0.4,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 0.4,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_009",
"name": "IP_For NUT XY",
"atomic_id": "reference_plane",
"depends_on": [
"f_008"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "IP_For NUT XZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_009"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "IP_For NUT YZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_010"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "IP_For NUT X",
"atomic_id": "reference_axis",
"depends_on": [
"f_009",
"f_010"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "3f148feff96b07148cfde20186f0218b06a6f4b0226343a5deb94f18eb669513",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "3f148feff96b07148cfde20186f0218b06a6f4b0226343a5deb94f18eb669513",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "3f148feff96b07148cfde20186f0218b06a6f4b0226343a5deb94f18eb669513",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
},
{
"kind": "plane",
"stable_id": "19de6ce51008eb595f813d299eedd116a570af1d43fd13c4bd6c4013216b8977",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_010"
}
]
},
{
"id": "f_013",
"name": "IP_For NUT Y",
"atomic_id": "reference_axis",
"depends_on": [
"f_009",
"f_011"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "3f148feff96b07148cfde20186f0218b06a6f4b0226343a5deb94f18eb669513",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "3f148feff96b07148cfde20186f0218b06a6f4b0226343a5deb94f18eb669513",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "3f148feff96b07148cfde20186f0218b06a6f4b0226343a5deb94f18eb669513",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
},
{
"kind": "plane",
"stable_id": "312d3442137e0240c60af7e7165a30cecb088efa390045f3371635c1c1885a60",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_011"
}
]
},
{
"id": "f_014",
"name": "IP_For NUT Z",
"atomic_id": "reference_axis",
"depends_on": [
"f_011",
"f_010"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "312d3442137e0240c60af7e7165a30cecb088efa390045f3371635c1c1885a60",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "312d3442137e0240c60af7e7165a30cecb088efa390045f3371635c1c1885a60",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "312d3442137e0240c60af7e7165a30cecb088efa390045f3371635c1c1885a60",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_011"
},
{
"kind": "plane",
"stable_id": "19de6ce51008eb595f813d299eedd116a570af1d43fd13c4bd6c4013216b8977",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_010"
}
]
}
],
"meta": {
"unit": "mm",
"source": "219276.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.003797833846113344,
"volume": 3.797833846113344e-06,
"surface_area": 0.0018974873440003833,
"center_of_mass": [
8.670361941744961e-18,
0.027752364343110614,
-2.928625722797085e-19
],
"principal_moments": [
4.354188843489653e-08,
9.441713455451749e-07,
9.441962222768155e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.005,
0.0,
-0.005,
0.005,
0.062,
0.005
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
-0.005,
0.0,
-0.005,
0.005,
0.062,
0.005
],
"face_count": 45,
"edge_count": 82,
"vertex_count": 40
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 62,
"surface_counts": {
"cone": 17,
"cylinder": 16,
"plane": 21,
"torus": 8
},
"axis_count": 33,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-5.0,
-1e-07,
-5.0,
5.0,
62.0,
5.0
],
"volume_mm3": 3797.833846884,
"surface_area_mm2": 1897.487337567,
"solid_count": 1,
"face_count": 62,
"edge_count": 140,
"vertex_count": 87
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-5.0,
0.0,
-5.0,
5.0,
62.0,
5.0
],
"volume_mm3": 3797.833846113,
"surface_area_mm2": 1897.487344,
"solid_count": 1,
"face_count": 45,
"edge_count": 82,
"vertex_count": 40
},
"comparisons": {
"volume_mm3": {
"expected": 3797.833846113,
"actual": 3797.833846884,
"absolute_delta": 7.710000318184029e-07,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1897.487344,
"actual": 1897.487337567,
"absolute_delta": 6.432999953176477e-06,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-5.0,
0.0,
-5.0,
5.0,
62.0,
5.0
],
"actual": [
-5.0,
-1e-07,
-5.0,
5.0,
62.0,
5.0
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 45,
"actual": 62,
"matches": false
},
"edge_count": {
"expected": 82,
"actual": 140,
"matches": false
},
"vertex_count": {
"expected": 40,
"actual": 87,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}