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
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Post by Vincent B »

Got it, thanks! ;)
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Post by Vincent B »

Sweep2rail go more far that the last profile.? :roll:
Attachments
sweep.FCStd
(34.49 KiB) Downloaded 81 times
Capture.PNG
Capture.PNG (108.82 KiB) Viewed 2120 times
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

GlouGlou wrote: Thu Nov 08, 2018 6:41 pm Sweep2rail go more far that the last profile.? :roll:
Yes, the computed surface goes too far, half turn, and back to the last profile.
I have seen this several times.
I suspect a parametrization problem in my algorithm, but I don't know if I'll look at that anytime soon.
More recently than Sweep2Rails, I gave a try at porting a Gordon Surface tool from TiGL.
It is a more general algorithm than Sweep2Rails.
It needs 2 Part-Compound object as input (1 compound for profile edges and 1 for rails).
Attachments
sweep-2.FCStd
(24.35 KiB) Downloaded 81 times
User avatar
hammax
Veteran
Posts: 1985
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Curves workbench

Post by hammax »

Hi Chris,
you recently made an update on BSplineAlgorithms: "fix kink knots insertion"
Under Windows10_32 I could not use BSpline in CurvesWB until now, because it always froze.
Now I get at least a wire without freezing.
Trials to convert this wire to a spline curve don't succeed.

Please explain the usage.
CurvesWB_Spline.png
CurvesWB_Spline.png (40.8 KiB) Viewed 2021 times
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

hammax wrote: Mon Nov 19, 2018 8:39 am Hi Chris,
you recently made an update on BSplineAlgorithms: "fix kink knots insertion"
Under Windows10_32 I could not use BSpline in CurvesWB until now, because it always froze.
Now I get at least a wire without freezing.
Hi,
The fix probably happened in this commit.
hammax wrote: Mon Nov 19, 2018 8:39 am Trials to convert this wire to a spline curve don't succeed.
Please explain the usage.
The goal of this tool was mainly to quickly draw a BSpline curve.
The available commands are shown in your screenshot :
"Left Mouse Button : add pole"
"Del : remove last pole"
"I / D : Increase or Decrease degree"
"Left CTRL : snap" (doesn't work good, better don't use it)
"Enter : Accept"
"Esc : Abort"

At the beginning the Degree is 1 (this is why it looks like a polyline), so after a couple of poles added, you should increase the degree with the I key.
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Curves workbench

Post by microelly2 »

hello Chris_G

it would be nice if the start point of the uv grid in the Geominfo Display can have another color than the other poles (red).
In case of a surface I can find it using the displayed u v letters
but in case of a curve it is not easy to get the information where u=0 is.
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

Hello,
I just pushed a fix.
First pole of a curve is now red, while the others are purple.
On a surface, the u=0 isocurve is orange, and the v=0 is yellow.
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Curves workbench

Post by microelly2 »

Thank you, works fine.
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Post by Vincent B »

Hi,
How I can use Gordon feature for this kind of shell. I've tried with "Fill boundary curve" from "Surface WB", but you can see the surface is not following profiles very well. I've tried your Gordon tool as well but without expected success.Thanks.
Attachments
Capture.PNG
Capture.PNG (74.48 KiB) Viewed 1874 times
TopTest.FCStd
(52.39 KiB) Downloaded 52 times
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Curves workbench

Post by microelly2 »

bp_915.png
bp_915.png (44.83 KiB) Viewed 1867 times
This is not the gordon surface of the curves wb but my method (nurbs wb), the results should be the same.
I use 3 x 3 curves
you can edit the sketches, the surface should follow

https://www.dropbox.com/s/txm0brnr9oj8n ... fcstd?dl=0
we had a use case some time ago
https://youtu.be/GPPMmLVzEro
Post Reply