Search found 47 matches

Go to advanced search

by marktaff
Tue Oct 14, 2014 11:24 am
Forum: Developers corner
Topic: Sketcher: Ellipse support
Replies: 713
Views: 93081

Re: Sketcher: Ellipse support

Hi Mark, I did not forget about you. I am trying to fix any problems related to git in my repository, and get clear instructions on how to proceed to make this orderly. For the time being, I would wait until my branch is clean-up. This way you can concentrate on putting just the bits of code that d...
by marktaff
Mon Oct 13, 2014 9:01 am
Forum: Developers corner
Topic: Sketcher: Ellipse support
Replies: 713
Views: 93081

Re: Sketcher: Ellipse support

Is it possible to quickly explain how Mark's version works differently The difference is subtle: * the first point being clicked is not the center, but the other end of major axis. I.e. first two clicks define diameter, but not radius like we have now * the ellipse looks like an ellipse from the ve...
by marktaff
Thu Oct 09, 2014 5:16 pm
Forum: Developers corner
Topic: Sketcher: Ellipse support
Replies: 713
Views: 93081

Re: Sketcher: Ellipse support

Ok, Mark, I have finally compiled your code. And got a fail straight away. I started drawing an ellipse and realized it's limiting itself to a circle instead of swapping major/minor as abdullah's one does. You were so proud of your edge-case code... so I tried to create a circle that way. And got a...
by marktaff
Thu Oct 09, 2014 5:07 pm
Forum: Developers corner
Topic: Sketcher: Ellipse support
Replies: 713
Views: 93081

Re: Sketcher: Ellipse support

I very much welcome you advances :D :D . Let us know if you encounter difficulties... Thanks. :-) Right now the only difficulty is git, i.e. getting git to get the hell out of my way so I can code. I may have to take some time to write a wrapper around git to make it behave in a refined, unobtrusiv...
by marktaff
Thu Oct 09, 2014 11:31 am
Forum: Developers corner
Topic: Sketcher: Ellipse support
Replies: 713
Views: 93081

Re: Sketcher: Ellipse support

I wanted to do a quick build and test, but the compiler decided it wants to build FreeCAD from scratch, which takes ~1 hour on my PC. Had to terminate it, I'll do it later. The screenshot was Abdullah's ellipse (with some of my new tweaks, irrelevant to the problem). Should I ship you a Rasperry Pi...
by marktaff
Thu Oct 09, 2014 5:18 am
Forum: Open discussion
Topic: Copyright
Replies: 8
Views: 1865

Re: Copyright

Thanks for the clarifying info, guys. I'll dig into that info after work.
by marktaff
Thu Oct 09, 2014 3:34 am
Forum: Developers corner
Topic: Sketcher: Ellipse support
Replies: 713
Views: 93081

Re: Sketcher: Ellipse support

Because of my construction method, it is easier to reliably reproduce the error (by making small circular ellipses) than when using Abdullah's method. To play with it, run my code but use this for saveEllipse(): void saveEllipse() { unsetCursor(); resetPositionText(); /* There are a couple of issues...
by marktaff
Thu Oct 09, 2014 2:33 am
Forum: Open discussion
Topic: Copyright
Replies: 8
Views: 1865

Re: Copyright

I created a new topic for this so as to not hijack the Ellipse topic in the Development section of the forum. Anyway, I read the following in that thread and didn't understand it very much: I also have concerns about how my copyright would be respected, since I don't actually have write access to m...
by marktaff
Thu Oct 09, 2014 1:49 am
Forum: Developers corner
Topic: Sketcher: Ellipse support
Replies: 713
Views: 93081

Re: Sketcher: Ellipse support

I have a bug and a fix. The bug: create ellipse this way: 0) click the button 1) click anywhere to define center 2) move mouse up and click to define radius a 3) move mouse right substantially and down a bit, so as to get radius a being the minor one. (A horizontally-stretched ellipse is rendered) ...
by marktaff
Wed Oct 08, 2014 3:19 pm
Forum: Developers corner
Topic: Sketcher: Ellipse support
Replies: 713
Views: 93081

Re: Sketcher: Ellipse support

I have taken a look to your code, but I have not compiled it yet, so I have to check your drawing method yet. Nice Job! As far as I see most of the parts unrelated to the creation method are just similar to my branch at a very early stage (with center, major, minor, phi parametrization). I think yo...

Go to advanced search