Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Take CATIA image and rotate in X 180º 3

Status
Not open for further replies.

TiagoFigueiredo

Industrial
May 22, 2013
494
PT
Hello,

I need to take an image of a CATPart, and then rotate the part (Only the view to see the oposite side of the part)in X 180º to take another image.

I now how to take the image. What I don't now, is how to rotate the model to rotate 180º in X.

Tiago Figueiredo
Tooling Engineer

Youtube channel:
 
Replies continue below

Recommended for you

Hi

Something like iso and counter iso view ?

iso_wwrbtj.png


counter_iso_nxig65.png




Regards
Fernando

- Romania
- EU
 
Why to rotate the part? it should be easy just to move the camera.
 
There is a command called "Reverse View", not sure if it resides by default in a toolbar.
You can find it under View>Command list, or add the command to a new or existing toolbar.
 
Hi

In the original DS DMUInfEngineeringView.CATScript you need to change code


StdDirection(Custom, Sight, X) = -1./ Sqr(2)
StdDirection(Custom, Sight, Y) = -1./ Sqr(2)
StdDirection(Custom, Sight, Z) = 0.
StdDirection(Custom, Up , X) = 0.
StdDirection(Custom, Up , Y) = 0.
StdDirection(Custom, Up , Z) = 1.

' Engineering view do display
Dim iIndView As Integer

iIndView = Custom ' <==== To be changed on the different macros ====

with this

StdDirection(Custom, Sight, X) = 1./ Sqr(3)
StdDirection(Custom, Sight, Y) = 1./ Sqr(3)
StdDirection(Custom, Sight, Z) = -1./ Sqr(3)
StdDirection(Custom, Up , X) = 1./ Sqr(6)
StdDirection(Custom, Up , Y) = 1./ Sqr(6)
StdDirection(Custom, Up , Z) = 2./ Sqr(6)

' Engineering view do display
Dim iIndView As Integer
'~ iIndView = Custom ' <==== To be changed on the different macros ==== this is original line, you have to change Custom with what you want as DS declare

iIndView = 7 ' <==== To be changed on the different macros ====

Or see if CATIA.StartCommand ("ReverseView") is more suitable for you.


Regards
Fernando

- Romania
- EU
 
Is it possible to convert the "Power Input c:ReverseView " in an icon for future use (instead of typing over and over in the Power Input)?

CAD 2015
 
Ferdo,

I did try that, but it doesn't allow me to drag/drop the icon in the toolbar......


image_ysau0m.png



Maybe the IT settings doesn't allow that!...



How about the other option (User Alias)? It the first time I see that, can you help me out in this matter, please?
Thanks!

CAD 2015
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top