×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Take CATIA image and rotate in X 180º
3

Take CATIA image and rotate in X 180º

Take CATIA image and rotate in X 180º

(OP)
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:
https://www.youtube.com/channel/UC1qdlBeJJEgMgpPLV...

RE: Take CATIA image and rotate in X 180º

Why to rotate the part? it should be easy just to move the camera.

RE: Take CATIA image and rotate in X 180º

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.

RE: Take CATIA image and rotate in X 180º

(OP)
Ferdo,

I didn't had the need time to see this again. I hope that in the next few days I will have some time to do and try this. But can you share the code that you used in your previous images?

Tiago Figueiredo
Tooling Engineer

Youtube channel:
https://www.youtube.com/channel/UC1qdlBeJJEgMgpPLV...

RE: Take CATIA image and rotate in X 180º

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

https://picasaweb.google.com/102257836106335725208 - Romania
https://picasaweb.google.com/103462806772634246699... - EU

RE: Take CATIA image and rotate in X 180º

How could I get "Reverse View"?

CAD 2015

RE: Take CATIA image and rotate in X 180º

Thank you, Ferdo!dazed

CAD 2015

RE: Take CATIA image and rotate in X 180º

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

RE: Take CATIA image and rotate in X 180º

Ferdo,

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





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

RE: Take CATIA image and rotate in X 180º

I got it, thanks a lot!
bigsmile

CAD 2015

RE: Take CATIA image and rotate in X 180º

What is the reverse (delete) of the icon?
I am not happy with its location...


CAD 2015

RE: Take CATIA image and rotate in X 180º

I got this, too!
Thanks for your time, Fernando!
2thumbsup

CAD 2015

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources