master
sp9unb 2022-10-13 11:02:29 +02:00
rodzic 12b0a1f945
commit 63a91f9040
2 zmienionych plików z 12 dodań i 11 usunięć

Wyświetl plik

@ -30,7 +30,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 1,
"id": "6ea87a15-f571-4611-8487-5b7556e2ef45", "id": "6ea87a15-f571-4611-8487-5b7556e2ef45",
"metadata": { "metadata": {
"extensions": { "extensions": {
@ -68,7 +68,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 2,
"id": "d075a994-76bb-46f7-bdfb-cc6ef449dc43", "id": "d075a994-76bb-46f7-bdfb-cc6ef449dc43",
"metadata": { "metadata": {
"extensions": { "extensions": {
@ -107,7 +107,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 31, "execution_count": 9,
"id": "2f3b63fd-d5ea-40b6-a2f9-b31c84cfef36", "id": "2f3b63fd-d5ea-40b6-a2f9-b31c84cfef36",
"metadata": { "metadata": {
"extensions": { "extensions": {
@ -129,7 +129,7 @@
{ {
"data": { "data": {
"application/vnd.jupyter.widget-view+json": { "application/vnd.jupyter.widget-view+json": {
"model_id": "", "model_id": "3f07d16568084521b394d029bb354e83",
"version_major": 2, "version_major": 2,
"version_minor": 0 "version_minor": 0
}, },
@ -137,7 +137,7 @@
"VBox(children=(FloatSlider(value=2.0, description='Width [m]:', layout=Layout(width='500px'), max=5.0, min=0.1…" "VBox(children=(FloatSlider(value=2.0, description='Width [m]:', layout=Layout(width='500px'), max=5.0, min=0.1…"
] ]
}, },
"execution_count": 31, "execution_count": 9,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -146,7 +146,7 @@
"def f(width,height,depth,airTemp,hotAirTemp,coatDens):\n", "def f(width,height,depth,airTemp,hotAirTemp,coatDens):\n",
" \n", " \n",
" \n", " \n",
" out=widgets.Output(layout={'margin': '10px 10px 10px 10px'}) \n", " out=widgets.Output(layout={'margin': '10px 10px 10px 20px'}) \n",
" with out: \n", " with out: \n",
" print(\"\\n\")\n", " print(\"\\n\")\n",
" # Volume\n", " # Volume\n",
@ -198,15 +198,16 @@
" alpha=True,\n", " alpha=True,\n",
" clearOpacity=1.0,\n", " clearOpacity=1.0,\n",
" clearColor='#62a0ea',\n", " clearColor='#62a0ea',\n",
" controls=[OrbitControls(controlling=c)])\n", " controls=[OrbitControls(controlling=c)]\n",
" )\n",
" \n", " \n",
" display(widgets.HBox([renderer, out])) \n", " display(widgets.HBox([renderer, out])) \n",
"# return renderer\n", "# return renderer\n",
"\n", "\n",
"\n", "\n",
"#display(HTML('''<style>\n", " display(HTML('''<style>\n",
"# .widget-label { min-width: 25ex !important; }\n", " .widget-hbox { margin-top: 20px; }\n",
"#</style>'''))\n", " </style>'''))\n",
"\n", "\n",
"layout=Layout(width='500px')\n", "layout=Layout(width='500px')\n",
"style = {'description_width': 'initial'}\n", "style = {'description_width': 'initial'}\n",

Wyświetl plik

@ -162,7 +162,7 @@
{ {
"data": { "data": {
"application/vnd.jupyter.widget-view+json": { "application/vnd.jupyter.widget-view+json": {
"model_id": "bedefd6b566a49efbb902f1ee4ce51a0", "model_id": "5478a07a77934741aca7e530640992ac",
"version_major": 2, "version_major": 2,
"version_minor": 0 "version_minor": 0
}, },