Curves workbench

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
User avatar
Chris_G
Veteran
Posts: 2127
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

@edwilliams16 , is this working in the python console ?

Code: Select all

progressbar = FreeCAD.Base.ProgressIndicator()
@hammax could you be more precise, because this is already possible to snap the points of a Freehand_BSpline to vertexes, edges or faces.
edwilliams16
Veteran
Posts: 1347
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: Curves workbench

Post by edwilliams16 »

Chris_G wrote: Sat Jul 02, 2022 9:33 am @edwilliams16 , is this working in the python console ?

Code: Select all

progressbar = FreeCAD.Base.ProgressIndicator()
@hammax could you be more precise, because this is already possible to snap the points of a Freehand_BSpline to vertexes, edges or faces.
No.

Code: Select all

progressbar = FreeCAD.Base.ProgressIndicator()
Traceback (most recent call last):
  File "<input>", line 1, in <module>
TypeError: cannot create 'N4Base19ProgressIndicatorPyE' instances
User avatar
saso
Veteran
Posts: 1693
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: Curves workbench

Post by saso »

User avatar
hammax
Veteran
Posts: 1594
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Curves workbench

Post by hammax »

"@hammax could you be more precise, because this is already possible to snap the points of a Freehand_BSpline to vertexes, edges or faces."

... to be more precise - I felt sometimes, that there was something like snap - but with no real insight into procedure.
I will try it again with some "cheat sheet" copied from wiki, because the tooltip is too "small".
Attachments
FreehandBSpline.png
FreehandBSpline.png (29.19 KiB) Viewed 654 times
Last edited by hammax on Sun Jul 03, 2022 10:23 am, edited 1 time in total.
Syres
Veteran
Posts: 1608
Joined: Thu Aug 09, 2018 11:14 am

Re: Curves workbench

Post by Syres »

edwilliams16 wrote: Sat Jul 02, 2022 9:41 am

Code: Select all

progressbar = FreeCAD.Base.ProgressIndicator()
Traceback (most recent call last):
  File "<input>", line 1, in <module>
TypeError: cannot create 'N4Base19ProgressIndicatorPyE' instances
Surely that's nothing to do with Curves Wb but something packaging related?
edwilliams16
Veteran
Posts: 1347
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: Curves workbench

Post by edwilliams16 »

Syres wrote: Sun Jul 03, 2022 8:04 am
edwilliams16 wrote: Sat Jul 02, 2022 9:41 am

Code: Select all

progressbar = FreeCAD.Base.ProgressIndicator()
Traceback (most recent call last):
  File "<input>", line 1, in <module>
TypeError: cannot create 'N4Base19ProgressIndicatorPyE' instances
Surely that's nothing to do with Curves Wb but something packaging related?
It fails with both earlier and the latest Mac Versions.

The only related failure report I found was https://github.com/FreeCAD/FreeCAD_Conda/issues/26. I can't tell if it was resolved.

Code: Select all

OS: macOS High Sierra (10.13)
Word size of FreeCAD: 64-bit
Version: 0.20.28909 (Git)
Build type: Release
Branch: master
Hash: 6beef68ae1
Python 3.9.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: C/Default (C)
Installed mods: 
  * Curves 0.4.4
  * DynamicData 2.46.0
  * fasteners 0.3.44
  * fcgear 1.0.0
  * GDML 1.8.0
  * Help 1.0.2
  * lattice2 1.0.0
  * MeshRemodel 1.8919.0
  * toSketch

Code: Select all

OS: macOS High Sierra (10.13)
Word size of FreeCAD: 64-bit
Version: 0.21.29393 (Git)
Build type: Release
Branch: master
Hash: 6820e0a9ec85203a6f342ca72a2ff8fd417beaf1
Python 3.10.5, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: C/Default (C)
Installed mods: 
  * Curves 0.4.4
  * DynamicData 2.46.0
  * fasteners 0.3.44
  * fcgear 1.0.0
  * GDML 1.8.0
  * Help 1.0.2
  * lattice2 1.0.0
  * MeshRemodel 1.8919.0
  * toSketch
It does work on the 0.20 Windows-64bit-Stable
EDIT:
Also in an Ubuntu 20.04.3 virtual machine on a Mac OK.

Code: Select all

OS: Ubuntu 20.04.3 LTS (ubuntu:GNOME/ubuntu)
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: 
  * Curves 0.5.0
  * DynamicData 2.46.0
  * lattice2 1.0.0
User avatar
hammax
Veteran
Posts: 1594
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Curves workbench

Post by hammax »

... could it be a problem of the operating system?
microelly's NurbsWB had this "killer" flaw (Linux based).

Freehand BSpline would be an interesting tool, if handling would be easy, understandable and reliable.
E.g. snapping of 2 Freehand_Bsplines makes one of them uneditable/dead.
Trying to produce a Gordon-frame out of 4 or more is not possible.

Is there a possibility to edit the shown vertex coordinates - elsewhere they are useless.

Unexplained / unsolved flaws in the tool:

FreehandBSpline_3.png
FreehandBSpline_3.png (35.44 KiB) Viewed 557 times
User avatar
hammax
Veteran
Posts: 1594
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Curves workbench

Post by hammax »

... using FreehandBSpline there must be learned some tricks and a certain workflow.
Besides up to now not all is intus. But finding usage of vertex table is a progress and helps over some irritations.
Next trial will be the "snapping procedure" and it's traps.

FreehandBSpline_5.png
FreehandBSpline_5.png (52.83 KiB) Viewed 419 times
Attachments
curve-network_6.FCStd
FC.20
(43.71 KiB) Downloaded 5 times
curve-network_5.FCStd
FC.20
(40.3 KiB) Downloaded 5 times
curve-network_3.FCStd
FC.20
(40.71 KiB) Downloaded 8 times
User avatar
hammax
Veteran
Posts: 1594
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Curves workbench

Post by hammax »

... snapping needs to learn the usage => after a lot of trials the snap and table usage gets stable results.
(and has sometimes it's own will !!)
Trying it with a kite sail.
- leading and trailing edge
- outer rim profiles
- testing on Gordon
- afterwards inserted inner profiles

Foil_Kite.PNG
Foil_Kite.PNG (30.75 KiB) Viewed 345 times
Attachments
Foil_Kite_4.FCStd
FC.20
(167.91 KiB) Downloaded 6 times
Foil_Kite_2.FCStd
FC.20
(42.08 KiB) Downloaded 7 times
edwilliams16
Veteran
Posts: 1347
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: Curves workbench

Post by edwilliams16 »

I'm not having much success with Surface|Flatten face. It works on cylinders and cones as expected - but not on the face of a Part Cube!

In the following file, the visible faces are developable - one is flat, the other is in fact conical, both created by Part Loft to a point, but I get Bad Input if I try to flatten them.
Screen Shot 2022-07-19 at 5.18.11 PM.png
Screen Shot 2022-07-19 at 5.18.11 PM.png (15.37 KiB) Viewed 267 times
Attachments
recttotiltedcircle3.FCStd
(51.57 KiB) Downloaded 7 times
Post Reply