diff --git a/.gitignore b/.gitignore index 0711a95..540bd81 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ *.FCBak +.jupyter_ystore.db +.ipynb_checkpoints/ diff --git a/CAD-Screenshot.png b/CAD-Screenshot.png index 5719958..88bf938 100644 --- a/CAD-Screenshot.png +++ b/CAD-Screenshot.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d5565e6d3e7f46890245b2aab5e4dcae961863eebfce57693be0331df2e3621f -size 309730 +oid sha256:11835bf16a19b2d5d5a233f67fa6fb8e3d7bff80e75f1d029c03628ce32439eb +size 496656 diff --git a/FootBracket.FCStd b/FootBracket.FCStd index da9cbfc..df92892 100644 --- a/FootBracket.FCStd +++ b/FootBracket.FCStd @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2c97babef8e84057474eaa92a27f82ee4d92733e06c034f0e3f2a631095535cf -size 810361 +oid sha256:419a7f9d1609126ba83677047168d9d12095f87d7a9aa4857486e1d8660c9d2f +size 810379 diff --git a/MiscParts.FCStd b/MiscParts.FCStd index d2dcb9c..c086ed9 100644 --- a/MiscParts.FCStd +++ b/MiscParts.FCStd @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:71980ff546ed6b608020c803e9edd2f25c17f67aa536db45242e05adb88f93ad +oid sha256:d76f4d1efa46b49db343609a48f73a4c7e8962715cb09de34ec68986354cec1a size 218853 diff --git a/Profiles.FCStd b/Profiles.FCStd index e0c7ce2..a3f88a3 100644 --- a/Profiles.FCStd +++ b/Profiles.FCStd @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:328ef4c0bde330eaf3f7ca7801678c5b393192dd5d4228a90d745bb78c014d95 -size 989897 +oid sha256:d8ed7527f7a7d33051fbc867196fd9624c5dd4bc2fcb3c0d7caf6f21a8037e53 +size 989972 diff --git a/STM-Box.FCStd b/STM-Box.FCStd index 7d07dd9..ccbdaf7 100644 --- a/STM-Box.FCStd +++ b/STM-Box.FCStd @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4df376ec2811b8c0a78c962a0f789c7150ecbf2716f144034a9638c04ab6874e +oid sha256:92d4927c2f971f2c398feecb7f935f43dc7e1b7b7637415d4570deb624f51ef8 size 622329 diff --git a/STM-Cage.FCStd b/STM-Cage.FCStd index 2097741..11073cd 100644 --- a/STM-Cage.FCStd +++ b/STM-Cage.FCStd @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:daea235cf5820d2f369c2c368b2aabd08cc5358350e7965c8b9c6d8daf50a367 -size 101706 +oid sha256:c5f4fa18f0927805fd459e59cd1667f2482e46f14e270c64675f48e549513140 +size 101735 diff --git a/STM-Frame.FCStd b/STM-Frame.FCStd index ab0fb7e..5ef4239 100644 --- a/STM-Frame.FCStd +++ b/STM-Frame.FCStd @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2371b2ffd8355724720ea1cb5db32e8775be75afdb7dbd91a752592b5e365d26 -size 157018 +oid sha256:e0f59094da70d2c345f1553c198cf7a1bee965c7cf2a2f783a1c326b01f2bbae +size 157931 diff --git a/STM.FCStd b/STM.FCStd index 48d7a65..49bc1d4 100644 --- a/STM.FCStd +++ b/STM.FCStd @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:405bf57812a5202ea3dc45ce6073004ccb924db016517b4efca111732c0d6578 -size 87301 +oid sha256:7bcd65c0d56bc50dd3369d5b6b39950f905b92aa323b92db80ebdc1ea5792c92 +size 87244 diff --git a/Spring-Dimensioning.ipynb b/Spring-Dimensioning.ipynb new file mode 100644 index 0000000..0793aa7 --- /dev/null +++ b/Spring-Dimensioning.ipynb @@ -0,0 +1,68 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 17, + "id": "5bef2913-4855-471d-9594-5ec45c029048", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Length: 236.9 mm\n", + "Freq: 1.411 Hz\n" + ] + } + ], + "source": [ + "import math\n", + "\n", + "# Parameters\n", + "spring_constant_n_mm = 1.1\n", + "spring_length_resting_mm = 112\n", + "\n", + "def spring_length_at(weight):\n", + " return weight * 9.81 / spring_constant_n_mm + spring_length_resting_mm\n", + "\n", + "def resonant_freq_at(weight):\n", + " return 1 / (2 * math.pi) * math.sqrt(spring_constant_n_mm * 1000 / weight)\n", + "\n", + "# Environment\n", + "weight_total_kg = 14\n", + "\n", + "print(f\"Length: {spring_length_at(weight_total_kg):.1f} mm\")\n", + "print(f\"Freq: {resonant_freq_at(weight_total_kg):.3f} Hz\")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "f21d84d9-c7a1-4fd2-aa32-136f04db32e5", + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3 (ipykernel)", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.13.3" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +}