Search found 153 matches

Go to advanced search

by project4
Tue Jul 17, 2018 9:26 am
Forum: Developers corner
Topic: Reloading Python code without restarting the FreeCAD
Replies: 8
Views: 563

Reloading Python code without restarting the FreeCAD

Hi guys,

I'm trying to help with a WorkBench development written in Python.
Is there a way to reload python code that belongs to the WB without the need to restart the whole FreeCAD application?
Switching to another WB and back didn't help :(

Thanks.
by project4
Tue Jul 17, 2018 5:41 am
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1648
Views: 72251

Re: Another approach to assembly solver (A2plus)

It should be possible to convert the solversystem.py to an executable script, which you can start from FreeCAD. This uses always the new script. You would have to add a section "if _name__ == __main__:" and some things within there. I can help if necessary. Please elaborate that. An example will de...
by project4
Mon Jul 16, 2018 7:53 pm
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1648
Views: 72251

Re: Another approach to assembly solver (A2plus)

Forgot to ask:
Is Turro's code in the GitHub repo already?
I can't work with passing ZIP files...
by project4
Mon Jul 16, 2018 7:51 pm
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1648
Views: 72251

Re: Another approach to assembly solver (A2plus)

I need someone who is able to analyse the dependency graph of constraints via alogrithm. Especially this case: - a part is constrained to a fix/tempfixed part directly - if there is a constraint-chain, which leads from this part via some intermediate constraints to any fixed part again, i will have...
by project4
Mon Jul 16, 2018 5:55 pm
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1648
Views: 72251

Re: Another approach to assembly solver (A2plus)

you do not need to test now, as solver load will be much to high above some 15/20 parts, depending on constraint structure. (Worst case: some long chains of constrained parts) Sounds like you don't want any help with that project :) If I had some assembly2 files, I could at least try to load it... ...
by project4
Mon Jul 16, 2018 5:42 pm
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1648
Views: 72251

Re: Another approach to assembly solver (A2plus)

Is there an efficient method to reload the WB python scripts besides closing and reopening the whole FreeCAD?
Looks like switching to another WB and back to A2B didn't help :(
by project4
Mon Jul 16, 2018 5:16 pm
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1648
Views: 72251

Re: Another approach to assembly solver (A2plus)

Can someone send me large and complex Assembly2 files, but those that are using simple constraints that already exist in A2P?
I'll try to import those to A2P format, so we could have large assemblies to create pressure on the solver...
by project4
Mon Jul 16, 2018 2:32 pm
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1648
Views: 72251

Re: Another approach to assembly solver (A2plus)

Some food for thoughts: If I click on the wrong constraint button, the code will warn me that I have a wrong selections. For example, selecting 2 planes and trying to create point to line constraint (and other types as well). Meaning the code knows what type of the selection is done (point, line, pl...
by project4
Mon Jul 16, 2018 2:07 pm
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1648
Views: 72251

Re: Another approach to assembly solver (A2plus)

It is not intended to create a new feature-monster, as my resources (time) are limited. A2plus shall be a replacement for Hamish's Assembly 2 workbench. The workflow is similar and many people like it. So i will keep it alive. If A3 with its workflow is appreciated by you, no problem with that. Use...

Go to advanced search