problems with tag dressup on gears

Hi,

I’m experimenting with making some wooden gears.

I have a simple involute gear made with the gear WB, set a profile path and need tabs dressup to hold it place.

When I add the tab dressup it seems impossible to edit default 4 tabs. Any attempt to edit the individual tabs just throws lots of redline errors and I can’t even cancel and try again. I need to shut FC and start again.

Is this something I am doing wrong ?

TIA.

OS: Fedora Linux 38 (Thirty Eight) (LXQt/lxqt)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.35525 (Git)
Build type: Release
Branch: main
Hash: 9bb9eb8b218bd5af0e4ed199b65ab61c7238364c
Python 3.11.7, Qt 5.15.11, Coin 4.0.1, Vtk 9.2.5, OCC 7.6.3
Locale: English/United Kingdom (en_GB)
Installed mods:
* FreeCAD_Assembly4 0.11.10
* Curves 0.6.22
* freecad.gears 1.2.0
* AirPlaneDesign 0.4.0
* Plot 2022.4.17
* CurvedShapes 1.0.5

I can suppose you click Tag’s “Edit” button, but do not select new tag’s position or click “Save” or “Close” buttons to finish editing of some tag.

I’d adjust tag’s parameters, “Replace all”, and sequentially {select tag (in tag’s list or in 3D view) - “Edit” - click on desired place on the Profile path} for all tags.
Snip macro screenshot-92fbef.png
As you can see generated tag’s width is not in accordance with given parameter.

I think I have found the problem.

File GetPoint.py, line 209, version 0.22

Find
FreeCADGui.Snapper.off(True)
Replace with
FreeCADGui.Snapper.off = True

Check the Report View. Is that the error that you getting?

I’m still getting a warning message though! There must be another issue somewhere!

21:48:08  Geom.WARNING: <class 'Part.Hyperbola'> not supported for flipping
21:48:08  Tags.INFO: replaced edge with 1 straight segments

Yes, that looks like it. I do recall seeing GetPoint and Snapper.

You can ignore the Warning message also I suppose.

Just tried again.

I try to add tag dressup to the profile path; select the first tag in the list. Then just try to Cancel back out I get a traceback:


22:14:50  Traceback (most recent call last):
22:14:50    File "~/freecad-build-master/Mod/Path/Path/Base/Gui/GetPoint.py", line 229, in pointReject
22:14:50      self.pointFinish(False)
22:14:50    File "~/freecad-build-master/Mod/Path/Path/Base/Gui/GetPoint.py", line 209, in pointFinish
22:14:50      FreeCADGui.Snapper.off(True)
22:14:50  TypeError: Snapper.off() takes 1 positional argument but 2 were given

I cannot Close the edit at the bottom and the OK/Cancel/Apply buttons at the top are greyed out.

I need to close FC project and discard changes.

Replace the line 209 with the following

FreeCADGui.Snapper.off = True