python Library for making parametric Spool terrain designed for 3d printing.
This repo is an archive, active development has been moved to cqindustry
import cadquery as cq
from cqspoolterrain import PowerStation, SpoolCladdingGreebled
bp_power = PowerStation()
bp_power.bp_cladding = SpoolCladdingGreebled()
bp_power.bp_cladding.seed="morePower!"
bp_power.make()
power = bp_power.build()
#show_object(power)
cq.exporters.export(power,f"stl/powerStation_seed_{bp_power.bp_cladding.seed}.stl")Generates this stl
Refer to examples directory to see other examples
To install cqspoolterrain directly from GitHub, run the following pip command:
pip install git+https://github.com/medicationforall/cqspoolterrain
OR
From the cloned cqdome directory run.
pip install ./
example_runner.py runs all examples.
C:\Users\<user>\home\3d\cqspoolterrain>python example_runner.pyOR
- From the root of the project run one of the example scripts:
C:\Users\<user>\home\3d\cqspoolterrain>python ./example/spool.py
