An example of Gordon Surface based upon OCC

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

Re: An example of Gordon Surface based upon OCC

Postby Chris_G » Sun Jul 15, 2018 2:30 pm

hammax wrote:
Sun Jul 15, 2018 2:12 pm
In the TIGL-file the following items don't work with the newest update
Full_Nacelle
Fuselage
Heli_Body
Spiral_Wing
Thanks for testing. I just pushed a fix.
However some models are still buggy
- test surface 4
- heli body works ( be careful, heavy computation ! ), but the surface doesn't fit the curves well
User avatar
hammax
Posts: 1090
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee

Re: An example of Gordon Surface based upon OCC

Postby hammax » Sun Jul 15, 2018 4:00 pm

… OK Helibody needs a little bit computing time.
But out of the rest (770kB => 20.700kB) there could be built an airplane…

Gordon_7.PNG
FC.18.14061
Gordon_7.PNG (82.4 KiB) Viewed 767 times
User avatar
Chris_G
Posts: 1313
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: An example of Gordon Surface based upon OCC

Postby Chris_G » Sun Jul 15, 2018 5:14 pm

Hey, nice!
There are many things to fix still, but that's pleasing to see this screenshot.
Thanks
User avatar
microelly2
Posts: 4690
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: An example of Gordon Surface based upon OCC

Postby microelly2 » Sun Jul 15, 2018 7:14 pm

Wow, good results.
The gordon surface will be a big step forward.
In my test when I compare the Gordon surfaces with the source models of my test there is no big difference, what means that the gordon surface is a fast way to get a surface which we expect.
the main part of the running time is the 3D Shape, the datamodel is very sparse and until the skiun is realy needed the use of grids can speed up all.
here my tests related to the tide-bottle by freecad-heini-1.
gordon can be full parametric with sketches at the beginning.
phpBB [video]

note that the method in the video is not the method of Chris_G by my simplified version, but it demonstrates already what will be possible when the official method becomes stable.
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: An example of Gordon Surface based upon OCC

Postby NormandC » Mon Jul 16, 2018 5:39 pm

hammax wrote:
Sun Jul 15, 2018 4:00 pm
there could be built an airplane…
Nice!

Is that the C series that Bombardier basically gave away to Airbus? (And now renamed A220) :cry:
User avatar
hammax
Posts: 1090
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee

Re: An example of Gordon Surface based upon OCC

Postby hammax » Tue Jul 17, 2018 6:13 am

… maybe there could be some components of the A320. Elsewhere the name DLR is in the original files.
But that was not the intent of this gordon-surface example.
It was rather a quick and dirty access via scaling and transform/placement to show a picture.
The file is still 1.842 kB and cannot be linked here.

Gordon_8.PNG
Gordon_8.PNG (44.39 KiB) Viewed 686 times
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: An example of Gordon Surface based upon OCC

Postby NormandC » Tue Jul 17, 2018 11:00 am

hammax wrote:
Tue Jul 17, 2018 6:13 am
… maybe there could be some components of the A320. Elsewhere the name DLR is in the original files.
But that was not the intent of this gordon-surface example.
I was not really serious. This is a sensitive topic here (unfortunately Bombardier did not have the resources to market the C series by itself), revived with the recent series rename... Sorry for the off topic!

I'm very impressed with what you're able to do with these Gordon surfaces.
User avatar
GlouGlou
Posts: 2127
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: An example of Gordon Surface based upon OCC

Postby GlouGlou » Sat Aug 18, 2018 8:35 pm

intersectCC failed !
intersectCC failed !
intersectCC failed !
:roll:
Where's my mistake?
Attachments
GordonTest.FCStd
(18.34 KiB) Downloaded 35 times
freecad-heini-1
Posts: 6928
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: An example of Gordon Surface based upon OCC

Postby freecad-heini-1 » Sat Aug 18, 2018 9:39 pm

Chris_G wrote:
Thu Jul 12, 2018 10:17 am
- Make a Part.Compound out of the selected profile edges.
- Make a Part.Compound out of the selected guide edges.
- Call the Gordon surface tool on these 2 compounds (and cross fingers :lol: )[quote=hammax post_id=244008 time=1531380053

The idea of the algorithm is pretty simple.
It works on 3 intermediate surfaces :
- a surface S1 that interpolates the guides
- a surface S2 that interpolates the profiles
- a surface S3 that interpolates the intersection points of the network
The Gordon surface is : S1 + S2 - S3 ( it means that this operation is done on each corresponding control point of these surface ).
This is the easy part.
The real pain is that these surfaces must be made "compatible" before : they must have the same BSpline properties (knots, degrees, multiplicities).
This is this preliminary work that is pretty complicated to follow.
rainman110
Posts: 1
Joined: Wed Sep 05, 2018 7:32 pm
Contact:

Re: An example of Gordon Surface based upon OCC

Postby rainman110 » Wed Sep 05, 2018 7:36 pm

Hi guys,

I am the developer of TiGL and implemented the gordon surface algorithm with my student merlin. I am really glad that you like our work :)

If you need any help, be it for imlementation or understanding thealgorithm, let me know.

Martin (rainman110)