Hardware files

This commit is contained in:
Martin Bauer 2021-07-26 14:37:18 +02:00
parent 1673dae523
commit 89bc990bec
3 changed files with 18 additions and 9 deletions

View File

@ -110,7 +110,7 @@ async def send_wifi_trigger_scan(websocket):
await send_message(websocket, MsgCode.WIFI_TRIGGER_SCAN) await send_message(websocket, MsgCode.WIFI_TRIGGER_SCAN)
send_functions += [send_wifi_state_get, send_wifi_trigger_scan] #send_functions += [send_wifi_state_get, send_wifi_trigger_scan]
# ------------------------------------------------------------------------------- # -------------------------------------------------------------------------------

View File

@ -132,7 +132,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 12,
"id": "4b17b3f1", "id": "4b17b3f1",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -188,7 +188,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 11, "execution_count": 5,
"id": "c22da25a", "id": "c22da25a",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -198,7 +198,7 @@
"580" "580"
] ]
}, },
"execution_count": 11, "execution_count": 5,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -217,10 +217,18 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 10,
"id": "98eeee57", "id": "98eeee57",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(620, 1400, 431)\n"
]
}
],
"source": [ "source": [
"def make_upper_part(with_screw_holes):\n", "def make_upper_part(with_screw_holes):\n",
" # shortcuts\n", " # shortcuts\n",
@ -237,6 +245,7 @@
" interior_size = (lcell_size[0] + 2 * tol_around_lcell + 2 * cable_space + 2 * separator_size[0],\n", " interior_size = (lcell_size[0] + 2 * tol_around_lcell + 2 * cable_space + 2 * separator_size[0],\n",
" lcell_size[1] + bottom_lip,\n", " lcell_size[1] + bottom_lip,\n",
" lcell_size[2] + 2 * tol_around_lcell + pcb_dims['size'][2] + wt)\n", " lcell_size[2] + 2 * tol_around_lcell + pcb_dims['size'][2] + wt)\n",
" print(interior_size)\n",
" size = tuple(s + 2 * wall_thickness for s in interior_size)\n", " size = tuple(s + 2 * wall_thickness for s in interior_size)\n",
" \n", " \n",
" # outer wall\n", " # outer wall\n",
@ -294,7 +303,7 @@
" else:\n", " else:\n",
" return outer_wall + pcb_rails + load_cell_cap + cap_wedges\n", " return outer_wall + pcb_rails + load_cell_cap + cap_wedges\n",
"\n", "\n",
"#upper_part = make_upper_part(tr)" "upper_part = make_upper_part(True)"
] ]
}, },
{ {
@ -307,7 +316,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 6, "execution_count": 8,
"id": "a377d2ff", "id": "a377d2ff",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -437,7 +446,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.8.5" "version": "3.8.10"
} }
}, },
"nbformat": 4, "nbformat": 4,