Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

specklesystems/oneclick-c4d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cinema 4D 26: One-Click Send to Speckle

Introduction

This script allows you to send a Cinema4D model to Speckle with one click! Simply paste in a URL, execute the script, and away you go 🚀

c4d-send

In order to achieve this, the script will (1) export your entire model to an STL file, (2) convert that file to Speckle, and (3) send and commit the converted mesh.

It is recommended that you have Speckle Manager installed before using this script, however you can also use a token to authenticate yourself instead.

Installation

Windows

  1. Extract the dependencies from deps_windows_py39.zip
  2. Copy the contents of the extracted deps_windows_py39 folder into your %APPDATA%\Maxon\python\python39\libs

c4d-deps

  1. Copy the send_to_speckle.py script into your %APPDATA%\Maxon\Maxon Cinema 4D R26_7DC20B77\library\scripts (or load it in from wherever you like to save your Cinema4D python scripts)

Mac

I was not able to get this on an M1 Pro mac, but feel free to try this manual installation out as you may have better luck.

  1. Using Python 3.9, pip install specklepy numpy-stl into ~/Library/Preferences/MAXON/python39/libs (NOTE: it is critical that you use Python 3.9 as the major version needs to match the one bundled with Cinema4D)
  2. Copy the send_to_speckle.py script into your C4D scripts folder

Usage

  1. Load up the send_to_speckle.py script in the script tab
  2. Paste in the url of the stream or branch you want to send to in the STREAM_URL field (defaults to main branch)
  3. Optional: if you don't have Speckle Manager installed with a Speckle account added to it, you can provide an authentication token to TOKEN field

c4d-send

Note that C4D may become unresponsive for a minute or two until the operation is complete.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages