ZenCad ====== 正義の禅プログラマーのためのCADシステム
それは何か? ----------- ZenCad - openscadのスクリプトスタイルでジオメトリコアを使用するシステムです。 つまり、openscadのアイデア、Python言語、opencascadeの力を一つにまとめたものです。
マニュアルと情報 ----------------------
- マニュアル: こちら.
- 記事:
- habr: スクリプトによる3Dモデリングシステム ZenCad
- コミュニティチャット(Telegram): https://t.me/zencad
xcbのインストール
apt install libxcb*
共通:
Zencadはpythonoccとopencascade core(OCCT)を必要とします。初回起動後 (zencadまたはpython3 -m zencadコマンドを入力)
ライブラリインストールユーティリティが起動します。これを使ってpythonoccとOCCTのインストールが可能です。ライブラリは手動でインストールすることもできます。apt install qt5-default
python3 -m pip install zencad[gui]
zencad
On first launch, Zenсad will ask you to download the required libraries.
After completing the necessary operations, close the installation utility and run the program again.
zencadグラフィカル部分なしのインストール:
GUI部分なしでzencadをライブラリとしてインストールする: ``python3 -m pip install zencad`python3 -m zencad --install-occt-force`
python3 -m zencad --install-pythonocc-force
Windowsの場合:
Windows版ZenCadにはvcredist(Microsoft再頒布パッケージ)が必要です。
Python3.7用にvcredist 2015、Python3.8以降用にvcredist 2019をインストールしてください。スタンドアロン配布
-----------------------
ZenCadにはWindows用のスタンドアロン版があります。
Windowsのプレリリース版はreleasesにあります。
ソースコード
---------------
メインプロジェクトリポジトリ:
https://github.com/mirmik/zencad
関連リポジトリ:
https://github.com/mirmik/zenframe
https://github.com/mirmik/evalcache
HelloWorld
----------
python
#!/usr/bin/env python3
#coding: utf-8from zencad import *
model = box(200, center = True) - sphere(120) + sphere(60)
display(m)
show()
``
Result:

--- Tranlated By Open Ai Tx | Last indexed: 2026-04-15 ---