Curves workbench

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
freecad-heini-1
Posts: 5915
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Curves workbench

Postby freecad-heini-1 » Thu Sep 19, 2019 3:06 pm

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

Re: Curves workbench

Postby GlouGlou » Thu Sep 19, 2019 5:57 pm

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

Re: Curves workbench

Postby freecad-heini-1 » Thu Sep 19, 2019 7:18 pm

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: 16
Joined: Mon Apr 29, 2019 6:41 am

Re: Curves workbench

Postby LLuoss » Fri Sep 20, 2019 2:40 am

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

Re: Curves workbench

Postby GlouGlou » Sat Sep 21, 2019 8:14 am

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 16 times
User avatar
Chris_G
Posts: 1146
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Postby Chris_G » Sat Sep 21, 2019 10:59 am

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

Re: Curves workbench

Postby GlouGlou » Sat Sep 21, 2019 8:41 pm

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

Re: Curves workbench

Postby hammax » Sun Sep 22, 2019 6:32 am

… 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 505 times
Attachments
JustCurves_2.FCStd
(43.31 KiB) Downloaded 17 times
User avatar
GlouGlou
Posts: 1682
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Postby GlouGlou » Sun Sep 22, 2019 5:42 pm

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 456 times
User avatar
hammax
Posts: 877
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee

Re: Curves workbench

Postby hammax » Mon Sep 23, 2019 10:31 am

… 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 414 times