• Stars
    star
    299
  • Rank 139,269 (Top 3 %)
  • Language
    Python
  • License
    Other
  • Created over 11 years ago
  • Updated almost 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Script-based CAD/CAM in Python (deprecated)

kokopelli is deprecated

Its successors are Antimony and Ao.


About

kokopelli is an open-source tool for computer-aided design and manufacturing (CAD/CAM).

It uses Python as a hardware description language for solid models. A set of core libraries define common shapes and transforms, but users are free to extend their designs with their own definitions.

CAD

The CAM tools enable path planning for two, three, and five-axis machines. At the moment, paths can be exported to Universal and Epilog laser cutters, the Roland Modela mini-mill, three and five-axis Shopbot machines, and plain G-code. A modular workflow system makes adding new machines easy.

CAM

In addition, models can be saved as .svg and water-tight .stl files.

Warning

kokopelli stores designs as Python scripts and executes them. This means that you can do cool things like using numpy to process arrays, load and process images with PIL, or even scrape web data and use it to inform designs.

However, it also means that bad actors can write malicious scripts.

As such, do not open a .ko file from an untrusted source without first examining it in a text editor to confirm that it is not malicious.

Download

kokopelli has been tested on Mac OS 10.6+ and Ubuntu 12.04 LTS.
A Mac application is available here.
To build from source, check out the instructions on the wiki.

Background

kokopelli grew out of the MIT course "How to Make Something that Makes (Almost) Anything". In that course, I worked on fast geometry solvers and developed a fairly basic UI. My work expanded on the fab modules project, which allows fab lab users to make physical artifacts on a variety of machines.

This work grew into my Master's thesis at the MIT Center for Bits and Atoms. This thesis focused on volumetric CAD/CAM workflows. Now that it is complete, I'm releasing this tool for others to use and develop. It has already been used by folks in How to Make (Almost) Anything and Fab Academy, but I'm excited to offer it to a larger community.

Copyright

(c) 2012-2013 Massachusetts Institute of Technology
(c) 2013 Matt Keeter

More Repositories

1

antimony

CAD from a parallel universe
C++
2,098
star
2

pont

An online board game in Rust and WebAssembly
Rust
260
star
3

futureproof

A live editor for fragment shaders, powered by Neovim, WebGPU, and Zig!
Zig
215
star
4

mpr

Reference implementation for "Massively Parallel Rendering of Complex Closed-Form Implicit Surfaces" (SIGGRAPH 2020)
C++
185
star
5

rayray

A tiny GPU raytracer, using Zig and WebGPU
Zig
142
star
6

fidget

blazing fast implicit surface evaluation
Rust
118
star
7

erizo

Fast native STL viewer
C
115
star
8

ssra

The Solid-State Register Allocator
Rust
81
star
9

Swingline

Weighted Voronoi Stippling on the GPU
C
60
star
10

pixelsim

Squishy pixel-art spaceships on the GPU
C++
53
star
11

raven

An implementation of the Uxn CPU and Varvara Ordinator
Rust
34
star
12

bumpy-firmware

Firmware for a DIY mp3 player
C
28
star
13

tiny-planets

Rust
27
star
14

bumpy-pcb

PCB design files for a DIY mp3 player
20
star
15

Graphene

Hierarchical computation graphs; details at
Racket
19
star
16

carvr

Image resizing app that uses seam carving
C++
17
star
17

ao-guile-repl

Standalone minimal REPL + viewer for ao-guile [DEPRECATED]
C++
14
star
18

advent-of-code

Advent of Code solutions
Rust
13
star
19

spacewar

2D ship-to-ship combat
Haskell
12
star
20

dotfiles

Vim Script
8
star
21

teapot-mrep

Experiments with direct ray-tracing of Bรฉziers using matrix representations
C
8
star
22

states-machine

Memorize the names and location of US states with spaced repetition
C
7
star
23

arm64-test

Rust
5
star
24

straylight

Nothing to see here...
C++
5
star
25

super-auto-sim

Standalone implementation of Super Auto Pets, for science!
Rust
3
star
26

guile-mingw

PKGBUILD for Guile 2.2
Shell
3
star
27

sudoku-z3

Sudoku โ†’ Z3
Scheme
3
star
28

Multitroids

Single-player asteroids clone, with a twist!
Python
3
star
29

nmbr9-z3

Rust
1
star
30

titan

A half-finished terminal browser for the Gemini protocol
Rust
1
star