Search found 7104 matches

Go to advanced search

by DeepSOIC
Sat Nov 30, 2019 11:18 am
Forum: Форум на русском языке
Topic: Техника моделирования, группирование для Булевых операций
Replies: 6
Views: 215

Re: Техника моделирования, группирование для Булевых операций

Вопрос в другом. Можно ли объединить, к примеру, все метизы в проекте, и вычесть их из каждой детали, в которую они вставляются? Одним действием, а не 50-ю. Part MakeCompound . В новом 0.19 есть новый функционал на эту тему: Link (ссылка-копия) и LinkGroup (набор ссылок-копий). Вдобавок, объекты Pa...
by DeepSOIC
Sat Nov 30, 2019 12:22 am
Forum: Assembly
Topic: Reimplementing constraint solver [all solvers implemented]
Replies: 49
Views: 2968

Re: Reimplementing constraint solver [dogleg solver is up!]

ickby wrote:
Thu Nov 28, 2019 6:19 am
back in the days when I implemented dogleg and LM solvers I closely followed a paper (or excerpt of a bock, not sure anymore).
This one, maybe? https://link.springer.com/chapter/10.10 ... 22742-3_18
by DeepSOIC
Fri Nov 29, 2019 11:50 pm
Forum: Python scripting and macros
Topic: [Macro] Bit of help for super users :)
Replies: 46
Views: 891

Re: [Macro] Bit of help for super users :)

I didn't try this kind of things, but it looks like dock widgets aren't yet created when you run the macro in the first case. ;) Sounds reasonable... but without making the macro launch automatically, it's usability is questionable: it takes more effort to find and run the macro, than to just toggl...
by DeepSOIC
Fri Nov 29, 2019 8:15 pm
Forum: Python scripting and macros
Topic: [Macro] Bit of help for super users :)
Replies: 46
Views: 891

Re: [Macro] Bit of help for super users :)

strange, but if I run it from InitGui.py, the only button I get is "D". If run manually, I get more buttons.
by DeepSOIC
Fri Nov 29, 2019 8:10 pm
Forum: Python scripting and macros
Topic: [Macro] Bit of help for super users :)
Replies: 46
Views: 891

Re: [Macro] Bit of help for super users :)

Added it to my module of hacks, changed if __name__ == "__main__" thing to be a def run: . Error: Traceback (most recent call last): File "<string>", line 120, in InitApplications File "<string>", line 5, in <module> File "C:\Users\EMB\AppData\Roaming\FreeCAD\Mod\DeepConsole\FC_SU.py", line 64, in r...
by DeepSOIC
Fri Nov 29, 2019 7:27 pm
Forum: Assembly
Topic: Reimplementing constraint solver [all solvers implemented]
Replies: 49
Views: 2968

Re: Reimplementing constraint solver [BFGS solver is up!]

benchmark time? i'm lazy. but yeah, now is a good time to compare performance against sketcher solver. Any suggestions for a problem? Right now, I have only points and distance constraints. I don't have a clear idea on what solver will win. My version has quite a substantial overhead due to paramet...
by DeepSOIC
Fri Nov 29, 2019 4:20 pm
Forum: Python scripting and macros
Topic: [Macro] Bit of help for super users :)
Replies: 46
Views: 891

Re: [Macro] Bit of help for super users :)

openBrain wrote:
Thu Nov 28, 2019 1:34 pm
Middle-click = clear
too bad I can't middle-click with touchscreen/touchpad. Anyway, right-click->clear in the corresponding view is good enough.
by DeepSOIC
Fri Nov 29, 2019 4:15 pm
Forum: Python scripting and macros
Topic: [Macro] Bit of help for super users :)
Replies: 46
Views: 891

Re: [Macro] Bit of help for super users :)

tree view, please. That's the only one I need, I think.
by DeepSOIC
Fri Nov 29, 2019 3:24 pm
Forum: Python scripting and macros
Topic: How to find out that the constraint is an angle
Replies: 6
Views: 157

Re: How to find out that the constraint is an angle

Sketch objects have Constraints property. Find the constraint with the right name, and check if its .Type == "Angle".
by DeepSOIC
Fri Nov 29, 2019 1:38 am
Forum: Assembly
Topic: Reimplementing constraint solver [all solvers implemented]
Replies: 49
Views: 2968

Re: Reimplementing constraint solver [LM solver is up!]

BFGS solver is up!

Interestingly, it fails on my simple test problem. Yet if I change c.dist.Value to 4, it does the job. Maybe there is some bug in the implementation, but I suspect it's just unluck, combined with the lack of maxstep restriction. Seems ok otherwise.

Go to advanced search