Jump to content

XPresso / Python Scenes & Scripts

XPresso / Python scenes and scripts. Members can submit to this section. Please zip up files.

22 files

  1. Reset Position n Rotation

    Next to the native "Reset PSR" command I used to use two scripts I had obtained with a purchased Vertex Pusher tutorial.
    These where Reset Position and Reset Rotation. Unfortunately, these were written in COFFEE and had to be rewritten in Python to work with R20.
    So, I did just that.
    And after getting permission from the original author I am providing them here in the download section for others.
    Thanks to Hrvoje for the original COFFEE script.
     
     

    15 downloads

    1 comment

    Submitted

  2. Power Instance

    Hello everyone!
     
    Cinema 4D instance object is cool but it lacks some major features to be awesome.
    One of the things i miss most it's the hability to load an object plus a proxy. This way we can instance many objects at a higher resolution  with the possibility to switch to a simpler low-res version.
     
    The new feature in C4D LOD can do something like this and probably better, but it's slower to setup, so i added a few upgrades to the native instance object allowing the user to load both proxy and high res objects. But there's also a bonus: This tool also incorporates a python script that allows the user to automaticly render the high res version even when the proxy is selected.
     
    This way we can setup our scene with hundreds of instances with lowres objects and render much heavier stuff. This was inspired in  the xref auto-exchange tool but this one works with scene objects.
     
    This script was refered in a later post in this forum : 
     
    Thanks to everyone involved on it's creation.  @ruimac @mikeBeckman
     
    Hope you enjoy it and have fun with it.
    Cheers 
    Jbatista
     
    PS: it contains a zip file with a scene file and the instructions
     
     
     
    Power Instance.zip

    6 downloads

    0 comments

    Updated

  3. Heigh Map Generator

    Height Map Generator
     
    The Height Map Generator is a free Xpresso tool that optimizes the making of Height / displacement maps. It's concept is based on a Blender plugin called Easy Height Map (https://www.blendernation.com/2018/02/21/easy-height-map/), and it's a tool that i think it is very usefull when you need to create simple or complex displacement maps in a fast production rate. 
     
    The plus in this tool is that we can create both single or animated sequences and use them in displacement maps, displacer deformers, shadding effectors, sculpt tool as stamps maps, etc. 
    Photoshop can do this kind of effects as well but there things that are better made with 3d tools (particles, cloners etc)
     
    Due to file size, you can download it from the link bellow. The zip file includes: Heigh map generator file, an example texture, an example project, instructions, and basic commands.
     
    https://drive.google.com/open?id=15M4jYk1trNU2lhNwHSeVaJsGg71coAq_
     
    This is the first release so if you find bugs or if you have suggestions for enhancements, please post them.
     
    Hope you enjoy it
     
    Cheers
    Jbatista
     

    23 downloads

    0 comments

    Submitted

  4. Enhanced Follow Spline

    Enhanced Follow Spline
     
    This tool enhances the limited Align-to-Spline TAG, enabling the possibility of constant looping positively or negatively.

    49 downloads

    1 comment

    Updated

  5. Points to Circle

    Simple script that arranges selected points into a circle. The radius of the circle can be changed in the code.

    405 downloads

    2 comments

    Submitted

  6. Cartoony Boxing Glove Rig

    Most Credits to HSrdelic for the Rig Setup.
    Simply replace the "Boxing Glove PROXY" with your own boxing glove and you are good to go.
     
    It's another Solution to the Mechanical Extender Arm Problem.
     
    Have Fun! :)

    50 downloads

    1 comment

    Updated

  7. Mechanical Extender Arm

    Mechanical extender arm using simple XPresso math. Math explanation included in zip file.

    113 downloads

    1 comment

    Updated

  8. Smooth data with XPresso

    This is example how to smooth data using expresso. it can be any data, position, rotation or scale. 
     

    107 downloads

    0 comments

    Submitted

  9. metagear cogwheel

    A cogwheel xpresso file I experimented with a few years ago.
    How it works...

    158 downloads

    0 comments

    Updated

  10. cameraRig_X.c4d

    Xpresso camera rig with easy-to-use slider controls for arcing, craning, sliding, and barrel roll camera moves. Includes FOV and DOF controls ,target mode, as well as a built-in camera shake feature. I use this rig almost on a daily basis and I thought it might be useful for others as well. Please let me know what you think! Hope you enjoy.

    340 downloads

    2 comments

    Submitted

  11. Calculate surface area of polygons

    The script when run calculates the surface area of selected polygons.

    532 downloads

    1 comment

    Submitted

  12. Tag Scripts

    This is a set of scripts that lets you assign tags to objects with a single click or keystroke. Use the included tag scripts pallet file to dock these scripts at the top of your Object Manager. One script (AlignToSplineWithTargetSpline.CSC) allows you to assign an Align to Spline tag to selected objects with the first selected spline object used as the path. Hope you find them useful.

    457 downloads

    3 comments

    Updated

  13. XP Book Case

    XPresso controlled Book Case generator.

    Easy to use Book Case builder all controlled through User Data sliders.

    Parameters available:

    Cabinet Width, Height, Depth and thickness.
    Shelf and vertical divider count.

    Shelves and dividers auto fit length and height to the inner cabinet space.

    You can easily adjust the User Data parameters if the dimensions don't suit your needs. Don't worry, you can do it without touching the actual XPresso.

    Mix and match different shelving settings by nesting duplicates under a Cloner. The main unit has the Object Axis zeroed to the rear left bottom corner for easy alignment. Just add a base plinth and twiddle.

    Have fun, Alan.

    399 downloads

    0 comments

    Updated

  14. XPresso powered doors

    Here's 2 scene files that demonstrate how to make 2 doors open as an object approaches. The doors3spline.c4d file is a modification of the doors2.c4d file where the Rangemapper node has a spline curve that makes the door movement start off slowly and accelerate.

    887 downloads

    0 comments

    Updated

  15. SubDCircleRadius

    A little python script that lets you change the radius of an ngon in such a way that the subdivided
    surface will give a perfect circle/disc/hole of a given radius.

    96 downloads

    0 comments

    Submitted

  16. Boat on waves

    Here's a very simple scene with a wind deformer simulating waves of the sea. A bit of XPresso is used to make a toy boat rise and fall with the waves and with some delay.

    2,242 downloads

    1 comment

    Updated

  17. Xpresso Seven segment clock

    An Xpresso experiment, all of the numbers are made of segments instead of a typeface. It has a time offset function, click on the 'Digital Clock' object and you can advance the time shown on the display. Display color can be modified with the Master Color texture, changing the Color parameters changes the color for all of the segments.

    Uses Xpresso for all display functions, colons blink, AM/PM indicator and is accurate for whatever time base your movie is rendered at. Handy for dropping a clock into a scene, setting color and time and then forgetting about it. The clock increments based upon the offset adjustment and current frame.

    The Xpresso code was a lot of fun to trouble shoot and get working exactly the way I wanted it to work. If you have any suggestions I'd be interested in hearing them.

    648 downloads

    3 comments

    Updated

  18. Digital Clock / Countdown or up timer

    The attached scene is an XPresso rig that counts down in seconds. You can easily alter it to count up in seconds or change it to minutes and seconds just by altering the constant node's animated values. If you do make changes, make sure to head into the timeline and change the keyframe interpolation to linear. If you don't the clock will speed up and slow down.

    The font is a free digital font that I downloaded off the net.

    974 downloads

    0 comments

    Submitted

  19. XP Cafe Spark Plug

    Xpresso controller for a simulated spark plug flash using a standard Omni Light.

    Any number of plugs can be used. Just add or take away from the Link List & Object List fields.
    Firing order is easily set by changing the sequence in the Link List field.
    Two samples included in the zip file. A straight 1 to 6 firing and a simple V6 stepping order. (Plus a sample V6 movie.)

    User Data slider controls for speed and duration.
    Auto reset of sequence when rewound to frame 0.

    This XPresso rig uses a single MonoFlop as the main node. This means a couple of restictions on the parameters.
    A double MonoFlop node set-up would overcome these but this is a sample 'educational' file.

    The XPresso has full comments for each node group.

    For detailed explanations on the working of the MonoFlop Node, refer to the 3 "Meet the Flops" in the Tutorials Section.


    Alan.

    460 downloads

    0 comments

    Updated

  20. Mormulator

    A modular formula generator for MoSplines.

    447 downloads

    1 comment

    Submitted

  21. MoSpline Unroll

    A simple Python effector. can be used to roll/unroll MoSplines
    this is the first version, hope I'll improve it in near future

    454 downloads

    0 comments

    Updated

  22. XP RiggedMagazines

    This a Xpresso Preset of 3 Rigged Magazines.
    Easy to use.
    Easy to customize.

    All your suggestions, tips and comments will be appreciated.

    Here's a demo video that i made :





    303 downloads

    0 comments

    Updated

×