WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-29-2014, 10:53 AM
armo armo is offline
Member
 
Join Date: Mar 2014
Posts: 21
fail to scale a .dae file

Hello

I have the vizard version 3.18.0002 and I'm currently having many problems when scaling a .dae file imported from google sketchup.

I've read in other threads that the following line is useful to the task:

"viz.setOption('viz.model.apply_collada_scale' ,1)
.
.
.
viz.add('file.dae')"


but in my script it just doesn't work. It does nothing wherever I write it.

Can anyone explain me where I'm doing wrong?


P.S.some time ago I found a thread on the worldviz site where the author stated that applying the following formula would do the same job:

object.setScale([0.0254]*3)

Is there a difference with the former formula?
Reply With Quote
 

Tags
dae, import, scale, sketchup

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Closing of an imported .py file Uttama_vizard Vizard 2 05-04-2010 06:18 AM
IVEx file extenstion unrecognised. sindi Vizard 2 12-10-2009 01:20 AM
avatar scale and link.setpos conflict? sircedric4 Vizard 0 09-29-2009 07:48 AM
Read file....many issues Uttama_vizard Vizard 9 07-08-2008 02:16 PM
File Management Uttama_vizard Vizard 2 07-01-2008 09:44 AM


All times are GMT -7. The time now is 05:20 AM.


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