tomate44 / CurvesWB

Experiments for a FreeCAD Surface workbench
GNU Lesser General Public License v2.1
114 stars 24 forks source link

Curves WB, error on 2nd application of JoinCurves to a section #126

Closed casterle closed 1 month ago

casterle commented 4 months ago

After applying the Curves WB JoinCurves tool to a section, I deleted the resulting JoinCurve. I then used the JoinCurves tool on the same section, resulting in an error message.

After creating a section on a mesh:

Select the Curves WB Select the section Use the JoinCurves tool to create a JoinCurve object Delete the JoinCurve object you just created Unhide and select the section again Use the JoinCurves tool to create a JoinCurve again The result is the error listed below.

I've attached a simple project file with the section I was converting so you can easily reproduce the issue.

Running the Python command 'join' failed: Traceback (most recent call last): File "C:\Users\caste\AppData\Roaming\FreeCAD\Mod\Curves.\freecad\Curves\JoinCurves.py", line 240, in Activated self.makeJoinFeature(selobj.Object) ^^^^^^^^^^^^^

Object already deleted (Upon opening the context menu on any item in the tree view): Unknown command 'Curves'

OS: Windows 11 build 22631 Word size of FreeCAD: 64-bit Version: 0.22.0dev.37898 (Git) Build type: Release Branch: main Hash: 308013fb975ec3bf0dc5cb616ef76a4095e71cc5 Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2 Locale: English/United States (en_US) Installed mods:

Join.Curve.Issue.zip

tomate44 commented 1 month ago

This should be fixed in 0.6.49