Created parametric models of some Openbuilds parts using OpenSCAD. These were created by taking measurements off the GrabCAD collection models that Openbuilds has posted.
The file "vSlots.scad" creates an OpenSCAD function named "vslot" that can be used to generate models of Openbuilds V-Slot linear rail. The function "vslot" take two parameters "length" and "type". The length is the desired length of rail to be modeled (in mm). The "type" parameter accepts: 2020, 2040, 2060, 2080, 4040, and "cbeam", which models the following types of rail:
If file "vSlots.scad" is saved in the same working directory used for modeling, the following example code:
include <vSlots.scad>
color("lightgray"){
vslot(length=50, type=4040);
translate([70,0,0]) vslot(length=60,type=2020);
translate([140,0,0]) rotate([0,0,90]) vslot(length=70,type=2040);
translate([190,0,0]) rotate([0,0,90]) vslot(length=80,type=2060);
translate([120,100,0]) vslot(length=100,type=2080);
translate([80,120,0]) rotate([0,0,180]) vslot(length=90,type="cbeam");
}
Results in the model illustrated in the image below.
The file "motors.scad" creates two OpenSCAD functions named "nema17" and "nema23" that can be used to generate models of the three types of Openbuilds stepper motors:
When the "nema23" function is called without arguments, or called as "nema23(type="lt")", it produces the model of the standard NEMA 23 motor. Calling the function as "nema23(type="ht") produces the model of the high torque version.
If the file "motors.scad" is saved in the same working directory used for modeling, the following example code:
include <motors.scad>
translate([210,0,0]) rotate([90,0,0]) nema17();
translate([100,0,0]) rotate([90,0,0]) nema23();
translate([0,30,0]) rotate([90,0,0]) nema23(type="ht");
Results in the model illustrated in the image below.
The "spacers.scad" file provides OpenSCAD functions "spacerAl" and spacerNylon" that model these two parts:
Both of these functions accept a "length" argument for spacer length in mm. For example: spacerAl(length=40); will produce a 40 mm aluminum spacer.
The "plates.scad" file provides OpenSCAD functions "buildPlate", "cBeamEndMount", "vslotGantry20_80", "cBeamGantry" that model the following parts:
V-Slot Gantry Plate - Universal (20-80 mm)
The "connectors.scad" file provides OpenSCAD functions "join90deg", "cornerBracket", "lockCollar8mm", and "angleCorner" that model the following parts:
The following models are also provided:
antiBacklashNut.scad --> Anti-Backlash Nut for Acme 8mm Screw
spindleMount.scad --> Router Spindle Mount
vWheel.scad --> Solid V Wheel Kit
The file "cBeamMachine.scad" is an example of combining the functions to build a machine. It provides a rough model of the C-beam machine. An image of this model is shown below.