Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/06/2018 in all areas

  1. The MAXON UK Youtube Channel is active too. And presents weekly tips.
    1 point
  2. One of my on-going projects is python helicopters. In this file, start the timeline, then in the control panel adjust rotors, altitude, speed then steer. Might fly a bit slow if you haven't got a reasonable gfx card. https://www.dropbox.com/s/3fhnianc9jm4rx6/legohelicopter.zip?dl=1 it's not designed for making movies - just for fun in the viewport.
    1 point
  3. @borg here's one of the first scripts I wrote. It generates 6 lottery numbers, and sorts lo-hi. Note the 'import random'. lottery.c4d
    1 point
  4. Real and float are the same. One thing to remember with numbers is the way Python 2.7 (cinema uses an old version) treats integers different to reals esp in division. Integer division gives an integer result eg 3 / 2 = 1.5 in Python 3.5 (and IRL) 3 / 2 = 1 in Python 2.7 this can trip you up if you use current frame (an integer) in a calculation, but can be fixed by using 3.0 etc. I use the free Pycharm to develop script ideas - you have to install Python first. http://www.jetbrains.com/pycharm/ https://www.python.org/
    1 point
  5. def main(): global Output1 # and the rest if Input1 == 0: Output1 = True Output2 = False Output3 = False Output4 = False Output5 = False Output6 = False Output7 = False else: Output1 = False # etc note it's case sensitive, indent and colons. Outputs must be global, but can be declared on one line separated with commas true.c4d
    1 point
×
×
  • Create New...