d61h6k4 / occwl

Lightweight Pythonic wrapper around pythonocc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OCC Wrapper Library

OCCWL is a simple, lightweight Pythonic wrapper around pythonocc (python bindings for OpenCascade).

Installing our conda package

conda create --name=myoccwlenv python=3.7
source activate myoccwlenv
conda install -c lambouj -c conda-forge occwl

Hello world

from occwl.solid import Solid
from occwl.viewer import Viewer

box = Solid.make_box(10, 10, 10)
v = Viewer()
v.display(box)
v.fit()
v.show()

should display a box:

hello world viewer

More examples are available in the examples folder.

Developing and maintaining OCCWL

Please see here for information useful for developers and maintainers of OCCWL. This includes details on how to run tests and publish the conda package.

Maintainers

About

Lightweight Pythonic wrapper around pythonocc


Languages

Language:Python 99.5%Language:Shell 0.5%