WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-10-2016, 04:10 PM
mihirradia mihirradia is offline
Member
 
Join Date: Jun 2016
Posts: 44
Hi Jeff,
I tried using class RayGrabber from grabber.py but it showed me an error saying that highlight was not defined. When I looked into the class RayGrabber the highlight was not defined and as it is a system file I cannot change it. I believe there is an error in Vizard.

I would be grateful if you could look into it.

Thanks in advance.
Reply With Quote
  #2  
Old 11-18-2016, 03:45 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You're right, the highlight object is not defined in the RayGrabber class. I've attached an example that uses a modified version of grabber.py so it works. By default the placement mode is point and place so the object will snap to a surface when released. The placement mode can be set to something else, such as mid-air placement, in the RayGrabber code.
Attached Files
File Type: zip RayGrabber Example.zip (7.6 KB, 2637 views)
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
Zspace Stylus mihirradia Vizard 2 10-25-2016 01:55 PM
Flickering of the z space environment when pressed with z space stylus mihirradia Vizard 4 07-01-2016 11:47 AM
Zspace display in Vizconnect JB_HP_Viz Vizard 5 06-05-2015 04:28 PM
Tractor beam module to inspect objects Gladsomebeast Vizard 0 01-23-2013 05:01 PM
Problem reading VRPN info from ZSpace davev Vizard 2 10-24-2012 01:45 PM


All times are GMT -7. The time now is 06:42 AM.


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