Search found 242 matches

Go to advanced search

by carlopav
Thu Oct 17, 2019 1:50 pm
Forum: Draft, Arch & BIM
Topic: Draft Edit improvements
Replies: 111
Views: 5552

Re: Draft Edit improvements

I think it would seem buggy if taskpanel doesnt correspond to object that user is editing. And also I needed it this way because i was trying to always enable draft edit (so when user select an object editpoints are displayed automagically).
by carlopav
Thu Oct 17, 2019 5:50 am
Forum: Draft, Arch & BIM
Topic: Draft Edit improvements
Replies: 111
Views: 5552

Re: Draft Edit improvements

Ok for the degree symbol, I'll try to avoid it. Multi object editing should already work, BUT the taskpanel is ATM made to handle just one object settings: we can edit contemporary a wire and a bezcurve, but just the option for one of them will be displayed. So I limited it at least until I move edi...
by carlopav
Wed Oct 16, 2019 9:43 pm
Forum: Draft, Arch & BIM
Topic: Feature #4162 - Draft: change pointer 'Pick Radius' based on if the user is editing or selecting
Replies: 8
Views: 171

Re: Feature #4162 - Draft: change pointer 'Pick Radius' based on if the user is editing or selecting

Does something like this make sense at the beginning of Draft Edit? It works as expected: if the parameter exhist it returns != 0 and the self.pick_radius can get it. Otherwise the parameter is set. if FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Draft").GetInt("DraftEditPickRadius") == ...
by carlopav
Wed Oct 16, 2019 6:09 pm
Forum: Draft, Arch & BIM
Topic: [Discussion] Splitting Draft tools into their own modules
Replies: 21
Views: 1026

Re: [Discussion] Splitting Draft tools into their own modules

Thanks for such an effort, I think you are the most precise here in the forum and so the most suited for the task ;). Since this task is huge, probably I agree it deserves to be done once and the best we can (also if nothing is lasting forever). To me whatever is better than current enormous files, ...
by carlopav
Wed Oct 16, 2019 4:50 pm
Forum: Draft, Arch & BIM
Topic: V0.19 DraftVectUtils.angle
Replies: 12
Views: 368

Re: V0.19 DraftVectUtils.angle

Vector API has a getAngle method:
https://www.freecadweb.org/wiki/Vector_API
by carlopav
Tue Oct 15, 2019 3:36 pm
Forum: Draft, Arch & BIM
Topic: Draft Edit improvements
Replies: 111
Views: 5552

Re: Draft Edit improvements

That's interesting, maybe you can act as lots of things in freecad were developed: start with something simple and then figure out how to make it better day by day. I think achieving a proper text content menu is ATM a good challenge!
by carlopav
Tue Oct 15, 2019 1:21 pm
Forum: Draft, Arch & BIM
Topic: Draft Edit improvements
Replies: 111
Views: 5552

Re: Draft Edit improvements

Ok I understand better now. So to do it in the 3D view i will have to use some different code, something like what vocx posted in the other thread. https://forum.freecadweb.org/viewtopic.php?f=23&t=33941&start=90 I thinks so. This https://github.com/FreeCAD/FreeCAD/blob/f1a8dc4b2c0db3655e2c3365e8b6...
by carlopav
Tue Oct 15, 2019 12:52 pm
Forum: Draft, Arch & BIM
Topic: Draft Edit improvements
Replies: 111
Views: 5552

Re: Draft Edit improvements

Probably adding a context menu for when the user right click on the editing node is way more complicated. The edit command have its own selection mechanism that rely on coin3d soraypickaction. So when the user moves the mouse around or click somewhere on the screen, Draft Edit evaluate the event an...
by carlopav
Tue Oct 15, 2019 12:46 pm
Forum: Draft, Arch & BIM
Topic: [feature request] Section Plane - Cut View Context menu
Replies: 9
Views: 213

Re: [feature request] Section Plane - Cut View Context menu

ABeton wrote:
Tue Oct 15, 2019 12:39 pm
Precisely what you wrote. Every viewprovider object have the possibility to add its own commands in the context menu with this lines.
This doesn't work on the 3d view, just on the treeview.

Go to advanced search