Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zencad

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zencad

CAD system for righteous zen programmers

  • 1.3.3
  • PyPI
  • Socket score

Maintainers
1

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc