Another approach to assembly solver (A2plus)

Discussion about the development of the Assembly workbench.
kbwbe
Posts: 845
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Postby kbwbe » Wed Jan 09, 2019 12:04 am

easyw-fc wrote:
Hi @easyw,
tx very much for testing, so i think it is the libexpat issue again.

https://forum.freecadweb.org/viewtopic.php?f=3&t=26291
https://freecadweb.org/tracker/view.php?id=3307

I got a issue on github, downgrading of libexpat avoided a crash (bug after downgrading has been fixed):
https://github.com/kbwbe/A2plus/issues/113
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.25, installable via FreeCAD's addon manager
Tutorials:
Paul Randall: https://youtu.be/mnkecA9S7kc
anisim (deutsch): https://www.youtube.com/watch?v=vDcaFq6IEJM
dan-miel
Posts: 61
Joined: Thu Sep 13, 2018 12:29 am
Location: Spokane WA. USA

Re: Another approach to assembly solver (A2plus)

Postby dan-miel » Wed Jan 09, 2019 4:20 pm

triplus wrote:
Tue Jan 08, 2019 9:49 pm
P.S. If the motivation to move commands was to bring it closer to the "working area". Tools -> Addon manager should already provide at least two solutions for such use case.
Triplus:
I did not mean to imply that bringing the commands closer to the work was the reason for the extra dialog. I have put a few more possible reasons in the word doc.
I looked at the PieMenu and I am impressed with the tool. Although bringing up menu does add another step which includes a left hand movement. I’m guessing that left handed people whose mouse is in their left hand finds this awkward.
You were right on a previous post that my dialog was too complicated. I added a picture of the simpler form in the word doc.
I did not want to write a long message in this note because this is about clicking buttons and personal preferences on dialogs so I am adding this word doc on why I built my selector the way I did. There are changes that I would make to this new dialog but it is close to what i would use.
Dan
Attachments
Long reply to mate selector.docx
(44.17 KiB) Downloaded 8 times
triplus
Posts: 8420
Joined: Mon Dec 12, 2011 4:45 pm

Re: Another approach to assembly solver (A2plus)

Postby triplus » Wed Jan 09, 2019 5:11 pm

Hi Dan.

I read the feedback, after a set of constraint related commands got re-added to the toolbar, on how some would like the commands to get closer to the "working place". That is why i mentioned an example with the PieMenu. On how that could be achieved. As for the dialog you are working on. I have no problems with such approach being provided as an additional option.
User avatar
manuelkrause
Posts: 442
Joined: Thu Jul 05, 2018 7:16 pm

Re: Another approach to assembly solver (A2plus)

Postby manuelkrause » Sat Jan 12, 2019 3:16 pm

kbwbe wrote:
Wed Jan 09, 2019 12:04 am
easyw-fc wrote:
Hi @easyw,
tx very much for testing, so i think it is the libexpat issue again.

https://forum.freecadweb.org/viewtopic.php?f=3&t=26291
https://freecadweb.org/tracker/view.php?id=3307

I got a issue on github, downgrading of libexpat avoided a crash (bug after downgrading has been fixed):
https://github.com/kbwbe/A2plus/issues/113
Hi Klaus,
has this testing been enough for you? For the moment of that message I thought so. Let me know if you need further testing.
Last days, openSUSE tumbleweed provided a new installable FreeCAD version. Likely to ship with the transparency fix...
Oh, I so much hope for that one...

BR, Manuel
kbwbe
Posts: 845
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Postby kbwbe » Sun Jan 13, 2019 1:55 pm

manuelkrause wrote:
Sat Jan 12, 2019 3:16 pm
has this testing been enough for you?
Hi Manuel,
thank you for your help. At moment, current work on devel branch is not finished, so testing ATM is not needed.

I am reworking the XML document reader (and partlist module), to get rid of libexpat and resulting problems. I do not want to use it at moment any more. I coded a very simple own xml parser, only for extracting the few things from document.xml which a2p is needing. First tests are showing, that the new method is much more stable. I do not have crashes on Conda builds anymore.

I will do a new post, when it is time for testing again.

BR
Klaus
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.25, installable via FreeCAD's addon manager
Tutorials:
Paul Randall: https://youtu.be/mnkecA9S7kc
anisim (deutsch): https://www.youtube.com/watch?v=vDcaFq6IEJM
User avatar
manuelkrause
Posts: 442
Joined: Thu Jul 05, 2018 7:16 pm

Re: Another approach to assembly solver (A2plus)

Postby manuelkrause » Sun Jan 13, 2019 2:10 pm

kbwbe wrote:
Sun Jan 13, 2019 1:55 pm
manuelkrause wrote:
Sat Jan 12, 2019 3:16 pm
has this testing been enough for you?
Hi Manuel,
thank you for your help. At moment, current work on devel branch is not finished, so testing ATM is not needed.

I am reworking the XML document reader (and partlist module), to get rid of libexpat and resulting problems. I do not want to use it at moment any more. I coded a very simple own xml parser, only for extracting the few things from document.xml which a2p is needing. First tests are showing, that the new method is much more stable. I do not have crashes on Conda builds anymore.

I will do a new post, when it is time for testing again.

BR
Klaus
Hi Klaus,
thank you for this information! I've only seen the activity on your github.
Just simply notify, when you feel right with the code to get tested/ used.

Good luck and good efforts,
and best regards,
Manuel
kbwbe
Posts: 845
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Postby kbwbe » Mon Jan 14, 2019 3:45 pm

easyw-fc wrote: ping
manuelkrause wrote: ping
Hi Guy's,
devel branch is ready for testing now.

- recursive update (to be activated in preferences)
- reworked partlist
- reworked XML document reader

Please do tests on different systems (linux, conda-builds, win), also with exotic filenames (german umlaut's, french accents etc.).
Tx in advance for reporting back.

BR
Klaus
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.25, installable via FreeCAD's addon manager
Tutorials:
Paul Randall: https://youtu.be/mnkecA9S7kc
anisim (deutsch): https://www.youtube.com/watch?v=vDcaFq6IEJM
User avatar
easyw-fc
Posts: 2579
Joined: Thu Jul 09, 2015 9:34 am

Re: Another approach to assembly solver (A2plus)

Postby easyw-fc » Mon Jan 14, 2019 6:20 pm

kbwbe wrote:
Mon Jan 14, 2019 3:45 pm
Hi Guy's,
devel branch is ready for testing now.

- recursive update (to be activated in preferences)
- reworked partlist
- reworked XML document reader

Please do tests on different systems (linux, conda-builds, win), also with exotic filenames (german umlaut's, french accents etc.).
Tx in advance for reporting back.

BR
Klaus
Hi Klaus,
everything seems to work flawlessly on Win Conda builds! :D
Thx a lot.
Maurice
User avatar
manuelkrause
Posts: 442
Joined: Thu Jul 05, 2018 7:16 pm

Re: Another approach to assembly solver (A2plus)

Postby manuelkrause » Tue Jan 15, 2019 3:23 pm

kbwbe wrote:
Mon Jan 14, 2019 3:45 pm
...
Hi Guy's,
devel branch is ready for testing now.

- recursive update (to be activated in preferences)
- reworked partlist
- reworked XML document reader

Please do tests on different systems (linux, conda-builds, win), also with exotic filenames (german umlaut's, french accents etc.).
Tx in advance for reporting back.

BR
Klaus
Hi Klaus,
thanks for your hard work! So far, no issues! But I haven't gone too deep into all recent changes for now, still have to test sub assemblies as next step and the lists creation. BTW, german umlauts don't seem to make problems at least for the assembly.

Side question, maybe to all of you, can someone give me a quick hint according to the following picture and the later attached assembly .fcstd, on how to make the green part "excenter" tangent to the rusty colored rotor, and of course left of the shown axis cross? Either I don't find the right A2plus constraint(s) ATM, or is it simply missing?

TIA,
Manuel
Screenshot_20190115_160752.png
Screenshot_20190115_160752.png (64.24 KiB) Viewed 185 times
Attachments
ASM.KKM-1309.01b.fcstd
current state of an assembly trial
(129.23 KiB) Downloaded 5 times
User avatar
easyw-fc
Posts: 2579
Joined: Thu Jul 09, 2015 9:34 am

Re: Another approach to assembly solver (A2plus)

Postby easyw-fc » Tue Jan 15, 2019 4:19 pm

something like that?
axis-coincident.png
axis-coincident.png (217.87 KiB) Viewed 170 times
ASM.KKM-1309.01b.fcstd
(138.87 KiB) Downloaded 9 times