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
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

The first edge "JoinCurve013005001" is not good.
It is mathematically valid, but it is wrong for BlendCurve algorithm.
It is a BSpline Curve of degree 3.
It has 4 control points P.
But P1=P2 and P3=P4
bad.png
bad.png (9.85 KiB) Viewed 1830 times
On the other hand, you can see that the other curve is good, all control points are distinct:
good.png
good.png (9.65 KiB) Viewed 1830 times
So the blendcurve fails, because it doesn't support this kind of degenerated curves.
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 »

ok, thanks, so I discretized it. Then it's working.
Attachments
Capture.PNG
Capture.PNG (15.79 KiB) Viewed 1814 times
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'm trying to split a curve to 3 parts, but its not working. :roll:
I've downloaded the wb today.
Attachments
Split3Part.FCStd
(4.84 KiB) Downloaded 49 times
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 »

Surface challenge for everyone: make a nice and smooth surface. :D
Attachments
Capture.PNG
Capture.PNG (7.22 KiB) Viewed 1789 times
SurfaceChallenge.FCStd
(8.07 KiB) Downloaded 49 times
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 »

GlouGlou wrote: Sun Sep 29, 2019 5:27 pm I'm trying to split a curve to 3 parts, but its not working. :roll:
I've downloaded the wb today.
You have the same value (30%) twice.
I need to add a check for this situation.
By the way, double click the splitCurve (in tree view) for graphical editing.
"v" key to change unit during dragging
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 »

wow you right i must enter 33% and 66% for make a 3 split curves. sorry :? :? :?
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 »

Numbers without unit are real parameters (not sure it is really useful)
Or you can use % and mm
Negative values are allowed, and are calculated from the end of the curve.
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: Sun Sep 22, 2019 6:32 am … keep it simply simple = KISS.
If think too. ;) But i'm trying to most closely with the original drawing.
Why not a tool to iron the surfaces? :lol:
Attachments
HalfHull.FCStd
(642.93 KiB) Downloaded 49 times
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 »

Strange behaviour: split curve and extend curve move their Z and Y position with this sketch. :?
Attachments
bizarre.FCStd
(4.18 KiB) Downloaded 43 times
LLuoss
Posts: 17
Joined: Mon Apr 29, 2019 6:41 am

Re: Curves workbench

Post by LLuoss »

Chris_G wrote: Sun Sep 29, 2019 10:13 am 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.
I've tried, but my problem still doesn't seem to be solved. I'm using version 0.18
Post Reply