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

554 lines
11 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "052135",
"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": [
-6.0,
-0.0
],
"end": [
-6.0,
4.133974596
]
},
{
"type": "line",
"start": [
-6.0,
4.133974596
],
"end": [
-5.5,
5.0
]
},
{
"type": "line",
"start": [
-5.5,
5.0
],
"end": [
0.0,
5.0
]
},
{
"type": "line",
"start": [
0.0,
5.0
],
"end": [
0.0,
3.0
]
},
{
"type": "line",
"start": [
0.0,
3.0
],
"end": [
12.0,
3.0
]
},
{
"type": "line",
"start": [
12.0,
3.0
],
"end": [
12.0,
-0.0
]
},
{
"type": "line",
"start": [
12.0,
-0.0
],
"end": [
-6.0,
-0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-6.9,
-0.0
],
"end": [
12.9,
-0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖2",
"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": [
0.0,
2.886751346
],
"end": [
-2.5,
1.443375673
]
},
{
"type": "line",
"start": [
-2.5,
1.443375673
],
"end": [
-2.5,
-1.443375673
]
},
{
"type": "line",
"start": [
-2.5,
-1.443375673
],
"end": [
0.0,
-2.886751346
]
},
{
"type": "line",
"start": [
0.0,
-2.886751346
],
"end": [
2.5,
-1.443375673
]
},
{
"type": "line",
"start": [
2.5,
-1.443375673
],
"end": [
2.5,
1.443375673
]
},
{
"type": "line",
"start": [
2.5,
1.443375673
],
"end": [
0.0,
2.886751346
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-2.75,
0.0
],
"end": [
2.75,
-0.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": "平面4",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_002"
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "平面5",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_003"
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "052135.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0,
"volume": 0.0,
"surface_area": 0.0,
"center_of_mass": [
0.0,
0.0,
0.0
],
"principal_moments": null,
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0069,
-0.00288675134594813,
-0.00275,
0.012899999999999998,
0.005,
0.00275
],
"solid_body_count": 0,
"bodies": []
}
},
"step_inference": {
"available": true,
"face_count": 0,
"surface_counts": {},
"axis_count": 0,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
],
"volume_mm3": 0.0,
"surface_area_mm2": 0.0,
"solid_count": 0,
"face_count": 0,
"edge_count": 0,
"vertex_count": 0
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-6.9,
-2.886751346,
-2.75,
12.9,
5.0,
2.75
]
},
"comparisons": {
"bounding_box_mm": {
"expected": [
-6.9,
-2.886751346,
-2.75,
12.9,
5.0,
2.75
],
"actual": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
],
"max_absolute_delta": 12.9,
"within_tolerance": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": true
}
},
"source_has_modeling_features": true
}
}