497 lines
11 KiB
JSON
497 lines
11 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "171274",
|
|
"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": "草圖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": [
|
|
-15.940553287,
|
|
16.0
|
|
],
|
|
"end": [
|
|
-13.0,
|
|
18.546812345
|
|
],
|
|
"center": [
|
|
-13.0,
|
|
15.575822593
|
|
],
|
|
"radius_mm": 2.970989752,
|
|
"clockwise": true
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-13.0,
|
|
18.546812345
|
|
],
|
|
"end": [
|
|
0.0,
|
|
18.546812345
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
18.546812345
|
|
],
|
|
"end": [
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
-11.0,
|
|
-0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-11.0,
|
|
-0.0
|
|
],
|
|
"end": [
|
|
-11.0,
|
|
10.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-11.0,
|
|
10.0
|
|
],
|
|
"end": [
|
|
-13.0,
|
|
10.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-13.0,
|
|
10.0
|
|
],
|
|
"end": [
|
|
-13.0,
|
|
16.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-13.0,
|
|
16.0
|
|
],
|
|
"end": [
|
|
-15.940553287,
|
|
16.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_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": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_002",
|
|
"selectors": [
|
|
{
|
|
"kind": "axis",
|
|
"stable_id": "64168f33bdde2462f3d3bb1f57dfbecc3e4c6f7f155bc3afbee30e14aaa13d8e",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"start": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
0.018546812344537894,
|
|
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": "fillet",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"radius_mm": 2.0,
|
|
"tangent_propagation": false
|
|
},
|
|
"execution_status": "deferred"
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "171274.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.008789074111456921,
|
|
"volume": 8.789074111456921e-06,
|
|
"surface_area": 0.0028433106816011093,
|
|
"center_of_mass": [
|
|
3.4163843508483353e-19,
|
|
0.010512661577634384,
|
|
4.414396411389635e-19
|
|
],
|
|
"principal_moments": [
|
|
6.10339252230824e-07,
|
|
6.10339252230824e-07,
|
|
7.103335788712822e-07
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.015940553286712143,
|
|
-1.1072143635965094e-18,
|
|
-0.015940553286712143,
|
|
0.015940553286712143,
|
|
0.018546812344537887,
|
|
0.015940553286712143
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "圓角1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABlAAAA",
|
|
"persist_reference_sha256": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.015940553286712143,
|
|
-1.1072143635965094e-18,
|
|
-0.015940553286712143,
|
|
0.015940553286712143,
|
|
0.018546812344537887,
|
|
0.015940553286712143
|
|
],
|
|
"face_count": 8,
|
|
"edge_count": 7,
|
|
"vertex_count": 0
|
|
},
|
|
"stable_id": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 12,
|
|
"surface_counts": {
|
|
"cylinder": 4,
|
|
"plane": 4,
|
|
"torus": 4
|
|
},
|
|
"axis_count": 4,
|
|
"repeat_spacings_mm": [],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-15.940553287,
|
|
-0.0,
|
|
-15.940553287,
|
|
15.940553287,
|
|
18.546812445,
|
|
15.940553287
|
|
],
|
|
"volume_mm3": 8789.074111457,
|
|
"surface_area_mm2": 2843.310681601,
|
|
"solid_count": 1,
|
|
"face_count": 12,
|
|
"edge_count": 22,
|
|
"vertex_count": 14
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-15.940553287,
|
|
-0.0,
|
|
-15.940553287,
|
|
15.940553287,
|
|
18.546812345,
|
|
15.940553287
|
|
],
|
|
"volume_mm3": 8789.074111457,
|
|
"surface_area_mm2": 2843.310681601,
|
|
"solid_count": 1,
|
|
"face_count": 8,
|
|
"edge_count": 7,
|
|
"vertex_count": 0
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 8789.074111457,
|
|
"actual": 8789.074111457,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 2843.310681601,
|
|
"actual": 2843.310681601,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-15.940553287,
|
|
-0.0,
|
|
-15.940553287,
|
|
15.940553287,
|
|
18.546812345,
|
|
15.940553287
|
|
],
|
|
"actual": [
|
|
-15.940553287,
|
|
-0.0,
|
|
-15.940553287,
|
|
15.940553287,
|
|
18.546812445,
|
|
15.940553287
|
|
],
|
|
"max_absolute_delta": 1.0000000116860974e-07,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 8,
|
|
"actual": 12,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 7,
|
|
"actual": 22,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 0,
|
|
"actual": 14,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|