Search found 2861 matches

Go to advanced search

by mario52
Wed Apr 08, 2020 9:11 am
Forum: Python scripting and macros
Topic: Problems with Qt in Windows Version (FreeCAD 0.19)
Replies: 12
Views: 294

Re: Problems with Qt in Windows Version (FreeCAD 0.19)

hi

PySide2 is the natural evolution, after PySide3 ... 4 ...

mario
by mario52
Tue Apr 07, 2020 10:04 pm
Forum: Python scripting and macros
Topic: [Solved] searching for solid objects in a document
Replies: 5
Views: 219

Re: [Solved] searching for solid objects in a document

hi try also obj.OutList for obj in FreeCAD.ActiveDocument.Objects: objName = obj.Name objLabel = obj.Label objGroupe = "" ####recherche de groupe et enfants debut#### if len(obj.OutList) != 0: if len(obj.OutList) > 1: objGroupe = obj.Label + " (" + str(len(obj.OutList)) + " Objects)" else: objGroupe...
by mario52
Tue Apr 07, 2020 9:47 pm
Forum: Python scripting and macros
Topic: Problems with Qt in Windows Version (FreeCAD 0.19)
Replies: 12
Views: 294

Re: Problems with Qt in Windows Version (FreeCAD 0.19)

hi

for FC 0.19 work directly with PySide2

mario
by mario52
Tue Apr 07, 2020 9:26 pm
Forum: Help on using FreeCAD
Topic: Can FreeCAD Draft workbench do this trim feature similar to AutoCAD?
Replies: 24
Views: 766

Re: Can FreeCAD Draft workbench do this trim feature similar to AutoCAD?

hi i modify my macro Macro_FCWire_To_Volume for create the boolean wire (as requested on first post) 2D button (new) https://wiki.freecadweb.org/images/c/c4/Macro_FCWire_To_Volume_02.png https://wiki.freecadweb.org/images/c/cf/Macro_FCWire_To_Volume_03.png 3D Button https://wiki.freecadweb.org/image...
by mario52
Thu Apr 02, 2020 8:43 am
Forum: Python scripting and macros
Topic: [Help] How to get WBs, Toolbars, Tools
Replies: 21
Views: 564

Re: How to get WBs, Toolbars, Tools

hi is there a shortcut for 'Preference' panel? Gui.listCommands() # liste les commandes Gui.runCommand("Std_DlgPreferences") # execute la commande Gui.runCommand("Part_Box") # execute la commande list the button (link forum ?) #liste aussi les boutons import PySide2 from PySide2 import QtGui ,QtCore...
by mario52
Tue Mar 31, 2020 5:52 pm
Forum: Python scripting and macros
Topic: Datum Plane - Script Creation
Replies: 2
Views: 115

Re: Datum Plane - Script Creation

hi example with Macro_Perpendicular_To_Wire https://wiki.freecadweb.org/images/thumb/0/0c/Macro_Perpendicular_To_Wire.png/32px-Macro_Perpendicular_To_Wire.png (see the examples) principle discretize the line, search the direction with the first and the second point and report it in the plane mario
by mario52
Mon Mar 30, 2020 4:47 pm
Forum: Help on using FreeCAD
Topic: Display of a point not attached to the lines outside the sketch.
Replies: 11
Views: 275

Re: Display of a point not attached to the lines outside the sketch.

hi

and if ... use the point line
PointAngle_30_Degrees00.gif
PointAngle_30_Degrees00.gif (799.26 KiB) Viewed 110 times
mario
by mario52
Mon Mar 30, 2020 4:43 pm
Forum: Python scripting and macros
Topic: [Macro] Get an ASCII representation of the model tree
Replies: 30
Views: 902

Re: [Macro] Get an ASCII representation of the model tree

hi

ok, i did not succeed

for your macro, suggestion add one Help button for open the Wiki page in FreeCAD , and icon for ToolBar

Code: Select all

import WebGui
WebGui.openBrowser("https://wiki.freecadweb.org/Macro_TreeToAscii")
mario
by mario52
Sun Mar 29, 2020 9:07 pm
Forum: Python scripting and macros
Topic: [Macro] Get an ASCII representation of the model tree
Replies: 30
Views: 902

Re: [Macro] Get an ASCII representation of the model tree

hi impeccable and my "Macro_ZTest_Over_128" is complete and good temps que vous y êtes arrangez cette petite erreur de mon bouton "Execute" Traceback (most recent call last): File "C:\FreeCAD_0.19.20276_x64_LP_12.1.2_PY3QT5-WinVS2015\Mod\AddonManager\AddonManager.py", line 471, in executemacro self....

Go to advanced search