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

643 lines
14 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "056099",
"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,
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": [
-15.0,
17.5
],
"end": [
15.0,
17.5
]
},
{
"type": "line",
"start": [
15.0,
17.5
],
"end": [
15.0,
-17.5
]
},
{
"type": "line",
"start": [
15.0,
-17.5
],
"end": [
-15.0,
-17.5
]
},
{
"type": "line",
"start": [
-15.0,
-17.5
],
"end": [
-15.0,
17.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-15.0,
17.5
],
"end": [
15.0,
-17.5
]
}
]
}
},
{
"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": "arc",
"start": [
20.0,
61.0
],
"end": [
20.181068264,
63.588089275
],
"center": [
20.0,
62.300378599
],
"radius_mm": 1.300378599,
"clockwise": false
},
{
"type": "arc",
"start": [
20.181068264,
63.588089275
],
"end": [
-0.0,
65.0
],
"center": [
0.0,
-79.934449771
],
"radius_mm": 144.934449771,
"clockwise": true
},
{
"type": "line",
"start": [
-0.0,
65.0
],
"end": [
0.0,
35.0
]
},
{
"type": "line",
"start": [
0.0,
35.0
],
"end": [
15.0,
35.0
]
},
{
"type": "line",
"start": [
15.0,
35.0
],
"end": [
15.0,
45.0
]
},
{
"type": "line",
"start": [
15.0,
45.0
],
"end": [
16.800833322,
45.0
]
},
{
"type": "line",
"start": [
16.800833322,
45.0
],
"end": [
16.800833322,
51.0
]
},
{
"type": "line",
"start": [
16.800833322,
51.0
],
"end": [
15.0,
51.0
]
},
{
"type": "line",
"start": [
15.0,
51.0
],
"end": [
15.0,
61.0
]
},
{
"type": "line",
"start": [
15.0,
61.0
],
"end": [
20.0,
61.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
60.28585124
],
"end": [
0.0,
-7.824958678
]
}
]
}
}
]
},
"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": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 35.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_005",
"name": "旋轉1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
60.28585124,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "234112c797fc6aaa19defe03755e6bf6df2fa827e47e9ba1b4c8fbae196cc37d",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.06028585123966941,
0.0
],
"end": [
0.0,
-0.007824958677685942,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "056099.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 6.070762629884994e-12,
"volume": 6.070762629884994e-05,
"surface_area": 0.011168521464752437,
"center_of_mass": [
2.6324550345379433e-18,
0.03062235889036966,
-3.822399147631432e-18
],
"principal_moments": [
9.767468817685302e-16,
2.6000233835292286e-15,
2.699554633529161e-15
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.021300378599001416,
0.0,
-0.021300378599001416,
0.021300378599001416,
0.065,
0.021300378599001416
],
"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.021300378599001416,
0.0,
-0.021300378599001416,
0.021300378599001416,
0.065,
0.021300378599001416
],
"face_count": 15,
"edge_count": 23,
"vertex_count": 10
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 20,
"surface_counts": {
"cylinder": 6,
"plane": 10,
"sphere": 2,
"torus": 2
},
"axis_count": 6,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-21.300378699,
0.0,
-21.300378699,
21.300378699,
65.0,
21.300378599
],
"volume_mm3": 60707.626595651,
"surface_area_mm2": 11168.521500888,
"solid_count": 1,
"face_count": 20,
"edge_count": 44,
"vertex_count": 29
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-21.300378599,
0.0,
-21.300378599,
21.300378599,
65.0,
21.300378599
],
"volume_mm3": 60707.62629885,
"surface_area_mm2": 11168.521464752,
"solid_count": 1,
"face_count": 15,
"edge_count": 23,
"vertex_count": 10
},
"comparisons": {
"volume_mm3": {
"expected": 60707.62629885,
"actual": 60707.626595651,
"absolute_delta": 0.000296801001240965,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 11168.521464752,
"actual": 11168.521500888,
"absolute_delta": 3.61359998350963e-05,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-21.300378599,
0.0,
-21.300378599,
21.300378599,
65.0,
21.300378599
],
"actual": [
-21.300378699,
0.0,
-21.300378699,
21.300378699,
65.0,
21.300378599
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 15,
"actual": 20,
"matches": false
},
"edge_count": {
"expected": 23,
"actual": 44,
"matches": false
},
"vertex_count": {
"expected": 10,
"actual": 29,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}