Search found 15633 matches

by wmayer
Sun May 24, 2020 6:29 am
Forum: Help on using FreeCAD
Topic: How to solve/debug this enumeration index issue?
Replies: 19
Views: 450

Re: How to solve/debug this enumeration index issue?

My example is too large to share here, so it is on my dropbox https://www.dropbox.com/s/gtza7b79aib3rgj/teste.FCStd?dl=0 The link is broken. Just to give more context, these are the plugins installed. The culprit is Part-o-magic. This wb is very communicative and prints a message for the creation o...
by wmayer
Sat May 23, 2020 7:36 pm
Forum: Help on using FreeCAD
Topic: Undo in Sketcher creates inconsistent constraints
Replies: 36
Views: 812

Re: Undo in Sketcher creates inconsistent constraints

8d821fe5f On Undo/Redo I don't think the class PropertyConstraintList should trigger the signals signalConstraintsRemoved() or signalConstraintsRenamed() because the correct values for the PropertyExpressionEngine will be restored from the transaction system of the document. For me the above files ...
by wmayer
Sat May 23, 2020 5:38 pm
Forum: Help on using FreeCAD
Topic: Undo in Sketcher creates inconsistent constraints
Replies: 36
Views: 812

Re: Undo in Sketcher creates inconsistent constraints

When adding a log message to the Copy & Paste methods of PropertyExpressionEngine and PropertyConstraintList then the output will be after each step: Delete constraint: PropertyConstraintList::Copy PropertyExpressionEngine::Copy Undo: PropertyConstraintList::Paste PropertyConstraintList::Copy Proper...
by wmayer
Sat May 23, 2020 10:46 am
Forum: Help on using FreeCAD
Topic: Undo in Sketcher creates inconsistent constraints
Replies: 36
Views: 812

Re: Undo in Sketcher creates inconsistent constraints

<Exception> ObjectIdentifier.cpp(615): Py::Object App::ObjectIdentifier::Component::get(const Py::Object &) const -- No attribute named 'RadiusFrontAussen' in property binding 'Constraints' 38.5191 <App> Document.cpp(3693): Failed to recompute undo3#Sketch: No attribute named 'RadiusFrontAussen' in...
by wmayer
Fri May 22, 2020 8:46 am
Forum: Open discussion
Topic: [Solved] disable mouse wheel event on ComboBox
Replies: 6
Views: 254

Re: [Solved] Qt Quick Controls 2 ComboBox disable mouse wheel event

git commit c90db641881
In order to activate the filter you must create the boolean key ComboBoxWheelEventFilter in the group General and set it to true.
by wmayer
Fri May 22, 2020 6:42 am
Forum: Developers corner
Topic: deactivate a test method in Cmd mode
Replies: 5
Views: 176

Re: deactivate a test method in Cmd mode

bernd wrote:
Thu May 21, 2020 10:10 am
Ha found it myself, sorry for the noise ...
This is one way to do it. Another is to move tests concerning the GUI to a separate file (e.g. FemTestsGui.py) and then add a line like this to your InitGui.py

Code: Select all

FreeCAD.__unit_test__ += [ "FemTestsGui" ]
by wmayer
Thu May 21, 2020 8:29 am
Forum: Forum in Deutsch
Topic: Ein zylindrisches Objekt nachträglich zum Kegel machen
Replies: 9
Views: 342

Re: Ein zylindrisches Objekt nachträglich zum Kegel machen

Wenn das zylindrische Netz so orientiert ist, dass dessen Achse mit der z-Achse übereinstimmt und durch den Ursprung geht, kann man mit folgendem Code die einzelnen Punkte so verschieben, dass das Netz konisch wird. d = 0.1 mesh = App.ActiveDocument.Mesh.Mesh.copy() index = 0 for i in mesh.Points: v...
by wmayer
Wed May 20, 2020 5:33 pm
Forum: Developers corner
Topic: Dynamically Hideable Property Status
Replies: 18
Views: 725

Re: Dynamically Hideable Property Status

I was explaining why I choose not to include property with 'Hidden' status bit. Because the property view will populate the linked object's property if a link is selected, as shown in the screencast below with green font (which is broken in the upstream, and fixed in one of my pending PR). Unless, ...
by wmayer
Wed May 20, 2020 4:24 pm
Forum: Pull Requests
Topic: PR #3456 - Adding chamfer angle field to PartDesign
Replies: 75
Views: 2734

Re: PR #3456 - Adding chamfer angle field to PartDesign

There is an already increasing number of properties which are not used in all modes. Discussing about changing the persistence of properties, realthunder suggested that maybe dynamic properties would be more appropriate to achieve that. For sure, dynamic properties are an option but they also have ...
by wmayer
Wed May 20, 2020 3:06 pm
Forum: Python scripting and macros
Topic: how to get the QApplication instance?
Replies: 2
Views: 93

Re: how to get the QApplication instance?

Code: Select all

from PySide import QtGui
app = QtGui.QApplication.instance()