Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 496 Bytes

readme.md

File metadata and controls

37 lines (23 loc) · 496 Bytes

cq-conda Container Image

How to build the image

docker build -t cq-conda .

Usage

Create a new container for latter use:

docker run --name cadquery -v $PWD:/cadquery:z -itd cq-conda bash

Normal use case

Given the script:

# script.py

import cadquery as cq
from cadquery import exporters

cube = cq.Workplane().box(1, 1, 1)

exporters.export(cube, 'part.step')

In order to execute the script:

docker exec -i cadquery python script.py