WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-11-2012, 12:38 PM
nabrahamson nabrahamson is offline
Member
 
Join Date: Sep 2011
Posts: 36
Here is the screen cap you requested.
Attached Thumbnails
Click image for larger version

Name:	inspector_path.png
Views:	5679
Size:	81.1 KB
ID:	526  
__________________
Reply With Quote
  #2  
Old 09-11-2012, 12:49 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Thanks. The following code should translate the screw object along its local Y-axis:
Code:
screw = model.insertGroupBelow('Inst-1430')
screw.setPosition([0,0.1,0])
This works by inserting a node below the Inst-1430 node. If you had called getChild on the node, it would have inserted a transform above the node, which would then translate the node in the incorrect reference frame.

Make sure you only call insertGroupBelow once per sub-node, since each call will insert a new node.
Reply With Quote
Reply

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
Haptic touch texture coordinates yth Vizard 0 06-02-2012 04:40 AM
How do coordinates in IS900 thransform into coordinates in vizard's world jacky Vizard 1 08-11-2011 11:44 AM
child-objects in VRML-file all have the same coordinates Sven Vizard 4 06-09-2010 03:07 AM
viz.vertex coordinates lilio Vizard 6 05-16-2009 05:36 PM
Object rotating around world axis, not own axis tacbob Vizard 1 02-15-2007 10:12 AM


All times are GMT -7. The time now is 08:26 PM.


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