Dear FreeCAD developers,
I recently started to use FreeCAD and while working with the TechDraw workbench I felt that drag and drop from the Model treeview could be enabled to the TechDraw work area and triggering the "Insert a view" action would be quite natural. What do you think about this improvement? I have some experience with Qt/C++ so if the idea got some positive feedback I could came up with a PR.
Drag and drop in the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 6
- Joined: Tue Jan 25, 2022 7:52 pm
Drag and drop in the TechDraw workbench
- Attachments
-
- Screenshot_20220125_211021.png (81.42 KiB) Viewed 2018 times
Re: Drag and drop in the TechDraw workbench
Drag and drop was enabled before 0.20, and was removed because it didn't work properly (similar in Path workbench) and could even destroy models completely.
If you can fix it: go for it.
If you can fix it: go for it.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
-
- Posts: 6
- Joined: Tue Jan 25, 2022 7:52 pm
Re: Drag and drop in the TechDraw workbench
It probably was disabled before 0.19 became stable.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
-
- Posts: 6
- Joined: Tue Jan 25, 2022 7:52 pm
Re: Drag and drop in the TechDraw workbench
Well I built the actual git master and found a very frustrating behavior:
If I click (with a single left click) on anything on the model tree it get activated in the main windows immediately (making the drag and drop impossible).
Could it be intentional?
If I click (with a single left click) on anything on the model tree it get activated in the main windows immediately (making the drag and drop impossible).
Could it be intentional?
-
- Posts: 6
- Joined: Tue Jan 25, 2022 7:52 pm
Re: Drag and drop in the TechDraw workbench
I have no idea. I rather know it from the Path workbench, where we indeed could destroy whole files by drag and drop. I then tried it once with TechDraw, and we saw that the same issue existed there. Now it seems prohibited.
I have no idea where or when or what has been done or if not a new Qt library improved things all by itself.
I have no idea where or when or what has been done or if not a new Qt library improved things all by itself.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.