HI
as usual i am struggling in order to arrange this simple simulation , i want to simulate traslation of body1 and simulate rotation of bodies 2 accordingly
i think that K2 curvecollide could be the tool to use to estimate the tranformation to be applied to the bodies but the definition i made does not work
any suggestion on the most convenient way to approach the problem as lomg as on how to get the below definition to work ?
20260326-1 mechanical simulation.gh (13.3 KB)
thanks
Is this the behaviour you are after?:
crvcollides.gh (18.3 KB)
many thanks @DanielPiker
Yes thats in part what i want , beside this the lever 2 ( slave ) is pushed against 1 by a spring in a manner that contact is always guarantee , 1 is the master must touch a basement to avoid it to move along -Y until 1 and 2 loose contact.
i tried to introduce force wo basement and of course 1 and 2 looses contact immediately..
i then tried to add a basement but im not able to constrain it…it moves
crvcollides-2.gh (20.4 KB)
To add a curve to the collisions where the interaction is only one-way (it affects the other curves, but is not affected itself), connect it to the P (PassiveCurves) input
crvcollides3.gh (18.8 KB)
1 Like
Daniel ,
thanks again for your prompt support
Question : would you suggest using a classic ( geometrical) approach or is it K2 the right choice ?
thanks , regards