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

1178 lines
26 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "214502",
"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": [
-9.0,
4.9
],
"end": [
-9.0,
-4.9
]
},
{
"type": "line",
"start": [
-9.0,
-4.9
],
"end": [
-3.0,
-8.5
]
},
{
"type": "line",
"start": [
-3.0,
-8.5
],
"end": [
-3.0,
-4.9
]
},
{
"type": "line",
"start": [
-3.0,
-4.9
],
"end": [
0.0,
-4.9
]
},
{
"type": "line",
"start": [
0.0,
-4.9
],
"end": [
0.0,
4.9
]
},
{
"type": "line",
"start": [
0.0,
4.9
],
"end": [
-3.0,
4.9
]
},
{
"type": "line",
"start": [
-3.0,
4.9
],
"end": [
-3.0,
8.5
]
},
{
"type": "line",
"start": [
-3.0,
8.5
],
"end": [
-9.0,
4.9
]
}
]
}
]
}
},
{
"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": [
-9.0,
0.0
],
"end": [
-9.0,
2.5
]
},
{
"type": "line",
"start": [
-9.0,
2.5
],
"end": [
-8.750007333,
2.067
]
},
{
"type": "line",
"start": [
-8.750007333,
2.067
],
"end": [
-0.249992667,
2.067
]
},
{
"type": "line",
"start": [
-0.249992667,
2.067
],
"end": [
0.0,
2.5
]
},
{
"type": "line",
"start": [
0.0,
2.5
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-9.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-9.0,
0.0
]
}
]
}
},
{
"id": "sk_004",
"name": "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": []
}
},
{
"id": "sk_005",
"name": "to_bolt",
"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": "extrude_add_two_sided",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 8.5,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 8.5,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"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": [
-1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "70d6c48832229a27fe0a4c63642f244c27faa6057e0ef417b1b8ae0aad08cc6a",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-0.009000000000000001,
0.0,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "平面4",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
-9.0,
-0.0,
-0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 9.0,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_007",
"name": "nut XY",
"atomic_id": "reference_plane",
"depends_on": [
"f_006"
],
"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_008",
"name": "nut XZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_007"
],
"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_009",
"name": "nut YZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_008"
],
"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_010",
"name": "nut X",
"atomic_id": "reference_axis",
"depends_on": [
"f_007",
"f_008"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "435e87e07820707ebaae1cc1aad816908f39089dc49f30da534ad9ddcc2faa05",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "435e87e07820707ebaae1cc1aad816908f39089dc49f30da534ad9ddcc2faa05",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "435e87e07820707ebaae1cc1aad816908f39089dc49f30da534ad9ddcc2faa05",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_007"
},
{
"kind": "plane",
"stable_id": "8f213ccf21ed4f95cd7f97e18f52c660c8317032232e70be702e6e5634a51b61",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
}
]
},
{
"id": "f_011",
"name": "nut Y",
"atomic_id": "reference_axis",
"depends_on": [
"f_007",
"f_009"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "435e87e07820707ebaae1cc1aad816908f39089dc49f30da534ad9ddcc2faa05",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "435e87e07820707ebaae1cc1aad816908f39089dc49f30da534ad9ddcc2faa05",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "435e87e07820707ebaae1cc1aad816908f39089dc49f30da534ad9ddcc2faa05",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_007"
},
{
"kind": "plane",
"stable_id": "fe4271bf7d4b865632bd60ba9fd331c26e92d0b2f4bbc5dfae6216eb1af6d112",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
}
]
},
{
"id": "f_012",
"name": "nut Z",
"atomic_id": "reference_axis",
"depends_on": [
"f_009",
"f_008"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "fe4271bf7d4b865632bd60ba9fd331c26e92d0b2f4bbc5dfae6216eb1af6d112",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "fe4271bf7d4b865632bd60ba9fd331c26e92d0b2f4bbc5dfae6216eb1af6d112",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "fe4271bf7d4b865632bd60ba9fd331c26e92d0b2f4bbc5dfae6216eb1af6d112",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
},
{
"kind": "plane",
"stable_id": "8f213ccf21ed4f95cd7f97e18f52c660c8317032232e70be702e6e5634a51b61",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
}
]
},
{
"id": "f_013",
"name": "to_bolt XY",
"atomic_id": "reference_plane",
"depends_on": [
"f_012"
],
"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_014",
"name": "to_bolt XZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_013"
],
"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_015",
"name": "to_bolt YZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_014"
],
"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_016",
"name": "to_bolt X",
"atomic_id": "reference_axis",
"depends_on": [
"f_013",
"f_014"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "999e7c61ae3a1f4861c454dbdcaffc4d19b64863a41c61f7bad523deea59b4a1",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "999e7c61ae3a1f4861c454dbdcaffc4d19b64863a41c61f7bad523deea59b4a1",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "999e7c61ae3a1f4861c454dbdcaffc4d19b64863a41c61f7bad523deea59b4a1",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_013"
},
{
"kind": "plane",
"stable_id": "9767e2423dad864884a814d24736519c6dc6dcdce8fac08653964d0d51e64111",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_014"
}
]
},
{
"id": "f_017",
"name": "to_bolt Y",
"atomic_id": "reference_axis",
"depends_on": [
"f_013",
"f_015"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "999e7c61ae3a1f4861c454dbdcaffc4d19b64863a41c61f7bad523deea59b4a1",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "999e7c61ae3a1f4861c454dbdcaffc4d19b64863a41c61f7bad523deea59b4a1",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "999e7c61ae3a1f4861c454dbdcaffc4d19b64863a41c61f7bad523deea59b4a1",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_013"
},
{
"kind": "plane",
"stable_id": "8d042d2522e2ea0b9f276e9a46eae34cef4baa7c57013613c31fe5b12c03cc4d",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_015"
}
]
},
{
"id": "f_018",
"name": "to_bolt Z",
"atomic_id": "reference_axis",
"depends_on": [
"f_015",
"f_014"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "8d042d2522e2ea0b9f276e9a46eae34cef4baa7c57013613c31fe5b12c03cc4d",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "8d042d2522e2ea0b9f276e9a46eae34cef4baa7c57013613c31fe5b12c03cc4d",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "8d042d2522e2ea0b9f276e9a46eae34cef4baa7c57013613c31fe5b12c03cc4d",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_015"
},
{
"kind": "plane",
"stable_id": "9767e2423dad864884a814d24736519c6dc6dcdce8fac08653964d0d51e64111",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_014"
}
]
}
],
"meta": {
"unit": "mm",
"source": "214502.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0017442942146228503,
"volume": 1.7442942146228504e-06,
"surface_area": 0.001100572776656412,
"center_of_mass": [
-0.004605257472312203,
-3.5566560630306853e-19,
2.7643846210106104e-19
],
"principal_moments": [
3.5878412857992823e-08,
5.490426885799264e-08,
7.061657987790849e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.009000000000000001,
-0.0085,
-0.0085,
0.0,
0.0085,
0.0085
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "除料-旋轉1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
-0.009000000000000001,
-0.0085,
-0.0085,
0.0,
0.0085,
0.0085
],
"face_count": 13,
"edge_count": 28,
"vertex_count": 16
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 16,
"surface_counts": {
"cone": 4,
"cylinder": 2,
"plane": 10
},
"axis_count": 6,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-9.0,
-8.5,
-8.5,
0.0,
8.5,
8.5
],
"volume_mm3": 1744.294214623,
"surface_area_mm2": 1100.572776656,
"solid_count": 1,
"face_count": 16,
"edge_count": 38,
"vertex_count": 24
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-9.0,
-8.5,
-8.5,
0.0,
8.5,
8.5
],
"volume_mm3": 1744.294214623,
"surface_area_mm2": 1100.572776656,
"solid_count": 1,
"face_count": 13,
"edge_count": 28,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 1744.294214623,
"actual": 1744.294214623,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1100.572776656,
"actual": 1100.572776656,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-9.0,
-8.5,
-8.5,
0.0,
8.5,
8.5
],
"actual": [
-9.0,
-8.5,
-8.5,
0.0,
8.5,
8.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 13,
"actual": 16,
"matches": false
},
"edge_count": {
"expected": 28,
"actual": 38,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 24,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}