Page 127 of 186

Re: Curves workbench

Posted: Wed Jun 29, 2022 9:54 am
by saso
Chris_G wrote: Sun Jun 26, 2022 10:27 am I increased version number to 0.5
Is it good now ?
Hmm, it is a bit strange because, the addon manager did see the update and after the update I can also see the new files in the Mod folder, but I don't see for example the new Flatten icon the menu or toolbar... ? :?

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.21.29277 (Git)
Build type: Release
Branch: master
Hash: ad0f1147f74d8e010d47cfca2bb08033e0f3b4ae
Python 3.8.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: Slovenian/Slovenia (sl_SI)
Installed mods:
* CfdOF 1.17.0
* Curves 0.5.0
* DynamicData 2.46.0
* FEM_FrontISTR 0.1.0
* lattice2 1.0.0
* Plot 2022.4.17

Re: Curves workbench

Posted: Wed Jun 29, 2022 10:11 am
by Chris_G
Did you restart FC ?

Re: Curves workbench

Posted: Wed Jun 29, 2022 10:17 am
by thomas-neemann
is it possible to flatten these surface

test1213.FCStd
(16.05 KiB) Downloaded 32 times

Bildschirmfoto_2022-06-29_12-15-58.png
Bildschirmfoto_2022-06-29_12-15-58.png (14.81 KiB) Viewed 1388 times
in curves?

source: https://forum.freecadweb.org/viewtopic.php?f=13&t=69864

Re: Curves workbench

Posted: Wed Jun 29, 2022 10:30 am
by saso
Chris_G wrote: Wed Jun 29, 2022 10:11 am Did you restart FC ?
yes, and I also don't see it in other FC versions 0.19, 0.20 and I see no errors in report or console

Re: Curves workbench

Posted: Wed Jun 29, 2022 10:39 am
by saso
thomas-neemann wrote: Wed Jun 29, 2022 10:17 am is it possible to flatten these surface
this is the case that was discussed in the previous page of this topic, the surface is not explicitly defined/detected as a cylindrical or conical face and so the flatten tool does not work on it, at least not at the moment, it would have to be extended to support such cases. but the mesh method should work and also give quite good results in such cases where the face is actually developable.

Re: Curves workbench

Posted: Wed Jun 29, 2022 11:09 am
by rock.vice
Chris_G wrote: Sun Jun 26, 2022 10:27 am I increased version number to 0.5
Is it good now ?
Is this version intended only for 0.21_weekly_build? My add on manager is reporting 0.4.4 as the last update available for the branch master, but the system info is reporting that the 0.5.0 is already installed.

Code: Select all

OS: KDE neon User - 5.25 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods: 
  * Manipulator 1.4.5
  * Assembly4 0.12.0
  * Ship 2022.4.11
  * Assembly3 0.11.3
  * sheetmetal 0.2.49
  * Curves 0.5.0
  * freecad-mbdyn-dynamics-workbench-master
  * A2plus 0.4.56a
  * Silk 1.0.0
  * fcgear 1.0.0
  * CfdOF 1.17.0
  * lattice2 1.0.0
  * fasteners 0.3.46
  * Plot 2022.4.17
Thank you in advance

Re: Curves workbench

Posted: Wed Jun 29, 2022 11:17 am
by saso
rock.vice wrote: Wed Jun 29, 2022 11:09 am Is this version intended only for 0.21_weekly_build? My add on manager is reporting 0.4.4 as the last update available for the branch master, but the system info is reporting that the 0.5.0 is already installed.
It should work in all recent versions, try to run the "refresh local cache" command in the addon manager.

Re: Curves workbench

Posted: Wed Jun 29, 2022 12:08 pm
by thomas-neemann
saso wrote: Wed Jun 29, 2022 10:39 am ...
Thanks for the feedback

Re: Curves workbench

Posted: Wed Jun 29, 2022 12:09 pm
by Chris_G
saso wrote: Wed Jun 29, 2022 10:30 am yes, and I also don't see it in other FC versions 0.19, 0.20 and I see no errors in report or console
What is the result of this command in the python console ? :

Code: Select all

from freecad.Curves import FlattenFP

Re: Curves workbench

Posted: Wed Jun 29, 2022 12:20 pm
by saso
Chris_G wrote: Wed Jun 29, 2022 12:09 pm
saso wrote: Wed Jun 29, 2022 10:30 am yes, and I also don't see it in other FC versions 0.19, 0.20 and I see no errors in report or console
What is the result of this command in the python console ? :

Code: Select all

from freecad.Curves import FlattenFP
For sure interesting! :)

Code: Select all

Traceback (most recent call last):
  File "<input>", line 1, in <module>
ImportError: cannot import name 'FlattenFP' from 'freecad.Curves' (C:\Users\user\AppData\Roaming\FreeCAD\Mod\lattice2\.\freecad\Curves\__init__.py)
Update: so after uninstalling and reinstalling lattice, things are back to normal, but I have no idea how this happened. Thanks Chris for helping in solving this issue!