Search found 20160 matches
- Thu Apr 25, 2024 6:20 am
- Forum: Material
- Topic: Python examples for ShapeAppearance property?
- Replies: 4
- Views: 156
Re: Python examples for ShapeAppearance property?
No, that would be awful behaviour. Doing so would add global mutable state to that class which is a bad thing (code smell) and thus should be avoided. The better solution is to have a separate function that reads the user settings and sets it to the given material object.
- Wed Apr 24, 2024 5:59 pm
- Forum: Material
- Topic: Python examples for ShapeAppearance property?
- Replies: 4
- Views: 156
Re: Python examples for ShapeAppearance property?
I think the constructor of App::PropertyMaterialList should add a single element to the list.
- Wed Apr 24, 2024 5:17 pm
- Forum: Forum in Deutsch
- Topic: RANT: Bin vom git Zustand genervt.
- Replies: 10
- Views: 348
Re: RANT: Bin vom git Zustand genervt.
Hier der Link zum Bug-Report https://github.com/FreeCAD/FreeCAD/issues/13629
- Wed Apr 24, 2024 5:02 pm
- Forum: Forum in Deutsch
- Topic: RANT: Bin vom git Zustand genervt.
- Replies: 10
- Views: 348
Re: RANT: Bin vom git Zustand genervt.
Wenn man versucht, den Konstellationen in den Abbildungen zu folgen, kommen doch noch einige größere Fehler zu Tage. Der Einfachheit halbe poste ich nur den Code. Wenn man im Edit-Modus versucht, das Datum-Objekt zu verschieben, dann verhält es sich komplett unintuitiv: doc = App.newDocument() body ...
- Wed Apr 24, 2024 4:07 pm
- Forum: Forum in Deutsch
- Topic: RANT: Bin vom git Zustand genervt.
- Replies: 10
- Views: 348
Re: RANT: Bin vom git Zustand genervt.
Ich habe den PR gefunden, der die Hilfskreise eingeführt hat und augenscheinlich ist das gar kein Bug, sondern Absicht:
https://github.com/FreeCAD/FreeCAD/pull/12012
Also zumindest erschließt sich mir die Sinnhaftigkeit des Hilfskreis im obigen Szenario nicht so recht.
https://github.com/FreeCAD/FreeCAD/pull/12012
Also zumindest erschließt sich mir die Sinnhaftigkeit des Hilfskreis im obigen Szenario nicht so recht.
- Wed Apr 24, 2024 3:51 pm
- Forum: Forum in Deutsch
- Topic: RANT: Bin vom git Zustand genervt.
- Replies: 10
- Views: 348
Re: RANT: Bin vom git Zustand genervt.
scheinbar filtern die freebsd leute es gut heraus Was filtern die heraus? Bugs? Früher hat man damit aber trotzdem arbeiten können. Das etwas nicht funktioniert hat war selten. Inzwischen ist das die Regel. Ich habe den Eindruck die Entwickler testen das was sie einchecken überhaupt nicht mehr. Ja,...
- Tue Apr 23, 2024 3:19 pm
- Forum: Forum in Deutsch
- Topic: NullShapeException bei Boolscher operation
- Replies: 4
- Views: 210
Re: NullShapeException bei Boolscher operation
Die Programm-Version ist die etwas betagte 0.20.29410.
- Tue Apr 23, 2024 2:47 pm
- Forum: Open discussion
- Topic: Backport AttachmentSupport to 0.21?
- Replies: 9
- Views: 514
Re: Backport AttachmentSupport to 0.21?
It's not possible to make Python feature behave exactly like C++ features. For a C++ feature the properties are class members and thus already set at compile time. When an instance is created the properties are registered inside the constructor. Now when restoring the feature from a project file it'...
- Mon Apr 22, 2024 6:19 pm
- Forum: Open discussion
- Topic: Backport AttachmentSupport to 0.21?
- Replies: 9
- Views: 514
Re: Backport AttachmentSupport to 0.21?
This is only possible with C++ classes.Are these available in the Python API? A quick search shows that in src/mod there is no *.py file that calls these methods.
- Mon Apr 22, 2024 3:21 pm
- Forum: Help on using FreeCAD
- Topic: Regression: Undocked Property View won't yield
- Replies: 2
- Views: 205
Re: Regression: Undocked Property View won't yield
With today's build Since which build number or commit do you see the regression? if changes are made to the undocked treeview What kind of changes? (with overlay system active) And if it's not active do you see the regression, too? then an undocked Property view no longer drops behind the current a...