Search found 86 matches
- Wed Dec 06, 2023 6:14 pm
- Forum: Python scripting and macros
- Topic: In Spreadsheet: Store and get back a python-list
- Replies: 3
- Views: 1784
Re: In Spreadsheet: Store and get back a python-list
Finally it works, these were the problems: attr=eval(App.ActiveDocument.Spreadsheet.B2) caused SyntaxError because of Quantity: It does not like ... ['FontSize', 500.0 mm]] and getPropertyByName results in ['FontSize', 500.0 mm] Solution before writing in Cell: ... was=quelle.getPropertyByName(ding)...
- Tue Dec 05, 2023 11:25 am
- Forum: Python scripting and macros
- Topic: In Spreadsheet: Store and get back a python-list
- Replies: 3
- Views: 1784
In Spreadsheet: Store and get back a python-list
Hi My Macro loops through the properties of an object and produces something like: attr = [['LineColor', (0.6274510025978088, 0.6274510025978088, 0.6274510025978088, 0.0)], ['LineWidth', 0.0], ['FontName', 'MS Shell Dlg 2'], ['FontSize', 500.0 mm]] This is stored in a cell of a spreadsheet: App.Acti...
- Mon Aug 07, 2023 3:20 pm
- Forum: Forum in Deutsch
- Topic: Sonnenstands/Verschattungssimulation
- Replies: 1
- Views: 366
Sonnenstands/Verschattungssimulation
Hi
Gibt es ein Addon für Sonnenstands/Verschattungssimulation?
LG
Chri1
Gibt es ein Addon für Sonnenstands/Verschattungssimulation?
LG
Chri1
- Fri Jul 14, 2023 11:34 am
- Forum: Python scripting and macros
- Topic: search object by given point
- Replies: 1
- Views: 294
search object by given point
Hi
I have several objects and a given point that lies on one of the objects and I want to find out, on which of them.
Have I to iterate through all objects and ask, wheather they touch or is there one easier solution
Thanks
chr1
I have several objects and a given point that lies on one of the objects and I want to find out, on which of them.
Have I to iterate through all objects and ask, wheather they touch or is there one easier solution
Thanks
chr1
- Sat Jul 08, 2023 9:35 am
- Forum: Python scripting and macros
- Topic: DocumentObjectGroupPython - onchange
- Replies: 2
- Views: 502
Re: DocumentObjectGroupPython - onchange
Thank you, works perfect.
(ChatGPT didn't make it)
(ChatGPT didn't make it)
- Fri Jul 07, 2023 4:59 pm
- Forum: Python scripting and macros
- Topic: DocumentObjectGroupPython - onchange
- Replies: 2
- Views: 502
DocumentObjectGroupPython - onchange
Hi
I have a group, made by
Plus=FreeCAD.ActiveDocument.addObject("App::DocumentObjectGroupPython","PLUS")
and I want, that a function doit() is called, whenever something changes in the group (When an Object is added or removed)
Thanks
Chri1
I have a group, made by
Plus=FreeCAD.ActiveDocument.addObject("App::DocumentObjectGroupPython","PLUS")
and I want, that a function doit() is called, whenever something changes in the group (When an Object is added or removed)
Thanks
Chri1
- Fri Jun 09, 2023 4:08 pm
- Forum: Forum in Deutsch
- Topic: Workbench initgui.py
- Replies: 0
- Views: 1743
Workbench initgui.py
Hi Möchte eine Workbench mit Symbolleisten erstellen, es funktioniert nicht: Die Workbench mit Symbolleisten wird zwar angezeigt, die Symbolleisten sind jedoch leer. initgui.py: class WB1 (Workbench): MenuText = "WB1" ToolTip = "workbench erstellen" Icon = """paste...
- Fri Aug 05, 2022 1:19 pm
- Forum: Forum in Deutsch
- Topic: Symbolleisten übertragen
- Replies: 6
- Views: 824
Re: Symbolleisten übertragen
Hab mich doch ein wenig damit beschäftigt: 1.) Den entsprechenden Ordner in \AppData\Roaming\FreeCAD\Mod suchen (Der Ordnernamen muss nicht der in FreeCAD angezeigte Workbench-Namen sein!) und auf den Ziel-PC kopieren. Dadurch erscheint die Workbench schon im Ziel-FreeCAD, allerdings leer. Im Ordner...
- Fri Jul 29, 2022 4:13 pm
- Forum: Forum in Deutsch
- Topic: Part: Objekte Verbinden
- Replies: 4
- Views: 723
Re: Part: Objekte Verbinden
Komme erst in ein paar Tagen bei einem Freecad "vorbei"
- Fri Jul 29, 2022 4:09 pm
- Forum: Forum in Deutsch
- Topic: Part: Objekte Verbinden
- Replies: 4
- Views: 723
Re: Part: Objekte Verbinden
Ausgangssituation: Ein Gebäude, das aus (tw. überlappenden) Körpern modelliert wurde. Auf manchen Körpern "kleben" Flächen. Ich möchte die Gebäudehülle - so wie sie Verbinden auch liefert, allerdings sollen auch die Flächen berücksichtigt werden. Eine Möglichkeit ist mir zwischenzeitlich e...