CAD system for righteous zen programmers
Project description
ZenCad
CAD system for righteous zen programmers
What is it?
ZenCad - it's a system for use oce geometry core in openscad's script style. So, it's openscad idea, python language and opencascade power in one.
Manual and Information
-
Manual: here.
-
Articles:
-
Community chat (Telegram): https://t.me/zencad
Installation
Common:
Zencad needs pythonocc and opencascade core(OCCT). After first launch
(type zencad or python3 -m zencad commands)
library instalation utility will started. You can use it for pythonocc and OCCT installation. Also you can install libraries manualy.
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
Installation without graphical part:
Install zencad as library without gui part:
python3 -m pip install zencad
python3 -m zencad --install-occt-force
python3 -m zencad --install-pythonocc-force
For Windows:
Windows version of ZenCad needed vcredist (Microsoft Redistibutable Package).
Please, install vcredist 2015 for Python3.7 and also vcredist 2019 for Python3.8 and later.
Standalone Distribution
ZenCad have standalone version for Windows. Windows prerelease version in releases.
Source code
Main project repo:
https://github.com/mirmik/zencad
Related repos:
https://github.com/mirmik/zenframe
https://github.com/mirmik/evalcache
HelloWorld
#!/usr/bin/env python3
#coding: utf-8
from zencad import *
model = box(200, center = True) - sphere(120) + sphere(60)
display(m)
show()
Result:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zencad-1.3.2.tar.gz.
File metadata
- Download URL: zencad-1.3.2.tar.gz
- Upload date:
- Size: 750.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d1105fb45a0116efdcc520a91a969765433428760cdc78369bf770b80f6c4ef
|
|
| MD5 |
4664e2d9f9a06fabd262fd8fb62e0e50
|
|
| BLAKE2b-256 |
0804bd04207c7613feae07962f73fe51178f68da1446f4a5734d3dccf0374680
|
File details
Details for the file zencad-1.3.2-py3-none-any.whl.
File metadata
- Download URL: zencad-1.3.2-py3-none-any.whl
- Upload date:
- Size: 783.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d38c6b0d92e0e5715007bcfa6f99d5165e675f773572311b0f50555f151bfa1
|
|
| MD5 |
3d55ccd9978f8864627a9e5eaec27107
|
|
| BLAKE2b-256 |
124ba328ce5fe7fa6417f1df0ba15bfb8ff53b82917b3a5f8086245f7d0d7098
|