Another approach to assembly solver (A2plus)

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Another approach to assembly solver (A2plus)

Post by Kunda1 »

That was an awesome example of open source collaboration. Bravo :clap: :clap:
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Another approach to assembly solver (A2plus)

Post by triplus »

Yep, @hamish2014 offered a solution and implemented the first generation of Assembly capabilities for FreeCAD. With A2plus we are now at the second generation and still can learn and reuse much work and effort invested in creating the first generation. We have and can still learn much from this process.
User avatar
manuelkrause
Posts: 442
Joined: Thu Jul 05, 2018 7:16 pm

Re: Another approach to assembly solver (A2plus)

Post by manuelkrause »

kbwbe wrote: Sun Apr 14, 2019 6:57 pm
Just some short question:
Why don't you make the two DOF icons (On+Off) and the two Part Labels icons (On+Off) each a single-click-switch one?
This would cleanup the WB's toolbar and may still be easily to understand.

BR, Manuel
User avatar
manuelkrause
Posts: 442
Joined: Thu Jul 05, 2018 7:16 pm

Re: Another approach to assembly solver (A2plus)

Post by manuelkrause »

kbwbe wrote: Sun Apr 14, 2019 6:57 pm
BTW. the DOF Labels seem to overlap each other quite often.
Getting unusable :-(

EDIT:
Like this, no matter what degree of rotation:

Screenshot_20190416_200443.png
Screenshot_20190416_200443.png (109.49 KiB) Viewed 2027 times
kbwbe
Veteran
Posts: 1052
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Post by kbwbe »

manuelkrause wrote: Tue Apr 16, 2019 4:21 pm Why don't you make the two DOF icons (On+Off) and the two Part Labels icons (On+Off) each a single-click-switch one?
This would cleanup the WB's toolbar and may still be easily to understand.
Hi Manuel,
i will change this next days.

BR, Klaus
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
kbwbe
Veteran
Posts: 1052
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Post by kbwbe »

manuelkrause wrote: Tue Apr 16, 2019 4:33 pm ... the DOF Labels seem to overlap each other quite often.
The labels attach to the center of the boundingbox of each part. In your example, these points are all close together and therefore the labels overlap. Doing bigger assemblies (>50 parts), the labels usually are more distributed and they help to find parts, which are not completely constrained.

BR, Klaus
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: Another approach to assembly solver (A2plus)

Post by Jee-Bee »

If you just show the labels of objects that are not complete constraint? than at least less clutter of labels which should give better results...
User avatar
manuelkrause
Posts: 442
Joined: Thu Jul 05, 2018 7:16 pm

Re: Another approach to assembly solver (A2plus)

Post by manuelkrause »

kbwbe wrote: Tue Apr 16, 2019 8:37 pm
kbwbe wrote: Tue Apr 16, 2019 8:44 pm
manuelkrause wrote: Tue Apr 16, 2019 4:33 pm ... the DOF Labels seem to overlap each other quite often.
The labels attach to the center of the boundingbox of each part. In your example, these points are all close together and therefore the labels overlap. Doing bigger assemblies (>50 parts), the labels usually are more distributed and they help to find parts, which are not completely constrained.

BR, Klaus
Hi Klaus,
thank you for picking these up. With your explanation I understand the effects of the concept and...
I just had an idea regarding this, but don't know how easily this could be programmed or how useful it'll be in real use:

Why not have some random numbers depending on the size of the parts' boundingbox(es) to define an x,y offset for the label's position? This may ease this a little bit.

I've noticed, that (1) the labels don't get to top position when selected in tree view, and (2) they also don't reference any part name in their Combo View info. Wouldn't it make sense to get them up and add more info to the labels, there? (I know the info is shown in the Report View.)

Just some suggestions, just decide yourself what makes sense.

Best regards, and many thanks for your great work!

Manuel
dan-miel
Posts: 391
Joined: Thu Sep 13, 2018 12:29 am
Location: Spokane WA. USA

Re: Another approach to assembly solver (A2plus)

Post by dan-miel »

manuelkrause wrote: Wed Apr 17, 2019 1:57 pm I just had an idea regarding this, but don't know how easily this could be programmed or how useful it'll be in real use:

Why not have some random numbers depending on the size of the parts' boundingbox(es) to define an x,y offset for the label's position? This may ease this a little bit.
I had thought it would be nice if the labels could be selected in the graphics window and then hide them or move them to the side. I played with the program but I was not even able to make the labels selectable.

Dan
JieFK
Posts: 9
Joined: Sat Dec 01, 2018 11:01 am

Re: Another approach to assembly solver (A2plus)

Post by JieFK »

Hi guys! Thanks for your time for programming this module.
I confess I have troubles to use it, mainly because I'm more used to TopSolid's workflow from work
I have a small question for you. I created a simple cube and a simple cylinder, then imported both in an assembly document. Now I want to put the cylinder on top of the cube by adding 2 constrains:
- "Bottom Cylinder" plane with "Top Cube" plane (this one is easy and I got it right)
- "Cylinder" axe with "Cube" central axe (don't know how to create this one)
I tried to create a datum axe on the cube but it does not appears on the assembly document)
Can someone please help me on this ?
Attachments
Screenshot_20190421_191531.png
Screenshot_20190421_191531.png (29.16 KiB) Viewed 2788 times
Post Reply