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

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

Standalone Distribution

ZenCad should have standalone version for Windows.
You can find windows prerelease version here

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.

Source Distribution

zencad-0.19.3.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zencad-0.19.3-py3-none-any.whl (686.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zencad-0.19.3.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/2.7.15+

File hashes

Hashes for zencad-0.19.3.tar.gz
Algorithm Hash digest
SHA256 9b3071fc0d7552d18c8c6b92d7e599e0e92a8b40838508c860e07410dc110332
MD5 9544dcd08f6c08494cab90e0eca202fc
BLAKE2b-256 93d972d96cb301791dce76841542e295fda0633a483c98f345556c91e954e5e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zencad-0.19.3-py3-none-any.whl
  • Upload date:
  • Size: 686.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/2.7.15+

File hashes

Hashes for zencad-0.19.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3c3c75b7568f0e1819ae2f5a638914682ce3d131231476c00e09749ead24b0a2
MD5 27fadf2ff5f821ed81b7d5ddc93b9ba6
BLAKE2b-256 1f82931aa611a0a317575a463e17be75c31ef89460b908b80d7f08576cf35eb3

See more details on using hashes here.

Supported by

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