---
title: Cinema4D Pythonまとめ
date: 2016-05-01T00:00:00.000Z
updated: 2026-01-08T14:50:52.754Z
tags:
  - video-prod
url: https://baku89.com/ja/video-prod/c4dpy
---

# Cinema4D Pythonまとめ

![](https://wp.baku89.com/wp-content/uploads/2016/05/IMG_2913.jpg)

Cinema4D の Python, ドキュメント含め色々不親切なので, まとめる.

## 取り敢えず

- [Cinema4d Python SDK Document](https://developers.maxon.net/docs/Cinema4DPythonSDK/index.html)
- [ライブラリのインストール場所](http://www.valkaari.com/?page_id=764)
- [Install a Python package into a different directory using pip? - Stack Overflow](http://stackoverflow.com/questions/2915471/install-a-python-package-into-a-different-directory-using-pip)

## 基本

- [フレーム逐次処理](https://gist.github.com/baku89/39656378b59fe2eeb0f4)
- チートシート

## Three.js との連携

- [C4D→WebGL 座標変換](https://github.com/dot-by-dot-inc/KAMRA-Deja-Vu/blob/master/data/4%20-%20C4DPy/djv.py#L67-L135): Deja Vu の時につかったやつ.
- JSON Geometry format での書き出し (WIP): [これ](https://github.com/mrdoob/three.js/wiki/JSON-Geometry-format-4)書きだすのにいちいち Blender 介すの面倒いから、途中まで書いた。

## openFrameworks との連携

- C4D→oF 座標変換
- Alembic

## その他

- [キーフレーム数をカウントして嬉しくなるやつ](https://gist.github.com/baku89/e17253586682e4210631)
- OSC での連携

## チュートリアル

<https://vimeo.com/116527107><https://vimeo.com/84661789><https://vimeo.com/87936298>

## 詳しそうな人

- [gupon さん](https://x.com/gupon)
