Metadata-Version: 2.1
Name: zencad
Version: 1.0.3.dev1
Summary: CAD system for righteous zen programmers 
Home-page: https://github.com/mirmik/zencad
Author: mirmik
Author-email: mirmikns@yandex.ru
License: MIT
Keywords: testing,cad
Platform: UNKNOWN
Description-Content-Type: text/markdown
Requires-Dist: psutil
Requires-Dist: numpy
Requires-Dist: pillow
Requires-Dist: evalcache (>=1.14.0)
Provides-Extra: gui
Requires-Dist: PyQt5 ; extra == 'gui'
Requires-Dist: zenframe ; extra == 'gui'

ZenCad
======
CAD system for righteous zen programmers  

Status:  
![](https://travis-ci.com/mirmik/zencad.svg?branch=master) - master  
![](https://travis-ci.com/mirmik/zencad.svg?branch=dev) - 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
----------------------
- Manual: You can find manual [here](https://mirmik.github.io/zencad/). Now only russian version.  
- Articles:  
	- habr: [Система скриптового 3д моделирования ZenCad](https://habr.com/ru/post/443140/)

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](https://github.com/mirmik/zencad/releases).

Source code
---------------
Main project repo: 
	[https://github.com/mirmik/zencad](https://github.com/mirmik/zencad)  
Related repos:  
	[https://github.com/mirmik/servoce](https://github.com/mirmik/servoce)  
	[https://github.com/mirmik/evalcache](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
----------
```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](https://mirmik.github.io/zencad/images/generic/zencad-logo.png)


