discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

relativity.scad how to align tops?

S
Serge
Mon, May 27, 2019 2:48 AM

Hello scaders!
I'm trying to align tops of box and sphere via relativity library.
need some help

include <relativity.scad/relativity.scad>;
//
//%box(50, anchor=[0,0,-1])
//    color("red") translate([0, 0, -30]) {
//      align([0,0,1])
//    %%sphere(d=60);
//    }

%box(50, anchor=[0,0,-1])
color("red")
  align([0,0,1])
%%sphere(d=60, anchor=[0,0,1]);
Hello scaders! I'm trying to align tops of box and sphere via relativity library. need some help include <relativity.scad/relativity.scad>; // //%box(50, anchor=[0,0,-1]) // color("red") translate([0, 0, -30]) { // align([0,0,1]) // %%sphere(d=60); // } %box(50, anchor=[0,0,-1]) color("red") align([0,0,1]) %%sphere(d=60, anchor=[0,0,1]);