540 lines
12 KiB
JSON
540 lines
12 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "125297",
|
|
"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": "annulus",
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"inner_radius_mm": 11.5,
|
|
"outer_radius_mm": 75.0
|
|
}
|
|
},
|
|
{
|
|
"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": [],
|
|
"construction": [
|
|
{
|
|
"type": "circle",
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"radius_mm": 17.0
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
17.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0015,
|
|
0.000866025
|
|
],
|
|
"end": [
|
|
14.723931864,
|
|
-8.499133975
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0015,
|
|
-0.000866025
|
|
],
|
|
"end": [
|
|
-14.720931864,
|
|
-8.500866025
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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_005",
|
|
"name": "M4 平頭機械螺釘的錐孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_001"
|
|
],
|
|
"params": {
|
|
"hole_type": "平頭螺釘 - ANSI B18.6.7M",
|
|
"diameter_mm": 4.5,
|
|
"depth_mm": 10.0,
|
|
"end_condition": {
|
|
"solidworks_code": 1,
|
|
"type": "through_all"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
0.0,
|
|
0.0,
|
|
17.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
14.723931864,
|
|
0.0,
|
|
-8.499133975
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-14.720931864,
|
|
0.0,
|
|
-8.500866025
|
|
]
|
|
}
|
|
],
|
|
"countersink": {
|
|
"diameter_mm": 9.4,
|
|
"angle_rad": 1.5707963267948966
|
|
},
|
|
"host_face": {
|
|
"kind": "face",
|
|
"stable_id": "step-face-df16d8abad35fdf925a80ee8",
|
|
"source": "inferred_from_step",
|
|
"confidence": 0.8,
|
|
"geometry": {
|
|
"bbox_mm": [
|
|
-75.0,
|
|
-0.0,
|
|
-75.0,
|
|
75.0,
|
|
0.0,
|
|
75.0
|
|
],
|
|
"center_mm": [
|
|
-1.2212e-05,
|
|
0.0,
|
|
-0.0
|
|
],
|
|
"normal": [
|
|
-0.0,
|
|
-1.0,
|
|
-0.0
|
|
],
|
|
"surface_type": "plane"
|
|
}
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_003",
|
|
"selectors": [
|
|
{
|
|
"kind": "face",
|
|
"stable_id": "step-face-df16d8abad35fdf925a80ee8",
|
|
"source": "inferred_from_step",
|
|
"confidence": 0.8,
|
|
"geometry": {
|
|
"bbox_mm": [
|
|
-75.0,
|
|
-0.0,
|
|
-75.0,
|
|
75.0,
|
|
0.0,
|
|
75.0
|
|
],
|
|
"center_mm": [
|
|
-1.2212e-05,
|
|
0.0,
|
|
-0.0
|
|
],
|
|
"normal": [
|
|
-0.0,
|
|
-1.0,
|
|
-0.0
|
|
],
|
|
"surface_type": "plane"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": 10.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_002",
|
|
"unresolved": [
|
|
"missing source sketch parent"
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "125297.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.17190921292468028,
|
|
"volume": 0.00017190921292468028,
|
|
"surface_area": 0.04023817550204685,
|
|
"center_of_mass": [
|
|
-3.784657868559323e-09,
|
|
0.00500427662642514,
|
|
1.645009985825879e-18
|
|
],
|
|
"principal_moments": [
|
|
0.00024970284684399914,
|
|
0.00024970284684399914,
|
|
0.0004965439945241046
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.07500000000000001,
|
|
-1.734723475976807e-18,
|
|
-0.07500000000000001,
|
|
0.07500000000000001,
|
|
0.01,
|
|
0.07500000000000001
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "M4 平頭機械螺釘的錐孔1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
|
|
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.07500000000000001,
|
|
-1.734723475976807e-18,
|
|
-0.07500000000000001,
|
|
0.07500000000000001,
|
|
0.01,
|
|
0.07500000000000001
|
|
],
|
|
"face_count": 10,
|
|
"edge_count": 13,
|
|
"vertex_count": 0
|
|
},
|
|
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 18,
|
|
"surface_counts": {
|
|
"cone": 6,
|
|
"cylinder": 10,
|
|
"plane": 2
|
|
},
|
|
"axis_count": 16,
|
|
"repeat_spacings_mm": [
|
|
{
|
|
"spacing_mm": 29.4449,
|
|
"pair_count": 3
|
|
}
|
|
],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-75.0,
|
|
-0.0,
|
|
-75.0,
|
|
75.0,
|
|
10.0,
|
|
75.0
|
|
],
|
|
"volume_mm3": 171909.21292468,
|
|
"surface_area_mm2": 40238.175502047,
|
|
"solid_count": 1,
|
|
"face_count": 18,
|
|
"edge_count": 42,
|
|
"vertex_count": 26
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-75.0,
|
|
-0.0,
|
|
-75.0,
|
|
75.0,
|
|
10.0,
|
|
75.0
|
|
],
|
|
"volume_mm3": 171909.21292468,
|
|
"surface_area_mm2": 40238.175502047,
|
|
"solid_count": 1,
|
|
"face_count": 10,
|
|
"edge_count": 13,
|
|
"vertex_count": 0
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 171909.21292468,
|
|
"actual": 171909.21292468,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 40238.175502047,
|
|
"actual": 40238.175502047,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-75.0,
|
|
-0.0,
|
|
-75.0,
|
|
75.0,
|
|
10.0,
|
|
75.0
|
|
],
|
|
"actual": [
|
|
-75.0,
|
|
-0.0,
|
|
-75.0,
|
|
75.0,
|
|
10.0,
|
|
75.0
|
|
],
|
|
"max_absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 10,
|
|
"actual": 18,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 13,
|
|
"actual": 42,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 0,
|
|
"actual": 26,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|