Search found 6522 matches

by openBrain
Wed Oct 27, 2021 8:37 pm
Forum: Developers corner
Topic: Sketcher formula displays incorrect values
Replies: 2
Views: 24

Re: Sketcher formula displays incorrect values

How many decimals did you set in the preferences?
by openBrain
Wed Oct 27, 2021 8:35 pm
Forum: Pull Requests
Topic: PR #5131: Addon Manager Refactor
Replies: 3
Views: 75

Re: PR #5131: Addon Manager Refactor

ATM I just saw function annotations and f-strings which were (IIRC) respectively introduced in 3.3 and 3.6, so everything looks fine. Just backporting could eventually be a problem. ;)
by openBrain
Wed Oct 27, 2021 7:48 pm
Forum: Pull Requests
Topic: PR #5131: Addon Manager Refactor
Replies: 3
Views: 75

Re: PR #5131: Addon Manager Refactor

Indeed those are massive changes hard to review from a mobile. :)
Just a question : what is the currently minimal Python version required for FreeCAD? I saw you're using some "recent" features. ;)
And another one not directly linked : is there a thread already to discuss metadata system?
by openBrain
Wed Oct 27, 2021 7:26 pm
Forum: Forum français
Topic: Depuis la version 0.19 je n'est plus l'arborescence des pièces
Replies: 2
Views: 102

Re: Depuis la version 0.19 je n'est plus l'arborescence des pièces

Il faut vérifier les options d'import STEP dans les préférences. Pour les voir, il faut activer l'atelier Part.
by openBrain
Wed Oct 27, 2021 4:48 pm
Forum: Developers corner
Topic: issues with the new Std UserEditMode
Replies: 3
Views: 238

Re: issues with the new Std UserEditMode

I reported this case since the PartDesign primitives have the same coloring feature than the Part primitives. Therefore when using UserEditMode with Color mode on a Part primitive should give the same result than with a PartDesign primitive. You were right to report in any case. OK, I had a deeper ...
by openBrain
Tue Oct 26, 2021 5:16 am
Forum: Open discussion
Topic: Ability to attach a Macro (or Macros) to a Document as a Spreadsheet is attached to a Document.
Replies: 9
Views: 473

Re: Ability to attach a Macro (or Macros) to a Document as a Spreadsheet is attached to a Document.

As a general reply, notice that embedding a macro inside a document isn't possible due to security reasons.
by openBrain
Tue Oct 26, 2021 5:08 am
Forum: Developers corner
Topic: issues with the new Std UserEditMode
Replies: 3
Views: 238

Re: issues with the new Std UserEditMode

Will have a look. For the 2nd example (Body), I think there isn't much to do as double click is caught by the class to be used as "Make active" whatever is the edit mode. We can eventually discuss to change this, but need to find an agreement on new behavior. For 1st example (and in genera...
by openBrain
Mon Oct 25, 2021 2:16 pm
Forum: Forum français
Topic: O contrainte point sur objet dans sketcher
Replies: 2
Views: 187

Re: O contrainte point sur objet dans sketcher

L'ensemble des raccourcis Sketcher a été revu. ;)
by openBrain
Wed Oct 20, 2021 11:51 am
Forum: Python scripting and macros
Topic: Using spreadsheet values in a macro
Replies: 3
Views: 447

Re: Using spreadsheet values in a macro

Actually what you're doing lack of sense. :)
I'm not clear whether you want to end up with an expression or a fixed value in your final file.
If you want an expression, you should have something like

Code: Select all

ss.setExpression('.Placement.Base.x', u'<<params>>.cell_width * {}'.format(i))
by openBrain
Wed Oct 20, 2021 6:42 am
Forum: Developers corner
Topic: Refactoring ViewProviderSketch
Replies: 4
Views: 578

Re: Refactoring ViewProviderSketch

Good luck. I already got a tendinitis just scrolling this file top to bottom with the mouse wheel a single time. :P