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!
freecad-heini-1
Veteran
Posts: 7791
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Curves workbench

Post by freecad-heini-1 »

Dear Chris_G,
thank you so much for your workbench. I installed it and now I'm experimenting with.

Here is a FC file. Please can you explain how to create a surface out of two rails and 3 other curves.
That would be very helpful.
two-rail-surface.fcstd
(24.76 KiB) Downloaded 219 times
Excuse me, but this tool is not included under my icon toolbar:
birail-object.png
birail-object.png (96.7 KiB) Viewed 8277 times
This is my icon toolbar
icons-curve-workbench.png
icons-curve-workbench.png (12.33 KiB) Viewed 8277 times
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: Curves workbench

Post by Jee-Bee »

Maybe combining with https://forum.freecadweb.org/viewtopic.php?f=22&t=23243 ?
With a bit of C++ i think it would a realy powerfull workbench time to beat rhino3D :P
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 »

freecad-heini-1 wrote: Mon Jul 03, 2017 2:32 pm Here is a FC file. Please can you explain how to create a surface out of two rails and 3 other curves.
That would be very helpful.
Take a look at the attached file.
Steps are :
- select Sketch003 and Sketch004
- Part WB -> Ruled Surface
- select Ruled_Surface / Sketch / Sketch002 / Sketch006
- Curves WB -> Sweep on 2 rails
- Select Sweep_2_rails
- Curves WB -> Curve Approximate ( bad name, since it works on surface also ... ) 5th icon of the toolbar.

EDIT : about the missing icon. I removed this intermediate object ( birail ) tool. Please use a Part->Ruled_Surface instead.
Attachments
two-rail-surface-2.fcstd
(65.89 KiB) Downloaded 312 times
freecad-heini-1
Veteran
Posts: 7791
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Curves workbench

Post by freecad-heini-1 »

I found a great tool inside the curve workbench and my hope ist that it can create a copy of selected edges and convert into a bspline without inbetween segments. Please check out my new video, and sorry my lala English ...
http://www.dailymotion.com/video/x5senpd
Last edited by freecad-heini-1 on Tue Jul 04, 2017 8:34 am, edited 1 time in total.
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 »

Would you share your example FC file, please
What you can try is to discretize one of the segments (4th tool in my WB), and see if Target property offers to switch to "Wire".
In that case, the whole wire is discretized, you can adjust the number of points, and run "approximate" tool on them.
chrisb
Veteran
Posts: 54273
Joined: Tue Mar 17, 2015 9:14 am

Re: Curves workbench

Post by chrisb »

Jee-Bee wrote: Mon Jul 03, 2017 3:13 pmtime to beat rhino3D :P
Had a look at their website, it announces more than 2000 improvements.
I guess that every commit in the git repository is an improvement. So FreeCAD usually has this amount of improvements in a couple of weeks, sometimes only days!
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
hammax
Veteran
Posts: 1994
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Curves workbench

Post by hammax »

...if the Problem once is solved, all other is rather easy.
The newly introduced intermediate step with the part=>ruled_surface was simple to memorize.
Another thing was the understanding of the 20x20 Wireframe-grid. Is it always 20x20 ?
Looking at the pictures, the grid is equally spaced along the rails and endprofiles, what must get some "distortion".
If I want parallel profiles, I have to apply part=>cross_sections.
Sail_2.PNG
Sail_2.PNG (83.01 KiB) Viewed 8187 times
Last edited by hammax on Tue Jul 04, 2017 7:19 am, edited 1 time in total.
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: Mon Jul 03, 2017 4:29 pm Would you share your example FC file, please
Thank you for your help.
My Freecad file:
fc017-flaechen-aus-kanten.fcstd
(593.97 KiB) Downloaded 190 times
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 »

hammax wrote: Tue Jul 04, 2017 7:13 am Another thing was the understanding of the 20x20 Wireframe-grid. Is it always 20x20 ?
In the data tab of the properties of the sweep2rails object, you can adjust the RailSamples and ProfileSamples numbers :
data.jpg
data.jpg (18.32 KiB) Viewed 8139 times
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Curves workbench

Post by microelly2 »

freecad-heini-1 wrote: Mon Jul 03, 2017 4:09 pm I found a great tool inside the curve workbench and my hope ist that it can create a copy of selected edges and convert into a bspline without inbetween segments. Please check out my new video, and sorry my lala English ...
http://www.dailymotion.com/video/x5senpd
There is a way to transform (allmost all useful) curves into bspline curves and concatenate them to a single nurbs.
here is a picture of a composite of two half circles, a line an bspline curve merged to a single (non uniform) bspline curve.

using this we need no more discretize and approximate to get such curves.
I have to extend it into 3D
but here is a first testcase to understand the idea
bp_551.png
bp_551.png (4.11 KiB) Viewed 8127 times
Attachments
wire2spline.py
(3.1 KiB) Downloaded 230 times
Post Reply