Thanks for making it public.rainman110 wrote: ↑Wed Sep 05, 2018 7:36 pm I am the developer of TiGL and implemented the gordon surface algorithm with my student merlin.
An example of Gordon Surface based upon OCC
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: An example of Gordon Surface based upon OCC
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: An example of Gordon Surface based upon OCC
Hi. How to avoid twisted surface?
I've tried to change the order of selection for profiles or guides, but without result.
I've tried to change the order of selection for profiles or guides, but without result.
- Attachments
-
- Capture.PNG (54.5 KiB) Viewed 1811 times
-
- twisted.FCStd
- (18.95 KiB) Downloaded 52 times
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
-
- Veteran
- Posts: 7788
- Joined: Tue Jan 07, 2014 11:10 am
- Contact:
Re: An example of Gordon Surface based upon OCC
And how?
Re: An example of Gordon Surface based upon OCC
I am pretty sure the algorithm is supposed to take care of curve orientation by itself.
I have introduced several bugs in my python port.
But I'm afraid I'll gave great difficulties to find them.
Re: An example of Gordon Surface based upon OCC
… there is no source from where you get the JoinCurves and therefore no possibility to correct/flip them.
But if you use interpolated curves from the endpoints of the JoinCurves in equal directions
the GordonSurface does not twist.
But if you use interpolated curves from the endpoints of the JoinCurves in equal directions
the GordonSurface does not twist.
- Attachments
-
- twisted_2.FCStd
- FC.18.15169
- (32.24 KiB) Downloaded 60 times
Last edited by hammax on Tue Nov 13, 2018 6:02 am, edited 1 time in total.
Re: An example of Gordon Surface based upon OCC
@hammax: You just swapped guides with profiles.
Re: An example of Gordon Surface based upon OCC
With not to do that manually with a option?
...
I finally change the direction of a sketch and the gordon came right.
And able to finish this Rhino model (or something looking like )
https://form2fab.com/wp-content/uploads ... ique_4.jpg
- Attachments
-
- Capture.PNG (262.99 KiB) Viewed 1681 times
-
- gordonRight.FCStd
- (13.99 KiB) Downloaded 61 times
-
- Capture.PNG (20.41 KiB) Viewed 1691 times
Re: An example of Gordon Surface based upon OCC
… I see new features updated for GordonSurface in the CurvesWB.
My trial was to use FrenetTN for Sketcher planes creating new profiles on existing profiles.
My trial was to use FrenetTN for Sketcher planes creating new profiles on existing profiles.
- Attachments
-
- twisted_3.FCStd
- FC.18.15190
- (42.93 KiB) Downloaded 58 times
Re: An example of Gordon Surface based upon OCC
I am trying to fix Gordon surface.
Currently, the algorithm is only partially working, and produces surfaces that have far too much control points.
The smartest and most important part of the TiGL algorithm is about preparing and reparametrizing the curves before feeding them to the actual Gordon algo.
I realized that these optimization functions were actually skipped in my implementation (and broken BTW).
The good news is that I found were the bug is happening.
The bad news is that it is located in the most complex function, dealing with "matrix solving", that is way over my poor math skills.
So I don't know how I will be able to fix that ...