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
hammax
Veteran
Posts: 1994
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Curves workbench

Post by hammax »

… if I design an airfoil in sketcher with 2 BSplines,
and add an IsoCurve via Ruled_Surface, I am getting a collection of profile points.
What is the definition of those Isoline-Points and can they be read out to a database?
Is it something like DiscretizedEdge - I could not find a similar parameter/result there by experimenting?
Maybe this could be used for homemade airfoil data.

Rippe_3.PNG
Rippe_3.PNG (17.89 KiB) Viewed 2430 times
Attachments
Rippe_2.FCStd
(55.83 KiB) Downloaded 68 times
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Curves workbench

Post by Kunda1 »

Are there official Curves WB tutorials?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
hammax
Veteran
Posts: 1994
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Curves workbench

Post by hammax »

… a contribution to the Mixed_curve tool in CurvesWB.
Trying to produce a 3D-"wire" without knot points, Mixed-curve is able to deliver a usable sweep path.
But it only seems to work with Sketcher BSpline. Using a Polyline instead fails - selecting segments is the showstopper.
https://forum.freecadweb.org/viewtopic. ... 97#p358897

Mixed_curve.PNG
Mixed_curve.PNG (25.86 KiB) Viewed 2258 times
Attachments
Mixed_curve.FCStd
(272.58 KiB) Downloaded 69 times
freecad-heini-1
Veteran
Posts: 7791
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Curves workbench

Post by freecad-heini-1 »

Chris_G wrote: Ping
Hi Chris,
please watch my video:
https://peertube.mastodon.host/videos/w ... 9f8a5510d0
My wish is to improve the blend curve tool, that it could reference / connect to choosen vertex points.
Or the interpolate curve tool to choose tangent start and end curve, maybe this could be the better choise, because this tool has some nice options in data tab. But it's a lot of work for you, so I'm sorry to bother you.
Best regards
Wilfried
User avatar
Chris_G
Veteran
Posts: 2601
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

Hi Wilfried,
I looked at the video.
I see what you ask for.
This should be possible pretty easily.
I lack free time, but I'll give a try when possible.
freecad-heini-1
Veteran
Posts: 7791
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Curves workbench

Post by freecad-heini-1 »

Chris_G wrote: Thu Jan 09, 2020 1:48 pm Hi Wilfried,
I looked at the video.
I see what you ask for.
This should be possible pretty easily.
I lack free time, but I'll give a try when possible.
Hi Chris,
thank you for your fast feedback. Which tool do you mean?
Blend curve or interpolate curve?
Best regards
Wilfried
User avatar
Chris_G
Veteran
Posts: 2601
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

Probably blend curve.
Will_C
Posts: 8
Joined: Wed Jan 01, 2020 1:49 pm

Re: Curves workbench

Post by Will_C »

Hi guys,

I would have a question regarding a proper workflow for using the Gordon Surface.

I want to create the fuselage of a model plane and used the following Approach:

1) I created a Network of edges with the sketcherWB. The Vertices at the intersections (blue below) are referred to each other via external geometry refernces inside the sketches.
Gordon1.JPG
Gordon1.JPG (60.62 KiB) Viewed 2150 times
2) Using the vetices at the intersections I wanted to create parametrized hulls for the ribs using arches from the sketcher. These ribs shall serve as profiles for Gordon.
Unfortunately even if the segments of these arches are tangential Gordon won't accept them.
So I used bSplines from the sketcher (green below) and aligned the visually to the intersections at the Vertices (blue below).
Gordon2.JPG
Gordon2.JPG (37.95 KiB) Viewed 2150 times
3) Then I created the guide lines for Gordon. Again since segmented edges are not accepted I used a Sketcher BSpline (green below). I distrectized the spline with curvesWB and created a curvesWB Bspline (black below) which I then could snap to the geometriy of my ribs from Step2.
Gordon8.JPG
Gordon8.JPG (30.03 KiB) Viewed 2150 times
This is the only workflow I could manage wich lead to a valid mesh for the Gordon tool. Unfortunately the resulting surface is uneven due to bend interpolated guide lines:
Gordon0.JPG
Gordon0.JPG (31.74 KiB) Viewed 2150 times
Gordon5.JPG
Gordon5.JPG (74.64 KiB) Viewed 2150 times
I assume this is the result from my rib Bsplines from step 2, since the Delta from one rib to the next one is irregular as I drew them manually.
Do any of you have an idea how to solve this issue? I actually am already way above my skills with this one :(

BR,
Will
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Curves workbench

Post by microelly2 »

To avoid these waves the ribs should be perspective equivalent,
there shoud be a perspective transformation from one rib to the other.
what is the inner geometry of the ribs? how many poles you use.
If you have only 4 poles than this should be possible,
otherwise ...
Will_C
Posts: 8
Joined: Wed Jan 01, 2020 1:49 pm

Re: Curves workbench

Post by Will_C »

microelly2 wrote: Fri Jan 10, 2020 9:56 am To avoid these waves the ribs should be perspective equivalent,
there shoud be a perspective transformation from one rib to the other.
what is the inner geometry of the ribs? how many poles you use.
If you have only 4 poles than this should be possible,
otherwise ...
I reduced the number of poles and it got better. Thank you for the tip.

I'm now using 6 to 7 poles for the geometry of the ribs:
2 for the endpoints.
2 more near the endpoints wit a horizontal constraint to get tangential.
2 to 3 to get the shape of the ribs, which is taken from a plan. If I use less for the shape I won't get the desired curvature.
Gordon9.JPG
Gordon9.JPG (31.96 KiB) Viewed 2079 times
I still have a dent at the ribs because of the guide rails.
Gordon10.JPG
Gordon10.JPG (25.65 KiB) Viewed 2079 times
I assume this is due to another issue I also encountered: If I try to use Sketcher arches for the ribs which I discretized with curvesWB and redrew with curves BSpline then I lost the tangential slope when drawing the curvesWB spline.
2nd Picture below Shows sketcher splines with geometry as shown in the first Picture.
1st shows the same sketcher spline but discretized and redrawn with curvesWB
Gordon11.JPG
Gordon11.JPG (31.22 KiB) Viewed 2079 times
So if theres a way to avoid losing the tangential properties of the ribs due to discretizing my Problem would be solved. At the Moment I either have to discretize the guide rails or the ribs in order to snap the intersections for the Gordon mesh.

Might there be a way to set the continuoty during discretization? I saw this menu in the thread but I don't have it in my GUI:
hammax wrote: Thu Dec 14, 2017 2:14 pm @Chris_G: some more questions about (sweep_2_rail) <=> Edit: Approximate Points to NURBS.
Working with that tool, one can find some parametrization-options.
- Continuity is almost selfexplaining - are there any recommendations?
- Parametrization grants 4 items - not so clear - a trial and error thing: Any recommendations?
- Smoothing Algorithm - 3 possible Parameters - maybe also a testing and experience thing: Any recommendations?


CWB_Parametr_7.png
And one last question @microelly regarding the transormation tool tutorial https://www.youtube.com/watch?v=UQZCsEjYSTM
At the end of your perspective Transformation tool you showed that if you move your Center poin out of the Frame it will cut your spline.
Does this mean that the parts of the spline touching your target Frame is gone? Or will the spline be aligned to the target frame?

If the later were true that would mean that I can draw a parametric target frame with the desired shape (e.g. an arc made from several segments) and force the bspline to the Frames shape? That would be an amazing Feature.
Post Reply