Skip to main content

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

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:
result.png

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

zencad-1.3.3.tar.gz (750.2 kB view details)

Uploaded Source

Built Distribution

zencad-1.3.3-py3-none-any.whl (783.8 kB view details)

Uploaded Python 3

File details

Details for the file zencad-1.3.3.tar.gz.

File metadata

  • Download URL: zencad-1.3.3.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

Hashes for zencad-1.3.3.tar.gz
Algorithm Hash digest
SHA256 1d504ee4568a73e44624d74186af1e1edcfac385fa86072e81575c73cbd41fa1
MD5 08cb5d63c019858a0a91f7ff22264d1b
BLAKE2b-256 d76169409788c7a5ed42ba6fb55b46a0542c977b4e996c180c847baee47e6e61

See more details on using hashes here.

File details

Details for the file zencad-1.3.3-py3-none-any.whl.

File metadata

  • Download URL: zencad-1.3.3-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

Hashes for zencad-1.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 26ddebd15244aa8ad12673ecb5fd720af8bd6b2d9a6abbe36f8f05b708c83321
MD5 4cf6a8ba387f23032a6d8f3f3918af86
BLAKE2b-256 0390eb2f687e2905306ec6f76e2fc7569fd97497e7997d7bc619599312a0fe8a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page