Skip to content

medicationforall/cqfantasy

Repository files navigation

cqfantasy

Python library for making 3d printable Fantasy terrain using cadquery.



bp_tower = Tower()
bp_tower.base_bp.render_blocks = True
bp_tower.mid_bp.render_blocks = True
bp_tower.mid_bp.bp_window = LatticeWindow()
bp_tower.top_bp.render_blocks = True
bp_tower.make()
ex = bp_tower.build()
show_object(ex)

Project Documention

Changes

Dependencies


Installation

To install cqfantasy directly from GitHub, run the following pip command:

pip install git+https://github.com/medicationforall/cqfantasy

OR

Local Installation

From the cloned cqfantasy directory run.

pip install ./

Running Example Scripts

example_runner.py runs all examples.

C:\Users\<user>\home\3d\cqfantasy>python example_runner.py

OR

Running individual examples

  • From the root of the project run one of the example scripts:
C:\Users\<user>\home\3d\cqfantasy>python ./example/tower/tower_example.py