Skip to main content

CAD system for righteous zen programmers

Project description

ZenCad

CAD system for righteous zen programmers

Status:
- master
- dev

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

Install zencad from pypi:
python3 -m pip install zencad

Maybe need install qt5-default, because pyqt5 has trouble with xcb plugin.
apt install qt5-default

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

Standalone Distribution

ZenCad have standalone version for Windows.
You can find windows prerelease version in releases.

Source code

Main project repo: https://github.com/mirmik/zencad
Related repos:
https://github.com/mirmik/servoce
https://github.com/mirmik/evalcache

Source code structure:

  • ./zencad/ (package)
    • examples/ (gui`s example scripts)
    • gui/ (application and graphical interface code files)
    • geom/ (main zencad api functions)
    • . : other or not yet sorted....
  • ./docs/ (manual directory. GitHub pages links here)
  • ./mangen/ (scripts and texts for ./docs automated generation)
  • ./utest/ (unit tests)
  • ./tools/ (scripts for repository routine work)
  • ./expers/ (place for maintainer experiments :-) )

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.

Files for zencad, version 0.32.2
Filename, size File type Python version Upload date Hashes
Filename, size zencad-0.32.2-py3-none-any.whl (722.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size zencad-0.32.2.tar.gz (163.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page