0.13.1 • Published 1 year ago

scad v0.13.1

Weekly downloads
-
License
BSD-2-Clause
Repository
-
Last release
1 year ago

scad

Installation

npm install --save-dev scad # npm
bun add scad # bun

API

include <./node_modules/scad/round_bevel.scad>

// Creates a vertical (Z) cylinder enclosing a round bevel in the +X znd +Y directions.
// Use with difference() to create round bevels.
round_bevel_complement(height, radius, center_z = false, epsilon = _EPSILON);

// The cylinder used by `round_bevel_complement(…)`, for when a positive shape is needed instead of the negative.
round_bevel_cylinder(height, radius, center_z = false, epsilon = _EPSILON);
include <./node_modules/scad/duplicate_and_mirror.scad>

duplicate_and_mirror(across = [ 1, 0, 0 ]);
include <./node_modules/scad/round_bevel.scad>

// Takes the Minkowski sum of child0 and child1, then takes the difference with child0 to leave a shell.
minkowski_shell() {
  child0();
  child1();
}
include <./node_modules/scad/small_hinge.scad>

// A small hinge design. Rotates vertically (+Z) and is horizontally symmetric (±X).
module small_hinge_30mm(
  rotate_angle_each_side = 0,
  plug_clearance_scale = 1,
  main_clearance_scale = 1,
  round_far_side = false,
  shave_middle = true
)
0.13.1

1 year ago

0.13.0

1 year ago

0.12.1

1 year ago

0.12.0

1 year ago

0.11.0

1 year ago

0.10.1

1 year ago

0.10.0

1 year ago

0.9.0

1 year ago

0.8.3

1 year ago

0.8.2

1 year ago

0.8.1

1 year ago

0.8.0

1 year ago

0.7.0

1 year ago

0.6.0

1 year ago

0.5.0

1 year ago

0.4.7

1 year ago

0.4.6

1 year ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago