SomeBalls! - All OPENSCAD Meta-Balls by Torleif 3d model
3dmdb logo
Thingiverse
SomeBalls!  - All OPENSCAD  Meta-Balls by Torleif

SomeBalls! - All OPENSCAD Meta-Balls by Torleif

by Thingiverse
Last crawled date: 3 years, 1 month ago
/*
SomeBalls.scad
Public Domain Code
Based on Metaballs By: William A Adams 4 June 2011
This code is a simplified implementation of the 'metaball' and uses "Marching Cubes" to register the isosurface which is the interaction of the various balls. All Cubes are tested and a joint hull is generated of each corner that lies inside the threshold of the metaballs.
Very simple usage
List Format
BallList= [[x,y,z,r],[x,y,z,r]...];
And call
DrawMetaballs(BallList);
Watertightness not guaranteed
*/

Tags