-
Notifications
You must be signed in to change notification settings - Fork 1
/
solver_3.scad
40 lines (34 loc) · 998 Bytes
/
solver_3.scad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/**
* Copyright 2018 Mike and Nathan Fairhurst. See LICENSE for licensing.
*/
include <constants.scad>;
use <util.scad>;
use <rubiks_cube.scad>;
use <cube_holder.scad>;
use <cube_holder_gear.scad>;
use <frame.scad>;
use <arm.scad>;
use <servo.scad>;
use <gear.scad>;
use <belt.scad>;
// This file is for previewing everything at once. All logic related
// to piece placement & arrangement belongs here; however, any logic
// related to the shape of a piece should be in its own file, one
// per printable piece in most cases.
above_cube_holder() {
color("red", 0.8) rubiks_cube_on_point();
color("green", 0.8) onto_point(cube_size) arm(include_gears=false);
}
above_frame() {
color("white", 0.8)
up(servo_gear_thickness)
onto_point()
cube_holder();
cube_holder_gear();
color("grey", 0.8) cube_spinner_servo_placement() servo();
color("black", 0.8) belt() {
cube_spinner_servo_placement() servo_gear();
cube_holder_gear();
}
}
color("yellow", 0.8) frame();