This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example of using the Cinema 4D Tree View GUI in Python. | |
# Originally written by Niklas Rosenstein | |
# Modifications by Donovan Keith | |
import c4d | |
import os | |
import weakref | |
# Be sure to use a unique ID obtained from http://www.plugincafe.com/. | |
PLUGIN_ID = 9912399 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Treeview Dialog | |
UltraSimple Treeview Example. Displays a list of Greek letters you can select and delete. | |
MIT License | |
Copyright (c) 2016 Donovan Keith | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""ShaderBrowser | |
Based on: https://developers.maxon.net/?p=439""" | |
# ====== IMPORTS ====== # | |
import c4d | |
# ====== GLOBALS ====== # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""ObjectBrowser | |
Based on: https://developers.maxon.net/?p=439""" | |
# ====== IMPORTS ====== # | |
import c4d | |
# ====== GLOBALS ====== # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Select Phong Edges Expression | |
Selects any edges w/ broken phong shading. | |
Last Modified: 2016-10-21 | |
v0.0.1 | |
By Donovan Keith for MAXON USA | |
Usage Instructions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Weld Cube Points | |
Welds cube points together. | |
Usage Instructions: | |
1. Create some cubes. | |
2. Make them editable | |
3. Run this script. | |
""" | |
import c4d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Name-US: CV-Set New Selection | |
Description-US: Deslects all tags and runs the Set Selection command. | |
Installation: | |
------------- | |
1. Save this to a file called "setnewselection.py" in your C4D Scripts Folder | |
2. Restart Cinema 4D | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// RGBLight.cs | |
// Changes light to Red/Green/Blue when user press `R`, `G`, or `B` keys. | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class RGBLight : MonoBehaviour { | |
Light light; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ToggleLight.cs | |
// Turns the light component of this object on/off when the user presses and releases the `L` key. | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class ToggleLight : MonoBehaviour { | |
Light light; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MousePaint.cs | |
// Paints objects when you click and drag. | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class MousePaint : MonoBehaviour { | |
public GameObject stamp; |
OlderNewer