Commit Graph

370 Commits

Author SHA1 Message Date
looooo
32c4e8ec73 add Drawings for a gear-rack 2024-12-22 22:56:25 +01:00
looooo
952388ac0e README.md: update dependencies 2024-12-21 13:38:59 +01:00
looooo
790c8371c6 pixi: update 2024-12-21 13:36:34 +01:00
looooo
359c985aea pyproject.toml: remove pixi from pyproject.toml 2024-12-21 13:34:38 +01:00
looooo
10f68c4dd7 make hole properties optional (backward-compatibility 2024-12-18 22:03:15 +01:00
looooo
fe3b945dfe fp -> obj 2024-12-18 21:49:23 +01:00
Lorenz Lechner
26e8703270 gh-action build matrix 2024-12-08 14:22:55 +01:00
Lorenz Lechner
df9d17e975 gh-action add test 2024-12-08 14:21:20 +01:00
Lorenz Lechner
156359c6e0 gh-action: add test 2024-12-08 12:56:03 +01:00
Lorenz Lechner
44bd718202 pixi: add test 2024-12-08 12:55:09 +01:00
looooo
63a399cc88 gh-action fix 2024-12-08 00:32:14 +01:00
looooo
6dea1e4162 pixi: add pylint 2024-12-08 00:30:44 +01:00
looooo
ed1640fec4 pixi:update readme 2024-12-08 00:24:27 +01:00
looooo
7cccdcf279 min teeth = 1 2024-12-08 00:23:44 +01:00
looooo
ea679dd671 add tranformations 2024-12-07 23:58:58 +01:00
looooo
6bcec43207 add pixi 2024-12-07 23:58:09 +01:00
lorenz
c5af6e1f44 group hole parameters: hole 2024-12-01 10:28:06 +01:00
Chris Bruner
b5121b1dfe Added axle hole and offset hole possiblities to involute gears,
features added  Axle_hole Y/N, Axle size diam, offset hole Y/N offset
amount, and offset size. This allows a crank type system as well.
2024-12-01 10:20:38 +01:00
hasecilu
09b8d7666f Apply constraint on the head/root fillets of the gears
- Use `App::PropertyFloatConstraint` instead of `App::PropertyFloat`
  in order to get a smaller set of valid options for the parts.

Minimum, maximum, step and default values are set.

Previously you could enter negative numbers which were fixed at the time
of generating the shape avoiding problems but the properties were not
fixed. Now users are not able to enter bad data which leads to a
simplification of the sanitization code.

Proposed upper limit at 1,000. Users are crazy.
2024-11-17 12:35:59 +01:00
hasecilu
91206aecdd Apply constraint on the number of teeth of the gears
- Use `App::PropertyIntegerConstraint` instead of `App::PropertyInteger`
  in order to get a smaller set of valid options for the parts.

Minimum, maximum, step and default values are set.

Previously you could enter negative numbers which were fixed at the time
of generating the shape avoiding problems but the properties were not
fixed. Now users are not able to enter bad data which leads to a
simplification of the sanitization code.

Proposed upper limit at 10,000. Users are crazy.
2024-11-17 12:35:59 +01:00
hasecilu
e6b44cfe52 Fix typo on script example 2024-11-17 11:22:36 +01:00
Lorenz Lechner
4d87de3f0c use both methods (load/__setstate__ dumps/__getstate__) available for all python versions 2024-11-10 19:51:51 +01:00
Jiao Ye
8893371ce5 Fix issue #182
da3c851d2c breaks bevel gear and it's reported in https://github.com/looooo/freecad.gears/issues/182.

Set gear.z properly to fix it.
2024-11-02 22:56:31 +01:00
Alexander Vowinkel
875d1aaf47 add scipy dependency in meta files. fixes #155 2024-11-01 16:07:51 +01:00
looooo
b907e1febb connector: teeth->num_teeth 2024-10-21 23:07:21 +02:00
looooo
795511859c move to pyproject.toml 2024-10-21 23:00:14 +02:00
Lorenz Lechner
4be061bb42 apply fix to internal involute gears 2024-10-21 22:02:45 +02:00
Lorenz Lechner
13b2a9c4a5 fix num_teeth issue 2024-10-09 19:26:51 +02:00
hasecilu
84237f0e3d Update Spanish translation 2024-10-06 00:42:00 +02:00
hasecilu
7db0fd7ec0 Enhance the translation support
Migrate some strings marked with `translate()` to use
`QT_TRANSLATE_NOOP()`
2024-10-06 00:42:00 +02:00
hasecilu
1b2981c6cf Update translation script and add locale-agnostic file
Also include `translations/README.md` file with instructions.
2024-10-06 00:42:00 +02:00
hasecilu
7911050526 Rename GUI commands to follow FreeCAD format
Making this change will enable users to use `What's this?` command on FCGear
commands and get the correct Wiki article.

Fix #151
2024-10-05 23:32:39 +02:00
hasecilu
da3c851d2c Rename teeth property to num_teeth 2024-10-05 23:30:54 +02:00
Syres916
a7f6d06072 Update version number 2024-09-18 19:33:24 +02:00
Syres916
2b235dbc2b Update version number 2024-09-18 19:33:24 +02:00
Syres916
2f33c49569 [Gears] Eliminate unwanted errors for version 1.0 2024-09-18 19:33:24 +02:00
Syres916
84d2eb8279 [Gears] Update FreeCAD version check on startup 2024-09-11 12:09:05 +02:00
Max Wilfinger
f06c63c570 change gear WB icon 2024-05-20 19:53:58 +02:00
catalintucureanu
9715c068e4 Update timinggear_t.py
fix for issue #164
2024-05-10 11:34:00 +02:00
Max Wilfinger
bc3702f213 update icons to be in line with FreeCAD 2024-04-10 18:13:49 +00:00
hasecilu
bfc91608a9 Add error handling at GearConnector 2024-03-22 16:55:16 +00:00
hasecilu
471019639f Fix missing comma
Close #154
2024-03-21 05:47:11 +00:00
lorenz
529b500d1e Update README.md 2024-02-11 19:56:47 +01:00
Chris Hennes
66de0470e4 Make license match SPDX ID 2024-02-10 15:59:26 +00:00
hasecilu
89a11603ba Update logic conditions
There is no need to compare against True or False.
Use `not` when wanting False activation.
2024-02-10 15:59:18 +00:00
hasecilu
139e0acf52 Add Spanish translation 2024-02-10 15:59:18 +00:00
hasecilu
f21eac0e69 Add translation support
- Add bash script to include marked strings on translation files (*.ts)
- translateutils to import translate() placeholder function
2024-02-10 15:59:18 +00:00
looooo
ffb4950054 set numpoints to 20 by default 2024-01-10 12:21:00 +01:00
looooo
51fe971aea fix regression of root fillet 2024-01-10 12:18:24 +01:00
looooo
3fa30b7f87 update jupyter-notebook 2024-01-10 12:15:34 +01:00