Friday, May 12, 2017

Line

Constructs a line between point p1 and point p2

Usage:


line([1,-1],[2,2]);

module line(p1, p2 ,width=0.05) 
{
    hull() {
        translate(p1) sphere(width);
        translate(p2) sphere(width);
    }
}

No comments:

Post a Comment