WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-08-2011, 07:49 AM
Albert Russel Albert Russel is offline
Member
 
Join Date: Jun 2009
Location: Nijmegen, the Netherlands
Posts: 3
Connect on the fly shapes

I would like to build complex shapes out of cubes and then make them behave as one solid body. The add command does not work for vizshapes:

AttributeError: 'VizPrimitive' object has no attribute 'split'

Is there another way to get the same result for vizshapes as in the carousel example?

Greetings, Albert


import vizshape

viz.go()
viz.move(0,0,-10)


cube1 = vizshape.addCube()
cube2 = vizshape.addCube()

cube1.add(cube2)

spinForever = vizact.spin(0,1,0, 90, viz.FOREVER)
cube1.addAction(spinForever)
Reply With Quote
 


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
Is it possible to have make my shapes have black borders? Renato Lima Vizard 2 11-13-2010 08:35 AM
Cyberglove left hand not able to connect llqqff Vizard 2 07-21-2010 11:47 AM
Show Physics Shapes bloswald Vizard 3 04-07-2010 03:16 PM
Head tracking, Flock of Birds and vizcave; how do I connect them? Arandia Vizard 2 08-26-2009 04:59 PM
PPT talk button error: Failed to connect to COM4 jpq Precision Position Tracker (PPT) 3 12-08-2005 02:36 PM


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


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