Skip to content

Instantly share code, notes, and snippets.

@ruimac
ruimac / Suppress similar color.py
Last active November 14, 2017 18:49
Cinema 4D python script - Suppress similar color
# Script by RuiMac - 09-2015
import c4d
from c4d import gui
#Welcome to the world of Python
def replace(obj,m1,m2):
# while there are still objects...
while obj:
# get all the tags of the object
@ruimac
ruimac / Mirror VertexMap.py
Last active November 11, 2021 10:00
Cinema 4D python script - Mirrors a VertexMap along a user defined axis.
# Script by RuiMac - 09-2015
import c4d
import sys
from c4d import gui
# IDs of the dialog elements
OPTION=1000
TH_TEXT=1009
THRESHOLD=1010