Change Prismatic Joint Actuation Axis

21 views (last 30 days)
JuanCa
JuanCa on 16 Dec 2015
Answered: Vidya Viswanathan on 22 Dec 2015
I am using a Prismatic Joint to Actuate the linear motion between two solids. The section is moving but is doing it in the Z-axis direction. How can I change the direction? In Properties I see a menu “Z Prismatic Primitive (Pz)” but no way to change it to a different axis or direction

Answers (1)

Vidya Viswanathan
Vidya Viswanathan on 22 Dec 2015
SimMechanics software contains two technologies: First Generation and Second Generation. First-generation technology includes the block library and visualisation utility found in SimMechanics releases prior to R2012a. Second-generation technology introduces a simpler modelling paradigm with a new block library.
The " Prismatic Joint " block present in the First-generation block library provides you with an ability to alter the axis of rotation (Axis of Action). However, with the introduction of Second generation technology, the rotation is restricted to only along z-axis in order to ensure consistent modelling practices across all SimMechnanics parts and easy collaboration of multiple users.
As a workaround, I would encourage you to first use " Rigid Transform " block to align the intended direction of rotation with the z- axis and then use " Prismatic Joint " block to actuate the motion.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!