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
GlouGlou
Posts: 2736
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Postby GlouGlou » Mon Aug 03, 2020 7:28 pm

Hammax this is a string for your anchor. :D
A example of use of the new SplitCurve. ;)
Attachments
string.FCStd
(25.52 KiB) Downloaded 20 times
Capture.JPG
Capture.JPG (29.62 KiB) Viewed 688 times
mario52
Posts: 3289
Joined: Wed May 16, 2012 2:13 pm

Re: Curves workbench

Postby mario52 » Tue Aug 04, 2020 10:48 am

hi

off topic just for the fun

to pilot

how can I model this ship's wheel?

Image

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting, Dialog creation. My macros on Gist.github.
User avatar
Chris_G
Posts: 1567
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Postby Chris_G » Tue Aug 04, 2020 2:20 pm

Great job, guys !
They would all look so well on my Yacht :lol:
Yacht-2.jpeg
Yacht-2.jpeg (30.87 KiB) Viewed 603 times
drmacro
Posts: 2313
Joined: Sun Mar 02, 2014 4:35 pm

Re: Curves workbench

Postby drmacro » Tue Aug 04, 2020 2:38 pm

Chris_G wrote:
Tue Aug 04, 2020 2:20 pm
Great job, guys !
They would all look so well on my Yacht :lol:
when you do the loft lines as you did for the yacht, I note in the file that the lines are Shapes.

How did they get converted from lines?

And do the ends of the vertical-ish lines have to touch the horizontal-ish lines. (Sorry, I don't know the proper ship building terms for them... :oops: )
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."

My beginners, written treatise: Learning FreeCAD
User avatar
Chris_G
Posts: 1567
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Postby Chris_G » Tue Aug 04, 2020 3:09 pm

The original drawing was JPEG image.
So I had to redraw all the section curves over this image in Inkscape.
Then SVG import in FC, and manual Placement for each object.
drmacro wrote:
Tue Aug 04, 2020 2:38 pm
And do the ends of the vertical-ish lines have to touch the horizontal-ish lines.
No. Not here.
All the curves (profiles and the 2 rails) are discretized to points.
And this Point cloud is approximated to a surface with the Reverse Engineering workbench.
freecad-heini-1
Posts: 7471
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Curves workbench

Postby freecad-heini-1 » Tue Aug 04, 2020 3:36 pm

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,
I see you're currently working on the curves. Maybe my request from January 9, 2020 is now appropriate:
https://forum.freecadweb.org/viewtopic. ... 77#p359077

Many greetings
Wilfred
User avatar
hammax
Posts: 1254
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee

Re: Curves workbench

Postby hammax » Tue Aug 04, 2020 4:37 pm

... 3 years ago this yacht was one of my first boat fevers as an FC freshman.
Today I tried to do this halfhull with Gordon - no result.
The same with a Loft on some or all frames - catastrophic.
ChrisG's shape is up to now the only form able to work with.

Yacht_4.PNG
Yacht_4.PNG (27.49 KiB) Viewed 554 times
Attachments
Yacht_4.FCStd
FC.18.4
(296.99 KiB) Downloaded 21 times
User avatar
Chris_G
Posts: 1567
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Postby Chris_G » Tue Aug 04, 2020 5:22 pm

freecad-heini-1 wrote:
Tue Aug 04, 2020 3:36 pm
Hi Chris,
I see you're currently working on the curves. Maybe my request from January 9, 2020 is now appropriate:
https://forum.freecadweb.org/viewtopic. ... 77#p359077

Many greetings
Wilfred
Hi Wilfred,
I remember I did a try, that didn't work well ...
Do you have access to the FreeHand BSpline Curve ?
It can do what you're looking for.
Select the vertexes, and create a FreeHand BSpline Curve.
It goes straight into Edit Mode.
Bspline_1.png
Bspline_1.png (4.78 KiB) Viewed 535 times

You can then :
- hide the sketches, to have better view
- select the desired blue segments
Bspline_2.png
Bspline_2.png (4.9 KiB) Viewed 535 times

- press L to make them Linear
Bspline_3.png
Bspline_3.png (4.49 KiB) Viewed 535 times
Attachments
Freehand_curve_example.FCStd
(7.65 KiB) Downloaded 14 times
User avatar
Kunda1
Posts: 9191
Joined: Thu Jan 05, 2017 9:03 pm

Re: Curves workbench

Postby Kunda1 » Wed Aug 05, 2020 1:34 pm

Cbris_G, do you mind adding this to Curves_Workbench?
Alone you go faster. Together we go farther
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
freecad-heini-1
Posts: 7471
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Curves workbench

Postby freecad-heini-1 » Wed Aug 05, 2020 1:50 pm

Chris_G wrote:
Tue Aug 04, 2020 5:22 pm
Select the vertexes, and create a FreeHand BSpline Curve.
It goes straight into Edit Mode.

You can then :
- hide the sketches, to have better view
- select the desired blue segments
- press L to make them Linear
Hello, Chris,
thank you for the answer. This works great, just as I wanted it.
Are there any other functions besides the L button?
I figured out that T changes the curve.
Many greetings
Wilfried