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: 7790
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Curves workbench

Post by freecad-heini-1 »

This video is aimed at Freecad freeform surface experts / specialists, such as Chris_G, GlouGlou, wmayer, microelly2 - and others.
https://peertube.mastodon.host/videos/w ... 4d969152e9
The Surface Filling Tool, with the possibility to define a tangency to neighboring surfaces, works incorrectly in this case.
The Gordon Surface from the Curves Workbench lacks the ability to define neighboring surfaces in order to link tangential conditions to them.

@Thomas (microelly2), if you see this, please use the uploaded data to show which tools from your Nurbs Workbench can be used to solve this problem.

Everyone is welcome to try this example.

Many greetings
Wilfried

Translated with www.DeepL.com/Translator
roehre-2_fh-1.FCStd
(82.39 KiB) Downloaded 55 times
User avatar
Vincent B
Veteran
Posts: 4734
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Post by Vincent B »

A sweep profile 2 rail make a better surface. Check it out. ;)
Attachments
roehre.FCStd
(101.7 KiB) Downloaded 54 times
Capture.JPG
Capture.JPG (62.31 KiB) Viewed 1899 times
freecad-heini-1
Veteran
Posts: 7790
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Curves workbench

Post by freecad-heini-1 »

GlouGlou wrote: Thu Sep 19, 2019 5:57 pm A sweep profile 2 rail make a better surface. Check it out. ;)
Hi GlouGlou,
Thank you so much for your diligence.
Unfortunately, there is a rather large deviation from the desired geometry. Please hide the Loft area, then you'll see what I mean. Your surface is much thinner at this point.
Best regards
Wilfried
LLuoss
Posts: 17
Joined: Mon Apr 29, 2019 6:41 am

Re: Curves workbench

Post by LLuoss »

Chris_G wrote: Mon Sep 16, 2019 9:11 am
LLuoss wrote: Mon Sep 16, 2019 8:54 am Hi,glad to see u again!I'm confused how to do these three steps with python code?Do you have any simple code examples for these three steps?Looking forward to your reply!Thanks!
Don't use this, it is outdated.
Use the Gordon surface.
I already answered about the Gordon surface scripting :

Code: Select all

import gordon
gordon = gordon.InterpolateCurveNetwork([bs0,bs1,bs2], [bs3,bs4,bs5], tol=0.1) # the bs* are BSpline curves
my_surface = gordon.surface()
Thanks!Finally it worked.But I still have some questions.Why does the contour of the resulting surface end up not coincident with the BSpline I used?
If I want to use an outline of my surface, how do I extract it?
Attachments
q1.jpg
q1.jpg (15.05 KiB) Viewed 1863 times
User avatar
Vincent B
Veteran
Posts: 4734
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Post by Vincent B »

combined projection curves doesn't work any more?

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18213 (Git)
Build type: Release
Branch: master
Hash: 22babc09954ac6fda9135ee71d68550921659b1c
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)
Attachments
CombinedCurveBug.FCStd
(7.82 KiB) Downloaded 54 times
User avatar
Chris_G
Veteran
Posts: 2598
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

It's a bug.
I'll push a fix this afternoon.
User avatar
Vincent B
Veteran
Posts: 4734
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Post by Vincent B »

Any hint to make a nice hull? I'm stuck.
Surface and loft fail.
Attachments
JustCurves.FCStd
(889.43 KiB) Downloaded 51 times
Capture.JPG
Capture.JPG (36.85 KiB) Viewed 1770 times
User avatar
hammax
Veteran
Posts: 1991
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Curves workbench

Post by hammax »

… keep it simply simple = KISS.
Hull with 4 frames and loft => the real old fashioned "spline" design.
(in the original file I have a lot of exclamation marks)
https://forum.freecadweb.org/viewtopic. ... 58#p332858

JustCurves.PNG
JustCurves.PNG (28.29 KiB) Viewed 1737 times
Attachments
JustCurves_2.FCStd
(43.31 KiB) Downloaded 75 times
User avatar
Vincent B
Veteran
Posts: 4734
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Post by Vincent B »

Yes, loft is easy and fast to use. But unable to use the red lines.
Here my hull built on an Loft+Gordon+Filling.
Closed to be perfect.
Attachments
Capture.PNG
Capture.PNG (306.78 KiB) Viewed 1688 times
User avatar
hammax
Veteran
Posts: 1991
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Curves workbench

Post by hammax »

… please have a look at your frames' curvature combs and the resulting "cellulitis".
Compared to a Sketcher BSpline with ONLY 4 control points.

JustCurves_2.PNG
JustCurves_2.PNG (27.29 KiB) Viewed 1646 times
Post Reply