examples: restructure
18
README.md
@@ -18,39 +18,39 @@ scipy, numpy, sympy (optional), jupyter (optional)
|
||||
* Undercut
|
||||
* Fillets
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
### Involute Rack
|
||||

|
||||

|
||||
|
||||
### Cylindric Cycloid
|
||||
* Helical
|
||||
* Double Helical
|
||||
* Fillets
|
||||
|
||||

|
||||

|
||||
|
||||
### Cycloid Rack
|
||||
|
||||

|
||||

|
||||
|
||||
### Spherical Involute Bevel-Gear
|
||||
* Spiral
|
||||
|
||||

|
||||

|
||||
|
||||
### Crown-Gear
|
||||

|
||||

|
||||
|
||||
### Worm-Gear
|
||||

|
||||

|
||||
|
||||
### Timing-Gear
|
||||

|
||||

|
||||
|
||||
### Lantern-Gear
|
||||

|
||||

|
||||
|
||||
---------------------------
|
||||
|
||||
|
||||
BIN
examples/Drawings/gear_rack.20241223-230627.FCBak
Normal file
BIN
examples/Drawings/involute_gear.20241223-171820.FCBak
Normal file
|
Before Width: | Height: | Size: 205 KiB After Width: | Height: | Size: 205 KiB |
|
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 160 KiB After Width: | Height: | Size: 160 KiB |
|
Before Width: | Height: | Size: 188 KiB After Width: | Height: | Size: 188 KiB |
|
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 108 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 178 KiB After Width: | Height: | Size: 178 KiB |
298
examples/worm_cutting_tool/test.ipynb
Normal 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",
|
||||
|
||||