Search found 41 matches

by DevJohan
Thu Sep 11, 2014 11:50 am
Forum: Developers corner
Topic: Sketcher: Ellipse support
Replies: 713
Views: 148454

Re: Sketcher: Ellipse support

DeepSOIC,
It's a common misconception aliens use ellipses, they really use non-rational UFOCurves for their UFOs and that's why they fly.
by DevJohan
Mon Sep 08, 2014 2:14 am
Forum: Developers corner
Topic: Sketcher: Ellipse support
Replies: 713
Views: 148454

Re: Sketcher: Ellipse support

Hi everyone, It's hard to keep up here, things are moving pretty fast and that's awesome. I just want to pitch in on the issue of the axes. IMHO the distinction of major and minor axis emphasizes something with no real value. Major and minor axis has no intrinsic properties other than describing the...
by DevJohan
Thu Sep 04, 2014 12:34 am
Forum: Developers corner
Topic: Sketcher: Ellipse support
Replies: 713
Views: 148454

Re: Sketcher: Ellipse support

Hu Abdullah, Lately I have been quite busy trying to remember high school calculus to derive the gradient of the distance to an ellipse with respect to all the seven parameters intervening (the 5 of the ellipse and the 2 extra of the point from which the distance to the ellipse has to be calculated....
by DevJohan
Tue Aug 26, 2014 10:42 pm
Forum: Part Design module development
Topic: Suggestion for Symmetry Constrant Symbol Enhancement
Replies: 36
Views: 17127

Re: Suggestion for Symmetry Constrant Symbol Enhancement

Hi Abdullah, The code I'm referring to is first setup in ViewProviderSketch.cpp @ line 3193 and the drawing code is in SoDatumLabel.cpp @ line 336, master branch at github. When I said `"a" symmetry constraint` I wanted to suggest the symbol drawn was not the same as the normal symbol. If ...
by DevJohan
Tue Aug 26, 2014 2:14 pm
Forum: Part Design module development
Topic: Suggestion for Symmetry Constrant Symbol Enhancement
Replies: 36
Views: 17127

Re: Suggestion for Symmetry Constrant Symbol Enhancement

There are constraints which are not represented by a icon but by additional drawings and text eg angular constrainrs and distance constraints. I can't check the exact line number right now, but I will get back to you with that info.

hope that is more clear,
cheers
by DevJohan
Tue Aug 26, 2014 12:43 pm
Forum: Developers corner
Topic: Sketcher bug?
Replies: 8
Views: 3532

Re: Sketcher bug?

I'm currently looking at the sketcher solver and will look at this as well. I don't think it is acceptable for the sketcher to become unresponsive while the solver is working.
by DevJohan
Mon Aug 25, 2014 8:45 pm
Forum: Part Design module development
Topic: Suggestion for Symmetry Constrant Symbol Enhancement
Replies: 36
Views: 17127

Re: Suggestion for Symmetry Constrant Symbol Enhancement

I had a look at this a while back and if I recall correctly, there is code for displaying "a" symmetry constraint where the non-icon constraints are setup for drawing. It should be a minor change to adapt this code to display the same way the icon is displayed. That would allow for more le...
by DevJohan
Fri Aug 22, 2014 6:00 pm
Forum: Developers corner
Topic: Planning to do some work on Sketch solver
Replies: 16
Views: 6489

Re: Planning to do some work on Sketch solver

Hi everyone. There seems to be a fair amount of interest in working on this issue. I guess we should be able to collaborate at least to some extent. My main focus is to bring this functionality to the Sketcher and link it to the sketch solver. I guess extending the reach of the code may well be poss...
by DevJohan
Thu Aug 21, 2014 2:36 pm
Forum: Developers corner
Topic: Planning to do some work on Sketch solver
Replies: 16
Views: 6489

Planning to do some work on Sketch solver

Hi everyone. I've been playing around a bit with the sketch solver lately and I'm planning to make some improvements. One of the things I want to do is implement variables and expression ( http://www.freecadweb.org/tracker/view.php?id=800 ). Just want to know if someone else is working on the same t...