-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FR: add angle rotation constraint #4
Comments
It does have an angle constraint. I am not sure if this is what you want. This constraint is pretty sensitive to initial condition. You'll need to nudge the object a little bit to get the snap. See a screencast here |
Hi @realthunder |
In that case, you just need two constraints, one axial alignment (or plane coincident if you don't want vertical freedom), and one angle. In case where the angle constrained object has no planar face for alignment, simply create some auxiliary face/edge, say using a sketch, group the object and auxiliary object into a assembly, and then add it to the main assembly. You can hide the auxiliary object, and select it in the tree view to create constraint. I will ensure better support of PartDesign body in the future, so that any datum/origin/workplane can be used for constraint. Haven't got time to test it. |
So, instead of the lock rotation option in A2 axial constraint, you want an angle option. Am I right? If so, I think that's quite doable with SloveSpace. I'll add that in the future. It's actually the lock rotation option that I am not sure how to implement. Maybe have a hidden property to remember the current angle and then add it as an implicit angle constraint. |
Added LockAngle option in c2662d8. This option is available to
|
great! very useful addition! 😄 |
@gipsea you may find this interesting 😸 |
Hi @realthunder
thanks a lot for going into this 'A2 reloaded' WB!
A lot of new feature are going to be added to FC 😄
May I ask you if you would consider to add also an angle rotation constraint?
I linked a reference topic at FC forum
https://forum.freecadweb.org/viewtopic.php?f=3&t=24625
and a issue raised at A2 WB
https://github.com/hamish2014/FreeCAD_assembly2/issues/145
It would be nice to have a constraint to define an angle between two objects with the same axis... the angle would define a rotation referred to the plane orthogonal to the common axis...
Maurice
The text was updated successfully, but these errors were encountered: