WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: farshizzo
Forum: Vizard 09-25-2012, 08:16 AM
Replies: 19
Views: 25,379
Posted By farshizzo
It's still not clear what the problem is. Are you...

It's still not clear what the problem is. Are you getting a Python exception when trying to set an attribute? If so, what is the error? Can you post some sample code that reproduces the error?

The...
Forum: Vizard 09-11-2012, 11:49 AM
Replies: 19
Views: 25,379
Posted By farshizzo
Thanks. The following code should translate the...

Thanks. The following code should translate the screw object along its local Y-axis:screw = model.insertGroupBelow('Inst-1430')
screw.setPosition([0,0.1,0])

This works by inserting a node below...
Forum: Vizard 09-11-2012, 09:11 AM
Replies: 19
Views: 25,379
Posted By farshizzo
There is not enough information for me to say...

There is not enough information for me to say what the problem is. My guess is you are applying the transformation at the wrong hierarchy in the scene. node.getChildren will not return anything...
Forum: Vizard 09-07-2012, 10:56 AM
Replies: 19
Views: 25,379
Posted By farshizzo
No, you will want to use the default...

No, you will want to use the default viz.ABS_PARENT mode, since you want the screw to move along its local axes.

How are you getting a handle to the screw object in Vizard? Are you using the...
Forum: Vizard 08-31-2012, 03:34 PM
Replies: 19
Views: 25,379
Posted By farshizzo
The axes in Inspector contains the accumulated...

The axes in Inspector contains the accumulated transform of the selected node path. You can find the equivalent transform by calling:
xform = node.getMatrix(viz.ABS_GLOBAL,node='name')
Where name...
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT -7. The time now is 12:25 AM.


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