View Single Post
  #1  
Old 03-29-2014, 11: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