Search found 8 matches

by Dani
Sun Sep 25, 2022 7:30 pm
Forum: Python scripting and macros
Topic: FreeCAD new tree functionality for drag elements to sub-tree
Replies: 11
Views: 4471

Re: FreeCAD new tree functionality for drag elements to sub-tree

Hello, I have updated treeHelper macro in order to get it working as DockWidget. Now with treeHelper it is possible to open several instances and put it windows integrated with FreeCAD. Here I am posting a youtube video with treeHelper minitutorial. The current version works in same way but now inte...
by Dani
Mon Dec 06, 2021 9:18 pm
Forum: Announcements & Features
Topic: InvGears Workbench
Replies: 19
Views: 14409

Re: InvGears Workbench

Hello,

Thank you to @sebasg84 for his awesome work with this workbench. For sure it will be very helpfull for a lot of people.

Congratulations @sebasg84!
by Dani
Sun Dec 05, 2021 10:39 pm
Forum: Python scripting and macros
Topic: FreeCAD new tree functionality for drag elements to sub-tree
Replies: 11
Views: 4471

Re: FreeCAD new tree functionality for drag elements to sub-tree

Hello,

I finish some bugs fixed and now I can move objects between sub-trees.

Youtube vídeo: https://www.youtube.com/watch?v=mzuLPpF64tY&t=2s
by Dani
Sat Dec 04, 2021 9:52 pm
Forum: Python scripting and macros
Topic: FreeCAD new tree functionality for drag elements to sub-tree
Replies: 11
Views: 4471

Re: FreeCAD new tree functionality for drag elements to sub-tree

Hello, I found the functionality for getting the macro working. I used the method object.ViewObject.claimChildren() for get the true children of an object in the FreeCAD's tree. I am working in some litle errors and new funcionalities for pass objects between different sub-trees. I created a youtube...
by Dani
Wed Nov 24, 2021 6:42 pm
Forum: Python scripting and macros
Topic: FreeCAD new tree functionality for drag elements to sub-tree
Replies: 11
Views: 4471

Re: FreeCAD new tree functionality for drag elements to sub-tree

Hello, I have a very preliminary version of the macro. It works with some files but fails on others. The problem is that I can`t get an ordered list of objects with FreeCAD Name as same order as FreeCAD's tree. I tried this diferent ways: 1. Using qtreewidget: I can get the FreeCAD's qtreewidget use...
by Dani
Wed Nov 17, 2021 3:13 pm
Forum: Python scripting and macros
Topic: FreeCAD new tree functionality for drag elements to sub-tree
Replies: 11
Views: 4471

Re: FreeCAD new tree functionality for drag elements to sub-tree

Thank you for answer. The functionality aims to solve the problem of moving objects in tree when it is very large. It will be very useful if yo have several windows with diferent portions of tree and can move objets in order to have all in the correct place. The proposed behavior is a valid one. For...
by Dani
Tue Nov 16, 2021 3:19 pm
Forum: Python scripting and macros
Topic: FreeCAD new tree functionality for drag elements to sub-tree
Replies: 11
Views: 4471

FreeCAD new tree functionality for drag elements to sub-tree

Hello, I would like to create a new FreeCAD functinality wich is similar to Catia's tree manipulation. It functionality will pop a new window with a sub-tree from selected element and allows drag an element from main tree to the created sub-tree. I am showing an image with the Catia's funtionality f...
by Dani
Mon Oct 04, 2021 8:57 pm
Forum: Python scripting and macros
Topic: Macro for file template from yaml using PySide GUI
Replies: 0
Views: 1721

Macro for file template from yaml using PySide GUI

Hello, taking ideas from Telegram group "FreeCAD en Español", I created a macro with the objective of generate a FreeCAD file using personalized templates. https://i.ibb.co/SB776q0/2021-10-04-22h35-02.png The macro allows to create several templates (it generates an yaml file with the temp...