Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Test-Jig by constructing a base plate with a height of 10mm. The main body is a square with a side length of 20mm, featuring a rounded corner with a radius of 10mm. At the center of this plate, create a circular cutout with a diameter of 10mm to accommodate a linear bearing.
Incorporate a rectangular slot fo... | include <Magpie/magpie.scad>;
include <relations.scad>;
module top(screw, stepper, bearing, linear_bearing, size, bearing_side){
stepperObj = object(stepper);
bearingObj = object(bearing);
screwObj = object(screw);
linearBearingObj = object(linear_bearing);
bearingScrewObj = diameter_to_screw(bearingObj[INNER_DIA... | glb/cad_cdbb6be02299.glb |
Create a Test-Jig by constructing a composite geometric block with a central void. Start with a main vertical cylinder with a radius of 11mm and a height of 16mm. Add a second cylinder to this, with a radius of 8mm and a height of 22mm, rotated 90 degrees on the X-axis and positioned with its center at x=16mm, y=11mm, ... | include<Magpie/magpie.scad>;
smoothroddia = 12;
frameroddia = 8;
wall = 5;
$fn = 31;
module barclamp(){
difference() {
union() {
cylinder(r = smoothroddia/2+wall, h=frameroddia+frameroddia/2*2);
translate([smoothroddia/2+frameroddia/2,smoothroddia/2+wall,frameroddia/2+frameroddia/2])rotate([90,0,0])cylind... | glb/cad_afb3ba1246ca.glb |
Create a Test-Jig clamp by constructing a solid body that is the convex hull of two cylinders, each with a radius of 5mm and a height of 10mm, positioned 10mm apart along the x-axis. From this main body, remove two cylindrical holes with a radius of 2.5mm that run through the entire height of the object, centered at th... | include <Magpie/magpie.scad>;
include <relations.scad>;
module middle_clamp(length, clampRadius, rodDia, height, holes, holeDia, debug=0){
if (debug ==1){
echo(str("Middle clamp length : ", length));
echo(str("Middle clamp radius : ", clampRadius));
echo(str("Middle clamp rod diameter : ", rodDia));
echo(str(... | glb/cad_c5d84dbca9ea.glb |
Create a Test-Jig by constructing a cylinder with a radius of 5mm and a height of 21mm. Drill a concentric hole through the entire length of the cylinder with a diameter of 3mm to create a hollow tube. | include <Magpie/magpie.scad>;
difference(){
cylinder(r=5, h=21);
translate([0,0,-eta])poly_cylinder(r=M3[DIAMETER]/2,h=21+eta*2);
} | glb/cad_c91ecaf67ebf.glb |
Create a Test-Jig bearing cap by starting with a solid base formed from the convex hull of two cylinders. Each cylinder must have a radius of 5mm and a height of 11.5mm; position the second cylinder at a distance of 15mm along the x-axis from the first.
From this solid, remove two vertical screw holes, each with a ra... | include <Magpie/magpie.scad>;
include <relations.scad>;
module bearing_cap(bearing, screw, backing){
bearingObj = object(bearing);
screwObj = object(screw);
difference(){
union(){
hull(){
cylinder(r=bearingObj[LENGTH], h=bearingObj[OUTER_DIAMETER]/2+backing);
translate([bearingObj[OUTER_DIAMETER]+sc... | glb/cad_c5cf6cf4543c.glb |
Create a Test-Jig by constructing a vertical rectangular block with a height of 15mm. From this main body, remove a series of cylindrical holes and channels to create a specific internal geometry. First, center a vertical cylindrical hole through the entire height of the block with a diameter of 10mm. Around this centr... | include <Magpie/magpie.scad>;
include <relations.scad>;
module rider_sketch(){
difference(){
union(){
translate([size,size])circle(r=riderRadius);
translate([size-riderRadius,30])square([riderRadius*2,size-30]);
translate([size-riderRadius,10])square([riderRadius,50]);
translate([-10,size-riderRadius])s... | glb/cad_0fe7515624ff.glb |
Create a Test-Jig bearing base by constructing a solid volume based on the convex hull of several cylinders. Start with a primary cylinder of radius 5mm and height 5mm. Include in the hull two additional cylinders of the same radius and height, positioned at [10, 0, 0] and [-5, 0, 0] respectively. Add two more cylinder... | include <Magpie/magpie.scad>;
include <relations.scad>;
module bearing_base(bearing, screw, height){
bearingObj = object(bearing);
screwObj = object(screw);
radius = bearingObj[LENGTH];
difference(){
union(){
hull(){
cylinder(r=radius, h=height);
translate([bearingObj[OUTER_DIAMETER]+screwObj[DIAMET... | glb/cad_3aef27a21b0f.glb |
Create a Test-Jig base plate by extruding a complex 2D profile to a specific height. The base profile is centered around a primary circular cutout with a radius of 10mm, which serves as the main axis.
Construct the main body using a combination of overlapping rectangles and circles. Include a central circular hole wi... | include <Magpie/magpie.scad>;
include <relations.scad>;
module base_sketch(screw, stepper, bearing, linear_bearing, size){
stepperObj = object(stepper);
bearingObj = object(bearing);
screwObj = object(screw);
linearBearingObj = object(linear_bearing);
difference(){
union(){
translate([size,size])circle(r=bas... | glb/cad_f9cc8f6369c8.glb |
Create a Test-Jig consisting of a central cylindrical shaft with two radiating flat wings. Start with a central cylinder that has a radius of 2.5mm and a total height of 4mm.
Attached to this central shaft, create two pie-slice shaped wings. The first wing is a sector of a circle with a radius of 20mm, spanning from ... | include <Magpie/magpie.scad>;
include <MCAD/2Dshapes.scad>;
include <configuration.scad>;
module opto_on_stepper_mount(screw, stepper, width, hole_spacing,offset,debug=0){
if(debug ==1){
echo(str("hole_spacing : ", hole_spacing));
}
screwObj = object(screw);
stepperObj = object(stepper);
difference(){
union()... | glb/cad_0c92e4229518.glb |
Create a Test-Jig consisting of two identical board mount components. Each mount is a low-resolution cylinder with 10 facets, having a height of 10mm. The mounts are positioned symmetrically, with one rotated 180 degrees relative to the other, and are spaced apart by 40mm along both the X and Y axes. Each mount feature... | include <Magpie/magpie.scad>;
include <relations.scad>;
use <middle_clamp.scad>;
module board_mount(pcb, length, clampRadius, rodDia, height, holes, screw, truss_width, debug=0){
pcbObj = object(pcb);
screwObj = object(screw);
difference(){
union(){
middle_clamp(length, clampRadius, rodDia, height, holes, scre... | glb/cad_32678601cde9.glb |
Create a Test-Jig pulley with a central motor shaft hole of 5mm diameter that runs through the entire height of the object. The main body consists of a toothed cylinder with a height of 8mm and an outside diameter of 11.88mm, featuring 9 teeth. These teeth are formed by subtracting a T5 belt profile from the cylinder.
... | teeth = 9;
profile = 6;
motor_shaft = 8;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 5.7;
m3_nut_depth = 2.7;
retainer = 1;
retainer_ht = 1.5;
idler = 1;
idler_ht = 1.5;
pulley_t_ht = 8;
pulley_b_ht = idler_ht;
pulley_b_dia = 20;
no_of_nuts = 1;
nut_angle = 90;
nut_shaft_distance = 1.2;
additional_tooth_width = 0.... | glb/cad_5b22079a9713.glb |
Create a Test-Jig pinion gear by constructing a herringbone gear with 9 teeth and a total height of 15mm. The gear should be centered around a central vertical axis. First, form the main gear body using the herringbone profile. Through the center of this gear, create a vertical cylindrical hole with a radius of 2.5mm t... | include <Magpie/shapes.scad>;
include <Magpie/magpie.scad>;
include <Magpie/demos.scad>;
module spur_gear(teeth,height,rod){
screwObj = object(rod);
difference(){
herringbone(teeth,6.3,45,0.5,-0.1,40,height);
translate([0,0,height/2-screwObj[NUT_HEIGHT]+eta])nut_trap(rod);
translate([0,0,-height/2-eta])poly_cy... | glb/cad_dffdfa0040d5.glb |
Create a board tab clamp by constructing a solid block and removing a central hole. Start by creating a hull between two cylinders, each with a radius of 3.33mm and a height of 23.2mm, positioned 20mm apart along the x-axis. To this, add a second hull consisting of two cylinders with a radius of 3.33mm and a height of ... | include <relations.scad>;
include <Magpie/magpie.scad>;
include <configuration.scad>;
module board_tab_clamp(screw,length,thickness, board_thickness){
screwObj = object(screw);
difference(){
union(){
hull(){
cylinder(r=screwObj[WASHER_OD]*2/3, h=thickness-board_thickness);
translate([length,0,0])cylinde... | glb/cad_c443f2dfb6ed.glb |
Create a Test-Jig belt clamp by starting with a solid base formed from the convex hull of two cylinders, each with a radius of 2.5mm and a height of 5mm, positioned 20mm apart along the x-axis. From this solid, remove two aligned cylindrical holes with a radius of 1.5mm that pass completely through the height of the ob... | include <relations.scad>;
include <Magpie/magpie.scad>;
include <configuration.scad>;
module belt_clamp(screw,spacing, thickness){
screwObj = object(screw);
difference(){
hull(){
cylinder(r=screwObj[WASHER_OD]/2, h=thickness);
translate([spacing,0,0])cylinder(r=screwObj[WASHER_OD]/2, h=thickness);
}
tran... | glb/cad_a7828197d2f3.glb |
Create a rail support for a Mendel90 3D printer. The part is a bar clamp designed to secure a cylindrical rail.
Start with a main body that features a semi-circular bore to fit the rail, with an outer radius and inner radius defined by the bar diameter and a specified band thickness. The clamp should have a gap to all... | include <conf/config.scad>
include <positions.scad>
nut_trap_meat = 4;
wall = 3;
function bar_clamp_inner_rad(d) = d / 2;
function bar_clamp_outer_rad(d) = bar_clamp_inner_rad(d) + bar_clamp_band;
function bar_clamp_stem(d) = bar_clamp_inner_rad(d) + bar_clamp_outer_rad(d) + bar_clamp_tab - 2;
function bar_clamp_leng... | glb/cad_5dddd7e4140c.glb |
Create a bearing holder for an LM8UU linear bearing. Start with a rounded rectangular block that has a width of 25.4mm, a length of 33.8mm, and a height of 8.5mm, using a corner radius of 7mm.
Carve a cylindrical hole through the center of the block along its length with a diameter of 8mm to accommodate the bearing. ... | include <conf/config.scad>
relief = squeeze ? 0.25 : 0.5;
wall = squeeze ? 3 * filament_width + relief + eta : 2.5;
clearance = 0.2;
end_wall = min(default_wall, 3) - clearance;
ziptie_clearance = 1;
ziptie = small_ziptie;
zipslot_width = ziptie_width(ziptie) + ziptie_clearance;
zipslot_tickness = ziptie_thicknes... | glb/cad_7cb29678a78e.glb |
Create a fan guard for an 80x38mm case fan. Start with a square base plate that has a thickness of 2mm. The outer dimensions of this plate should be slightly larger than the fan bore plus two wall thicknesses, with the corners rounded to match the pitch of the fan's mounting holes.
Cut a central circular hole through... | include <conf/config.scad>
thickness = 2;
nozzle = 0.45;
wall = filament_width - layer_height / 2 + nozzle / 2 + filament_width / 2;
finger_width = 7;
spokes = 4;
function fan_guard_thickness() = thickness;
module fan_guard(type) {
stl("fan_guard");
hole_pitch = fan_hole_pitch(type);
screw = fan_screw(... | glb/cad_2ff0ddcf7bf6.glb |
Create a fixing block for a 3D printer frame. The main body is a block with a width of 18mm, a depth of 15mm, and a height of 15mm. The block has rounded corners with a radius of 3mm.
The block features a diagonal slice removed from the front, starting from the bottom edge and cutting upwards at a 45-degree angle.
... | include <conf/config.scad>
slot = cnc_sheets ? 0 : 2;
thickness = part_base_thickness;
thin_wall = filament_width * 2 + eta;
wall = 3;
counter_bore_rad = washer_diameter(base_washer) / 2 + 0.2;
width = 2 * wall + 2 * thin_wall + 2 * counter_bore_rad + 4 * (squeeze && base_nuts && frame_nuts ? nut_trap_radius(base_nu... | glb/cad_a180f1ddd33e.glb |
Create a frame edge clamp consisting of two main interlocking parts: a front clamp and a back clamp.
The front clamp is a rectangular block with a length of 20mm, a total width of 11.5mm, and a thickness of 3.4mm. Centered on the top face, create a rectangular cutout with a length of 18.4mm and a width of 6.6mm, and ... | include <conf/config.scad>
wall = 2;
width = 8;
hinge = 5;
rim = 1.2;
min_length = 2 * nut_flat_radius(M3_nut) + 2 * wall;
function frame_edge_clamp_pitch(length) = length - min_length;
clamp_back_thickness = 2;
nut_trap_depth = screw_head_height(M3_hex_screw);
clamp_thickness = 2 + nut_trap_depth;
clearance = 0.2;... | glb/cad_5f192d4ff222.glb |
Create a light strip bracket assembly for a 3D printer gantry. The assembly consists of two mirrored bracket components, one left and one right, designed to hold an LED light strip.
For each bracket, create a base geometric form that includes a stem and a hook mechanism. The hook is a rounded rectangle with a width of... | include <conf/config.scad>
use <spool_holder.scad>
use <fixing-block.scad>
use <light_strip_clip.scad>
include <positions.scad>
wall = 2;
light = light_strip ? light_strip : (right_stay_x - left_stay_x) > 300 ? RIGID5050_290 : RIGID5050_208;
use_screws = light_strip_has_holes(light);
use_clips = !use_screws;
z_offs... | glb/cad_74f4be1b1604.glb |
Create a 3D model of a Mendel90 3D printer.
Construct the X-axis by placing two parallel rods of diameter `X_bar_dia` and length `X_bar_length`. Position an X-carriage assembly on these rods, including a belt system that spans between an idler end and a motor end. The belt should be a twisted loop with a gap of `X_be... | include <conf/config.scad>
use <bed.scad>
use <z-screw_pointer.scad>
use <bar-clamp.scad>
use <pulley.scad>
use <y-bearing-mount.scad>
use <y-idler-bracket.scad>
use <y-belt-anchor.scad>
use <z-coupling.scad>
use <z-motor-bracket.scad>
use <z-limit-switch-bracket.scad>
use <fan-guard.scad>
use <extruder.scad>
use <cabl... | glb/cad_b0a60289605c.glb |
Create a mains inlet housing for a power supply unit. Start with a main rectangular body that is 56mm wide, 55mm high, and 40mm deep. Hollow out the center of this body, leaving a wall thickness of 4mm, but ensure the hollow area does not extend through the top and bottom faces.
On the front face, create a central rec... | include <conf/config.scad>
thickness = 4;
tab = 2 + washer_diameter(frame_washer);
foot = part_base_thickness;
holes = tab / 2 + 1;
cut_out_width = 19;
cut_out_length = 27;
hole_pitch = 40;
depth = 40;
terminal_depth = 10;
terminal_height = 30;
function mains_inlet_height() = 55;
function mains_inlet_width() = 52 ... | glb/cad_631f6ada9976.glb |
Create a 3D printer bed assembly. Start by placing a central rectangular PCB base measuring 220mm by 220mm with a thickness of 3mm. On top of this base, center a glass sheet with the same width and depth.
At the four corners of the PCB, install support pillars. Each pillar assembly consists of an M3 washer at the bott... | include <conf/config.scad>
include <positions.scad>
module bed_assembly(y = 0) {
glass_width = vero_bed ? bed_width - 6 * 2.54 : bed_width;
glass_depth = vero_bed ? bed_depth : bed_depth - 12;
for(x = [-bed_holes[0] / 2, bed_holes[0] / 2]) {
translate([x, bed_holes[1] / 2, 0])
washer(M... | glb/cad_2fc26da59632.glb |
Create a Raspberry Pi camera bracket assembly consisting of a protective case and a focus ring.
First, construct the camera case using a front and back housing. The front section is a rectangular block with a thickness of 2mm, featuring a central circular opening for the lens and a smaller hole for an LED. The back s... | include <conf/config.scad>
include <positions.scad>
use <light_strip_clip.scad>
use <frame_edge_clamp.scad>
left = left_stay_x + sheet_thickness(frame) / 2;
right = right_stay_x - sheet_thickness(frame) / 2;
light = light_strip ? light_strip : (right - left) > 300 ? RIGID5050_290 : RIGID5050_208;
light2 = light == R... | glb/cad_157191ce62bf.glb |
Create a ribbon cable clamp for a 3D printer. The main body is a rectangular block with a thickness of 5.2mm. Centered within this block, create a rectangular slot for the ribbon cable that is 1.2mm deep.
The clamp features two screw holes positioned symmetrically on either side of the center. For a 20-way cable, the ... | include <conf/config.scad>
slot_depth = 1.2;
thickness = 5.2;
base_thickness = slot_depth + 2;
min_gap = 1.5;
nut_trap_meat = 4;
rib = 3;
function ribbon_clamp_slot(ways) = ways * 0.05 * 25.4 + 2;
function ribbon_clamp_pitch(ways, screw_type) = ribbon_clamp_slot(ways) + 2 * (screw_clearance_radius(screw_type) + min_g... | glb/cad_c20b2af04843.glb |
Create a filament spool holder assembly. Start by constructing two symmetrical brackets. Each bracket is a rounded triangular plate with a thickness of 6mm. The brackets should be designed to house a ball bearing (BB608) and a corresponding washer.
For each bracket, create a central circular cutout to fit the bearing.... | include <conf/config.scad>
include <positions.scad>
small_bearing = false;
bearing = small_bearing ? BB624 : BB608;
spool_screw = small_bearing ? M4_cap_screw : M8_cap_screw;
spool_penny_washer = small_bearing ? M5_penny_washer : M8_penny_washer;
spool_nut = screw_nut(spool_screw);
spoo... | glb/cad_47b346fc88c1.glb |
Create a cable clip for a 3D printer. The clip is a flat, elongated piece with a thickness of 5mm. The main body is a rectangular block with a width of 9mm and a height of 7mm.
At the center of the block, create a vertical hole for a screw. The hole should be a teardrop shape to allow for 3D printing without supports... | include <conf/config.scad>
wall = 2;
thickness = 5;
function cable_clip_width(screw) = wall + 2 * screw_clearance_radius(screw) + wall;
function cable_clip_height(cable) = max(cable_height(cable) + wall, thickness);
function cable_clip_extent(screw, cable) = screw_clearance_radius(screw) + wall + cable_width(cable) +... | glb/cad_d0724255719c.glb |
Create a calibration object by combining several geometric volumes and removing specific nut-shaped voids. Start by joining three rectangular blocks: one measuring 10mm x 40mm x 5mm, one measuring 40mm x 10mm x 6mm, and one measuring 25mm x 25mm x 10mm. Add a cylinder with a radius of 10mm and a height of 15mm, positio... | include <conf/config.scad>
module cal_stl() {
difference() {
union() {
cube([10,40,5]);
cube([40,10,6]);
cube([25,25,10]);
translate([10, 10])
cylinder(r = 10, h = 15);
}
translate([10,10,15])
nut_trap(Z_screw_dia /... | glb/cad_49f8b37c330c.glb |
Create a Y-axis bearing mount for a 3D printer carriage. The main body is a block designed to hold a linear bearing, with a total height defined by the Y-bearing holder height.
On opposite sides of the bearing holder, add two mounting tabs. Each tab is composed of a rectangular section and a semi-circular end. Within... | include <conf/config.scad>
include <positions.scad>
use <bearing-holder.scad>
use <bar-clamp.scad>
nutty = cnc_sheets;
slot = nutty ? 0 : 2;
tab_length = bearing_clamp_tab + slot;
function bearing_mount_width(bearing) = bearing_holder_width(bearing) + 2 * tab_length;
function bearing_mount_length(bearing) = bearing... | glb/cad_5bcef79ef17b.glb |
Create a Y-belt anchor for a 3D printer carriage. The object consists of a main anchor body and a separate clip.
For the anchor body, create a rounded rectangular base with a width of 8mm and a depth of 11mm. The base has a thickness of 5.8mm. On top of this base, add a taller rounded rectangular section with a width ... | include <conf/config.scad>
include <positions.scad>
wall = 2;
clearance = 2;
thickness = M3_nut_trap_depth + bearing_clamp_tab_height;
rad = 3;
clamp_thickness = 2.8;
width = belt_width(Y_belt) + 3 + washer_diameter(M3_washer) + clearance;
inner_width = (M3_nut_radius + wall) * 2;
depth = washer_diameter(M3_washer... | glb/cad_e1289bf7ca0b.glb |
Create a Z-limit switch bracket for a 3D printer. Start by constructing a main vertical support body with a thickness of 5mm. This body should feature a combined profile consisting of a rounded top section and a rectangular base.
Integrate a mounting boss for a microswitch, designed to accommodate the switch's thickn... | include <conf/config.scad>
include <positions.scad>
wall = 2;
thickness = 5;
adjustment = 20;
down_adjustment = 10;
hinge_length = 2;
hinge_post = 4;
switch_boss = 7;
washers = 2;
switch_y = max(14 - microswitch_thickness() / 2, gantry_setback - x_bar_spacing() / 2);
switch_mount_height = switch_y - microswitch_thic... | glb/cad_3e19af76ea6f.glb |
Create a Z motor bracket for a 3D printer gantry. Start with a main body that is a rectangular block with a length based on the NEMA motor width, a height of 24mm, and a thickness of 4mm.
Subtract a central rounded rectangle from the body to create a cutout between the bracing webs, leaving a base thickness. Add two ... | include <conf/config.scad>
include <positions.scad>
use <z-coupling.scad>
corner_rad = 5;
length = ceil(NEMA_width(Z_motor));
thickness = 4;
back_thickness = part_base_thickness + (frame_nut_traps ? nut_trap_depth(frame_nut) : 0);
back_height = 24;
big_hole = NEMA_big_hole(Z_motor);
clamp_height = washer_diameter(wash... | glb/cad_9d0231bc3b85.glb |
Create a Z screw pointer for a 3D printer. Construct a main vertical cylinder with a height of 5mm and an outer radius of 4.45mm. This cylinder should be hollowed out by removing a concentric inner cylinder with a radius of 2.725mm and a height of 11mm, centered vertically. To the base of the outer cylinder, add a feat... | include <conf/config.scad>
wall = 2.4;
tap_rad = (Z_screw_dia == 6) ? M6_tap_radius : ((Z_screw_dia == 5) ? M5_tap_radius : M8_tap_radius);
inner_rad = (tap_rad + Z_screw_dia / 2) / 2;
outer_rad = inner_rad + wall;
function z_screw_pointer_height() = 5;
function z_screw_pointer_radius() = outer_rad;
function z_screw_... | glb/cad_abd3757e7635.glb |
Create a 3D model consisting of two cubes. First, create a main central cube with dimensions of 10mm x 10mm x 10mm, centered at the origin. Second, create an attachable rectangular prism with dimensions of 5mm x 20mm x 3mm. Position this second prism so that it is attached to the top face of the main cube. The prism sh... | use <vector.scad>
module connector(c)
{
p = c[0];
v = c[1];
ang = c[2];
color("Gray") point(p);
translate(p)
rotate(a=ang, v=v)
color("Gray") vector(unitv(v)*6, l_arrow=2, mark=true);
}
module attach(a,b)
{
pos1 = a[0];
v = a[1];
roll = a[2];
pos2 = b[0];
vref = b[1];
cref = cro... | glb/cad_9529f9245009.glb |
Create a 3D representation of a vector and its orientation. Start by creating a vector pointing in the direction of [10, 10, 10] and another pointing in the direction of [-10, 10, 10].
For each vector, construct the body as a cylinder with a radius of 0.5mm and a height of 6mm, centered on the origin. Cap the base of... | obiscad_drawing_resolution = 6;
function mod(v) = (sqrt(v[0]*v[0]+v[1]*v[1]+v[2]*v[2]));
function cross(u,v) = [
u[1]*v[2] - v[1]*u[2],
-(u[0]*v[2] - v[0]*u[2]) ,
u[0]*v[1] - v[0]*u[1]];
function dot(u,v) = u[0]*v[0]+u[1]*v[1]+u[2]*v[2];
function unitv(v) = v/mod(v);
function anglev(u,v) = acos( dot(u,v) / (... | glb/cad_a99bec0328be.glb |
Create a cup holder phone dock. Start with a tapered main body in the shape of a truncated cone, with a bottom diameter of 70mm, a top diameter of 76mm, and a height of 60mm.
Cut a phone-shaped slot into the top of the body. This slot should be 69mm wide and 9mm deep, angled backward at 20 degrees. The slot should be... | holder_top_diameter = 76;
holder_bottom_diameter = 70;
holder_height = 60;
phone_x = 69;
phone_y = 9;
dock_angle = 20;
dock_z = 15;
dock_rest = true;
dock_rest_z = 20;
dock_rest_x = phone_x;
dock_rest_y = 5;
plug = true;
plug_x = 12.2;
plug_y = 4.7;
plug_z = 19;
plug_offset = 3.3;
cable = true;
cable_x... | glb/cad_6ff57511e08e.glb |
Create a GT2 2mm pulley with 61 teeth. The pulley consists of a central cylinder with a motor shaft hole of 5mm in diameter that runs through the entire height of the part.
The main body of the pulley has a toothed outer circumference with a height of 7mm. The teeth are designed for a GT2 2mm profile. Below the toothe... | teeth = 61;
profile = 12;
motor_shaft = 24.6;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 5.7;
m3_nut_depth = 2.7;
retainer = 0;
retainer_ht = 1.5;
idler = 0;
idler_ht = 1.5;
pulley_t_ht = 7;
pulley_b_ht = 0;
pulley_b_dia = 20;
no_of_nuts = 1;
nut_angle = 90;
nut_shaft_distance = 1.2;
additional_tooth_width = 0.2;... | glb/cad_e062d07a75dc.glb |
Create a GT2 2mm pulley with 60 teeth. The pulley consists of a main toothed cylinder with a height of 7mm and an outer diameter of 11.88mm. The teeth should follow the GT2 2mm profile.
At the center, create a vertical cylindrical hole with a diameter of 5mm that passes through the entire height of the model.
At the ... | teeth = 60;
profile = 12;
motor_shaft = 24.6;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 5.7;
m3_nut_depth = 2.7;
retainer = 0;
retainer_ht = 1.5;
idler = 0;
idler_ht = 1.5;
pulley_t_ht = 7;
pulley_b_ht = 0;
pulley_b_dia = 20;
no_of_nuts = 1;
nut_angle = 90;
nut_shaft_distance = 1.2;
additional_tooth_width = 0.2;... | glb/cad_7f94b5817a39.glb |
Create a GT2 2mm pulley with 58 teeth. The main body is a cylinder with a height of 18mm and an outer diameter of 11.88mm, featuring 58 evenly spaced teeth around its circumference. The teeth should follow the GT2 2mm profile.
At the center, create a vertical hole with a diameter of 5mm that passes through the entire ... | teeth = 58;
profile = 12;
motor_shaft = 22.6;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 5.7;
m3_nut_depth = 2.7;
retainer = 0;
retainer_ht = 1.5;
idler = 0;
idler_ht = 1.5;
pulley_t_ht = 18;
pulley_b_ht = 0;
pulley_b_dia = 20;
no_of_nuts = 1;
nut_angle = 90;
nut_shaft_distance = 1.2;
additional_tooth_width = 0.2... | glb/cad_35874ffcf10e.glb |
Create a GT2 2mm pulley with 58 teeth. The pulley consists of a toothed cylinder with a height of 7mm and an outer diameter of 11.88mm. The teeth should follow the GT2 2mm profile.
The pulley has a central bore with a diameter of 5mm to accommodate a NEMA17 motor shaft. At the base of the pulley, create a base with a ... | teeth = 58;
profile = 12;
motor_shaft = 24.6;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 5.7;
m3_nut_depth = 2.7;
retainer = 0;
retainer_ht = 1.5;
idler = 0;
idler_ht = 1.5;
pulley_t_ht = 7;
pulley_b_ht = 0;
pulley_b_dia = 20;
no_of_nuts = 1;
nut_angle = 90;
nut_shaft_distance = 1.2;
additional_tooth_width = 0.2;... | glb/cad_b8e25e85ef8d.glb |
Create a GT2 2mm pulley with 60 teeth. The main body is a cylinder with a height of 22mm and an outer diameter of 11.88mm, featuring 60 evenly spaced teeth around its perimeter.
At the center, create a vertical hole with a diameter of 5mm that passes through the entire height of the object.
At the base of the pulle... | teeth = 60;
profile = 12;
motor_shaft = 24.6;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 5.7;
m3_nut_depth = 2.7;
retainer = 0;
retainer_ht = 1.5;
idler = 0;
idler_ht = 1.5;
pulley_t_ht = 22;
pulley_b_ht = 0;
pulley_b_dia = 20;
no_of_nuts = 1;
nut_angle = 90;
nut_shaft_distance = 1.2;
additional_tooth_width = 0.2... | glb/cad_0aef359f78c8.glb |
Create a GT2 2mm timing pulley with 60 teeth. The pulley should have a toothed outer cylinder with a height of 20mm and a central bore with a diameter of 5mm to accommodate a NEMA17 motor shaft.
At the base of the pulley, create a cylindrical base with a diameter of 20mm and a height of 0mm.
Incorporate a captive n... | teeth = 60;
profile = 12;
motor_shaft = 24.6;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 5.7;
m3_nut_depth = 2.7;
retainer = 0;
retainer_ht = 1.5;
idler = 0;
idler_ht = 1.5;
pulley_t_ht = 20;
pulley_b_ht = 0;
pulley_b_dia = 20;
no_of_nuts = 1;
nut_angle = 90;
nut_shaft_distance = 1.2;
additional_tooth_width = 0.2... | glb/cad_f3f1f78f12bb.glb |
Create a honeycomb structure consisting of an 8 by 8 grid of hexagonal cells. Each cell is based on a hexagon with a diameter of 16mm and a wall thickness of 4mm.
The cells are arranged in a staggered honeycomb pattern where the center-to-center horizontal distance between adjacent columns is 12mm and the vertical di... | diameter = 16;
wallThickness = 4;
height = 8;
seed = -1;
defaultDataWidth = 8;
defaultDataLength = 8;
heightVariation = 4;
fillPossibility = 0.4;
actualSeed = seed == -1 ? round(getNextRand(100000)) : seed;
echo (str("SEED: ", actualSeed));
function getNextRand(limit = 1, seed = -1) =
getNextRandMulti(1, limi... | glb/cad_6fb8727cda38.glb |
Create a gate hold by starting with a main backplate formed as a hull between two cylinders, each 35mm in diameter and 5mm thick, positioned at Z=60 and Z=-15. From this backplate, remove a central rectangular latch cutout measuring 10mm by 20mm by 35mm centered at Z=33. Create two screw holes by removing spheres with ... | $fn=100;
translate([0, -2., 0])
difference(){
rotate([90]) cylinder(d=27, h=12);
translate([0, 0, 25]) cube([50, 50, 50], center=true);
scale([1.1, 1.1, 1.1]) translate([0, -5, 0]) rotate([90]) cylinder(d=18.75, h=2.05, $fn=30);
intersection(){
translate([0, -6, 0]) rotate([0, 90, 0]) cylind... | glb/cad_937661c59e67.glb |
Create a flat, oval-shaped plate by forming a hull between two cylinders, each 35mm in diameter and 5mm thick, positioned 25mm apart along the Z-axis. From this main body, remove a central rectangular slot that is 12mm wide and 50mm long, running through the center of the plate. Additionally, create two circular holes ... | $fn=100;
translate([0, -3, 0])
difference(){
rotate([90]) cylinder(d=27, h=12);
translate([0, 0, 25]) cube([50, 50, 50], center=true);
scale([1.1, 1.1, 1.1]) translate([0, -5, 0]) rotate([90]) cylinder(d=18.75, h=2.05, $fn=30);
intersection(){
translate([0, -6, 0]) rotate([0, 90, 0]) cylinder(... | glb/cad_319d92570459.glb |
Create a paint rack holder by constructing a grid of circular rings. Each ring should have an inner diameter of 30mm and an outer diameter of 40mm, creating a wall thickness of 5mm. Arrange these rings in a staggered layout of 8 columns and 4 rows. The center-to-center distance between adjacent rings should be 35mm. In... | module holder(paint_diameter, frame_width){
difference(){
circle(d=paint_diameter+frame_width, center=true);
circle(d=paint_diameter, center=true);
}
}
module rack(paint_diameter=30, frame_width=10, num_x=6, num_y=4, staggered=true){
staggered = staggered==true ? 1:0;
translate_dist = p... | glb/cad_65cca403de88.glb |
Create a circular disk with a diameter of 34.87mm (approximately 35.6mm scaled by 0.98) and a thickness of 3.66mm. The disk features a central hexagonal hole with a diameter of approximately 6.6mm.
From this central hole, carve out six identical radial sections spaced evenly every 60 degrees. Each section consists of... | module castle_disk(thickness=3.73, diameter=35.6){
module knife(){
rotate([0, 0, -90])
polygon([[8,20] ,[8.08,18.76] ,[8.04,17.71] ,[7.92,16.62] ,[7.72,15.49] ,[7.46,14.33] ,[7.13,13.16] ,[6.74,11.97] ,[6.3,10.77] ,[5.81,9.57] ,[5.29,8.37] ,[4.73,7.2] ,[4.15,6.04] ,[3.55,4.9] ,[2.93,3.81] ,[2.3,2.75... | glb/cad_e74d299d8528.glb |
Create a 3D model of the number "2" by intersecting a sphere and a linear extrusion of the digit. Start with a sphere that has a diameter of 200mm. Create a 2D text object of the number "2", center it, and extrude it linearly to a height of 400mm. Position this extruded text so that its center is at coordinates (-40, -... | $fn=100;
module number(){
intersection(){
translate([-4, -4, 8]) linear_extrude(h=40) text("2", center=true);
difference(){
sphere(d=20);
translate([0, 0, -10]) cube([30, 30, 20], center=true);
}
}
}
scale([10, 10, 10]) number(); | glb/cad_f6d8aaec1508.glb |
Create a guitar pickup knob by combining a truncated cone and a sphere. First, construct a truncated cone with a height of 10mm, a bottom radius of 2.8mm, and a top radius of 4mm. Place a sphere with a radius of 4mm directly on top of the cone, centered at the top face. Finally, create a vertical cylindrical hole with ... | module guitar_pickup_knob(){
module knob(){
height=10;
radius_1=2.8;
radius_2=4;
cylinder(r1=radius_1, r2=radius_2, h=height);
translate([0, 0, height]) sphere(r=radius_2);
}
difference(){
knob();
translate([0, 0, -1]) cylinder(d=3.3, h=6);
}
}
c... | glb/cad_13dcce5c84ee.glb |
Create two identical vertical components positioned 30mm apart along the y-axis. For each component, start with a capsule shape formed by a cylinder 15mm in diameter and 40mm tall, capped at both ends by spheres of the same diameter scaled to 30% of their height along the z-axis. Carve a large rectangular notch 50mm wi... | module half_pull(){
module capsule(){
cylinder(d=15, h=40);
scale([1, 1, 0.3]) sphere(d=15);
translate([0, 0, 40]) scale([1, 1, 0.3]) sphere(d=15);
}
difference(){
difference(){
capsule();
translate([0, -25, -10]) cube([50, 50, 200]);
}
... | glb/cad_51fa056d7563.glb |
Create a capsule-shaped object by combining a cylinder with a diameter of 15mm and a height of 40mm with two flattened spheres. Place one flattened sphere, scaled to 30% of its original height, at the base and another at the top center (40mm up) to create rounded ends. From this solid form, remove a central vertical ho... | module capsule(){
cylinder(d=15, h=40);
scale([1, 1, 0.3]) sphere(d=15);
translate([0, 0, 40]) scale([1, 1, 0.3]) sphere(d=15);
}
$fn=100;
difference(){
capsule();
scale([1, 1, 2]) translate([0, 0, -1]) sphere(d=10, $fn=20);
translate([0, 0, -1]) cylinder(d=3, h=50, $fn=20);
} | glb/cad_ff0ba5e6194b.glb |
Create an anti-vibration mount consisting of a central spherical body with cylindrical caps at the top and bottom. The main body is a sphere with a radius of 4mm, resized to a height of 8mm. At the base, add a cylindrical lip with a radius of 4.2mm and a height of 1mm. Directly above this lip, add a cylindrical grommet... | include <av_dampers_h.scad>;
$fs = 0.5;
$fa = 5;
ff = 0.05;
module balloon(balloon_type = M8_red)
{
color(balloon_color(balloon_type))
translate([0, 0, -balloon_lip_height(balloon_type)])
difference()
{
union()
{
cylinder(h = balloon_lip_height(balloon_type), r = balloon_lip_radius(balloon_typ... | glb/cad_0e65799b84ae.glb |
Create a hexagonal nut by constructing a hexagonal prism and removing a central cylindrical hole. The outer body should be a regular hexagon with a height of 3mm (based on standard M3 nut dimensions). Position a cylindrical hole through the center of the prism along the Z-axis with a diameter of 3mm to accommodate an M... | include <fasteners_h.scad>;
use <QP_OpenSCAD_lib/docSCAD.scad>; docSCAD_help();
use <QP_OpenSCAD_lib/polyholes.scad>;
use <QP_OpenSCAD_lib/teardrops.scad>;
$fs = 0.5;
$fa = 5;
ff = 0.05;
module screw(screw_type = M3_cap_screw, length = 20, washer = false, exploded = 0, colour = "dimgray")
{
head_height = screw... | glb/cad_d64aeb2e83bf.glb |
Create a 3D model of a battery pack by generating a rectangular prism. The dimensions of this cube should be based on the specifications for a PolyPower 3S 1300 20C battery, using the specific length, width, and height associated with that battery type. Ensure the shape is a solid block with flat faces and sharp edges. | include <lipos_h.scad>;
$fn = 24;
ff = 0.05;
module lipo(lipo_type = PolyPower_3S_1300_20C)
{
cube([lipo_length(lipo_type), lipo_width(lipo_type), lipo_height(lipo_type)]);
}
lipo(); | glb/cad_3a4a0b0729e2.glb |
Create a 3D model of a brushless motor. Start with a cylindrical base of radius 12mm and height 4mm. On top of this base, add a cylindrical ring with an outer radius of 12mm and a height of 2mm.
Above the ring, place a larger cylindrical bell with a radius of 18mm and a height of 20mm. Inside this bell, centered vert... | include <motors_h.scad>;
include <fasteners_h.scad>;
use <fasteners.scad>;
$fs = 0.5;
$fa = 5;
ff = 0.05;
module motor(motor_type = iPower_GBM2208)
{
union()
{
color("silver")
cylinder( r1 = motor_base_r1(motor_type),
r2 = motor_base_r2(motor_type),
h = motor_base_h(motor_type));
color("silve... | glb/cad_bb0de6636838.glb |
Create a 3D model of a TowerPro MG90s micro servo. Start by creating the main servo body as a rectangular prism. On top of this body, add a smaller rectangular mounting plate centered along the width, positioned toward one end.
At the front of the servo, protruding from the body, add a cylindrical output shaft collar... | include <servos_h.scad>;
use <QP_OpenSCAD_lib/docSCAD.scad>;
use <QP_OpenSCAD_lib/common.scad>;
Servo(towerpro_MG90s);
module Servo(type=generic_9g, colour=true)
{
body = servoBody(type);
bodyColour = colour?servoBodyColour(type):0;
bodyWidth = servoBodyWidth(type);
bodyHeight = servoBodyHeight(type);
bodyThick =... | glb/cad_26d8135b7e12.glb |
Create a solid torus with a major radius of 50mm and a minor radius of 15mm. The shape should be a smooth, continuous ring formed by revolving a circle of radius 15mm around a central axis at a distance of 50mm from the center of the circle. | use <QP_OpenSCAD_lib/teardrops.scad>;
use <QP_OpenSCAD_lib/docSCAD.scad>; docSCAD_help();
use <QP_OpenSCAD_lib/common.scad>;
module shapes_help()
shapesHelp();
shapesHelp();
module shapesHelp()
{
name = "shapes.scad";
description = "A library for creating non-primative shapes.";
properties = [
];
functions... | glb/cad_2476795cb0d2.glb |
Create a microfactory model composed of several identical cylinders, each with a radius of 4mm and a length of 300mm. Arrange these cylinders to form a complex, symmetrical skeletal cube structure. First, create two sets of parallel cylinders; in each set, place two cylinders 28mm apart (center-to-center), offset by 20... | rodr = 4;
rodl = 300;
module edge(radius=rodr, length=rodl) {
translate([-radius*2,-radius*2,-length/2]) cylinder(r=radius, h=length);
translate([radius*2,radius*2,-length/2]) cylinder(r=radius, h=length);
}
module parallel(radius, length) {
offset = 20;
distance = length/2 + offset;
translate([-distance,of... | glb/cad_5232726bffd2.glb |
Create a microfactory motor mount. Start with a central body that is the intersection of a 42.3mm cube and a larger cube measuring 52.6mm on each side rotated 45 degrees around the Z-axis, both with a height of 34mm. At the top of this body, center a 24-sided cylinder with a radius of 11mm and a height of 2.1mm. Protru... | module nema17() {
motor_height = 34.0;
difference(){
union(){
translate([0,0,motor_height/2]) {
intersection(){
cube([42.3,42.3,motor_height], center = true);
rotate([0,0,45]) translate([0,0,-1])
cube([74.3*sin(45), 73.3*sin(45) ,motor_height+2], center = true);
}
}
translat... | glb/cad_a3684cf261a7.glb |
Create a microfactory corner bracket designed to hold rods and a stepper motor. Start by creating a primary body using a convex hull that encompasses six cylinders, each with a radius of 10mm and a height of 40mm. These cylinders should be positioned in pairs along the X, Y, and Z axes, with each pair offset by 8mm fro... | use <rods.scad>;
use <nema17.scad>;
module corner(rod_r=4, rod_center_offset=8, rod_origin_offset=20) {
hole_r = rod_r * 1.04;
wall_r = hole_r * 2.5;
difference() {
hull() {
for (axis=[[0,0,0], [90,90,0], [90,0,90]])
rotate(axis)
for (i=[1,-1])
translate([i*rod_center_offs... | glb/cad_52bdbed2264f.glb |
Create two mirrored CoreCube belt brackets. Each bracket is constructed from a base L-bracket with a thickness of 4mm, a width of 20mm, and a length of 70mm.
For each bracket, integrate a support structure for a bearing. This support consists of a cylindrical hole with an inner diameter of 5.2mm and a total thickness... | include <utils.scad>
frame_width = 20;
bracket_length = 70;
bracket_thickness = 4;
bearing_diameter = 14;
bearing_inner_diameter = 5.2;
bearing_thickness = 10.05;
cable1_offset = 15;
cable2_offset = 40;
nema_l=71.5;
nema_x=42;
nema_y=42;
nema_z=47.4;
translate ([frame_width,0,0])
corner_belt_bracket( bracket_thic... | glb/cad_9b513a25d56b.glb |
Create two mirrored CoreCube motor brackets. For each bracket, start with a base L-bracket that is 70mm long, 20mm wide, and 4mm thick.
Add a motor mounting plate consisting of two overlapping rectangular plates, each 42mm by 42mm and 4mm thick. Center a large circular hole with a 13mm radius in the middle of this mo... | include <utils.scad>
show_motor = false;
frame_width = 20;
bracket_length = 70;
bracket_thickness = 4;
nema_l=71.5;
nema_x=42;
nema_y=42;
nema_z=47.4;
screw_l=30;
for( i = [0,1] ) {
if( i == 1) {
mirror([1,0,0]) translate([frame_width*2,0,0])
corner_motor_bracket( 0 );
} else {
}
}
module corner_motor_bra... | glb/cad_1e38e9445a93.glb |
Create a CoreCube extruder mount. Start with a rectangular base plate measuring 55mm in width, 45mm in height, and 4mm in thickness. Centered on this base, construct a rectangular housing with a width of 30mm and a height of 18mm, and a wall thickness of 16mm.
Within the base plate, place four mounting holes with a d... | include <utils.scad>
extruder = 2;
micro_dia = 9.1;
smaller_dia = 12.1;
larger_dia = 16.1;
base_mount_width = 55;
base_mount_height = 45;
base_mount_thickness = 4;
linear_bearing_diameter = 19.2;
linear_bearing_inner_diameter = 10;
linear_bearing_thickness = 29;
linear_bearing_separation = 20;
rod_separation = 35;
... | glb/cad_1bd3832b9138.glb |
Create a CoreCube SMPS mount. Start by constructing a central base plate that is 20mm wide, 150mm long, and 5mm thick, with rounded corners using a 5mm radius. Position this base so it is centered on the X and Y axes.
Add four vertical mounting pillars to the base. Two pillars should be placed at the front and two at... | include <bolts.scad>
back_horiz_separation = 50 ;
back_vert_separation = 150 ;
back_mount_separation = 55 ;
smps_bolt = m4_diameter;
mount_bolt = m5_diameter;
$fn = 30 ;
module smps_mount() {
difference() {
union() {
for( j = [0,-1]) hull() for( i = [-1,1] ) {
translate([i*back_horiz_separation/2,j*back... | glb/cad_fad6f65e6344.glb |
Create a CoreCube snorkel mount for a cooling fan. Start by constructing a base rectangular block 17.7mm wide, 12.7mm high, and 5mm thick. Remove a central rectangular cutout from this block that is 14.2mm wide and 7.7mm high, extending 10.2mm deep.
On top of this base, add a rectangular section 40mm long, 6mm wide, a... | include <utils.scad>
include <fan_holder_v2.scad>
cooler_outer_diameter = 25;
cooler_grip_diameter = 24;
cooler_length = 32;
cooler_thickness = 3;
snorkel_tube_inner_diameter = toMMfromIN(3/8);
snorkel_tube_grip = 15;
snorkel_tube_angle = [0,00,0];
snorkel_cone_size = 9;
snorkel_mount2( cooler_outer_diameter, coole... | glb/cad_ada38e0637ad.glb |
Create a CoreCube rod support assembly consisting of two mirrored L-bracket components. For each component, start with an L-shaped bracket that has a thickness of 4mm and a total length of 70mm. The bracket should feature a frame width of 20mm.
Incorporate a cylindrical cutout with a radius of 5mm that runs through t... | include <utils.scad>
$fn = 100;
rod_radius = 5;
frame_width = 20;
bracket_length = 70;
bracket_thickness = 4;
module rod_support_L_bracket(radius, width, length, thickness) {
difference() {
union() {
non_braced_5_hole_L_bracket(width,length,thickness);
translate( [(length-width)*3/4,0,radius/2+thickness/2]) s... | glb/cad_6d9ae1692164.glb |
Create two identical CoreCube nut components, positioned side-by-side with a 14mm gap between their centers. Each component is a block 15mm wide, 15mm long, and 3.5mm high.
For each block, carve a central T-slot channel running the full length of the 15mm axis. The channel's cross-section is defined by a base width o... | include <utils.scad>
tslot = [ [0.2,0], [11.7, 0], [11.7, 1], [9.2, 3.5], [2.8, 3.5], [0.2, 0.9] ];
module nut() {
rotate([180,0,0]) difference() {
translate([-6, -7.5, 0]) rotate([270,0,0]) linear_extrude(height=15) polygon(tslot);
translate([0,0,-1.2]) cylinder(r=2.8, h=1.2, $fn=100);
translate([0,0,-3.5]) rotat... | glb/cad_7828f30b3f55.glb |
Create a CoreCube, a structural component for an Hbot Reprap, consisting of three main geometric sections: a top holder, a bottom holder, and a belt grabber.
First, construct the top holder. Create a central rectangular block with a width of 67mm (calculated from rod separation and thickness), a length of 35mm, and a ... | use <utils.scad>
include <bolts.scad>
bearing_diameter = 14;
bearing_inner_diameter = 5.2;
bearing_thickness = 10.05;
linear_bearing_diameter = 19.4;
linear_bearing_inner_diameter = 10;
linear_bearing_thickness = 29;
linear_bearing_rotate = 0;
holder_gap = 10;
holder_thickness = 3;
holder_clasp = 7;
rod_diameter = ... | glb/cad_0fefebf2c144.glb |
Create a CoreCube linear bearing holder consisting of two mirrored vertical end components and a central support structure.
For each vertical end, create a main body that houses a linear bearing with an outer diameter of 19.4mm and a thickness of 29mm. The body should feature a central cylindrical cutout for the bear... | use <utils.scad>
include <bolts.scad>
bearing_diameter = 14;
bearing_inner_diameter = 5.2;
bearing_thickness = 10.05;
linear_bearing_diameter = 19.4;
linear_bearing_inner_diameter = 10;
linear_bearing_thickness = 29;
linear_bearing_rotate = 0;
holder_gap = 10;
holder_thickness = 3;
holder_clasp = 7;
rod_diameter = ... | glb/cad_2d26e3203146.glb |
Create a CoreCube Z-support frame for an Hbot Reprap. The object is a flat, extruded plate with a thickness of 3mm.
The overall footprint is a complex polygon defined by a length of 120mm and a height of 50mm. The outer boundary is formed by the intersection of several linear paths: a top edge running from [0, -4] to... | use <utils.scad>
include <bolts.scad>
support_thickness = 3 ;
frame_thickness = 3 ;
support_width = 2 ;
frame_width = 4 ;
frame_length = 120 ;
frame_height = 50 ;
frame_angle1 = 10 ;
frame_angle2 = 40 ;
z_supprt_frame( frame_length,frame_height, support_thickness, frame_thickness, support_width, frame_width, frame... | glb/cad_1410417ea44c.glb |
Create a CoreCube carriage for an Hbot Reprap. Start with a central rectangular base plate 4mm thick, 55mm wide and 45mm high. In the center of this plate, create a circular cutout with a radius of 20.5mm. Around this central hole, place twelve circular mounting holes with a radius of 2mm; these should be arranged in f... | use <utils.scad>
include <bolts.scad>
linear_bearing_diameter = 19.2;
linear_bearing_inner_diameter = 10;
linear_bearing_thickness = 29;
linear_bearing_separation = 35;
holder_gap = 10;
holder_thickness = 3;
holder_clasp = 8;
rod_diameter = 10;
rod_separation = 50;
rod_thickness = 5;
rod_grip = 30;
grip_offset = 5;... | glb/cad_6ff0b870b03c.glb |
Create a CoreCube frame, which is a cubic structure with overall dimensions of 200mm x 200mm x 200mm. The skeleton consists of 12 rectangular beams, each with a thickness of 20mm, forming the edges of the cube.
At each of the eight corners of the cube, place a sphere with a radius of 5mm.
To reinforce the structure, ... | include <bolts.scad>
include <utils.scad>
frame_length = 200 ;
frame_depth = 200 ;
frame_height = 200 ;
frame_width = 20;
bracket_length = 70;
bracket_thickness = 4;
bearing_diameter = 14;
bearing_inner_diameter = 5.2;
bearing_thickness = 10.05;
make_balls = true;
make_frame = true;
make_side_brakets = true;
make_... | glb/cad_d05b36ce6ee3.glb |
Create a CoreCube corner frame bottom bracket. The part is a right-angle bracket designed to join structural beams.
Start by creating a base L-shaped profile. Construct two intersecting rectangular plates, each with a length of 70mm, a width of 20mm, and a thickness of 4mm. These plates should meet at a 90-degree ang... | include <bolts.scad>
include <utils.scad>
frame_length = 540 ;
frame_depth = 500 ;
frame_height = 460 ;
frame_height_offset = 50 ;
frame_width = 20;
bracket_length = 70;
bracket_thickness = 4;
brace_width = 17 ;
brace_thickness = 3 ;
brace_length = 20 ;
bearing_diameter = 14;
bearing_inner_diameter = 5.2;
bearing_... | glb/cad_5fbdb7f1b388.glb |
Create a prusa3_test model consisting of a large central rectangular base and a vertical frame assembly. Start by creating a large, thin rectangular base plate measuring 800mm by 800mm with a thickness of 200mm, centered at the origin.
Construct a vertical frame assembly centered on this base. The frame is composed of... | module pl(x=100,y=100,z=12){
cube([x,y,z]);
}
module screw(depth=20){
color([1,1,0]){
cylinder(r1=4,r2=3.5/2,h=4);
cylinder(r1=3.5/2,r2=3.5/2,h=depth-2);
translate([0,0,depth-2])cylinder(r1=3.5/2,r2=0,h=2);
}
}
module p3bscorner(){
translate([30,-12.5,6])rotate([-90,0,0])screw();
translate([422,-12.5,6])rota... | glb/cad_0e8ca9e50fc8.glb |
Create a prusa3_test groove mount by starting with a solid rectangular block measuring 29mm in width, 70mm in length, and 12mm in height. From this base, remove a central rectangular slot that is 20mm wide, 12.5mm long, and 15mm deep, positioned 5mm from the bottom and centered along the width. Additionally, remove a s... | module groovemount(){
difference(){
translate([-12,-35,0])cube(size=[29,70,12], center=false);
translate([-10,0,5])cube(size=[20,12.5,15], center=true);
translate([-10,0,5+4.4])cube(size=[20,16.5,10], center=true);
cylinder(h=20, r=12.5/2);
translate([0,0,4.4])cylinder(h=20, r=16.5/2);
translate([0,-25,0])cylinder(h... | glb/cad_b46c466ee805.glb |
Create three tube clamping parts. Each part is based on a cylinder with a radius of 3.5mm and a height of 10mm. Surround this cylinder with a wall that is 3 times the single wall width thick. Intersect this combined shape with a cube measuring 9mm by 20mm by 10mm, centered on the X-axis. Remove a central cylindrical ho... | include <../configuration.scad>;
$fn=64;
module tube_clamp(tube_r, wall_width=3, endstop=false, h=10) {
difference() {
union(){
intersection() {
union(){
cylinder(r=tube_r + wall_width * single_wall_width, h=h);
translate([-4.5, 0, 0]) cube([9, 20, h]);
... | glb/cad_215e7b729ccd.glb |
Create two herringbone extruder gears: a small gear and a large gear. Both gears have a total thickness of 12mm and share a circular pitch of approximately 54.4mm.
For the small gear, create two mirrored herringbone gear halves, each 6mm thick, with 15 teeth and a twist of 2.67 degrees per tooth. Center a vertical bor... | include <../configuration.scad>
use <inc/parametric_involute_gear_v5.0.scad>
gear_distance = 40;
small();
%translate([gear_distance, 0, 0]) rotate([0, 180, 92]) big();
translate([-gear_distance - 10, 10, 0]) big();
gear_width=12;
teeth_small=15;
teeth_big=49;
teeth_twist=400;
circular_pitch = (gear_distance * 180 * ... | glb/cad_cc5f985e68e9.glb |
Create a 3D model of a Prusa 3D printer visualization.
Start with the Y-axis assembly: place a rectangular heatbed at the center. Position a motor holder and an idler mount on opposite sides of the bed. Connect these with two parallel smooth rods and two threaded rods, each 140mm apart. At the ends of these rods, pla... | include <../configuration.scad>
use <../y-drivetrain.scad>
use <../y-axis-corner.scad>
use <../z-axis.scad>
use <../x-end.scad>
use <../x-carriage.scad>
use <../y-axis-bracket.scad>
use <../bushing.scad>
use <../inc/bearing-guide.scad>
module ybeltholder() {
include <../y-belt-holder.scad>
}
module bearing_guide() {
... | glb/cad_bbeaf412c9dc.glb |
Create a Prusa X carriage by starting with a base plate that is 43mm wide, 68mm long, and 8.5mm thick. On this base, integrate two horizontal bearing holders: one small holder positioned at x=-16.5, y=2, and one long holder positioned at x=-16.5, y=x_rod_distance+2. Add a belt holder block measuring 39mm by 16mm by 17m... | include <../configuration.scad>
use <inc/bearing.scad>
module x_carriage_base(){
translate([-33/2,+2,0]) rotate([0,0,90]) horizontal_bearing_base(1);
hull(){
translate([-33/2,x_rod_distance+2,0]) rotate([0,0,90]) horizontal_bearing_base(2);
translate([-36,20,0]) cube([39,16,17]);
}
translate([-38,... | glb/cad_07f80172a8e9.glb |
Create a Y-axis belt holder by starting with a base composed of three joined rectangular blocks: one measuring 33 by 15 by 16 mm, a second 33 by 15 by 16 mm block offset to overlap the first, and a third 50 by 4 by 16 mm block extending from the side. From this combined mass, remove a central belt slit measuring 67 by ... | include <../configuration.scad>
module belt_holder_base(){
translate([-33-8.5,0,-1]) cube([33,15,16]);
translate([-33-8.5,11,-1]) cube([33,15,16]);
translate([-50,22,-1]) cube([50,4,16]);
}
module belt_holder_beltcut(){
position_tweak=-0.2;
translate([-66,-0.5+10,belt_tooth_distance]) cube([67,1,15]);
transla... | glb/cad_039ece8f5e65.glb |
Create a Y Axis Motor Holder with a total thickness of 10mm. The main body is composed of a central motor mounting section and a joining part. The motor mounting section is a block 9mm wide and 31mm long, centered vertically. Incorporate a NEMA 17 motor mounting pattern by creating holes through the thickness of the bl... | include <configuration.scad>
use <inc/bearing-guide.scad>
module motorholder(thickness=10){
difference(){
union(){
translate([29, -21 + 50, 0])
{
difference(){
union(){
translate([-21 + 4.5, 0, 5]) cube([9, 31, thickness],... | glb/cad_758615f164e5.glb |
Create a Z Axis Motor Holder and Rod Holder assembly.
First, construct the motor holder. Create a base block with a thickness of 38mm and a bottom section of 5mm. Within this, integrate a NEMA 17 motor mount footprint. The mount should have a height of 6mm (bottom thickness plus a 1mm layer height) and include the st... | include <configuration.scad>
module zmotorholder(thickness=(i_am_box == 0 ? 38 : 23), bottom_thickness=5){
difference(){
union(){
difference(){
union(){
zrodholder(thickness=thickness, xlen=45, ylen=44, zdelta=((i_want_to_use_single_plate_dxf_and_make_my_z_w... | glb/cad_b31ef1e4f14a.glb |
Create a belt guide consisting of a tiered cylindrical base with a central hole. Start by creating a main cylinder with a radius of 7.8mm and a height of 4.5mm. Add a wider, shorter flange at the bottom by creating a cylinder with a radius of 10.2mm and a height of 0.95mm. To create the central opening, remove a cylind... | wall= 1.2;
clearence= 0.1;
module belt_guide_base(){
cylinder(r=6.5+wall+clearence, h=5-0.5, $fn=50);
cylinder(r=6.5+wall+clearence+2*wall, h=0.95, $fn=50);
}
module belt_guide_holes(){
translate([0,0,2]) cylinder(r=5.1+clearence, h=10, $fn=50);
translate([0,0,-1]) cylinder(r=5+wall+clearence-2*wall, h=10, $fn=50... | glb/cad_fe0686efec7a.glb |
Create a prusa3_test extruder mount. Start with a main rectangular body measuring 22mm by 56mm by 24mm. Attach a mounting plate to the side measuring 55mm by 5mm by 24mm. Add a 10mm by 10mm by 24mm cube rotated 45 degrees on the Z-axis at the corner for a smoother join.
Carve out several holes and channels from this a... | include <../configuration.scad>
module motor_dummy(){
translate([-22,-22,-5]) %cube([44,44,5]);
translate([18,18,-5]) %cylinder(r=2, h=24);
translate([18,-18,-5]) %cylinder(r=2, h=24);
translate([-18,18,-5]) %cylinder(r=2, h=24);
translate([-18,-18,-5]) %cylinder(r=2, h=24);
translate([-22+2.5+10,0,-5]) %cylinde... | glb/cad_434bf59c457c.glb |
Create a 3D model of a Prusa 3D printer assembly. Start with a central rectangular heat bed measuring 220mm by 200mm with a thickness of 6mm, positioned at a height of 58mm.
Construct the Y-axis by placing two parallel smooth rods of 4mm radius, each 430mm long, running along the length of the bed. At the ends of thes... | include <../configuration.scad>
use <../y-drivetrain.scad>
use <../y-axis-corner.scad>
use <../z-axis.scad>
use <../x-end.scad>
use <../x-carriage.scad>
module nutwasher(){
color("silver")
difference(){
union(){
translate([0,0,2])cylinder(r=15/2,h=7,$fn=6);
translate([0,0,0.5])cylinder(r=8.5,h=1);
}
tran... | glb/cad_8177f8e16168.glb |
Create a prusa3_test extruder mount. Start with a main body consisting of two rectangular blocks: one measuring 44mm x 56mm x 24mm and a second adjacent plate measuring 59mm x 18mm x 24mm.
Within this base, create a series of vertical holes. Center a main shaft opening with a radius of 6.5mm and a height of 26mm. Add... | module motor_dummy(){
translate([-22,-22,-5]) %cube([44,44,5]);
translate([18,18,-5]) %cylinder(r=2, h=24);
translate([18,-18,-5]) %cylinder(r=2, h=24);
translate([-18,18,-5]) %cylinder(r=2, h=24);
translate([-18,-18,-5]) %cylinder(r=2, h=24);
translate([-22+2.5+10,0,-5]) %cylinder(r=2.5, h=7);
}
module extrude... | glb/cad_d9e47337e3ab.glb |
Create a vertical bearing holder by starting with a rectangular block that is 19mm wide, 19mm deep, and 60mm tall, centered on the origin. Subtract a central vertical cylinder with a radius of 7.5mm and a height of 62mm to create a hole for the bearing. To allow for the insertion and securing of the bearing, remove a t... | bearing_diameter = 15;
module horizontal_bearing_base(bearings=1){
translate(v=[0,0,6]) cube(size = [24,8+bearings*25,12], center = true);
}
module horizontal_bearing_holes(bearings=1){
cutter_lenght = 10+bearings*25;
one_holder_lenght = 8+25;
holder_lenght = 8+bearings*25;
difference(){
translate(v=[0,0,12+1.... | glb/cad_a20be84916f4.glb |
Create a prusa3_test object by starting with a rectangular block measuring 24mm in width, 8mm in depth, and 10mm in height, centered so that its x-axis spans from -12mm to 12mm. Remove a central vertical cylinder with a radius of 4.1mm and a height of 20mm, using a 25-facet resolution to create a faceted hole that pass... | difference(){
translate([-12,0.7,0])cube([24,8,10]);
translate([0,0,-1]) cylinder(r=4.1, h=20, $fn=25);
translate([8.5,10,5]) rotate([90,0,0]) rotate([0,0,30]) cylinder(r=1.8, h=20);
translate([-8.5,10,5]) rotate([90,0,0]) rotate([0,0,30]) cylinder(r=1.8, h=20);
} | glb/cad_a973f5dc26e5.glb |
Create a motor mount for a 3D printer X-axis end effector. Start by constructing a base block that is 17mm wide, 44mm deep, and 53mm tall, centered at coordinates (-14, 31, 26.5). From this base, remove several geometric sections to create mounting holes and weight-saving cutouts. First, carve out a central belt hole m... | use <inc/x-end.scad>
module x_end_motor_base(){
x_end_base();
translate(v=[-14,31,26.5]) cube(size = [17,44,53], center = true);
}
module x_end_motor_holes(){
x_end_holes();
translate(v=[-0,32,30.25]){
translate(v=[-14,1,0]) cube(size = [10,46,22], center = true);
translate(v=[-10,-15.5,-15.5]) cube(size =... | glb/cad_1132e6a3a95f.glb |
Create a prusa3_test corner bracket. Start with a rectangular base block measuring 18mm wide, 22mm deep, and 47mm high.
Remove material to create three primary holes: two holes with a radius of 4.4mm passing horizontally through the center of the block at heights of 10mm and 30mm, and one hole with a radius of 5.4mm ... | module corner_base(){
translate([-9,-11,0])cube([18,22,47]);
}
module corner_holes(){
translate([-11,-11,0]){
translate([0,11,10]) rotate([0,90,0]) translate([0,0,-5]) cylinder(h = 270, r=4.4, $fn=30);
translate([0,11,30]) rotate([0,90,0]) translate([0,0,-5]) cylinder(h = 270, r=4.4, $fn=30);
translate([11,... | glb/cad_d13e54a876c7.glb |
Create a bearing holder plate by starting with a rectangular block measuring 10mm in width, 25mm in depth, and 9mm in height. Center a cylindrical hole with a radius of 7.7mm and a length of 21mm through the block, oriented along the depth axis, to create a semi-circular cutout. On the bottom face of the block, centere... | include <../configuration.scad>;
module bearingholdersingleplate(){
difference(){
translate([0, -25/2, 0]) cube([10, 25, 9]);
translate([-1, 0, 0]) rotate([0,90,0]) cylinder(r=7.7, h=21);
mirror([0, 0, 1]) translate([5, -19/2, -9]) screw();
mirror([0, 0, 1]) translate([5, 19/2, -9]) screw();
}
}
mirro... | glb/cad_0797fd9bc94e.glb |
Create a Y motor mount for a 3D printer. Start with a base composed of three main sections: a central rectangular block measuring 16mm by 20mm by 10mm centered at [0, 20, 5], flanked by two cylinders with a radius of 8mm and a height of 10mm positioned at [0, 10, 0] and [0, 30, 0]. Attach a motor holding section consis... | module y_motor_base(){
translate(v = [29,-21+50,0]){
translate(v = [-21+4.5,0,5]) cube(size = [9,31,10], center=true);
translate(v = [-15.5,-15.5,0]) cylinder(h = 10, r=5.5);
translate(v = [-15.5,+15.5,0]) cylinder(h = 10, r=5.5);
translate(v = [-29,-21,0]) cube(size = [14,30,10]);
}
translate(v = [0,10,0... | glb/cad_e08cb4227a2a.glb |
Create a prusa3_test calibration object by starting with a central 20x20x20mm cube that has fillets on the top two corners. Integrate a linear bearing housing mirrored across the X-axis and positioned at [20, 0, 0]. Add a 24x13x4.5mm filleted block at [-12, 7, 0] and a cylinder with a radius of approximately 4.5mm (bas... | include <../configuration.scad>
use <../bushing.scad>
use <../x-end.scad>
intersection() {
difference() {
union(){
translate([-10, -10, 0]) cube_fillet([20, 20, 20], top=[3, 0, 3, 0]);
mirror([1, 0, 0]) translate([20, 0, 0]) linear_bearing();
translate([-12, 7, 0]) c... | glb/cad_eb839e6ec7e1.glb |
Create a Prusa endstop holder extra adapter. Start with a base rectangular plate measuring 30mm in width, 15mm in height, and 10mm in thickness. Centered on this base, add a vertical rectangular block that is 10mm wide, 35mm tall, and 5mm thick.
Carve a horizontal cylindrical slot through the entire assembly. This slo... | include <../configuration.scad>
module endstop_extra(shaft_radius){
screw_hole_spacing = 20;
screw_hole_spacing2 = 10;
segments=64;
difference(){
union(){
translate([-20, -35.99, -5]) cube([10, 35, 5]);
translate([-30, -5, -5]) cube([30, 5, 15]);
difference... | glb/cad_4d25f8d968f1.glb |
Create an endstop holder for 8mm rods. Start with a base shape composed of a cylinder with a radius of 7.3mm and a height of 10mm, joined to a rectangular block measuring 15.5mm by 14.6mm by 10mm, and a second rectangular block measuring 40mm by 4mm by 10mm.
From this combined volume, remove a central rectangular slo... | include <../configuration.scad>
module endstop(shaft_radius){
shaft_diameter=shaft_radius*2;
outer_diameter = shaft_diameter/2+3.3;
screw_hole_spacing = 20;
screw_hole_spacing2 = 10;
opening_size = shaft_radius*2-1.5;
segments=64;
difference(){
union(){
translate([outer_diamet... | glb/cad_236d319e012d.glb |
Create a prusa3_test rod holder by constructing a base component and mirroring it across four symmetrical positions. For the base component, start with a union of two rectangular blocks: one measuring 15mm x 30mm x 15mm and another measuring 40mm x 5mm x 15mm, positioned so the second block extends from the side of the... | module foldingclamp() {
difference(){
union(){
translate([-7.5,0,0])rotate([0,0,0])cube(size = [15,30,15]);
translate([-20,0,0])rotate([0,0,0])cube(size = [40,5,15]);
}
translate([-2.5,5,-2])rotate([0,0,0])cube(size = [5,12,20]);
translate([0,25,-1])rotate([0,0,0])cylinder(h=20, r=4);
translate([-13,10,7.5])rotate([90... | glb/cad_126c6476d36b.glb |
Create a hardware housing for the Prusto Watch consisting of two primary mirrored components: a top section and a bottom section.
For the bottom section, create a base with a height of 5mm. The main body is a rounded octagon with a radius of 22mm. Incorporate a central hollow cutout and a specific rectangular opening ... | use <util.scad>
use <components.scad>
$fn = 10;
module bottom_frame(r, h, wt=1) {
translate([0, 0, h/2])
union() {
linear_extrude(height=h) {
projection(cut=true) {
translate([0, 0, 0.1])
rounded_octagon_2(r, h);
}
}
differen... | glb/cad_84797c5b5345.glb |
Create a Prusa Mendel extruder assembly consisting of a main extruder body and a separate idler arm.
Construct the extruder body as a block with a width of 24mm, height of 55mm, and depth of 28mm. Add a base extending from the bottom with a length of 70mm and a thickness of 7mm. Incorporate a motor mount section with... | include<configuration.scad>
malcolm_hotend_mount=1;
groovemount=2;
peek_reprapsource_mount=4;
arcol_hotend_mount=8;
mendel_parts_v6_mount=16;
grrf_peek_mount_holes=32;
wade(hotend_mount=groovemount);
translate([78,-10,15.25])
rotate([0,-90,0])
wadeidler();
wade_block_height=55;
wade_block_width=24;
wade_block_dept... | glb/cad_d7290209bb21.glb |
Create a Prusa Mendel coupling by starting with a central rectangular block measuring 30mm x 25mm x 8mm.
Remove four vertical holes for M3 screws, positioned at coordinates (±7.5mm, ±6.5mm) relative to the center. At the base of each of these holes, create a hexagonal nut trap with a diameter of 6.5mm and a depth of ... | include <configuration.scad>
holeX = 7.5;
holeY = 6.5;
holeR = 3.4;
nutR = 3.25;
nutH = 3;
corner_cut = 26;
studding_dia = 8.0;
shaft_dia = 7.0;
module coupling(c){
union(){
difference(){
cube(size = [30,25,8], center = true);
if(c==1){
*cube(size = [2,40,30], cent... | glb/cad_605734f3b913.glb |
Create two identical bearing guides for a Prusa Mendel. Each guide is composed of two concentric cylindrical shells: an inner section and an outer section.
For the inner section, create a hollow cylinder with an outer radius of 11.45mm and an inner radius of 11.15mm, both with a height of 8.7mm. At the base of this c... | single_layer_width=0.6;
bearing_inner=22.3;
thickness=1.7;
height=7+thickness;
wall_ascent=3;
wall_descent=0.5;
module inner()
{
difference()
{
cylinder(r=bearing_inner/2+single_layer_width,h=height);
translate([0,0,-1])
cylinder(r=bearing_inner/2,h=height+2);
}
difference()
{
cylinder(r=bearing_inner/2+... | glb/cad_9a9ce3d92063.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.