Search found 92 matches

by lutz_dd
Sun Oct 15, 2023 10:47 am
Forum: Python scripting and macros
Topic: Warning "QObject::startTimer: Timers cannot be started from another thread" while modifying Part-Orientation in a Thread
Replies: 1
Views: 1511

Warning "QObject::startTimer: Timers cannot be started from another thread" while modifying Part-Orientation in a Thread

The macro reads in the Yaw/Roll/Pitch from the serial interface and applies it to the selected part. Everything works as desired, but there are annoying warnings (eg. QObject::startTimer) The issue is around line 35 ... when the new orientation is applied to the part. Is there an "easy" wa...
by lutz_dd
Sun Jul 17, 2022 10:16 am
Forum: Help on using FreeCAD
Topic: Stupid question - How to uncolour a spreadsheet cell
Replies: 6
Views: 705

Re: Stupid question - How to uncolour a spreadsheet cell

Though one year later ... my solution to reset the cell color in the macro is

Code: Select all

val_color=(1.0,1.0,1.0,0.0) # WEISS, aber NICHT sichtbar ueber 4ten Parameter=0.0
App.ActiveDocument.Spreadsheet.setBackground('A1', val_color)
and the Alias-command is able to colorize the cell using lightYellow.
by lutz_dd
Sun Feb 20, 2022 1:50 pm
Forum: Help on using FreeCAD
Topic: A2Plus: Simple fusion using imported Cubes fails (to recompute)
Replies: 12
Views: 2196

Re: A2Plus: Simple fusion using imported Cubes fails (to recompute)

I'm still fighting for a solution. Regarding mount/import/assembly/<your_modelling_operation> ... it is a chick-egg-issue. The new drill hole positons (holes/cut-out) can be made just after the object(s) has been placed on the baseplate and the locations for the fasteners are given. I do not see a p...
by lutz_dd
Sun Feb 20, 2022 1:29 pm
Forum: Assembly
Topic: A2plus ... 3 questions regarding "Add a Part ...", initial placement and an issue with ASSEMBLY-element
Replies: 0
Views: 1049

A2plus ... 3 questions regarding "Add a Part ...", initial placement and an issue with ASSEMBLY-element

Why does it is required to save the _brand_new_ file before doing any "Add a Part ..."? How can I get __by_default__ the placement of the part by "Add a Part ..." at position [0,0,0]? It was the default setting at the very beginning in Assembly2. Why does "Add a Part ...&qu...
by lutz_dd
Sun Sep 26, 2021 8:01 pm
Forum: Help on using FreeCAD
Topic: A2Plus: Simple fusion using imported Cubes fails (to recompute)
Replies: 12
Views: 2196

Re: A2Plus: Simple fusion using imported Cubes fails (to recompute)

Got it ... what a pity, because the modelling works regarding cutout/drill-holes and meet my (wrong) expectations nicely. Hmmm ... maybe the import itself is the issue (https://forum.freecadweb.org/viewtopic.php?p=534370#p534370). Do you know where the enums are defined? The test in the CPP against ...
by lutz_dd
Sun Sep 26, 2021 7:30 pm
Forum: Help on using FreeCAD
Topic: A2Plus: Simple fusion using imported Cubes fails (to recompute)
Replies: 12
Views: 2196

Re: A2Plus: Simple fusion using imported Cubes fails (to recompute)

I do not understand how it helps to overcome the error of the "fusion"-command, if the shapes are imported by A2Plus.
A2Plus-hierarchy is creating the headaches.
by lutz_dd
Sun Sep 26, 2021 7:11 pm
Forum: Help on using FreeCAD
Topic: A2Plus: Simple fusion using imported Cubes fails (to recompute)
Replies: 12
Views: 2196

Re: A2Plus: Simple fusion using imported Cubes fails (to recompute)

@Shalmeneser ... thx for your help.
Unfortunately it seems the thin rods (the long red cylinder sitting in the centre of the bore) are no longer available.
by lutz_dd
Sun Sep 26, 2021 4:24 pm
Forum: Help on using FreeCAD
Topic: A2Plus: Simple fusion using imported Cubes fails (to recompute)
Replies: 12
Views: 2196

Re: A2Plus: Simple fusion using imported Cubes fails (to recompute)

Whatever "assembly" means for you ... ;-) In this case I'm assembling/linking/referencing existing bits and pieces and do _not_ do a copy (/insertion/import/include). For me an assembly is basically a hierarchy regardless constraints and all the other Assembly2/3/4/.../oo features. Attache...
by lutz_dd
Sun Sep 26, 2021 2:58 pm
Forum: Help on using FreeCAD
Topic: A2Plus: Simple fusion using imported Cubes fails (to recompute)
Replies: 12
Views: 2196

Re: A2Plus: Simple fusion using imported Cubes fails (to recompute)

The rods (cylinder, cube) represent drill holes coming from different files, combined and need to be subtracted from the baseplate.