681 lines
14 KiB
JSON
681 lines
14 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "074726",
|
|
"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": [
|
|
-30.0,
|
|
41.5
|
|
],
|
|
"end": [
|
|
30.0,
|
|
41.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
30.0,
|
|
41.5
|
|
],
|
|
"end": [
|
|
30.0,
|
|
-41.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
30.0,
|
|
-41.5
|
|
],
|
|
"end": [
|
|
-30.0,
|
|
-41.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-30.0,
|
|
-41.5
|
|
],
|
|
"end": [
|
|
-30.0,
|
|
41.5
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-30.0,
|
|
41.5
|
|
],
|
|
"end": [
|
|
30.0,
|
|
-41.5
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_003",
|
|
"name": "草圖2",
|
|
"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": [
|
|
9.0,
|
|
5.0
|
|
],
|
|
"end": [
|
|
30.0,
|
|
-4.8
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
30.0,
|
|
-4.8
|
|
],
|
|
"end": [
|
|
30.0,
|
|
5.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
30.0,
|
|
5.0
|
|
],
|
|
"end": [
|
|
9.0,
|
|
5.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": "extrude_add_blind",
|
|
"depends_on": [
|
|
"f_001"
|
|
],
|
|
"params": {
|
|
"distance_mm": 10.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "through_all_and_blind",
|
|
"solidworks_code": 6
|
|
}
|
|
},
|
|
"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": "extrude_cut_blind",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 45.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_003",
|
|
"unresolved": [
|
|
"missing source sketch parent"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "Ø5.2 (5.2) 直徑孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "鑽孔尺寸",
|
|
"diameter_mm": 5.2,
|
|
"depth_mm": 23.5,
|
|
"end_condition": {
|
|
"solidworks_code": 0,
|
|
"type": "blind"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
8.0,
|
|
-37.5,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-8.0,
|
|
-37.5,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_007",
|
|
"name": "M4 六角承窩頭蓋螺釘的柱孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "六角承窩頭 ISO 4762",
|
|
"diameter_mm": 4.5,
|
|
"depth_mm": 10.0,
|
|
"end_condition": {
|
|
"solidworks_code": 1,
|
|
"type": "through_all"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
-15.0,
|
|
-12.5,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
15.0,
|
|
-12.5,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"counterbore": {
|
|
"diameter_mm": 8.0,
|
|
"depth_mm": 4.0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_008",
|
|
"name": "M3 螺紋孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "底部螺紋孔",
|
|
"diameter_mm": 3.0,
|
|
"depth_mm": 6.0,
|
|
"end_condition": {
|
|
"solidworks_code": 0,
|
|
"type": "blind"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
-20.6,
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-20.6,
|
|
36.5,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
2.6,
|
|
36.5,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
2.6,
|
|
0.0,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 3.0,
|
|
"depth_mm": 6.0,
|
|
"class": "2B"
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "074726.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.04394776684600415,
|
|
"volume": 4.394776684600415e-05,
|
|
"surface_area": 0.013302293609980876,
|
|
"center_of_mass": [
|
|
-0.002381585677423959,
|
|
-0.0015555441012925283,
|
|
0.0001576187973307839
|
|
],
|
|
"principal_moments": [
|
|
1.1944412733355932e-05,
|
|
2.590306341882286e-05,
|
|
3.7126346526241956e-05
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.030000000000000002,
|
|
-0.04150000000000001,
|
|
-0.005,
|
|
0.03000000000000001,
|
|
0.041499999999999995,
|
|
0.005
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "M3 螺紋孔1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABvAAAAbgAAAG0AAABsAAAAZQAAAA==",
|
|
"persist_reference_sha256": "28a124e4f009922d3037625181b5317ba7c32549512595e0131c867dd9a4af77",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.030000000000000002,
|
|
-0.04150000000000001,
|
|
-0.005,
|
|
0.03000000000000001,
|
|
0.041499999999999995,
|
|
0.005
|
|
],
|
|
"face_count": 32,
|
|
"edge_count": 46,
|
|
"vertex_count": 16
|
|
},
|
|
"stable_id": "28a124e4f009922d3037625181b5317ba7c32549512595e0131c867dd9a4af77"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 50,
|
|
"surface_counts": {
|
|
"cone": 8,
|
|
"cylinder": 28,
|
|
"plane": 14
|
|
},
|
|
"axis_count": 36,
|
|
"repeat_spacings_mm": [
|
|
{
|
|
"spacing_mm": 7.5,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 36.5,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 37.2626,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 43.2492,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 43.8946,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 23.2,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 24.3822,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 33.9706,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 25.9615,
|
|
"pair_count": 2
|
|
}
|
|
],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-30.0,
|
|
-41.5,
|
|
-5.0,
|
|
30.0,
|
|
41.5,
|
|
5.0
|
|
],
|
|
"volume_mm3": 43947.766846004,
|
|
"surface_area_mm2": 13302.293609981,
|
|
"solid_count": 1,
|
|
"face_count": 50,
|
|
"edge_count": 110,
|
|
"vertex_count": 72
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-30.0,
|
|
-41.5,
|
|
-5.0,
|
|
30.0,
|
|
41.5,
|
|
5.0
|
|
],
|
|
"volume_mm3": 43947.766846004,
|
|
"surface_area_mm2": 13302.293609981,
|
|
"solid_count": 1,
|
|
"face_count": 32,
|
|
"edge_count": 46,
|
|
"vertex_count": 16
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 43947.766846004,
|
|
"actual": 43947.766846004,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 13302.293609981,
|
|
"actual": 13302.293609981,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-30.0,
|
|
-41.5,
|
|
-5.0,
|
|
30.0,
|
|
41.5,
|
|
5.0
|
|
],
|
|
"actual": [
|
|
-30.0,
|
|
-41.5,
|
|
-5.0,
|
|
30.0,
|
|
41.5,
|
|
5.0
|
|
],
|
|
"max_absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 32,
|
|
"actual": 50,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 46,
|
|
"actual": 110,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 16,
|
|
"actual": 72,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|