Skip to content

Instantly share code, notes, and snippets.

@Eterea
Eterea / Scripts_COFFEE.java
Created September 7, 2018 17:17
Old COFFEE scripts to be converted to Python, since COFFEE no more works in Cinema4D r20
//---------------------------------------------------------------------------------------------------------
// REALLY SIMPLE SCRIPTS WITH ONLY 2-3 LINES. This has to be easy to convert to Python (I hope...)
//---------------------------------------------------------------------------------------------------------
// Duplicate.CSC
CallCommand(100004820);
CallCommand(100004821);
@Eterea
Eterea / etr_fixHandlesFromCamera.py
Last active December 27, 2016 18:13
MODO-Python hack to solve the problem when your handles for Move, Scale, Rotate, appears giant or dwarf when seeing from your Camera.
#python
# ------------------------------------------------------------------------------------------------
# NAME: etr_fixHandlesFromCamera.py
# VERS: 1.0
# DATE: December, 27 - 2016
#
# MADE: Cristobal Vila, etereaestudios.com
#
# USES: This is hack to solve the problem when your handles for Move, Scale, Rotate,
@Eterea
Eterea / etr_usefulCoordsFunctions.py
Last active August 29, 2015 14:08
Useful functions to manage coordinates. Some things are for MODO, but others are absolutely common to any app
#python
# ----------------------------------------------------------------------------------------------------------------------
# NAME: etr_usefulCoordsFunctions.py
# VERS: Version 1.1
# DATE: October 29, 2014
#
# MADE: Cristobal Vila, etereaestudios.com
#
# USES: Useful functions to manage coordinates. Some things are for MODO, but others are absolutely common to any app
@Eterea
Eterea / etr_xraymat_toggle.py
Created August 16, 2014 14:57
Modo script to toggle between normal Shading Styles and a 'XRay-hacked' one.
#python
#----------------------------------------------------------------------------------------------------------------
# NAME: etr_xraymat_toggle.py
# VERS: beta4
# DATE: March 11, 2014
#
# MADE: Cristobal Vila, etereaestudios.com
#
# USES: To toggle between normal Shading Styles and a 'XRay-hacked' one.
@Eterea
Eterea / etr_sliceToSquares.py
Last active August 29, 2015 14:05
This Modo script will divide an edge on a mesh slicing it evenly to arrive as closer as possible to a "balanced" uniform mesh
#python
#--------------------------------------------------------------------------------------
# NAME: etr_sliceToSquares.py
# VERS: 1.1
# DATE: August 11, 2013
#
# MADE: Cristobal Vila, etereaestudios.com
#
# USES: This script will divide an edge on a mesh (like a vertical edge in a cylinder)
@Eterea
Eterea / etr_slipUValert.py
Last active September 5, 2018 18:23
etr_slipUValert.py - Modo script. This is a dirty hack to help with Slip UVs detection.
#python
# ------------------------------------------------------------------------------------------------------
# NAME: etr_slipUValert.py
# VERS: 1.0
# DATE: May 27, 2014
#
# MADE: Cristobal Vila, etereaestudios.com
#
# USES: This is a dirty hack to help with Slip UVs detection.
@Eterea
Eterea / etr_pasteOnElements.py
Last active August 29, 2015 13:59
Modo script to paste geometry over other “elements” (vertices, edges, polys or items)
#python
# ---------------------------------------------------------------------------------------------------
# NAME: etr_pasteOnElements.py
# VERS: 1.0
# DATE: July 19, 2014
#
# MADE: Cristobal Vila, etereaestudios.com
#
# USES: To paste and orient geometry on a bunch of selected COMPONENTS (Vert, Edges, Polys) or ITEMS
@Eterea
Eterea / query_sceneservice_modo701.xml
Created March 31, 2014 06:55
Script Query SCENE.SERVICES for Modo 701
<!-- SCENESERVICE -->
query sceneservice "" ?
query sceneservice scene
query sceneservice types
query sceneservice isType
query sceneservice selection
query sceneservice selection ? all
@Eterea
Eterea / services_commands_modo701.xml
Created March 13, 2014 08:37
Command Service for Modo 701
<!-- commandservice -->
query commandservice commands ?
action.import
actor.load
actor.mapLoad
actor.mapSave
anim.autoKey
anim.compensation
anim.linkKeys
@Eterea
Eterea / query_layerservice_modo701.xml
Last active February 23, 2021 16:23
Script Query LAYER.SERVICES for Modo 701
<!-- LAYERSERVICE -->
query layerservice "" ?
query layerservice layers
query layerservice layer_groups
query layerservice layer_lists
query layerservice layer_elements
query layerservice layer
query layerservice layer.N
query layerservice layer.name