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

Re: Curves workbench

Postby Chris_G » Sun Dec 09, 2018 6:50 pm

GlouGlou wrote:
Sun Dec 09, 2018 12:10 pm
Ive got a small bug with IsoCurves. Some curves are missing but got some plots instead.
Indeed.
I have not looked at this code for a while.
I'll try to fix this.
Thanks.
User avatar
GlouGlou
Posts: 1742
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Postby GlouGlou » Mon Dec 10, 2018 8:20 pm

this surface give errors as well.
Attachments
isocurve_error.FCStd
(118.95 KiB) Downloaded 14 times
User avatar
GlouGlou
Posts: 1742
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Postby GlouGlou » Tue Dec 11, 2018 8:07 pm

1.PipeShell with Frenet property is different with a part's sweep. Its seems not working.
2.when im moving PipeShell (x for example, the surface change)
Attachments
FrenetOrNot.FCStd
(167.97 KiB) Downloaded 14 times
Capture.PNG
Capture.PNG (35.54 KiB) Viewed 750 times
User avatar
Chris_G
Posts: 1165
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Postby Chris_G » Tue Dec 11, 2018 8:39 pm

GlouGlou wrote:
Tue Dec 11, 2018 8:07 pm
1.PipeShell with Frenet property is different with a part's sweep. Its seems not working.
Frenet mode offers a "Corrected" property.
If it is set to True, you get the same result as Part.Sweep

GlouGlou wrote:
Tue Dec 11, 2018 8:07 pm
2.when im moving PipeShell (x for example, the surface change)
Probably a bug that I need to investigate.
Thanks.
User avatar
GlouGlou
Posts: 1742
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Postby GlouGlou » Thu Dec 13, 2018 8:55 pm

How to make a full Gordon instead an half one?
Or how to make a mirror copy?
Attachments
HalfGordon.FCStd
(63.48 KiB) Downloaded 27 times
Capture.PNG
Capture.PNG (37.68 KiB) Viewed 699 times
User avatar
hammax
Posts: 913
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee

Re: Curves workbench

Postby hammax » Fri Dec 14, 2018 6:24 am

… look here:
https://forum.freecadweb.org/viewtopic. ... 25#p274225
and here
https://forum.freecadweb.org/viewtopic. ... 38#p272600

A mirroring with DraftWB was possible, but I also don't understand, how it works.
https://forum.freecadweb.org/viewtopic. ... 98#p274212
How do I get the coordinates of the normal vector on the mirror plane?

DraftMirrorGordon.PNG
DraftMirrorGordon.PNG (68.02 KiB) Viewed 618 times
Attachments
HalfGordon_2.FCStd
FC.18.15380
(108.72 KiB) Downloaded 18 times
User avatar
hammax
Posts: 913
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee

Re: Curves workbench

Postby hammax » Sat Dec 15, 2018 4:12 pm

… I think that I found the hint to the mirror plane normal.
DraftWB uses the mirror tool of PartWB.
But PartWB mirror only can use the system planes or offsets to them.
In DraftWB you can generate a "working plane proxy" on the "surface for mirror".
When using DraftWB mirror you only are able to select 2 points on a wire of the "surface to mirror".
And you get an oblique mirror of the Gordon surface.
But inserting/using the values of the normal-vector of the working-plane-proxy into datatab of the mirror,
the oblique position can be corrected.
(A bug or a feature?)
DraftMirrorGordon_2.PNG
DraftMirrorGordon_2.PNG (56.76 KiB) Viewed 568 times
Attachments
HalfGordon_2.FCStd
FC.18.15380
(113.23 KiB) Downloaded 18 times
User avatar
GlouGlou
Posts: 1742
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Postby GlouGlou » Sat Dec 15, 2018 5:49 pm

I finally found a solution using PartDesign with datumpoints. Delete the constraint3 and move datumpoint001, we can see what is "normal": a vector that's must be perpendicular of the mirror.(of course).
Attachments
MirrorSolution.FCStd
(152.78 KiB) Downloaded 15 times
Capture.PNG
Capture.PNG (61.4 KiB) Viewed 545 times
User avatar
GlouGlou
Posts: 1742
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Postby GlouGlou » Sat Dec 15, 2018 6:11 pm

Here the same thing without PartDesignNext (Point is not a dynamic objet here)
Attachments
MirrorSolutionWithOutPDN.FCStd
(109.02 KiB) Downloaded 24 times
User avatar
GlouGlou
Posts: 1742
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Postby GlouGlou » Fri Jan 04, 2019 5:04 pm

Interpolate_curves or Approximate_points carry out a wrong result when vertex are not correctly ordered. :o
Attachments
VertexWrongOrder.FCStd
(6.55 KiB) Downloaded 12 times
Capture.PNG
Capture.PNG (13.83 KiB) Viewed 443 times