1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-09-18 18:41:51 +02:00

refactor deps

This commit is contained in:
Justin Lin
2020-01-28 09:52:16 +08:00
parent 948d4aafae
commit 72c5ddafec
8 changed files with 27 additions and 39 deletions

View File

@@ -1,6 +1,6 @@
include <shape_taiwan.scad>;
include <ellipse_extrude.scad>;
include <midpt_smooth.scad>;
use <shape_taiwan.scad>;
use <ellipse_extrude.scad>;
use <midpt_smooth.scad>;
smooth_times = 40;
slices = 2;

View File

@@ -1,10 +1,8 @@
include <in_shape.scad>;
include <shape_taiwan.scad>;
include <pixel/px_line.scad>;
include <pixel/px_polyline.scad>;
include <pixel/px_sphere.scad>;
include <pixel/px_cylinder.scad>;
include <pixel/px_polygon.scad>;
use <shape_taiwan.scad>;
use <pixel/px_polyline.scad>;
use <pixel/px_sphere.scad>;
use <pixel/px_cylinder.scad>;
use <pixel/px_polygon.scad>;
module blocks(points) {
for(pt = points) {

View File

@@ -1,5 +1,5 @@
include <along_with.scad>;
include <box_extrude.scad>;
use <along_with.scad>;
use <box_extrude.scad>;
platform = "YES"; // [YES, NO]
cube_only = "NO"; // [YES, NO]

View File

@@ -1,5 +1,4 @@
include <arc.scad>;
include <util/rand.scad>;
use <util/rand.scad>;
layer = 15; // [1:15]
radial = 30; // [1:30]

View File

@@ -1,10 +1,10 @@
include <trim_shape.scad>;
include <bezier_curve.scad>;
include <shape_taiwan.scad>;
include <path_scaling_sections.scad>;
include <polysections.scad>;
include <rotate_p.scad>;
include <bijection_offset.scad>;
use <trim_shape.scad>;
use <bezier_curve.scad>;
use <shape_taiwan.scad>;
use <path_scaling_sections.scad>;
use <polysections.scad>;
use <rotate_p.scad>;
use <bijection_offset.scad>;
x1 = 4; // [-20:4]
x2 = 3; // [-20:4]

View File

@@ -1,13 +1,8 @@
include <shape_taiwan.scad>;
include <circle_path.scad>;
include <rotate_p.scad>;
include <golden_spiral.scad>;
include <cross_sections.scad>;
include <polysections.scad>;
include <golden_spiral_extrude.scad>;
include <bezier_curve.scad>;
include <bezier_surface.scad>;
include <function_grapher.scad>;
use <shape_taiwan.scad>;
use <golden_spiral.scad>;
use <golden_spiral_extrude.scad>;
use <bezier_surface.scad>;
use <function_grapher.scad>;
// smaller values are better
taiwan_fineness = 5;

View File

@@ -1,5 +1,5 @@
include <pixel/px_gray.scad>;
include <shape_taiwan.scad>;
use <pixel/px_gray.scad>;
use <shape_taiwan.scad>;
levels = [
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 30, 40, 32, 22, 62, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],

View File

@@ -1,13 +1,9 @@
include <rotate_p.scad>;
include <cross_sections.scad>;
include <polysections.scad>;
include <ring_extrude.scad>;
include <crystal_ball.scad>;
use <crystal_ball.scad>;
leng = 30;
leng_diff = 3;
min_leng = 2;
model = "Base"; // [Cube, Base]
model = "Cube"; // [Cube, Base]
module spiral_cube(leng, leng_diff, min_leng) {
thickness = leng_diff / 3;