github-actions[bot]
16858bea80
chore: update reference images from CI [update-references workflow]
2026-02-14 20:53:04 +00:00
Lorenz Lechner
d5661c81d3
README, projekt001/002, pytest filterwarnings, lint CI
...
- README: Liberapay entfernt, Pixi-Commands aufgelistet
- projekt_001 -> projekt001 (Umbenennung)
- projekt002: zweiter Visual-Test mit 4 Ansichten (metafile.yaml, README)
- pyproject.toml: filterwarnings für SWIG/FreeCAD DeprecationWarnings
- .github: lint mit || true (schlägt nie fehl)
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-02-14 21:48:29 +01:00
Lorenz Lechner
64ecd2f6b1
fix numpy version
2026-02-14 21:26:42 +01:00
Lorenz Lechner
f7e43a2a4f
do not fail on lint
2026-02-14 21:10:38 +01:00
Lorenz Lechner
ef21205ed4
update pixi version
2026-02-14 21:04:36 +01:00
Lorenz Lechner
be58b5856f
tests: pytest, visual tests (projekt_001), CI (pylint+visual, update-references)
...
- Switch from unittest to pytest (test_gears.py, xfail for OCC helical extrusion)
- Add visual regression tests (freecad.visual_tests): test_visual_projects.py, projekt_001
- Pixi: test/test-visual/test-visual-xvfb/create-references/clean-test, create-references-xvfb
- GitHub: Pylint workflow on push, pull_request, workflow_dispatch; visual tests on Linux (xvfb)
- GitHub: Update reference images workflow (workflow_dispatch)
- setup-pixi v0.9.4, pixi v0.44.0, checkout v4
- .gitignore: artifacts/, .pytest_exitstatus
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-02-14 21:02:35 +01:00
Robert Stancil
b97609a78a
check gitver is castable before casting to int
2026-02-08 23:55:40 +01:00
Chris Bruner
8afd36b596
GearConnection and ChainConnection updated.
...
ChainConnection can connect a gearConnection to a gear.
2025-11-24 22:05:21 +01:00
Chris Bruner
152a70a4eb
Gear and Chain Connector getting closer
2025-11-24 22:05:21 +01:00
Chris Bruner
9ed85f6766
partial fix to gear connectors
2025-11-24 22:05:21 +01:00
Chris Bruner
649c7cfb7c
Fix GearConnector circular recompute dependency
...
- Call purgeTouched() on slave gear after Placement modifications
- Mark computed properties as Output (flag 8) instead of read-only (flag 1)
to prevent triggering recomputes when set during execute()
Resolves infinite recompute loop and "still touched after recompute" warning.
2025-11-24 22:05:21 +01:00
Chris Bruner
33cbe81938
Fix GearConnector AttributeError: replace dw with pitch_diameter
...
The obsolete 'dw' property was removed from gear objects but GearConnector
was still accessing it, causing AttributeError when connecting gears.
Replaced all instances with 'pitch_diameter.Value' property.
2025-11-24 22:05:21 +01:00
theo-vt
89acd917ae
Open and commit transaction on gear creation
2025-09-13 10:39:41 +02:00
hasecilu
0c8d8d764b
Fix typos
...
"anggle" -> "angle"
"thicknes" -> "thickness"
Spotten on CrowdIn, with help of Kay G
2025-01-09 00:09:16 +01:00
hasecilu
f2d249c162
fixup! Update translations from CrowdIn
2025-01-06 21:29:28 +01:00
hasecilu
aa7a7486df
Update translations from CrowdIn
2025-01-06 21:29:28 +01:00
looooo
8c7dfc9f0b
worm-notebook update min_ground
2025-01-04 23:31:30 +01:00
looooo
e65f2e8924
update jupyter-notebook for the construction of the teeth-flanks of a worm gear
2025-01-04 22:02:47 +01:00
looooo
7034963050
refactor: beta->helix-angle
2025-01-04 12:44:08 +01:00
looooo
3707c2718e
cycloide gear: dw -> pitch_diameter
2025-01-04 00:01:26 +01:00
looooo
f7c8080f5c
rename: dw=pitch_diameter, da=addendum_diameter, df=root_diameter
2025-01-03 14:10:17 +01:00
looooo
5d3072ab4a
examples: restructure
2024-12-26 12:32:11 +01:00
Orhan "aib" Kavrakoglu
284e2881b6
Extend axle and offset holes past the limits of the gear. Fixes #196
2024-12-25 22:13:55 +01:00
looooo
f473737f8d
worm_cuttin: another attempt
2024-12-25 12:36:07 +01:00
looooo
e117b916b7
worm notebook
2024-12-24 19:31:14 +01:00
looooo
d7b4df66f2
examples: Drawings: InvoluteGear
2024-12-23 17:21:58 +01:00
looooo
e7f4a4c3cf
examples: add drawing for involute gear
2024-12-23 13:43:17 +01:00
looooo
f11060bff7
rack-drawing: fix typo
2024-12-22 22:59:03 +01:00
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