mirror of
https://github.com/DJSundog/NopSCADlib.git
synced 2024-11-23 07:13:51 -05:00
Screws.scad is now included in core.scad, so doesn't need to be included
anywhere else. utils/core/core.scad is the old version without fasteners to be used internally in the library.
This commit is contained in:
parent
9b104e4fe7
commit
ab592e049c
20
core.scad
20
core.scad
@ -18,22 +18,10 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
//
|
//
|
||||||
// Include this file to use the miniumum library
|
// Include this file to use the miniumum library plus screws, nuts and washers
|
||||||
//
|
//
|
||||||
include <global_defs.scad>
|
include <utils/core/core.scad>
|
||||||
//
|
//
|
||||||
// Global functions and modules
|
// Fasteners used by a lot of other vitamins
|
||||||
//
|
//
|
||||||
use <utils/core/global.scad>
|
include <vitamins/screws.scad>
|
||||||
|
|
||||||
module use_stl(name) { //! Import an STL to make a build platter
|
|
||||||
stl(name);
|
|
||||||
|
|
||||||
import(str("../stls/", name, ".stl"));
|
|
||||||
}
|
|
||||||
|
|
||||||
module use_dxf(name) { //! Import a DXF to make a build panel
|
|
||||||
dxf(name);
|
|
||||||
|
|
||||||
import(str("../dxfs/", name, ".dxf"));
|
|
||||||
}
|
|
||||||
|
@ -116,8 +116,8 @@ get shared if other files in the project include ```lib.scad``` as well, or if y
|
|||||||
|
|
||||||
One downside is that any change to the library will mean all the project files need regenerating.
|
One downside is that any change to the library will mean all the project files need regenerating.
|
||||||
A more optimised approach for large projects is to include [NopSCADlib/core.scad](../core.scad) instead.
|
A more optimised approach for large projects is to include [NopSCADlib/core.scad](../core.scad) instead.
|
||||||
That only has the a small set of utilities and the global settings in [global_defs.scad](../global_defs.scad). Any vitamins used need to be included explicitly.
|
That only has the a small set of utilities and the global settings in [global_defs.scad](../global_defs.scad) plus screws, nuts and washers that are required by a lot of other vitamins.
|
||||||
One can copy the include or use line from [NopSCADlib/lib.scad](../lib.scad).
|
Any other vitamins used need to be included explicitly. One can copy the includes or use a line from [NopSCADlib/lib.scad](../lib.scad).
|
||||||
|
|
||||||
### Parametric parts.
|
### Parametric parts.
|
||||||
|
|
||||||
|
55
lib.scad
55
lib.scad
@ -23,43 +23,40 @@
|
|||||||
include <core.scad>
|
include <core.scad>
|
||||||
|
|
||||||
include <vitamins/psus.scad>
|
include <vitamins/psus.scad>
|
||||||
|
include <vitamins/pcbs.scad>
|
||||||
|
|
||||||
|
include <vitamins/batteries.scad>
|
||||||
|
include <vitamins/blowers.scad>
|
||||||
|
include <vitamins/bulldogs.scad>
|
||||||
|
include <vitamins/buttons.scad>
|
||||||
|
include <vitamins/components.scad>
|
||||||
|
include <vitamins/displays.scad>
|
||||||
|
include <vitamins/extrusions.scad>
|
||||||
|
include <vitamins/geared_steppers.scad>
|
||||||
|
include <vitamins/hot_ends.scad>
|
||||||
include <vitamins/inserts.scad>
|
include <vitamins/inserts.scad>
|
||||||
|
include <vitamins/ldrs.scad>
|
||||||
|
include <vitamins/leadnuts.scad>
|
||||||
|
include <vitamins/leds.scad>
|
||||||
|
include <vitamins/light_strips.scad>
|
||||||
|
include <vitamins/mains_sockets.scad>
|
||||||
|
include <vitamins/modules.scad>
|
||||||
|
include <vitamins/pillars.scad>
|
||||||
|
include <vitamins/pulleys.scad>
|
||||||
include <vitamins/ring_terminals.scad>
|
include <vitamins/ring_terminals.scad>
|
||||||
include <vitamins/rails.scad>
|
include <vitamins/rails.scad>
|
||||||
include <vitamins/belts.scad>
|
|
||||||
include <vitamins/pulleys.scad>
|
|
||||||
include <vitamins/sheets.scad>
|
|
||||||
include <vitamins/stepper_motors.scad>
|
|
||||||
include <vitamins/components.scad>
|
|
||||||
include <vitamins/hot_ends.scad>
|
|
||||||
include <vitamins/tubings.scad>
|
|
||||||
include <vitamins/zipties.scad>
|
|
||||||
include <vitamins/scs_bearing_blocks.scad>
|
|
||||||
include <vitamins/rod.scad>
|
include <vitamins/rod.scad>
|
||||||
include <vitamins/leadnuts.scad>
|
include <vitamins/scs_bearing_blocks.scad>
|
||||||
include <vitamins/bulldogs.scad>
|
include <vitamins/sheets.scad>
|
||||||
include <vitamins/pillars.scad>
|
include <vitamins/sk_brackets.scad>
|
||||||
|
include <vitamins/spools.scad>
|
||||||
include <vitamins/ssrs.scad>
|
include <vitamins/ssrs.scad>
|
||||||
include <vitamins/d_connectors.scad>
|
include <vitamins/stepper_motors.scad>
|
||||||
include <vitamins/buttons.scad>
|
|
||||||
include <vitamins/pcbs.scad>
|
|
||||||
include <vitamins/modules.scad>
|
|
||||||
include <vitamins/displays.scad>
|
|
||||||
include <vitamins/blowers.scad>
|
|
||||||
include <vitamins/leds.scad>
|
|
||||||
include <vitamins/toggles.scad>
|
include <vitamins/toggles.scad>
|
||||||
include <vitamins/transformers.scad>
|
include <vitamins/transformers.scad>
|
||||||
|
include <vitamins/tubings.scad>
|
||||||
include <vitamins/variacs.scad>
|
include <vitamins/variacs.scad>
|
||||||
include <vitamins/springs.scad>
|
include <vitamins/zipties.scad>
|
||||||
include <vitamins/batteries.scad>
|
|
||||||
include <vitamins/ball_bearings.scad>
|
|
||||||
include <vitamins/light_strips.scad>
|
|
||||||
include <vitamins/spools.scad>
|
|
||||||
include <vitamins/mains_sockets.scad>
|
|
||||||
include <vitamins/ldrs.scad>
|
|
||||||
include <vitamins/geared_steppers.scad>
|
|
||||||
include <vitamins/extrusions.scad>
|
|
||||||
include <vitamins/sk_brackets.scad>
|
|
||||||
|
|
||||||
use <vitamins/jack.scad>
|
use <vitamins/jack.scad>
|
||||||
use <vitamins/meter.scad>
|
use <vitamins/meter.scad>
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
//!
|
//!
|
||||||
//! Normally the side sheets are the same type but they can be overridden individually as long as the substitute has the same thickness.
|
//! Normally the side sheets are the same type but they can be overridden individually as long as the substitute has the same thickness.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../vitamins/sheet.scad>
|
use <../vitamins/sheet.scad>
|
||||||
use <../vitamins/screw.scad>
|
use <../vitamins/screw.scad>
|
||||||
use <../vitamins/washer.scad>
|
use <../vitamins/washer.scad>
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
//! Printed cable grommets for passing cables through panels avoiding sharp edges and in the case
|
//! Printed cable grommets for passing cables through panels avoiding sharp edges and in the case
|
||||||
//! of conductive panels, an extra layer of insulation.
|
//! of conductive panels, an extra layer of insulation.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../vitamins/cable_strip.scad>
|
use <../vitamins/cable_strip.scad>
|
||||||
|
|
||||||
base = 1.25;
|
base = 1.25;
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
//
|
//
|
||||||
$extrusion_width = 0.5;
|
$extrusion_width = 0.5;
|
||||||
|
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
|
|
||||||
module ESP12F_carrier_stl() { //! Generate the STL for an ESP12 carrier
|
module ESP12F_carrier_stl() { //! Generate the STL for an ESP12 carrier
|
||||||
stl("ESP12F_carrier");
|
stl("ESP12F_carrier");
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
//! Star washers can be omitted by setting ```star_washers``` to false.
|
//! Star washers can be omitted by setting ```star_washers``` to false.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
use <../vitamins/insert.scad>
|
use <../vitamins/insert.scad>
|
||||||
use <../utils/rounded_cylinder.scad>
|
use <../utils/rounded_cylinder.scad>
|
||||||
use <../utils/maths.scad>
|
use <../utils/maths.scad>
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
//! Rubber door [sealing strip](#sealing_strip) is used to make it airtight and a [door_latch](#door_latch) holds it closed.
|
//! Rubber door [sealing strip](#sealing_strip) is used to make it airtight and a [door_latch](#door_latch) holds it closed.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
|
|
||||||
width = 18;
|
width = 18;
|
||||||
thickness = 4;
|
thickness = 4;
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/hanging_hole.scad>
|
use <../utils/hanging_hole.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
|
|
||||||
length = 35;
|
length = 35;
|
||||||
width = 12;
|
width = 12;
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
//! Star washers can be omitted by setting ```star_washers``` to false.
|
//! Star washers can be omitted by setting ```star_washers``` to false.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
use <../vitamins/insert.scad>
|
use <../vitamins/insert.scad>
|
||||||
use <../utils/maths.scad>
|
use <../utils/maths.scad>
|
||||||
|
|
||||||
|
@ -30,7 +30,6 @@
|
|||||||
//! This allows the hinges and one set of screws to belong to one assembly and the other set of screws to another assembly.
|
//! This allows the hinges and one set of screws to belong to one assembly and the other set of screws to another assembly.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
|
|
||||||
function hinge_width(type) = type[1]; //! Width
|
function hinge_width(type) = type[1]; //! Width
|
||||||
function hinge_depth(type) = type[2]; //! Depth of each leaf
|
function hinge_depth(type) = type[2]; //! Depth of each leaf
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
//! inserts don't grip well in rubber.
|
//! inserts don't grip well in rubber.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
use <../vitamins/insert.scad>
|
use <../vitamins/insert.scad>
|
||||||
|
|
||||||
foot = [25, 12, 3, 2, M4_cap_screw, 10];
|
foot = [25, 12, 3, 2, M4_cap_screw, 10];
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
//! Printed handle that can be printed without needing support material due to its truncated teardrop profile.
|
//! Printed handle that can be printed without needing support material due to its truncated teardrop profile.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
use <../vitamins/insert.scad>
|
use <../vitamins/insert.scad>
|
||||||
|
|
||||||
dia = 18;
|
dia = 18;
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
//! The stl must be given a parameterless wrapper in the project that uses it.
|
//! The stl must be given a parameterless wrapper in the project that uses it.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
use <../vitamins/pcb.scad>
|
use <../vitamins/pcb.scad>
|
||||||
|
|
||||||
clearance = 0.2;
|
clearance = 0.2;
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
//! It can also have printed feet on the base with the screws doubling up to hold the base on.
|
//! It can also have printed feet on the base with the screws doubling up to hold the base on.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
use <../vitamins/insert.scad>
|
use <../vitamins/insert.scad>
|
||||||
use <foot.scad>
|
use <foot.scad>
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
//! The stl and assembly must be given a name and parameterless wrappers for the stl and assembly added to the project.
|
//! The stl and assembly must be given a name and parameterless wrappers for the stl and assembly added to the project.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
use <../vitamins/insert.scad>
|
use <../vitamins/insert.scad>
|
||||||
|
|
||||||
use <../vitamins/wire.scad>
|
use <../vitamins/wire.scad>
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
//! Clamp for ribbon cable and polypropylene strip.
|
//! Clamp for ribbon cable and polypropylene strip.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
use <../vitamins/insert.scad>
|
use <../vitamins/insert.scad>
|
||||||
use <../vitamins/cable_strip.scad>
|
use <../vitamins/cable_strip.scad>
|
||||||
|
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
//! Knob with embedded hex head screw.
|
//! Knob with embedded hex head screw.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
use <../utils/hanging_hole.scad>
|
use <../utils/hanging_hole.scad>
|
||||||
|
|
||||||
knob_wall = 2;
|
knob_wall = 2;
|
||||||
|
@ -22,9 +22,8 @@
|
|||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
include <../vitamins/mains_sockets.scad>
|
include <../vitamins/mains_sockets.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
use <../vitamins/insert.scad>
|
|
||||||
include <../vitamins/ring_terminals.scad>
|
include <../vitamins/ring_terminals.scad>
|
||||||
|
use <../vitamins/insert.scad>
|
||||||
|
|
||||||
box_height = 19;
|
box_height = 19;
|
||||||
base_thickness = 2;
|
base_thickness = 2;
|
||||||
|
@ -19,10 +19,9 @@
|
|||||||
|
|
||||||
//
|
//
|
||||||
//! A cover to go over the mains end of an SSR to make it safe to be touched.
|
//! A cover to go over the mains end of an SSR to make it safe to be touched.
|
||||||
//! The stl and assembly must be given a name and parameterless wrappers for the stl and assembly added to the project.
|
//! The STL and assembly must be given a name and parameterless wrappers for the stl and assembly added to the project.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
use <../vitamins/insert.scad>
|
use <../vitamins/insert.scad>
|
||||||
|
|
||||||
use <../vitamins/wire.scad>
|
use <../vitamins/wire.scad>
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
//! be fully customised by passing a list of properties.
|
//! be fully customised by passing a list of properties.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
use <../vitamins/insert.scad>
|
use <../vitamins/insert.scad>
|
||||||
|
|
||||||
strap = [18, 2, M3_pan_screw, 3, 25];
|
strap = [18, 2, M3_pan_screw, 3, 25];
|
||||||
|
@ -4585,7 +4585,7 @@ UK 13A socket and printed backbox with earth terminal for the panel it is mounte
|
|||||||
<a name="Ssr_shroud"></a>
|
<a name="Ssr_shroud"></a>
|
||||||
## Ssr_shroud
|
## Ssr_shroud
|
||||||
A cover to go over the mains end of an SSR to make it safe to be touched.
|
A cover to go over the mains end of an SSR to make it safe to be touched.
|
||||||
The stl and assembly must be given a name and parameterless wrappers for the stl and assembly added to the project.
|
The STL and assembly must be given a name and parameterless wrappers for the stl and assembly added to the project.
|
||||||
|
|
||||||
|
|
||||||
[printed/ssr_shroud.scad](printed/ssr_shroud.scad) Implementation.
|
[printed/ssr_shroud.scad](printed/ssr_shroud.scad) Implementation.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/annotation.scad>
|
use <../utils/annotation.scad>
|
||||||
|
|
||||||
module annotations() {
|
module annotations() {
|
||||||
|
@ -16,10 +16,9 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/springs.scad>
|
|
||||||
include <../vitamins/batteries.scad>
|
include <../vitamins/batteries.scad>
|
||||||
|
|
||||||
module batteries()
|
module batteries()
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
|
|
||||||
include <../vitamins/belts.scad>
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
include <../vitamins/pulleys.scad>
|
include <../vitamins/pulleys.scad>
|
||||||
use <../vitamins/insert.scad>
|
use <../vitamins/insert.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/bezier.scad>
|
use <../utils/bezier.scad>
|
||||||
use <../utils/sweep.scad>
|
use <../utils/sweep.scad>
|
||||||
use <../utils/annotation.scad>
|
use <../utils/annotation.scad>
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
include <../vitamins/blowers.scad>
|
include <../vitamins/blowers.scad>
|
||||||
|
|
||||||
module blowers()
|
module blowers()
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
//! BOM and assembly demonstration
|
//! BOM and assembly demonstration
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
include <../vitamins/sheets.scad>
|
include <../vitamins/sheets.scad>
|
||||||
use <../vitamins/insert.scad>
|
use <../vitamins/insert.scad>
|
||||||
$explode = 1; // Normally set on the command line when generating assembly views with views.py
|
$explode = 1; // Normally set on the command line when generating assembly views with views.py
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
include <../vitamins/sheets.scad>
|
include <../vitamins/sheets.scad>
|
||||||
use <../vitamins/insert.scad>
|
use <../vitamins/insert.scad>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/bulldogs.scad>
|
include <../vitamins/bulldogs.scad>
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
include <../vitamins/sheets.scad>
|
include <../vitamins/sheets.scad>
|
||||||
use <../vitamins/insert.scad>
|
use <../vitamins/insert.scad>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/buttons.scad>
|
include <../vitamins/buttons.scad>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
|
|
||||||
use <../printed/cable_grommets.scad>
|
use <../printed/cable_grommets.scad>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
|
|
||||||
use <../vitamins/cable_strip.scad>
|
use <../vitamins/cable_strip.scad>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../printed/carriers.scad>
|
use <../printed/carriers.scad>
|
||||||
|
|
||||||
module carriers()
|
module carriers()
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
|
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
|
|
||||||
module clips() {
|
module clips() {
|
||||||
clip(xmin = 0, ymin = 0, zmin = 0, zmax = 40) sphere(50);
|
clip(xmin = 0, ymin = 0, zmin = 0, zmax = 40) sphere(50);
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
include <../vitamins/components.scad>
|
include <../vitamins/components.scad>
|
||||||
|
|
||||||
module resistors()
|
module resistors()
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../printed/corner_block.scad>
|
use <../printed/corner_block.scad>
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
|
|
||||||
screws = [M2_cap_screw, M2p5_pan_screw, M3_dome_screw, M4_dome_screw];
|
screws = [M2_cap_screw, M2p5_pan_screw, M3_dome_screw, M4_dome_screw];
|
||||||
|
|
||||||
module do_corner_block(screw)
|
module do_corner_block(screw)
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/d_connectors.scad>
|
include <../vitamins/d_connectors.scad>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../printed/door_hinge.scad>
|
use <../printed/door_hinge.scad>
|
||||||
|
|
||||||
include <../vitamins/sheets.scad>
|
include <../vitamins/sheets.scad>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../printed/door_latch.scad>
|
use <../printed/door_latch.scad>
|
||||||
|
|
||||||
module door_latches()
|
module door_latches()
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
|
|
||||||
include <../vitamins/extrusion_brackets.scad>
|
include <../vitamins/extrusion_brackets.scad>
|
||||||
include <../vitamins/extrusions.scad>
|
include <../vitamins/extrusions.scad>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/extrusions.scad>
|
include <../vitamins/extrusions.scad>
|
||||||
@ -27,4 +27,3 @@ module extrusions()
|
|||||||
|
|
||||||
if ($preview)
|
if ($preview)
|
||||||
extrusions();
|
extrusions();
|
||||||
|
|
||||||
|
@ -17,11 +17,11 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
|
||||||
|
|
||||||
include <../printed/fan_guard.scad>
|
include <../printed/fan_guard.scad>
|
||||||
include <../vitamins/fans.scad>
|
include <../vitamins/fans.scad>
|
||||||
|
|
||||||
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
module fan_guards()
|
module fan_guards()
|
||||||
layout([for(f = fans) fan_width(f)], 10)
|
layout([for(f = fans) fan_width(f)], 10)
|
||||||
color(pp1_colour) fan_guard(fans[$i], spokes = fan_width(fans[$i]) > 60 ? 8 : 4);
|
color(pp1_colour) fan_guard(fans[$i], spokes = fan_width(fans[$i]) > 60 ? 8 : 4);
|
||||||
|
@ -17,11 +17,11 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
include <../vitamins/fans.scad>
|
||||||
|
|
||||||
include <../printed/fan_guard.scad>
|
include <../printed/fan_guard.scad>
|
||||||
|
|
||||||
include <../vitamins/fans.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
|
|
||||||
module fans()
|
module fans()
|
||||||
layout([for(f = fans) fan_width(f)], 10)
|
layout([for(f = fans) fan_width(f)], 10)
|
||||||
|
@ -20,8 +20,6 @@ include <../core.scad>
|
|||||||
use <../printed/fixing_block.scad>
|
use <../printed/fixing_block.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
|
|
||||||
screws = [M2_cap_screw, M2p5_pan_screw, M3_dome_screw, M4_dome_screw];
|
screws = [M2_cap_screw, M2p5_pan_screw, M3_dome_screw, M4_dome_screw];
|
||||||
|
|
||||||
module fixing_block_test(screw)
|
module fixing_block_test(screw)
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
use <../printed/flat_hinge.scad>
|
use <../printed/flat_hinge.scad>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../printed/foot.scad>
|
use <../printed/foot.scad>
|
||||||
|
|
||||||
module feet()
|
module feet()
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
|
|
||||||
use <../vitamins/fuseholder.scad>
|
use <../vitamins/fuseholder.scad>
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
|
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
|
|
||||||
module globals() {
|
module globals() {
|
||||||
linear_extrude(height = eps) {
|
linear_extrude(height = eps) {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../printed/handle.scad>
|
use <../printed/handle.scad>
|
||||||
|
|
||||||
module handle()
|
module handle()
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/hot_ends.scad>
|
include <../vitamins/hot_ends.scad>
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
|
||||||
|
|
||||||
include <../vitamins/iecs.scad>
|
include <../vitamins/iecs.scad>
|
||||||
|
|
||||||
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
module iecs()
|
module iecs()
|
||||||
layout([for(i = iecs) iec_flange_h(i)], 10)
|
layout([for(i = iecs) iec_flange_h(i)], 10)
|
||||||
rotate(90)
|
rotate(90)
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/inserts.scad>
|
include <../vitamins/inserts.scad>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
|
|
||||||
use <../vitamins/jack.scad>
|
use <../vitamins/jack.scad>
|
||||||
|
|
||||||
|
@ -17,10 +17,9 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
|
||||||
|
|
||||||
include <../vitamins/kp_pillow_blocks.scad>
|
include <../vitamins/kp_pillow_blocks.scad>
|
||||||
include <../vitamins/nuts.scad>
|
|
||||||
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
module kp_pillow_blocks() {
|
module kp_pillow_blocks() {
|
||||||
screws = [M4_cap_screw, M4_cap_screw, M5_cap_screw, M5_cap_screw];
|
screws = [M4_cap_screw, M4_cap_screw, M5_cap_screw, M5_cap_screw];
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
include <../vitamins/leadnuts.scad>
|
include <../vitamins/leadnuts.scad>
|
||||||
|
|
||||||
module leadnuts()
|
module leadnuts()
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/leds.scad>
|
include <../vitamins/leds.scad>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/light_strips.scad>
|
include <../vitamins/light_strips.scad>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/linear_bearings.scad>
|
include <../vitamins/linear_bearings.scad>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/mains_sockets.scad>
|
include <../vitamins/mains_sockets.scad>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/maths.scad>
|
use <../utils/maths.scad>
|
||||||
use <../utils/annotation.scad>
|
use <../utils/annotation.scad>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
|
|
||||||
use <../vitamins/meter.scad>
|
use <../vitamins/meter.scad>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/microswitches.scad>
|
include <../vitamins/microswitches.scad>
|
||||||
|
@ -17,10 +17,9 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
|
include <../vitamins/modules.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
include <../vitamins/modules.scad>
|
|
||||||
|
|
||||||
module modules()
|
module modules()
|
||||||
layout([for(m = modules) mod_length(m)], 5)
|
layout([for(m = modules) mod_length(m)], 5)
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
|
|
||||||
module nuts() {
|
module nuts() {
|
||||||
layout([for(n = nuts) 2 * nut_radius(n)], 5) let(n = nuts[$i]) {
|
layout([for(n = nuts) 2 * nut_radius(n)], 5) let(n = nuts[$i]) {
|
||||||
for(nyloc = [false, true])
|
for(nyloc = [false, true])
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
|
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/offset.scad>
|
use <../utils/offset.scad>
|
||||||
|
|
||||||
module shape()
|
module shape()
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
|
|
||||||
use <../vitamins/opengrab.scad>
|
use <../vitamins/opengrab.scad>
|
||||||
|
|
||||||
|
@ -17,11 +17,11 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
|
|
||||||
use <../vitamins/pcb.scad>
|
|
||||||
include <../vitamins/microswitches.scad>
|
include <../vitamins/microswitches.scad>
|
||||||
include <../vitamins/d_connectors.scad>
|
include <../vitamins/d_connectors.scad>
|
||||||
|
|
||||||
|
use <../vitamins/pcb.scad>
|
||||||
|
|
||||||
gt_5x17 = ["gt_5x17", 5, 10, 17, 5, 11, 0.4, 9, 2,1.5, 1, 3, 6, 0, 0, 0];
|
gt_5x17 = ["gt_5x17", 5, 10, 17, 5, 11, 0.4, 9, 2,1.5, 1, 3, 6, 0, 0, 0];
|
||||||
gt_5x11 = ["gt_5x11", 5, 8, 11, 5, 7, 0.4, 7, 1.5,1.5, 1,2.5, 6, 0, 0, 0];
|
gt_5x11 = ["gt_5x11", 5, 8, 11, 5, 7, 0.4, 7, 1.5,1.5, 1,2.5, 6, 0, 0, 0];
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../printed/pcb_mount.scad>
|
use <../printed/pcb_mount.scad>
|
||||||
|
|
||||||
PI_IO = ["PI_IO", "PI_IO V2", 35.56, 25.4, 1.6, 0, 0, 0, "green", true, [],
|
PI_IO = ["PI_IO", "PI_IO V2", 35.56, 25.4, 1.6, 0, 0, 0, "green", true, [],
|
||||||
|
@ -17,11 +17,10 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
|
||||||
|
|
||||||
include <../vitamins/d_connectors.scad>
|
|
||||||
include <../vitamins/pcbs.scad>
|
include <../vitamins/pcbs.scad>
|
||||||
|
|
||||||
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
module pcbs()
|
module pcbs()
|
||||||
layout([for(p = pcbs) pcb_width(p)], 10)
|
layout([for(p = pcbs) pcb_width(p)], 10)
|
||||||
translate([0, pcb_length(pcbs[$i]) / 2])
|
translate([0, pcb_length(pcbs[$i]) / 2])
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/pillars.scad>
|
include <../vitamins/pillars.scad>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/pin_headers.scad>
|
include <../vitamins/pin_headers.scad>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
|
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../vitamins/rod.scad>
|
use <../vitamins/rod.scad>
|
||||||
include <../vitamins/sheets.scad>
|
include <../vitamins/sheets.scad>
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
use <../printed/foot.scad>
|
use <../printed/foot.scad>
|
||||||
use <../printed/printed_box.scad>
|
use <../printed/printed_box.scad>
|
||||||
|
|
||||||
|
@ -17,10 +17,9 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
include <../vitamins/psus.scad>
|
include <../vitamins/psus.scad>
|
||||||
|
|
||||||
|
use <../utils/layout.scad>
|
||||||
use <../printed/psu_shroud.scad>
|
use <../printed/psu_shroud.scad>
|
||||||
|
|
||||||
thickness = 3;
|
thickness = 3;
|
||||||
|
@ -17,11 +17,10 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
include <../vitamins/psus.scad>
|
include <../vitamins/psus.scad>
|
||||||
|
|
||||||
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
module psus()
|
module psus()
|
||||||
layout([for(p = psus) psu_width(p)], 10) let(p = psus[$i])
|
layout([for(p = psus) psu_width(p)], 10) let(p = psus[$i])
|
||||||
rotate(atx_psu(p) ? 0 : 90) {
|
rotate(atx_psu(p) ? 0 : 90) {
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
include <../vitamins/belts.scad>
|
|
||||||
include <../vitamins/pulleys.scad>
|
include <../vitamins/pulleys.scad>
|
||||||
|
|
||||||
module pulleys()
|
module pulleys()
|
||||||
|
@ -17,10 +17,9 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
include <../vitamins/rails.scad>
|
include <../vitamins/rails.scad>
|
||||||
|
|
||||||
|
use <../utils/layout.scad>
|
||||||
use <../vitamins/nut.scad>
|
use <../vitamins/nut.scad>
|
||||||
|
|
||||||
sheet = 3;
|
sheet = 3;
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../printed/ribbon_clamp.scad>
|
use <../printed/ribbon_clamp.scad>
|
||||||
use <../vitamins/wire.scad>
|
use <../vitamins/wire.scad>
|
||||||
|
|
||||||
|
@ -17,11 +17,10 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
include <../vitamins/ring_terminals.scad>
|
include <../vitamins/ring_terminals.scad>
|
||||||
|
|
||||||
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
module ring_terminals()
|
module ring_terminals()
|
||||||
layout([for(t = ring_terminals) ringterm_od(t)], 5)
|
layout([for(t = ring_terminals) ringterm_od(t)], 5)
|
||||||
rotate(180)
|
rotate(180)
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/rockers.scad>
|
include <../vitamins/rockers.scad>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/linear_bearings.scad>
|
include <../vitamins/linear_bearings.scad>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
|
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/round.scad>
|
use <../utils/round.scad>
|
||||||
|
|
||||||
module shape()
|
module shape()
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
|
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
|
|
||||||
module rounded_rectangles() {
|
module rounded_rectangles() {
|
||||||
linear_extrude(height = eps)
|
linear_extrude(height = eps)
|
||||||
|
@ -17,9 +17,8 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../printed/screw_knob.scad>
|
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
use <../printed/screw_knob.scad>
|
||||||
|
|
||||||
screws = [M3_hex_screw, M4_hex_screw];
|
screws = [M3_hex_screw, M4_hex_screw];
|
||||||
|
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
|
|
||||||
module screws()
|
module screws()
|
||||||
for(y = [0 : len(screw_lists) -1])
|
for(y = [0 : len(screw_lists) -1])
|
||||||
for(x = [0 : len(screw_lists[y]) -1]) {
|
for(x = [0 : len(screw_lists[y]) -1]) {
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
|
||||||
|
|
||||||
include <../vitamins/scs_bearing_blocks.scad>
|
include <../vitamins/scs_bearing_blocks.scad>
|
||||||
|
|
||||||
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
module scs_bearing_blocks()
|
module scs_bearing_blocks()
|
||||||
layout([for(s = scs_bearing_blocks) scs_size(s).x], 10) {
|
layout([for(s = scs_bearing_blocks) scs_size(s).x], 10) {
|
||||||
part_thickness = 5;
|
part_thickness = 5;
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../vitamins/sealing_strip.scad>
|
use <../vitamins/sealing_strip.scad>
|
||||||
|
|
||||||
module sealing_strip_test()
|
module sealing_strip_test()
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/sheets.scad>
|
include <../vitamins/sheets.scad>
|
||||||
|
@ -17,11 +17,11 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
|
||||||
|
|
||||||
include <../vitamins/sk_brackets.scad>
|
include <../vitamins/sk_brackets.scad>
|
||||||
include <../vitamins/extrusions.scad>
|
include <../vitamins/extrusions.scad>
|
||||||
|
|
||||||
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
module sk_brackets() {
|
module sk_brackets() {
|
||||||
screws = [M4_dome_screw, M4_cap_screw, M5_cap_screw, M5_cap_screw];
|
screws = [M4_dome_screw, M4_cap_screw, M5_cap_screw, M5_cap_screw];
|
||||||
nuts = [M4_hammer_nut, M4_sliding_t_nut, M5_sliding_t_nut, undef];
|
nuts = [M4_hammer_nut, M4_sliding_t_nut, M5_sliding_t_nut, undef];
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
//
|
//
|
||||||
$explode = 1;
|
$explode = 1;
|
||||||
|
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
include <../vitamins/mains_sockets.scad>
|
include <../vitamins/mains_sockets.scad>
|
||||||
use <../printed/socket_box.scad>
|
use <../printed/socket_box.scad>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/spades.scad>
|
include <../vitamins/spades.scad>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
|
|
||||||
r = 20;
|
r = 20;
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
|
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/spools.scad>
|
include <../vitamins/spools.scad>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../utils/layout.scad>
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
include <../vitamins/springs.scad>
|
include <../vitamins/springs.scad>
|
||||||
|
@ -17,10 +17,9 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
include <../vitamins/ssrs.scad>
|
include <../vitamins/ssrs.scad>
|
||||||
|
|
||||||
|
use <../utils/layout.scad>
|
||||||
use <../printed/ssr_shroud.scad>
|
use <../printed/ssr_shroud.scad>
|
||||||
|
|
||||||
thickness = 3;
|
thickness = 3;
|
||||||
|
@ -17,11 +17,10 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
include <../vitamins/ssrs.scad>
|
include <../vitamins/ssrs.scad>
|
||||||
|
|
||||||
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
module ssrs()
|
module ssrs()
|
||||||
layout([for(s = ssrs) ssr_width(s)], 15)
|
layout([for(s = ssrs) ssr_width(s)], 15)
|
||||||
rotate(90)
|
rotate(90)
|
||||||
|
@ -17,11 +17,10 @@
|
|||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../core.scad>
|
||||||
use <../utils/layout.scad>
|
|
||||||
|
|
||||||
include <../vitamins/screws.scad>
|
|
||||||
include <../vitamins/stepper_motors.scad>
|
include <../vitamins/stepper_motors.scad>
|
||||||
|
|
||||||
|
use <../utils/layout.scad>
|
||||||
|
|
||||||
module stepper_motors()
|
module stepper_motors()
|
||||||
layout([for(s = stepper_motors) NEMA_width(s)], 5) {
|
layout([for(s = stepper_motors) NEMA_width(s)], 5) {
|
||||||
rotate(180)
|
rotate(180)
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
// You should have received a copy of the GNU General Public License along with NopSCADlib.
|
||||||
// If not, see <https://www.gnu.org/licenses/>.
|
// If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
include <../core.scad>
|
include <../utils/core/core.scad>
|
||||||
use <../printed/strap_handle.scad>
|
use <../printed/strap_handle.scad>
|
||||||
|
|
||||||
length = 150;
|
length = 150;
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user