Page 1 of 9
An example of Gordon Surface based upon OCC
Posted: Fri Jul 06, 2018 2:57 pm
by Chris_G
Here is an interesting thread to read about
Curve Network Interpolation
In the latest comments of the thread are some links about an implementation of these Gordon Surfaces based upon OCC.
The surface workbench would definitely deserve such a feature !
Re: An example of Gordon Surface based upon OCC
Posted: Sat Jul 07, 2018 1:15 pm
by freecad-heini-1
Thank you so much Chris, very interesting to me.
I hope that you and / or Werner could integrate this tools into the Surface workbench.
I'm impressed:
Re: An example of Gordon Surface based upon OCC
Posted: Sat Jul 07, 2018 2:19 pm
by microelly2
interesting to see a general implementation.
I used the idea to stretch surfaces to a given area by 2 x 2 lines.
https://youtu.be/n8UqkWirIS0
I use simply u*v, u*(1-v), v*(1-u), (u-1)*(v-1) as blending functions.
this was the ide for a 3 x 3 pattern (still in 2D).
https://youtu.be/UQZCsEjYSTM
Re: An example of Gordon Surface based upon OCC
Posted: Sat Jul 07, 2018 3:41 pm
by hammax
…
The surface workbench would definitely deserve such a feature !
# Me Too
Re: An example of Gordon Surface based upon OCC
Posted: Sat Jul 07, 2018 5:20 pm
by UR_
I think the last sgrogan needs ATM, is another dependency
rainman110 commented on 28 May
...The code is pretty hefty and is roughly 3000 lines of code long. Hence, you need tigl for now.
Re: An example of Gordon Surface based upon OCC
Posted: Sat Jul 07, 2018 5:45 pm
by Chris_G
UR_ wrote: ↑Sat Jul 07, 2018 5:20 pm
I think the last sgrogan needs ATM, is another dependency
I totally agree that FreeCAD shouldn't get any new big dependency.
The Gordon surface implemented in tigl "seems" to be spread in a couple of files only.
In my opinion, it would be better to make our own feature, based on their work, if licenses compatibility is OK.
... Or wait for OCC to integrate it ?
I would like to give a try at a FC+python port first, to see how it works ...
Re: An example of Gordon Surface based upon OCC
Posted: Sun Jul 08, 2018 6:12 am
by microelly2
Chris_G wrote: ↑Sat Jul 07, 2018 5:45 pm
UR_ wrote: ↑Sat Jul 07, 2018 5:20 pm
I think the last sgrogan needs ATM, is another dependency
I totally agree that FreeCAD shouldn't get any new big dependency.
The Gordon surface implemented in tigl "seems" to be spread in a couple of files only.
In my opinion, it would be better to make our own feature, based on their work, if licenses compatibility is OK.
I would like to give a try at a FC+python port first, to see how it works ...
+1
Re: An example of Gordon Surface based upon OCC
Posted: Sun Jul 08, 2018 7:59 am
by freecad-heini-1
Chris_G wrote: ↑Sat Jul 07, 2018 5:45 pm
The Gordon surface implemented in tigl "seems" to be spread in a couple of files only.
In my opinion, it would be better to make our own feature, based on their work, if licenses compatibility is OK.
... Or wait for OCC to integrate it ?
I would like to give a try at a FC+python port first, to see how it works ...
+1
Re: An example of Gordon Surface based upon OCC
Posted: Mon Jul 09, 2018 4:55 pm
by hammax
Hi Chris,
you are actually working on the GordonSurface-feature (I'm following your CurvesWB-experiments in GitHub)
and I'm curious seeing first results.
Used your example for a loft-experiment => Gordon will surely be better.
- Gordon_2.PNG (49.2 KiB) Viewed 5648 times
Re: An example of Gordon Surface based upon OCC
Posted: Mon Jul 09, 2018 8:25 pm
by Chris_G
hammax wrote: ↑Mon Jul 09, 2018 4:55 pm
you are actually working on the GordonSurface-feature (I'm following your CurvesWB-experiments in GitHub)
and I'm curious seeing first results.
Used your example for a loft-experiment => Gordon will surely be better.
Hi,
I got it working on basic test-files tonight.
But there are a couple of things to fix still (like closed profiles, like in your picture).
And most important, I would like to check if output surfaces are "watertight-matching" the boundary edges.
- gordon-1.jpg (43.59 KiB) Viewed 5628 times