How to use Expressions in Bongo 2.0 - Tutorial

This video shows you how to use expressions in Bongo 2.0. You can download the models from: http://download.mcneel.com/s3/mcneel/bongo/2.0/samples/Wheelstutorial.3dm
The original model
http://download.mcneel.com/s3/mcneel/bongo/2.0/samples/Wheelstutorial 002.3dm
The finished model

More documented info about expressions in Bongo 2.0 can be found at:
http://bongo3d.ning.com/page/expressions-in-bongo-2-0

Rating:
  • Currently 0/5 stars.

Views: 1013

Comment

You need to be a member of Bongo to add comments!

Join Bongo

Comment by Ken Boyer on July 16, 2016 at 2:22pm

Wow thanks for the very quick reply! I thought Bongo was pretty much dead and I was on my own. Now I am encouraged to keep working thru these examples! I will for sure be asking questions in the future. Thanks!

Comment by Luc Adriaenssen on July 16, 2016 at 12:46pm

Right you are, Ken. This video was made on occasion of the introduction of Expressions in Bongo’s 2.0 Beta 5 version. Meanwhile certain aspects were enriched, like the Bongo Properties panel buttons and the Expression’s selection lists, syntax and result box. Moreover Rhino 4.0 makes things look a little different. The basis however remains valid.

I’ll put a remake on the to-do list.

Comment by Ken Boyer on July 15, 2016 at 9:20am

This tutorial is very much outdated. I believe I am the only one reading these tutorials now because I don't see but one comment which is 5 years old. I somehow figured out what to do to make the gears rotate like the video but if you try to follow the video it will not work.

Comment by Marika Almgren on August 1, 2011 at 4:16am

Luc,

The functions that are currently supported:

sin, cos, tan, sqrt, floor, ceil, abs, log, +, -, *, ^

 

t is currently the only variable we use.

 

Position can be used by splitting the 3d point into it's 3 axis. You do this by right-clicking on the object in the Animation Manager and disable 3D Tweening.

Comment by Luc Adriaenssen on July 31, 2011 at 3:55am

Surely a valuable novelty in Bongo.

I assume the mathematical function are those of C++? 

Maybe a simple list of the ones that are applicable would be helpful.
Any other usable variable besides t ?

I puzzles me: why is Position left out?

Luc

PS: for those unfamiliar with C++ (like myself) documentation on the mathematical functions can be found at http://www.cplusplus.com/reference/clibrary/cmath/

© 2017   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service