Fixed paths in scad scripts

pull/22/merge
Carlos Garcia Saura 2014-11-05 16:00:47 +00:00
parent b2406e15e1
commit e90a43cccb
6 changed files with 10 additions and 15 deletions

View File

@ -17,7 +17,7 @@ module Cyclone_X_rightFrame() {
scale([-1,1,1]) Cyclone_X_leftFrame(isLeft=false); scale([-1,1,1]) Cyclone_X_leftFrame(isLeft=false);
} }
include <MCAD/stepper.scad> include <libs/MCAD/stepper.scad>
module Cyclone_X_leftFrame(isLeft=true) { module Cyclone_X_leftFrame(isLeft=true) {
screwSize = 3; // M3, M4, etc (integers only) screwSize = 3; // M3, M4, etc (integers only)

View File

@ -4,7 +4,7 @@
// License: CC BY-SA 4.0 (Attribution-ShareAlike 4.0 International, http://creativecommons.org/licenses/by-sa/4.0/) // License: CC BY-SA 4.0 (Attribution-ShareAlike 4.0 International, http://creativecommons.org/licenses/by-sa/4.0/)
// Designed with http://www.openscad.org/ // Designed with http://www.openscad.org/
include <MCAD/nuts_and_bolts.scad> include <libs/MCAD/nuts_and_bolts.scad>
workbed_separation_from_Y_threaded_rod = axes_Y_smoothThreaded_verticalSeparation+workbed_separation_from_Y_smooth_rod+axes_Ysmooth_rodD/2; workbed_separation_from_Y_threaded_rod = axes_Y_smoothThreaded_verticalSeparation+workbed_separation_from_Y_smooth_rod+axes_Ysmooth_rodD/2;

View File

@ -11,7 +11,7 @@ module mirrorOrNot(mirrorPart=false, axes=[-1,1,1]) {
use <MCAD/bearing.scad> use <libs/MCAD/bearing.scad>

View File

@ -9,7 +9,7 @@
module Cyclone_Z_carriage() { module Cyclone_Z_carriage() {
color(color_stillPart) color(color_stillPart)
translate([axes_Zsmooth_separation/2,0,0]) rotate([0,0,-90]) translate([axes_Zsmooth_separation/2,0,0]) rotate([0,0,-90])
import("INHERITED/stl/Cycl_Zcarriage.stl"); import("Inherited_files/stl/Cycl_Zcarriage.stl");
// Bearings // Bearings
linearBearing_single(model="LM8UU", echoPart=true); linearBearing_single(model="LM8UU", echoPart=true);

View File

@ -8,11 +8,6 @@
// First of all, make sure you are using the latest version of OpenScad (>= 2014.05.31) // First of all, make sure you are using the latest version of OpenScad (>= 2014.05.31)
// Then, it is important to change a default setting. Go to: Edit --> Preferences --> Advanced // Then, it is important to change a default setting. Go to: Edit --> Preferences --> Advanced
// And increase "Turn off rendering at 2000 elements" to a larger number like 20000 // And increase "Turn off rendering at 2000 elements" to a larger number like 20000
//
// If problems persist, you may need to install the MCAD (<http://reprap.org/wiki/MCAD>)
// and Obiscad (<https://github.com/Obijuan/obiscad>) libraries into the /libs directory.
// With Git, this can be achieved automatically by running the following command:
// git submodule update --init
// ------------------------------------------------------------- // -------------------------------------------------------------
// ---------- GENERATING THE STL FILES ------------------------ // ---------- GENERATING THE STL FILES ------------------------
@ -46,7 +41,7 @@ use <libs/obiscad/obiscad/vector.scad>
use <libs/obiscad/obiscad/attach.scad> use <libs/obiscad/obiscad/attach.scad>
use <libs/obiscad/obiscad/bcube.scad> use <libs/obiscad/obiscad/bcube.scad>
use <libs/standard_parts.scad> use <libs/standard_parts.scad>
use <MCAD/materials.scad> use <libs/MCAD/materials.scad>
// Functions for animations. Quick and dirty implementation, will need some cleanup // Functions for animations. Quick and dirty implementation, will need some cleanup
animated_parts_number = 10; animated_parts_number = 10;
@ -139,11 +134,11 @@ render_bases_outline = false; // Toggle for rendering outline DXFs
DXF_offset = 0.4; // Needed to adjust the tolerance of the laser cutter DXF_offset = 0.4; // Needed to adjust the tolerance of the laser cutter
// Include Cyclone parts // Include Cyclone parts
include <Cyclone_X_carriage.scad> include <Cycl_X_carriage.scad>
include <Cyclone_Z_carriage.scad> include <Cycl_Z_carriage.scad>
include <Cyclone_X_frames.scad> include <Cycl_X_frames.scad>
include <Cyclone_Y_carriage.scad> include <Cycl_Y_carriage.scad>
include <Cyclone_Y_frames.scad> include <Cycl_Y_frames.scad>
// This small module is used to select if an object is rendered as a 2D plane or as a 3D object // This small module is used to select if an object is rendered as a 2D plane or as a 3D object