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

790 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "096676",
"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": [
-12.0,
14.0
],
"end": [
12.0,
14.0
]
},
{
"type": "line",
"start": [
12.0,
14.0
],
"end": [
12.0,
-14.0
]
},
{
"type": "line",
"start": [
12.0,
-14.0
],
"end": [
-12.0,
-14.0
]
},
{
"type": "line",
"start": [
-12.0,
-14.0
],
"end": [
-12.0,
14.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-12.0,
14.0
],
"end": [
12.0,
-14.0
]
},
{
"type": "line",
"start": [
-12.0,
-14.0
],
"end": [
12.0,
14.0
]
}
]
}
},
{
"id": "sk_003",
"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": "line",
"start": [
-12.0,
-14.0
],
"end": [
-10.0,
-14.0
]
},
{
"type": "line",
"start": [
-10.0,
-14.0
],
"end": [
-10.0,
-2.0
]
},
{
"type": "line",
"start": [
-10.0,
-2.0
],
"end": [
-12.0,
-2.0
]
},
{
"type": "line",
"start": [
-12.0,
-2.0
],
"end": [
-12.0,
-14.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草圖4",
"role": "profile",
"workplane": {
"origin_mm": [
0.5,
-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": [
-7.0,
10.7
],
"end": [
-7.0,
6.3
],
"center": [
-7.0,
8.5
],
"radius_mm": 2.2,
"clockwise": false
},
{
"type": "line",
"start": [
-7.0,
6.3
],
"end": [
8.0,
6.3
]
},
{
"type": "arc",
"start": [
8.0,
6.3
],
"end": [
8.0,
10.7
],
"center": [
8.0,
8.5
],
"radius_mm": 2.2,
"clockwise": false
},
{
"type": "line",
"start": [
8.0,
10.7
],
"end": [
-7.0,
10.7
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-7.0,
8.5
],
"end": [
8.0,
8.5
]
}
]
}
}
]
},
"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_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 0.5,
"reverse": false,
"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": "除料-伸長2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_007",
"name": "Ø4.5 (4.5) 直徑孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "鑽孔尺寸",
"diameter_mm": 4.5,
"depth_mm": 0.5,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
-6.5,
-9.5,
0.0
]
},
{
"mm": [
4.5,
-9.5,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-a0dc250c87d9b79e45f03706",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-12.0,
-14.0,
0.0,
12.0,
14.0,
0.0
],
"center_mm": [
-0.492307139,
-0.372200297,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-a0dc250c87d9b79e45f03706",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-12.0,
-14.0,
0.0,
12.0,
14.0,
0.0
],
"center_mm": [
-0.492307139,
-0.372200297,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_006",
"name": "圓角2",
"atomic_id": "fillet",
"depends_on": [
"f_005"
],
"params": {
"radius_mm": 2.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "除料-伸長1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_009",
"name": "圓角1",
"atomic_id": "fillet",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"radius_mm": 2.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "096676.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 2.66205421949899e-14,
"volume": 2.66205421949899e-07,
"surface_area": 0.0011507243402126225,
"center_of_mass": [
-0.0004923071385394447,
-0.0003722002974287988,
0.00025
],
"principal_moments": [
1.2638118239220352e-18,
1.6365380133706516e-18,
2.8992406480345647e-18
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.012000000000000002,
-0.013999999999999999,
0.0,
0.012000000000000002,
0.014000000000000002,
0.0005
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "圓角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABqAAAAaQAAAGsAAABoAAAA",
"persist_reference_sha256": "00594ea3a770cddf67ae05fd5fa50ee4b9196b21bd9c13514bb2065185414784",
"component": null,
"geometry": {
"box": [
-0.012000000000000002,
-0.013999999999999999,
0.0,
0.012000000000000002,
0.014000000000000002,
0.0005
],
"face_count": 18,
"edge_count": 46,
"vertex_count": 28
},
"stable_id": "00594ea3a770cddf67ae05fd5fa50ee4b9196b21bd9c13514bb2065185414784"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 21,
"surface_counts": {
"cylinder": 12,
"plane": 9
},
"axis_count": 12,
"repeat_spacings_mm": [
{
"spacing_mm": 20.8866,
"pair_count": 2
},
{
"spacing_mm": 14.7139,
"pair_count": 2
},
{
"spacing_mm": 4.3012,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-12.0,
-14.0,
0.0,
12.0,
14.0,
0.5
],
"volume_mm3": 266.20542195,
"surface_area_mm2": 1150.724340213,
"solid_count": 1,
"face_count": 21,
"edge_count": 57,
"vertex_count": 38
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-12.0,
-14.0,
0.0,
12.0,
14.0,
0.5
],
"volume_mm3": 266.20542195,
"surface_area_mm2": 1150.724340213,
"solid_count": 1,
"face_count": 18,
"edge_count": 46,
"vertex_count": 28
},
"comparisons": {
"volume_mm3": {
"expected": 266.20542195,
"actual": 266.20542195,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1150.724340213,
"actual": 1150.724340213,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-12.0,
-14.0,
0.0,
12.0,
14.0,
0.5
],
"actual": [
-12.0,
-14.0,
0.0,
12.0,
14.0,
0.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 18,
"actual": 21,
"matches": false
},
"edge_count": {
"expected": 46,
"actual": 57,
"matches": false
},
"vertex_count": {
"expected": 28,
"actual": 38,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}