A2plus rotate interactive not working for me

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
smshift050
Posts: 8
Joined: Sun Feb 09, 2020 5:17 am

A2plus rotate interactive not working for me

Post by smshift050 »

I created a base with shaft and a crank wheel. The base is fixed the crank is not.
When i use the Move part under rule of constraint tool and click the crank I expected to be able to drag the crank so that it would rotate around the base shaft but it does not.
I don't know what I have done wrong. Can someone point out the error.
Thank you.










OS: Ubuntu 20.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4.
Build type: Release
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.3.0
Locale: English/United States (en_US)

A2plus V0.4.47g
Attachments
a2plusTest.FCStd
part file
(24.09 KiB) Downloaded 28 times
A2.FCStd
Assembly file
(7.46 KiB) Downloaded 33 times
kbwbe
Veteran
Posts: 1052
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: A2plus rotate interactive not working for me

Post by kbwbe »

smshift050 wrote: Sat Jan 23, 2021 4:25 am
I had a look at this problem. I found 2 issues.

1)
I produced a bug within my latest release 0.4.48 (This was no problem for you because you are using an older Version of A2plus). If fixed it with version V0.4.48a

2) You can not rotate your crankshaft directly. Why? Mouse movement only translates the selected object but does not rotate it. Rotation is produced only by the solving algorithm, when it is necessary to find a solution for all constraints.

So i introduced a small sphere as a helper element and constrainted it to the pin of the wheel. For simulation, now select the sphere. When it is moved arround by mouse, the solver has to rotate the wheel to satisfy the constraints. This way the rotation is working.

I attach the files.

PS. You should update A2plus to the latest version v0.4.48a
Attachments
a2plusTest.FCStd
(24.09 KiB) Downloaded 86 times
A2.FCStd
(9.96 KiB) Downloaded 80 times
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
smshift050
Posts: 8
Joined: Sun Feb 09, 2020 5:17 am

Re: A2plus rotate interactive not working for me

Post by smshift050 »

Thank you.
Now I understand why I could not use the mouse for rotational motion.
Regards
Post Reply