Search found 41 matches

by DevJohan
Sat Nov 29, 2014 7:13 pm
Forum: Developers corner
Topic: Solver/CGS architecture changes: Request for comment
Replies: 69
Views: 18609

Re: Solver/CGS architecture changes: Request for comment

When will I ever have time to catch up?! ;)
by DevJohan
Tue Nov 25, 2014 12:31 am
Forum: Developers corner
Topic: Solver/CGS architecture changes: Request for comment
Replies: 69
Views: 18609

Re: Solver/CGS architecture changes: Request for comment

Just a quick one regarding the name: +5: SketchGCS ( because it's the sketch we solve ) +4: Plane/Flat GCS ( Because it is an in plane problem ) +3: GCS2D ( same as above, but 2D ) +2: FreecadSketcherCGS ( I think we should think of this as a part of FreeCAD and not a external library thus making Fr...
by DevJohan
Sun Nov 23, 2014 7:05 pm
Forum: Developers corner
Topic: Solver/CGS architecture changes: Request for comment
Replies: 69
Views: 18609

Re: Solver/CGS architecture changes: Request for comment

SketchGCS would be an alternative which is more specific that flatgcs.
by DevJohan
Sun Nov 23, 2014 5:13 pm
Forum: Developers corner
Topic: Solver/CGS architecture changes: Request for comment
Replies: 69
Views: 18609

Re: Solver/CGS architecture changes: Request for comment

I agree with what abdullah wrote about getting everything together, my code is somewhat on the fringe. I am currently pulling his code into my branch. The amount of conflicts are negligible and easily solved but the amount of new code is quite impressive. From what I have seen so far I get the feeli...
by DevJohan
Sat Nov 22, 2014 11:36 pm
Forum: Developers corner
Topic: Solver/CGS architecture changes: Request for comment
Replies: 69
Views: 18609

Re: Solver/CGS architecture changes: Request for comment

Hi everyone. To start out with I've been kind of busy with work and other stuff these last couple of months so I have not done any coding and I'm not up to speed on the latest developments in the sketcher with ellipses, parabola and hyperbola. I also don't remember my every every design choice I mad...
by DevJohan
Thu Nov 20, 2014 2:30 pm
Forum: Developers corner
Topic: Solver/CGS architecture changes: Request for comment
Replies: 69
Views: 18609

Re: Solver/CGS architecture changes: Request for comment

Hi Everyone, It's been some time since I had the time to "play" with the code. I have done some work seperate from the current freecgs which i called freecgs_EXP or something along those lines. My initial idea was to speed up the solver, make it run in a seperate thread and also in the lon...
by DevJohan
Fri Sep 26, 2014 10:26 pm
Forum: Developers corner
Topic: Sketcher: Ellipse support
Replies: 713
Views: 147478

Re: Sketcher: Ellipse support

DevJohan. I have quite a lot of problems to follow this (matlab?, octave?) code. 1. I do not know what the variables are intended for p,q,... 2. I do not know what is exactly the aim of the code. Is this additional code that has to be executed once a quartic equation is obtained? How do I apply you...
by DevJohan
Mon Sep 22, 2014 2:47 pm
Forum: Developers corner
Topic: Sketcher: Ellipse support
Replies: 713
Views: 147478

Re: Sketcher: Ellipse support

Ellipse-ellipse tangent
ellipsetoellipse.png
ellipsetoellipse.png (8.62 KiB) Viewed 2371 times
by DevJohan
Sun Sep 21, 2014 9:23 pm
Forum: Developers corner
Topic: Sketcher: Ellipse support
Replies: 713
Views: 147478

Re: Sketcher: Ellipse support

Numeric derivatives should be avoided whenever possible. And it is possible to get code that is much more efficient. A quartic equation has algebraic solutions you just have to choose the right one. I have actually done some computations these last couple of days to visualize the solutions. Assuming...
by DevJohan
Sun Sep 21, 2014 12:51 am
Forum: Developers corner
Topic: Sketcher: Ellipse support
Replies: 713
Views: 147478

Re: Sketcher: Ellipse support

DeepSOIC, If you instead fix the radius, what you end up with is the distance to ellipse constraint which is the error function abdullah tried to use for point on ellipse. This is also a fourth degree equation. To avoid the solution jumping from one point on the ellipse and circle to another point o...