Skip to content

Latest commit

 

History

History

cq-conda

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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