WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-16-2007, 02:33 PM
mjabon mjabon is offline
Member
 
Join Date: Jul 2007
Posts: 63
Scaling

Hello. I am running into weird things with scale. I made a box in 3dsmax and it is 1 m by 1 m. Then I scaled it by .1 in all directions and added it to my world. However, it is spanning from -5 to +5 in either direction. Why is this? I need to be doing some fine calculation of the coordinates of holes in this box and I need consistent scale.

Also, I want to add text to the specific coords that I find for the holes, however it seems the text coordinate system is different - 0,0,0 is in the lower left corner, not at 0,0,0 in my world. How can I get text to translate to a coordinate in the world? I tried this:

Code:
text = viz.addText('Hi')
text.translate(0,0,0, viz.ABSOLUTE_WORLD)
That did not work.
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:33 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC