Web Analytics

zencad

⭐ 147 stars Japanese by mirmik

ZenCad ====== 正義の禅プログラマーのためのCADシステム

それは何か? ----------- ZenCad - openscadのスクリプトスタイルでジオメトリコアを使用するシステムです。 つまり、openscadのアイデア、Python言語、opencascadeの力を一つにまとめたものです。

マニュアルと情報 ----------------------

インストール ------------

xcbのインストール

apt install libxcb*

共通:

Zencadはpythonoccopencascade core(OCCT)を必要とします。初回起動後 (zencadまたはpython3 -m zencadコマンドを入力) ライブラリインストールユーティリティが起動します。これを使ってpythonoccOCCTのインストールが可能です。ライブラリは手動でインストールすることもできます。

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-8

from zencad import *

model = box(200, center = True) - sphere(120) + sphere(60)

display(m) show() `` Result: result.png

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