Thank you
Another approach to assembly solver (A2plus)
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Another approach to assembly solver (A2plus)
Hi,
I need center two panels together. They have a slightly different dimensions and different holes, openings.
In my case Center OfMass constraint does not work.
How to center both panel to be their outer dimensions aligned to each other ?
It looks that I need something like "Geometric center" constraint...
Thanks,
Pavel
I need center two panels together. They have a slightly different dimensions and different holes, openings.
In my case Center OfMass constraint does not work.
How to center both panel to be their outer dimensions aligned to each other ?
It looks that I need something like "Geometric center" constraint...
Thanks,
Pavel
Re: Another approach to assembly solver (A2plus)
Probably you do not need a new constraint. You could use the mounting holes to align "panel" to "subpanel" with axisCoincident or circularEdge constraints.PavelK wrote: ↑Sat Jan 25, 2020 7:35 pm Hi,
I need center two panels together. They have a slightly different dimensions and different holes, openings.
In my case Center OfMass constraint does not work.
How to center both panel to be their outer dimensions aligned to each other S2.FCStd?
It looks that I need something like "Geometric center" constraint...
But the mounting holes do not fit together.
P.S. If something does not fit, which constraint should be used ? You have to position the parts somehow manually.
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
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
Re: Another approach to assembly solver (A2plus)
kbwbe
When the solver runs and it errors, how possible would it be to have it record the error but keep running to the end instead of stopping at the first error?
If two parts are being solved and nether one is rigid, could one be fixed, solved, and have the fixed state returned to float after being solved? This might reduce the number of p"art did not move" errors and could be listed as a floating error.
Lastly could the errors, perhaps, be reported to a dropdown window instead of having the dialog popup. There are times that I know I'm making an error but I want to fix it later, at the moment I just want the constraints solved with the errors not fixed.
Thanks.
Dan Miel
When the solver runs and it errors, how possible would it be to have it record the error but keep running to the end instead of stopping at the first error?
If two parts are being solved and nether one is rigid, could one be fixed, solved, and have the fixed state returned to float after being solved? This might reduce the number of p"art did not move" errors and could be listed as a floating error.
Lastly could the errors, perhaps, be reported to a dropdown window instead of having the dialog popup. There are times that I know I'm making an error but I want to fix it later, at the moment I just want the constraints solved with the errors not fixed.
Thanks.
Dan Miel
Re: Another approach to assembly solver (A2plus)
Hi Klaus,
I successfully tried the sketch feature....wowowowowow!!!! amazing!
this make a lot easier the pattern placement.
I got the sketch item reported in the partlist, would it possible hide it from the list?
thanks again
Valerio
I successfully tried the sketch feature....wowowowowow!!!! amazing!
this make a lot easier the pattern placement.
I got the sketch item reported in the partlist, would it possible hide it from the list?
thanks again
Valerio
Re: Another approach to assembly solver (A2plus)
Thank you !
Sure. At weekend.
For those who are missing the context, this post is following that one : https://forum.freecadweb.org/viewtopic.php?f=20&t=42928
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
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
Re: Another approach to assembly solver (A2plus)
Unit1
I changed gears on displaying the constraints. I found you need to be able to see small movements to detect the movement in your model.
The attached program puts the information into a table. As you move the mouse over the constraints name's and the name of features, the parts highlight in the window. Clicking in the third column, constraint name, runs that mate. The eigth column show the part that moved, the ninth column shows the number of parts moved( one part is fixed or rigid so there should always be 1) and the amount of movement in each plane. I believe the output will be what you have in your FreeCAD settings, mm for you? Below are some rows I copied which are in inches. In the basics video below I show a conflicting constraint where two constraints are trying to control a part but Unit1's model doesn't seem to have conflicting parts. The error's in Unit1's broken mate's seem to be made by excessive movements, many are smaller than eight decimal places. I am starting to wonder what is the acceptable rounding factor and what are errors? It seems that SW was around eight decimal places but it has been a few years for me. kbwbe, anyone, thoughts?
The macro can be copied to your macro folder and ran using the macro toolbar in FreeCAD.
Parts moved = 1 x 0.0000000035551267 in y -0.0000000304798460 in z 0.0000000000000000 in
Parts moved = 1 x 0.0000000013026745 in y 0.0000000000423130 in z -0.0000000000000001 in
Parts moved = 1 x 0.0000000000000000 in y -0.0000000002153577 in z 0.0000000003500380 in
Parts moved = 1 x -0.0000000020769450 in y 0.0000000000000000 in z 0.0000000000000000 in
Videos are not the main subject but here is a link to a video showing the basic features of the macro tool below https://youtu.be/GRtySM_Vpk4 1min 30sec
and a video showing the results of using it on a large model. https://youtu.be/0Oa8n6jIDF8 1min 30sec
Re: Another approach to assembly solver (A2plus)
Hi, hbwbe,
I made some menu and tooltip polish at A2plus 0.4.36 for personal use, according to some unruled but common adopted menu design rules like below,
- menu, 1st letter uppercase in each notional word (or each word)
- menu, 3 ellipsis dots following text (no space character between) means to open dialog (except warning/confirm dialog)
- menu, no space character in 1st level
- menu, allowed punctuation types whitelist
- menu, levels no more than x
- menu, items no more than x in each level
- menu, letters (including punctuations) no more than x
- tooltip/statustip, 1st letter uppercase in first word
- tooltip/statustip, letters (including punctuations) no more than x
- tooltip/statustip, following period mark (or other, or not)
Some "msg" part unfinished, for I can hardly find them in runtime.
Changes in "InitGui.py", I made "#rv" mark for review purpose. Other files, I changed directly without leaving mark.
If you find some changes useful and can be merged into your next version, I'm glad, please tell me what to do.
Last edited by fc_tofu on Sat Feb 01, 2020 8:43 pm, edited 4 times in total.
Re: Another approach to assembly solver (A2plus)
Hi @fc_tofu,
the structured menu really looks better. Please upload the InitGui.py file.
Thank you.
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
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