Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

specify the global Cartesian coordinate /vup

Status
Not open for further replies.

jiligeo

Geotechnical
Joined
Feb 24, 2005
Messages
145
Location
DE
Dear friends,
I am interesting to specify the global Cartesian coordinate system with the following directions:
Z vertical downward, X horizontal to the right, Y out from the screen.
Is it possible to define that?
I have used the /vup,1,-z command with Z vertical downward, Y horizontal to the left, X out from the screen, but the results of viewing the model from top and front are not correct and I can not correct that with /view command.

Regards
Jalil
 
Hi,
of course!
The orientation of the "world" is perfectly arbitrary, it has nothing to do with "real" upwards, downwards, etc... directions!!!
If you need the Z-axis to be "downwards", simply build your model in the corresponding way. If you are importing from a CAD model, the CAD "world" CSYS, which is used in the Parasolid or IGES file (apart some exceptions...) will be made coincident with the ANSYS CSYS,0.
In the same manner, "top", etc views are named so, based upon the orientation of CSYS,0: for example, "top" is the view where the positive Z-axis direction points outside the screen, etc...
If you already built the model in a CSYS which doesn't fit your needs, the simplest way you have to change the orientation of the reference CSYS is:
- place workplane on CSYS,0: CSYS,0 and then WPCSYS,-1
- rotate workplane as needed: WPROTA,0,180,0
- build new CSYS of cartesian type (named, for example, 20) on the workplane: CSWPLA,20,0
- ensure the new CSYS is active: CSYS,20
- rotate all the nodes in CSYS 20 (only if needed): NROTAT,all
- change elem CSYS from 0 to 20 (only if needed): EMODIF,all,ESYS,20

Hope this helps...

Regards
 
Dear cbrn, thanks a lot for your answer. I am using solid modelling and I am interesting to change the definition of Top and Front view. Is it possible?
 
Hi,
as far as I know, predefined "top" etc can not be changed.
However, you can define Views and recall them.
I've never played around with this topic so I can't help you more, but it seems to me that in the Help you will find plenty of information about that.

As soon as I find time, I have a look on it also...

Regards
 
You can save a "view" using the /gsave command. Easiest thing would be to would be to save the view you want and create a button which executes a macro in the toolbar. The macro would basically be:

/input,,vew !file created with /gsave command
/auto
/rep

Easy enough I'd say!

-Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top