examples: restructure

This commit is contained in:
looooo
2024-12-26 12:31:31 +01:00
parent 284e2881b6
commit 5d3072ab4a
28 changed files with 311 additions and 11 deletions

View File

@@ -18,39 +18,39 @@ scipy, numpy, sympy (optional), jupyter (optional)
* Undercut
* Fillets
![involute-gear](examples/involute-double-helical-gear.png)
![involute-gear](examples/images/involute-double-helical-gear.png)
### Involute Rack
![involute-rack](examples/involute-rack.png)
![involute-rack](examples/images/involute-rack.png)
### Cylindric Cycloid
* Helical
* Double Helical
* Fillets
![cycloid-gear](examples/cycloid-gear.png)
![cycloid-gear](examples/images/cycloid-gear.png)
### Cycloid Rack
![cycloid-rack](examples/cycloid-rack.png)
![cycloid-rack](examples/images/cycloid-rack.png)
### Spherical Involute Bevel-Gear
* Spiral
![bevel-gear](examples/bevel-gear.png)
![bevel-gear](examples/images/bevel-gear.png)
### Crown-Gear
![crown-gear](examples/crown-gear.png)
![crown-gear](examples/images/crown-gear.png)
### Worm-Gear
![worm-gear](examples/worm-gear.png)
![worm-gear](examples/images/worm-gear.png)
### Timing-Gear
![timing-gear](examples/timing-gear.png)
![timing-gear](examples/images/timing-gear.png)
### Lantern-Gear
![lantern-gear](examples/lantern-gear.png)
![lantern-gear](examples/images/lantern-gear.png)
---------------------------

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

Before

Width:  |  Height:  |  Size: 205 KiB

After

Width:  |  Height:  |  Size: 205 KiB

View File

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 73 KiB

View File

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 90 KiB

View File

Before

Width:  |  Height:  |  Size: 160 KiB

After

Width:  |  Height:  |  Size: 160 KiB

View File

Before

Width:  |  Height:  |  Size: 188 KiB

After

Width:  |  Height:  |  Size: 188 KiB

View File

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 108 KiB

View File

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

View File

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

View File

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 82 KiB

View File

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 99 KiB

View File

Before

Width:  |  Height:  |  Size: 178 KiB

After

Width:  |  Height:  |  Size: 178 KiB

File diff suppressed because one or more lines are too long

View File

@@ -198,7 +198,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 1,
"id": "05428eb2-d03e-41e8-9ffd-5263b1db6344",
"metadata": {},
"outputs": [
@@ -206,6 +206,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
"PATH_TO_FREECAD_LIBDIR not specified, using default FreeCAD version in /home/lo/projects/freecad/freecad.gears/.pixi/envs/default/lib\n",
"Assembly4 workbench (v0.12.5) loaded\n",
"t_start_1: -3.111447653720825\n",
"t_start_0: 3.8893095671510314\n",
"t0: 3.918003320200202, min: 0.36578136487102625\n",
@@ -304,7 +306,7 @@
" print(f\"t0_start: {t_start_0}, min: {min_root(y, t_start_0)}\")\n",
" print(f\"t1_start: {t_start_1}, min: {min_head(y, t_start_1)}\")\n",
" for t in np.linspace(t0, t1, 10):\n",
" x_t = sp.optimize.minimize(lambda x: distance_pw(x, y, t), xw).x[0]\n",
" x_t = sp.optimize.root(lambda x: d_distance_pw_dx(x, y, t), xw).x[0]\n",
" z_t = z(x_t, y, t)\n",
" point = App.Vector(x_t, y, z_t)\n",
" part.show(part.Point(point).toShape())\n",