Bodies position
Hi guys, I truly need your help.
As you can see in the attached picture, I'm trying to understand if the initial inclination of the pneumatic cylinder has any effects on the torque needed to tilt the arm. I imported the CAD into my motionview model (Cylinder in vertical position) and I would like to know if there is any way to rotate the cylinder and its components (cylinder case and piston). I tried to achieve this result by defining the position of the Center of Mass as a function of the inclination angle (expressed as a solver variable, in order to optimize its value by using hyperstudy in a second moment), but I'm afraid that I simply translated the center of mass instead of rotate it (see picture), in fact the floating marker associated to the piston is not tilted.
How can I achieve this result?
How can I rotate the graphic too? (I tried with 'orientation' but I cannot fully understand which angles it desired as input)
Thanks for helping me in this matter.
Answers
-
Hello SDB666 - By default, CAD and File graphics are positioned w.r.t Global Frame. You need to parametrize the CAD position with a movable Marker. And that marker has to be defined with respect to the angle parameter that you wish to change. It is doable but not a one click process. I'd be glad to take a look if you can share the model.
Another approach would be to create a model with user defined mass properties and for visualization use primitive graphics (and not external graphics).
- Create a dataset for the angle parameter<?xml version="1.0" encoding="UTF-8"?>
- Create a Marker at the pivot about which the angle is measured. Align the Z axis of the marker along the axis of the pivot.
- Create points for the graphics using the 'Parametric Points' tool using the Marker and cylindrical coordinates
4. Define the body and graphics
Modify the angle to position as required.
Attached is a sample that I created.
0 -
Thank you ppraf for your valuable help. I would like to share my model with you , how can I share it in a private way?
0