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

Re: Curves workbench

Post by freecad-heini-1 »

hammax wrote: 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
Why don't men have cellulite?
Because it looks terrible ... :lol:
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Post by Vincent B »

hammax wrote: Mon Sep 23, 2019 10:31 am … please have a look at your frames' curvature combs and the resulting "cellulitis".
You're right. I wanted stick closely to the picture. That's can't give a baby skin yet.
User avatar
hammax
Veteran
Posts: 1985
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Curves workbench

Post by hammax »

… just another benefit of CurvesWB:
A solution for a 3D-bow-frame with combined_projection_curves, which is accepted by the Loft tool.
The comb_proj_curve is built by a sideview and (a top view) or better by a front view.
The front view must have a placement "outside" of the bow frame
and must have external references to the endpoints of the side view.

JustCurves_3.PNG
JustCurves_3.PNG (29.35 KiB) Viewed 1756 times
JustCurves_4.PNG
JustCurves_4.PNG (41.29 KiB) Viewed 1683 times
Attachments
Justcurves_5.FCStd
(157.78 KiB) Downloaded 68 times
Justcurves_4.FCStd
(116.79 KiB) Downloaded 66 times
Last edited by hammax on Thu Sep 26, 2019 6:04 am, edited 1 time in total.
LLuoss
Posts: 17
Joined: Mon Apr 29, 2019 6:41 am

Re: Curves workbench

Post by LLuoss »

LLuoss wrote: 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?
Does anybody know these problems?It's very important to me!Thanks.
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

LLuoss wrote: Thu Sep 26, 2019 1:34 am Does anybody know these problems?It's very important to me!Thanks.
Something didn't work as good as expected ... that's all I can guess from a screenshot.
LLuoss
Posts: 17
Joined: Mon Apr 29, 2019 6:41 am

Re: Curves workbench

Post by LLuoss »

Chris_G wrote: Thu Sep 26, 2019 5:06 am
LLuoss wrote: Thu Sep 26, 2019 1:34 am Does anybody know these problems?It's very important to me!Thanks.
Something didn't work as good as expected ... that's all I can guess from a screenshot.
Did you have any problems using Gordon surface before?I still can't solve my problems.
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

Of course, I did.
Gordon surface tool can fail or produce wrong results in MANY situations.
So I can't help without a test file.
LLuoss
Posts: 17
Joined: Mon Apr 29, 2019 6:41 am

Re: Curves workbench

Post by LLuoss »

Chris_G wrote: Fri Sep 27, 2019 7:50 am Of course, I did.
Gordon surface tool can fail or produce wrong results in MANY situations.
So I can't help without a test file.
Ok,thanks!I will send you a test file separately. If you are free, please help to find out what the problem is.
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

I have pushed a small change to Gordon surface.
It is now possible to change the max number of control points (it was fixed to 80 before)
In your case, increasing this value to 300 / 400 will help catching the small detail on one side of the surface.
In python script :

Code: Select all

gordon1 = gordon.InterpolateCurveNetwork(...)
gordon1.max_ctrl_pts = 400
But it will produce a much heavier surface.
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Post by Vincent B »

I can't blend two curves. Where my mistake? :roll:
Help. I would like as the red one. Scale1 seems to do nothing.
Attachments
NotBlend.FCStd
(5.78 KiB) Downloaded 43 times
Capture.PNG
Capture.PNG (99.15 KiB) Viewed 1535 times
Post Reply