Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a ceiling fan chain pull pendant. Start with a main body that is a cylinder 20mm in diameter and 10mm thick, with corners rounded to a 1mm radius. Extend a cylindrical neck upwards from the center of the top face; this neck should have an outer diameter of 7mm and a total height of 25mm from the base of the pend...
pendant_diameter=20; pendant_thickness=10; corner_radius=1; top_inner_diameter=5; top_outer_diameter=7; top_lip_thickness=8; bottom_inner_diameter=7; overall_height=35; icon="bulb"; icon_margin=3; top_offset = overall_height - pendant_diameter/2 - 1; bottom_hole_depth = overall_height - top_lip_thickness + 1; overall_...
glb/cad_b50553ce15eb.glb
Create a shave stand by constructing a base and two upright supports that lean outward. The base is a rectangular slab 125mm wide, 47mm deep, and 3mm thick. From this base, extend two supports upward to a height of 47mm. The right support is rotated 41.5 degrees and the left support is rotated -50 degrees. Carve out f...
difference() { translate([0,0,-47]) union() { cube([125,3,47]); rotate([0,0,41.5]) cube([137,3,47]); translate([20,111.5,0]) rotate([0,0,-50]) cube([145,3,47]); translate([0,5,0]) union() { translate([101,85,0]) cube([42,3,47]); translate([143-5-10,85,0]) r...
glb/cad_559e3b3edc05.glb
Create a Customizable Lithophane consisting of a thin image surface set within a polygonal frame. The main body is a hexagonal prism with a total width and length of 100mm and a height of 3mm. The central area is a recessed hexagonal plate with a thickness of 0.4mm, which will hold the image surface. Construct the out...
image_file = "image-surface.dat"; hole_diameter = 10; image_angle = 0; frame_side_number = 6; layer_height = 0.2; number_of_layers = 15; length = 100; width = 100; min_layer_height = layer_height*2; hole_radius = hole_diameter/2; height = layer_height*number_of_layers; union() { intersection() { difference()...
glb/cad_fd3b5ec608d0.glb
Create a 1lb Filament Holder by constructing a base rectangular block 58mm long, 7mm high, and 10mm wide. At one end, add a vertical wall 7mm thick and 37mm high that extends upwards from the base. On the opposite end of the base, create a perpendicular wall 7mm thick and 10mm high. At the top of the 37mm vertical wall...
holeSize = 3; clipWidth = 10; clipLip = 30; clipLength = 45; wallThickness = 7; tabLength = 10; tabThickness = 5; tabBuffer = 5; dropDown = 20; dropDownSupport = 2; cube ([clipLength+wallThickness*2+dropDownSupport, wallThickness, clipWidth]); cube ([wallThickness, clipLip+wallThickness, clipWidth]); translate ([clip...
glb/cad_e1c5dca1390a.glb
Create a spool adapter cone and knob by constructing a truncated cone with a total height of 30mm, centered on the Z-axis. The cone should have a base radius of 30mm and taper to a top radius of 12.5mm. At the bottom of this cone, integrate a thin cylindrical disc with a radius of 30mm and a thickness of 3mm. Finally, ...
difference(){ union(){ cylinder(h = 30, r1 = 30, r2 = 12.5, center = true, $fs = 0.01); translate([0,0,-16.5]) cylinder(h = 3, r1 = 30, r2 = 30, center = true, $fs = 0.01); } translate([0,0,-1]) cylinder(h = 38, r1 = 5.5, r2 = 5.5, center = true, $fs = 0.01); }
glb/cad_79eb3a355e13.glb
Create an Angle Metal Sleeve designed to fit over a piece of angle aluminum. The overall shape is an L-shaped hollow profile with a length of 12.7mm. First, construct the outer shell as an L-shaped prism. The outer dimensions of this shell should be 22.33mm for the width of the legs and 22.33mm for the thickness of t...
joinfactor = 0.125; goldenratio = 1.61803399; gMaterialThickness = (1/8)*25.4; gMaterialExtent = (3/4)*25.4; AngleSleeve(gMaterialThickness*1.10, gMaterialExtent*1.05, (1/2)*25.4); module AngleBlank(thickness, extent, length) { translate([0, -extent/2+thickness/2, 0]) cube(size=[extent, thickness, length], center=...
glb/cad_e2de52133e45.glb
Create a printable hinge assembly consisting of two rectangular plates connected by a series of interlocking cylindrical joints. Each plate is a rectangular block measuring 1mm wide, 2mm deep, and 5.25mm long. The hinge mechanism is composed of four repeating segments along the length of the plates. Each segment cons...
hinge_dia = 635; hinge_gap = 40; $fn = 90; module hingepair() { union() { cylinder(h=0.25, r=0.5); translate([0,0,0.25]) cylinder(h=0.25, r1=0.5, r2=0.25); translate([0,0,1]) cylinder(h=0.25, r1=0.25, r2=0.5); translate([0,0,1.25]) cylinder(h=0.25, r=0.5); } } module hingecore(gap) { union() { differen...
glb/cad_911b912565f7.glb
Create a Customizable Trophy consisting of a base, four pillars, and a top plate. First, construct the base as a composite shape: a central rectangular block 150mm wide, 150mm deep, and 15mm high, with a wedge-like platform on top that is 100mm deep and 40mm high. On the top surface of this base, place four cylindric...
Include_Base = 1; Include_Pillars = 1; Include_Top_Plate = 1; Base_Style = 1; dimA = 150; dimB = 150; dimC = 15; dimD = 5; dimE = 100; dimF = 40; Hole_Depth = 5; Hole_Dia = 6; Peg_Height = 4; Peg_Dia = 5.5; Pillar_Shape = 2; Number_of_Pillars = 4; X_Between = 95; Y_Between = 55; Pillar_Height = 100; Outer...
glb/cad_f4c4a7a4b353.glb
Create a stylized male figure icon with a uniform thickness of 3mm. The figure is composed of several low-resolution geometric primitives. Start with a head consisting of a 10-sided prism (cylinder) with a radius of 4mm and a height of 3mm. Below the head, create the shoulders using two 10-sided prisms with a radius of...
base_width = 150; base_height = 60; base_depth = 3; corner_radius = 5; popup_depth = 3; resolution = 10; module base_plate(base_width=150, base_height=60, base_depth=3, corner_radius=5) { union() { translate([-corner_radius, 0, 0]) cube([base_width, base_height-corner_radius*2, base_depth]); translate([0, -co...
glb/cad_05f391ea1477.glb
Create a double helical gear pair consisting of two mirrored gear components. Each gear is defined by 17 teeth with a circular pitch of 700mm and a pressure angle of 30 degrees. For each gear, construct a central hub with a diameter of 15mm and a bore diameter of 5mm. The gear thickness is 12mm, the rim thickness is ...
gear1t = 20; gear2t = 20; bevel_gear_pair (); pi=3.1415926535897932384626433832795; module bevel_gear_pair ( gear1_teeth = gear1t, gear2_teeth = gear2t, axis_angle = 90, outside_circular_pitch=1000) { outside_pitch_radius1 = gear1_teeth * outside_circular_pitch / 360; outside_pitch_radius2 = gear2_teeth * out...
glb/cad_139000bd2c6e.glb
Create an LCD clip for an acrylic frame. Start by constructing a base block that is 30mm long, 20mm wide, and 3mm thick. On top of this base, add a second layer that is 2mm thick, following the same 30mm by 20mm footprint, but tapering the width from 20mm down to 6mm at the starting edge. Above this, add a third laye...
echo(version=version()); frame_width = 6; board_gap = 10; translate([0, 0, 30]) rotate(a=[0,90,0]){ color("green") linear_extrude(height = 3) { polygon( points=[[0,0],[30,0],[30,20],[27,20],[0,6]]); } color("blue") translate([0, 0, 3]) linear_extrude(height = 2) { polygon( points=[[0,0],[30,0...
glb/cad_053d68cd54a1.glb
Create an LCD Clip for an acrylic frame by constructing a series of stacked, extruded polygons. Start with a base polygon with vertices at [0,0], [30,0], [30,20], [27,20], and [0,6], and extrude it to a height of 3mm. On top of this base, add a second layer extruded 2mm high using a polygon with vertices [0,0], [30,0...
echo(version=version()); frame_width = 6; board_gap = 10; translate([0, 0, 30]) rotate(a=[0,90,0]){ color("green") linear_extrude(height = 3) { polygon( points=[[0,0],[30,0],[30,20],[27,20],[0,6]]); } color("blue") translate([0, 0, 3]) linear_extrude(height = 2) { polygon( points=[[0,0],[30,0...
glb/cad_85feff92c895.glb
Create an LCD Clip for an acrylic frame by constructing a series of stacked and adjacent polygonal prisms. Start with a base plate that is 30mm long, 20mm wide, and 3mm thick. On top of this base, add a second layer that is 30mm long and 6mm wide with a thickness of 2mm. Next, create a central gap for the board by ad...
echo(version=version()); frame_width = 6; board_gap = 10; translate([0, 0, 30]) rotate(a=[0,90,0]){ translate([0, 4, 3]) { color("green") linear_extrude(height = 3) { polygon( points=[[0,0],[30,0],[30,20],[27,20],[0,6]]); } color("blue") translate([0, 0, 3]) linear_extrude(height = 2) { poly...
glb/cad_c889a2be354f.glb
Create a Cleat Kit consisting of an insole, toe cleats, heel cleats, and spikes. First, construct the insole as a thin base (0.0625 inches thick). The main body is a complex polygon defined by a foot length of 10.25 inches and a maximum width of 4.25 inches. The heel area features a support structure with a 45-degree...
part = 5; foot=0; Length_Foot=10.25; Width_Foot=4.25; Length_Toe=2.75; Width_Heel=2.75; Height_Toe=1; Height_Ankle=3.5; Shift_Toe=1.5; Shift_Wide=.25; Length_Ankle=1.75; Distance_Brace_Back=3; Length_Brace_Bottom=3; Distance_Brace_Bottom=2; Thickness_Brace=.03125; Thickness_Insole=.0625; Height_Overbrac...
glb/cad_a2574c41c4ce.glb
Create a honey spoon consisting of a central cylindrical handle and a twisted helical head. Start by creating a vertical cylinder with a radius of 5mm and a total height of 80mm. Cap the top of this cylinder with a hemisphere of the same 5mm radius. At the base of the handle, construct the spoon head by extruding a re...
spoon_height = 20; spoon_twist = 45; spoon_radius = 10; spoon_fan = 2.5; handle_height = 60; handle_radius = 5; handle_height_t= spoon_height+handle_height; $fn=60; module spoon() { union() { linear_extrude(height=spoon_height, twist=spoon_twist) { polygon(points=[[0,0],[spoon_radius,0],[spoon_radius,spoon_...
glb/cad_563a9de07b55.glb
Create a Teaching Aid for Quartz Crystals by constructing a complex polyhedron based on a right-handed quartz crystal structure. Start with a central sphere of radius 100mm and carve it using a series of intersecting planes to define the crystal faces. Create six primary m-faces arranged in a hexagonal prism around th...
font = "Liberation Sans"; letter_height = 2; mark = 1; if (mark==0) scale(1.8) right_quartz(10); else scale(1.75) union() { mkletter( cos(30),sin(30),0,"m",5,0,0,15,13.5); mkletter( cos(30),sin(30),0,"right",4,0,0,4,13.5); mkletter( cos(90),sin(90),0,"m",5,0,0,15,13.5); mkletter( cos(...
glb/cad_992a30160bde.glb
Create a rocket engine retainer by starting with a truncated cone that has a height of 8mm, a bottom radius of 10.4mm, and a top radius of 7.725mm. Hollow out the center of this cone by removing a smaller concentric truncated cone with a height of 8.1mm, a bottom radius of 9.225mm, and a top radius of 6.55mm. To create...
difference () { union () { difference() { cylinder(r1=20.80/2,r2=15.45/2,h=8.0,$fn=60); translate([0,0,-0.05]) cylinder(r1=20.80/2-2.35/2,r2=15.45/2-2.35/2,h=8.1); } translate([15.45/2,-6.25/2,0]) cube(size=[2,6.25,1.5]); translate([-15.45/2-2,-6.25/2,0]) cube(size=[2,6.25,1.5]); } translate([15.45/2-2,-6.25/2,2]) cu...
glb/cad_85368d9ee428.glb
Create a battery holder for a CR2016 or CR2032 button cell. Start with a main cylindrical body with a diameter of 23.25mm and a total height of 3.85mm. Inside this body, create a central cylindrical cavity with a diameter of 20.25mm and a depth of 1.85mm, positioned 1.5mm from the bottom. Cut two rectangular slots th...
batt_dia=20+0.25; batt_h=1.6+0.25; wire_dia=0.75; top=2.0; bottom=1.5; $fn=50; difference() { cylinder(h=batt_h+bottom+top, d=batt_dia+3.0); translate([0, 0, bottom]) cylinder(h=batt_h+5.0, d=batt_dia); for (i=[-1,1]) translate([0, i*0.5*batt_dia, 1.5+bottom+batt_h]) cube([batt_dia*1.1, 0.5*batt_dia, 3.0], tru...
glb/cad_eade5f622f64.glb
Create a 30 pin iPad cable repair cover. Start by constructing a base rectangular block with rounded ends, measuring 26.82mm in length, 6.32mm in width, and 5.67mm in height. Hollow out the center of this block with a matching rounded rectangular cavity of 26.15mm by 5.65mm by 5mm to create a thin-walled shell. At the...
$fn=36; external_perimeters_extrusion_width = 0.40; perimeters_extrusion_width = 0.67; infill_extrusion_width = 0.67; solid_infill_extrusion_width = 0.20; top_infill_extrusion_width = 0.67; support_material_extrusion_width = 0.40; wand=perimeters_extrusion_width * 3; breedte=5.65 + perimeters_extrusion_width; lengte=...
glb/cad_1b2340eb0d2e.glb
Create a paper size adjuster for a hole punch. Start with a main rectangular base measuring 130mm in length, 2mm in width, and 14mm in height. Along the length of this base, create two parallel horizontal rails, each 1mm thick, positioned at the bottom (z=0) and at a height of 11mm. At the far end of the base, add a v...
$fn=24; module fillet(r, h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h = h + 1, center = true); } } difference(){ union(){ translate([0,1,0]) difference(){ cub...
glb/cad_62a64b47f1f5.glb
Create a repair ring for a faucet water limiting button. Start with a main outer cylinder that has a diameter of 36mm and a total height of 25mm, using a 36-facet resolution for the circular geometry. Hollow out the center by removing a cylinder with a diameter of 28.5mm and a height of 12.5mm from the base. From the...
$fn=36; external_perimeters_extrusion_width = 0.40; perimeters_extrusion_width = 0.67; infill_extrusion_width = 0.67; solid_infill_extrusion_width = 0.20; top_infill_extrusion_width = 0.67; support_material_extrusion_width = 0.40; first_layer_height = 0.4; layer_height = 0.2; h2=25; h1=round_to_layer_height(h2/2); r...
glb/cad_7c355a618b90.glb
Create a polygon cutter by constructing a hollow hexagonal prism with a total height of 30mm. The outer boundary should be a regular hexagon with a radius of 43mm, and the inner void should be a regular hexagon with a radius of 40mm, resulting in a wall thickness of 3mm. At the base of the cutter, add a solid hexagonal...
polysides=6; cutterheight=30; cutterradius = 40; wallthick = 3; baseheight = 5; $fn=60; cutterradius_o = cutterradius+wallthick; difference() { union() { linear_extrude(height=cutterheight) circle(r=cutterradius_o,$fn=polysides); cylinder(h=baseheight,r=cutterradius_o); } translate([0,0,-10]) linear_extr...
glb/cad_506c8129c30e.glb
Create a customizable cat toy ball by starting with a hollow sphere that has an outer diameter of 40mm and a wall thickness of 1mm. To create the openings, remove three identical cylindrical sections from the sphere along the X, Y, and Z axes. Each of these holes should have an inner diameter of 15mm and pass completel...
$fn=32*1; inch=25.4*1; sphere_od=40; wall=1; hole_dia = 15; lip_thickness=5; max_hole_id = sphere_od*0.6; max_hole_od = sphere_od*0.7; hole_id = min(hole_dia,max_hole_id); hole_od = min(hole_id + lip_thickness, max_hole_od); sphere_id=sphere_od-wall*2; rim_oh = sqrt(pow(sphere_id/2,2)-pow(hole_od/2,2)); rim_ih ...
glb/cad_80886a450e15.glb
Create an ultrasound transducer holder consisting of a mounting base, a protective enclosure, and a lid. First, create a mounting base designed for a 75mm diameter pipe. This base is a curved plate 20mm high and 3mm thick. Cut four 3.5mm diameter screw holes into the plate: two positioned at the outer edges of the cu...
$fn=100; xHoles=30; yHoles=50; tubeDiameter=75; module screwHole(diam) { cylinder(10, d=diam, center=true); } module roundedRect(x, y, z, radius) { hull() { xOffset = x/2-radius; yOffset = y/2-radius; translate([xOffset, yOffset, 0]) cylinder(z, r=radius); translate([xOffset, -yOffset, 0]) cylinder(z, r=ra...
glb/cad_2fc64d2d8cf1.glb
Create a flag wall mount consisting of a rectangular base plate and a cylindrical post. Start with a base plate 40mm wide, 125mm long, and 6mm thick, with all four corners rounded to a 5mm radius. Attached to the plate is a hollow cylindrical post with an outer diameter of 34.5mm and a wall thickness of 6mm. The post...
$fn=180; w_plate = 40; l_plate = 125; t_plate = 6; r_plate = 5; do_post = 34.5; th_post = 6; h_post = 75; d_head_screw = 9.7; l_head_screw = 4; d_screw = 5; l_screw = 30; flag_mount(); module flag_mount() { difference() { union() { translate([0,0,-1]) base_plate(); translate([0,l_plate*0.2,-5]) rotate...
glb/cad_97869a08d881.glb
Create an SD card holder starting with a rectangular base block measuring 134.6mm in length, 37.8mm in width, and 14mm in height. Carve out a large rectangular section from the top to create a hollowed-out tray, leaving a solid outer shell. Divide the interior of the tray into five distinct compartments by adding fou...
difference(){ difference(){ translate([-1.6,-15.6,-1]) cube([134.6,37.8,14]); rotate([45,0,0]) translate([-2,-20,10]) cube([150,30,30]); } rotate([45,0,0]) translate([12,-2,8.5]) linear_extrude(height = 10, center = false, convexity = 10) text("-8 Go",size=9,font="British Inserat MN:style=...
glb/cad_fb6600cabef9.glb
Create a U-shaped clip by starting with a solid rectangular block that is 11mm wide, 7.5mm long, and 20mm tall. From this block, remove a central rectangular section to create a gap, leaving two parallel walls. This interior cutout should be 5mm wide, 7.5mm long, and 17mm tall. Position this cutout so that it starts 3m...
ClipThick = 3; ClipGap = 5; ClipHeight = 20; ClipLength = 7.5; module Clip (Thickness, Gap, Height, Length) { difference() { cube([Gap+2*Thickness, Length, Height]); translate([Thickness, 0-0.5, Thickness]) cube([Gap, Length+1, Height-Thickness+1]); } } Clip (ClipThick, ClipGap, ClipHeight, ClipLength);
glb/cad_953f9aa5e358.glb
Create a mini flowerpot by constructing a hollow cylinder with an outer diameter of 20mm and a total height of 50mm. To form the interior, remove a concentric cylinder from the center that has a diameter of 19mm and a height of 50mm, starting from a base offset of 2mm from the bottom. This leaves a solid floor at the b...
color("pink") difference(){ cylinder(50,20,20, $fn = 100); translate([0,0,2]) cylinder(50,19,19, $fn = 100); cylinder(50,2,2, $fn = 100); }
glb/cad_4c4c864bf090.glb
Create an Initials Necklace charm consisting of a circular token with a decorative outer rim and a hanging loop. Start by creating a flat, solid circular base with a radius of 7.5mm and a thickness of 1mm. Around this base, construct a thick outer ring by rotating a circle with a 6mm radius around a central axis at a d...
$fs = 1; $fa = 4; silver = [.88,.895,.895]; dark_silver = [.6,.6,.6]; module token() { color(dark_silver) translate([0, 0, -.5]) linear_extrude(1) circle(r=7.5, center=true); scale(.168) outer(); module outer() { translate([0, 60, 0]) color(silver) intersection() { rotate_extrude(convexity = 1.3) translate([...
glb/cad_65ed9f4c585b.glb
Create a Cable Tidy by starting with a sphere that has a diameter of 19mm. Flatten the bottom of the sphere by removing the lower half of the geometry, effectively creating a hemisphere. Cut a rectangular slot through the top center of the dome that is 3mm wide, 19mm long, and 5mm deep. Additionally, remove a cylindric...
dome_size = 19; cable_size = 5; slot_size = 3; $fn=80; slot_depth = 5; module cable_tidy(sphere_diameter = 5) { difference() { sphere(d=sphere_diameter); translate([-(sphere_diameter/2), -(sphere_diameter/2), -(sphere_diameter)]) cube(sphere_diameter); translate([-(slot_size/2),...
glb/cad_89dbefaa1044.glb
Create a Tube Seal consisting of two stacked, concentric cylindrical shells. First, construct a base cylinder with an outer diameter of 30mm and a height of 18mm. Directly on top of this, place a second cylinder with an outer diameter of 25mm and a height of 35mm. To create the hollow center, remove a central cylindric...
module base() { cylinder(18,30,30); cylinder(35,25,25); } module TubeSeal() { difference() { base(); cylinder(5,25,25); cylinder(53,20,20); translate([18,0,0]) rotate (0) cube([12,2,53]); } } TubeSeal();
glb/cad_4a79eb2d2c56.glb
Create a Build-a-Bear ketcher consisting of a racket head and a handle. Start by constructing the head as a hollow, flattened elliptical ring with an outer width of 76mm, an outer height of 106mm, and a thickness of 9mm. The walls of this frame should be 5.5mm thick. Inside this frame, create a grid of thin cylindric...
total_length = 205; head_width = 76; head_height = 106; frame_thickness = 5.5; frame_height = 9.0; handle_length = 100; $fn = 50; pad = 0.5; string_radius = 1.2; module horz_string(offset, length) { translate([-length / 2.0, offset, frame_height / 2.0]) rotate([0,90,0]) cylinder(r = string_radius,...
glb/cad_faf1cb454410.glb
Create a vacuum cleaner ceiling fan attachment consisting of a cylindrical hose connector that transitions into a flat, angled nozzle. Start by creating a hollow cylindrical hose end with an outer diameter of 37.6mm and an inner diameter of 32mm, extending 30mm in length. Inside this cylinder, add three small rectang...
hose_end_diameter = 32; hose_end_active_length = 30; hose_tension_pad_thickness = 0.5; hose_tension_pad_width = 3; nozzle_width = 23; nozzle_length = 100; nozzle_height_thin_end = 12; nozzle_height_thick_end = 30; hose_to_nozzle_angle = 120; perforation_depth = 2; perforation_spacing = 4; wall_thickness = 2.8; nozzle_...
glb/cad_38606ada2ab9.glb
Create a Piper Aztec seat knob. The main body is a hollowed-out hexagonal prism with a height of 29.27mm. The outer shell is based on a regular hexagon with a radius of 42.2mm, scaled by 0.32 on the X-axis, 1 on the Y-axis, and 1 on the Z-axis. The interior is hollowed out using a similar hexagonal profile with a radiu...
include <C:\Program Files\openscad-2011.12.win32\openscad-2011.12.30\libraries\MCAD\regular_shapes.scad>; shaftRadius = 6.5 ; scale (v = [0.585, 0.585, 0.585]) translate(v = [0, 0, 29.25]) { rotate (a = [0, 180, 90]) difference () { difference () { scale (v = [0.32, 1, 1]) ...
glb/cad_360c9d381bcf.glb
Create a Beer Can Hydroponics Top by starting with a cylinder that has a height of 3mm, a bottom radius of 121mm, and a top radius of 125mm. Centered within this cylinder, remove a rectangular volume to create a slot that is 18.5mm wide, 16.5mm deep, and 122mm high.
top_radius= 121; post_slotX = 18.5; post_slotY = 16.5; translate ([0,0,0]) top(); module top(){ difference(){ cylinder (r1 = top_radius, r2 = top_radius + 4, h=3, $fn=64); translate ([0,0,0])cube(size = [post_slotX,post_slotY,122], center = true); translate ([120,0,0])cube(size = [200,300,122], cente...
glb/cad_cb044d5ab574.glb
Create a Beer Can Hydroponics project enclosure consisting of a main housing and a separate lid. For the housing, create a rectangular box with exterior dimensions of 93.5mm in length, 66mm in width, and 30.5mm in height. Hollow out the center to create a cavity that is 86mm long, 61mm wide, and 28mm deep, leaving wa...
wall_width = 2.5; holewall_width = 1.5; holetaper = 0.9; interior_z = 28; interior_x = 86; interior_y = 61; mounthole_radius = 1; mount_inset_x = 12; mount_inset_y =12.5; mount_z = 4; lidfastenhole_radius = 1; lidfastenhole_inset = 5; exterior_z = interior_z + wall_width; exterior_x = interior_x + lidfastenhole_radi...
glb/cad_613c3b59422d.glb
Create a Beer Can Hydroponics top plate by starting with a thin cylinder that has a height of 3mm, a bottom radius of 121mm, and a top radius of 125mm, using a 64-facet resolution. Centered within this disc, remove a rectangular vertical slot that measures 18.5mm in width and 16.5mm in depth to create a central opening...
post_slotX = 18.5; post_slotY = 16.5; difference(){ top(); translate ([0,-140,0])cube(size = [500,250,150], center = true); translate ([0,140,0])cube(size = [500,250,150], center = true); translate ([150,0,0])rotate ([0,0,90]) cube(size = [500,250,150], center = true); translate ([-150,0,0])rotate ([0,0,90]) cube(...
glb/cad_58edb4192d4c.glb
Create a Beer Can Hydroponics top consisting of a thin circular plate with a radius of 125mm and a height of 3mm. At the center of this plate, remove a rectangular slot measuring 18.5mm by 16.5mm. On the outer edge of the plate, create a small rectangular notch measuring 10mm by 8mm. Arrange six identical cylindrical ...
top_radius = 121; post_slotX = 18.5; post_slotY = 16.5; translate ([0,0,0]) top(); module top(){ difference(){ cylinder (r1 = top_radius, r2 = top_radius + 4, h=3, $fn=64); translate ([0,0,0])cube(size = [post_slotX,post_slotY,122], center = true); translate ([120,0,0])cube(size = [10,8,122], center = ...
glb/cad_8352f263cb36.glb
Create a 50mm Fan Bracket designed to hold a fan via friction clips. Start with a central base plate measuring 63mm by 67mm by 3mm. Center a large circular hole with a diameter of 57mm through this plate. At each of the four corners of the fan's 50mm by 50mm mounting pattern, add a 3mm diameter hole that passes through...
FanX = 50; FanY = 50; ScrewDiameter = 3; ClipWidth = 29.1; ClipSpread = 66.158; RodRadius = 4; union(){ difference() { cube(size = [FanX+13,FanY+17,3], center = true); cylinder (h = 4, r1 = 57/ 2, r2 = 57/2, center = true); union() { translate([FanX/2,FanY/2,-5]) cylinder(20,ScrewDiameter/2,ScrewDi...
glb/cad_717369cbca6e.glb
Create a motor pulley for a 6mm motor shaft with 16 teeth using an HTD 5mm belt profile. The model consists of a toothed upper section and a supportive base. The toothed section has a height of 15mm. The teeth are distributed evenly around the circumference. The base of the pulley is a cylinder with a diameter of 19mm...
teeth = 16; profile = 10; motor_shaft = 6.3; m3_dia = 3.2; m3_nut_hex = 1; m3_nut_flats = 5.7; m3_nut_depth = 2.6; retainer = 0; retainer_ht = 1.5; idler = 0; idler_ht = 1.5; pulley_t_ht = 15; pulley_b_ht = 12; pulley_b_dia = 19; no_of_nuts = 1; nut_angle = 90; nut_shaft_distance = 1.2; additional_tooth_width = 0.2...
glb/cad_595aa98acdc6.glb
Create a Printrbot Metal Plus Top Spool Mount. Start by creating a central vertical cylinder with a diameter of 29mm and a total height of 80mm (70mm for the spool rod plus 10mm for the base). At the bottom of this rod, create a base that integrates a circular flange with a diameter of 44mm and a height of 10mm. Surr...
$fa = 1; $fs = 0.1; looseness = 1.5; screw_diameter = 3 + looseness; screw_horizontal_spacing = 50.90; screw_vertical_spacing = 19; screw_height = 1.5; screw_head_height = 9; screw_head_diameter = 5.5 + looseness; spool_diameter = 29; spool_base_height = screw_height+screw_head_height; spool_base_diameter = 80; ...
glb/cad_d2dc0972476c.glb
Create a RAMPS bracket for a Mendel 3D printer. Start with a central base plate measuring 54mm by 98mm with a thickness of 4mm. Remove a rectangular central section measuring 42mm by 50mm with a depth of 15mm to create a recessed tray. Add a mounting clip to one of the 30mm sides. This clip is formed by two parallel ...
ScrewDiameter = 3; ClipWidth = 30; ClipSpread = 50.158; RodRadius = 4; union(){ difference() { union(){ cube(size = [54,98,4], center = true); translate ([0,0,-4]) cube(size = [ClipWidth,70,4], center = true); } cube(size = [42,50,15], center = true); translate ([0,46,0]) cube (size = [54, 10,18], cen...
glb/cad_10c09652353f.glb
Create an Extended Kossel J-Head Mount with a total height of 8mm. The core is a hexagonal prism with a radius of 34mm. Centered within this prism, remove a cylindrical hole with a radius of 20mm that passes through the entire height. At three equidistant points around the perimeter, positioned 42mm from the center, c...
include <configuration.scad>; separation = 37.2; offset = 42; height = 8; cone_r1 = height/2; cone_r2 = 5.5; extruder_mount = m3_wide_radius; module effector() { difference() { union() { cylinder(r=offset-8, h=height, center=true, $fn=6); for (a = [60:120:359]) rotate([0, 0, a]) { translate([0, offse...
glb/cad_52ac5d21c7ab.glb
Create a thin, flat disc for an Extended Kossel J-Head Mount. The disc should have a radius of 20mm and a height of 0.2mm.
module disc(R=20,H=0.2) { cylinder(r=R,h=0.2); } module oblong(R=20,L=50,H=0.2) { translate([-L/2,0,0]) { hull() { disc(R,H); translate([L,0,0]) disc(R,H); } } } disc();
glb/cad_3e0150d19c49.glb
Create an Extended Kossel J-Head Mount consisting of a mounting plate, a central insert, and Bowden clamps. Start with a mounting plate as a cylinder with a radius of 29.5mm and a height of 4mm. In this plate, create a central hole with a radius of 2.55mm. Arrange a ring of six holes with a radius of 1.75mm, position...
use <fillet_circle.scad>; use <disc.scad>; use <effector.scad>; use_effector = true; fuse_effector = true; effector_height = 8; all = true; cutaway = false; part = 0; extruders = 3; discs = true; double_bowden = true; $fs=0.2; $fa=2; smooth = 10; J_slot_height = 4.64; J_slot_cap = 4.76; height=J_slot_height+J_s...
glb/cad_84f9c3e75021.glb
Create a luggage tag fixation ring with an inner diameter of 20mm and a wall thickness of 6mm. The main body is a thick, circular ring with a total outer diameter of 32mm and a height of 12mm. The ring is not a complete circle; create a gap in the ring's circumference to allow it to open. On one side of this gap, int...
th=6; screw=3-.5; shead=7.5; s2=screw+th; ring=25+20; clip(ring=20); module clip(){ difference(){ hull(){ translate([0,0,(screw+th)/2]) cylinder(d=ring+th,h=.001,center=true,$fn=64); translate([0,0,-(screw+th)/2]) cylinder(d=ring+th,h=.001,center=true,$fn=64); cylinder(d=ring+2*th,h=screw,center=true...
glb/cad_ea18755e2aa6.glb
Create a minimalistic spool consisting of a central hub and three radiating arms. First, construct the central hub. The hub is a thick disc with a height of 18mm (3 times the rod diameter). Create a central vertical hole with a diameter of 6mm to accommodate a rod. Around this center, integrate three circular bearing...
bearingsize = 13; arms = 3; armsize = 95; rod_diameter = 6; center(); module arm() { translate([0, 0, rod_diameter]) difference() { linear_extrude(height = rod_diameter * 2, convexity = 2, center = true) difference() { intersection() { union() { rotate([0, 0, 180]) translate([-armsize / 2, 0, 0]) squar...
glb/cad_4cc0ed881f0c.glb
Create a StampMaker tool consisting of a base stamp surface and an attached handle. Start by creating a square stamp head measuring 100mm by 100mm. The top surface of this head should be a lithophane-style relief based on a black and white image, where the height of the relief is determined by 10 layers at 0.5mm each, ...
image_file = "img.dat"; layer_height = 0.5; number_of_layers = 10; handle_height = 30; scale = 1.0; $fn = 50; length = 100; width = 100; min_layer_height = layer_height*2; hole_radius = hole_diameter/2; height = layer_height*number_of_layers; module stamp() { difference() { translate([0, 0, min_layer_heigh...
glb/cad_469bb0ed6340.glb
Create a Math Block by constructing a solid cube with equal dimensions of 10mm for its length, width, and height.
color("blue") cube(10,10);
glb/cad_322a7e07fc32.glb
Create a Math Block by constructing a rectangular cuboid with a width of 10mm, a length of 100mm, and a height of 10mm.
color("blue") cube([10,100,10],10);
glb/cad_bc5b99a7eae6.glb
Create a Math Block by constructing a flat, square prism with a length of 100mm, a width of 100mm, and a height of 10mm.
color("blue") cube([100,100,10], 10);
glb/cad_24e7ee1b4586.glb
Create a cooling cone with a total height of 75.37mm. The object is a hollow, tapered shell with a wall thickness of 1mm. The base is a wide circle with a diameter of 50.25mm, and it tapers upward to a top circular opening with a diameter of 15mm. The outer profile follows a curved, concave slope from the base to the t...
height = 75.37; holeCount = 3; topDiameter = 15; wallWidth = 1; layerHeight = 0.3; resolution = 5; baseDiameter = max(2 / 3 * height, 3 / 2 * topDiameter); layerCount = height / resolution; fnMax = baseDiameter / 2 * 2 * 3.1415926 / resolution; fnMin = topDiameter * 2 * 3.1415926 / resolution; function CurveFunction...
glb/cad_862debd45684.glb
Create a Zircon crystal model by constructing a convex polyhedron formed by the intersection of 20 planar facets. Each facet is defined by a unit normal vector and a distance from the origin. The first four facets are defined by normals [0.70711, 0.70711, 0] and its symmetric variations (flipping signs for X and Y), e...
function Magnitude(v) = sqrt(v[0]*v[0] + v[1]*v[1] + v[2]*v[2]); function UnitVector(v) = v/Magnitude(v); function CrossProduct(v1, v2) = [v1[1]*v2[2]-v2[1]*v1[2], v1[2]*v2[0]-v2[2]*v1[0], v1[0]*v2[1]-v2[0]*v1[1]]; function UnitCrossProduct(v1, v2) = UnitVector(CrossProduct(v1, v2)); function ScaleVector(v, s) = [v[0]*...
glb/cad_a5eb3e148936.glb
Create a Fluorite crystal model by constructing a convex polyhedron formed by the intersection of 60 planar facets. Each facet is defined by a normal vector $[x, y, z]$ and a distance from the origin. Start with six primary facets located at a distance of 0.8 units from the origin with normals $[1,0,0], [0,0,1], [0,1,...
function Magnitude(v) = sqrt(v[0]*v[0] + v[1]*v[1] + v[2]*v[2]); function UnitVector(v) = v/Magnitude(v); function CrossProduct(v1, v2) = [v1[1]*v2[2]-v2[1]*v1[2], v1[2]*v2[0]-v2[2]*v1[0], v1[0]*v2[1]-v2[0]*v1[1]]; function UnitCrossProduct(v1, v2) = UnitVector(CrossProduct(v1, v2)); function ScaleVector(v, s) = [v[0]*...
glb/cad_07908a875694.glb
Create a compact X-carriage for a 3D printer. Start with a main rectangular body that is 30mm wide, 12mm deep, and approximately 60mm high (calculated from a 45mm rod spacing plus 15mm bearing diameters and padding). Through the center of the body, create two horizontal cylindrical holes with a diameter of 15mm and a...
part="mount"; LM8UU_length = 25; LM8UU_diameter = 15; x_rod_spacing = 45; x_rod_radius = 4; belt_thickness_no_tooth = 0.75; belt_thickness_tooth = 1.45; belt_double = belt_thickness_no_tooth+belt_thickness_tooth+0.5; carriage_width = 30; carriage_padding = 0.1; carriage_height = x_rod_spacing+LM8UU_diameter+carriag...
glb/cad_523ab5dbbfb3.glb
Create a FinalKey case by starting with a solid rectangular block measuring 43mm x 24mm x 15mm, centered on the origin. Hollow out the center of this block by removing a smaller rectangular volume of 38mm x 20mm x 15mm, shifted 3mm upward along the Z-axis. To create the necessary openings and ports, remove a 6.4mm cu...
difference(){ cube([43,24,15],center=true); translate([0,0,3]) color("red") cube([38,20,15],center=true); translate([-11,0,-2.2]) cube([6.4,6.4,6.4],center=true); translate([-11,0,0]) color("blue") cylinder(h = 30, r=4.2/2,center=true,$fn=100); translate([0,0,0]) color("blue") cylinder(h = 30, r=4/...
glb/cad_267e7e0c8097.glb
Create a wall mount for a Rowenta Air Force vacuum cleaner. Start with a main cylindrical body that has a diameter of 120mm and a height of 70mm, positioned from z = -10mm to 60mm. Hollow out the center of this cylinder with a smaller 70mm diameter hole and remove a central rectangular section measuring 70mm by 51mm by...
$fn=60; difference() { union() { difference() { translate([0,0,-10]) cylinder(d=120, h=70); union() { hull() { cylinder(d1=88, d2=91, h=15); translate([44,0,0]) rotate([0, 5.7, 0]) cylinder(r=14, h=80); } translate([0,0,15]) cylinder(d1=104, d2=114, h=80); translate([-...
glb/cad_62962e3fb594.glb
Create a Minecraft Creeper figure using a base unit of 5mm per pixel. Construct the head as a cube measuring 40mm x 40mm x 40mm. On the front face, carve out the facial features by removing several smaller rectangular blocks: two 10mm x 10mm x 10mm cubes for the eyes, one 9.5mm x 10mm x 10mm cube for the upper nose, ...
scale=5; module leg_connector() { translate([scale*2,scale*1,0])cylinder(r=1.5,h=scale*2, center=true,$fn=100); translate([scale*2,scale*2,0])cylinder(r=1.5,h=scale*2, center=true,$fn=100); } module head() { difference() { cube(size = scale * 8, center=true); translate([scale,scale*3.8,scale*-2.5]) cube(size = scale...
glb/cad_3743632ebcf2.glb
Create a Bass Shelf Holder consisting of a central support block and two symmetrical arms. First, create a central rectangular support block with rounded corners of 1mm. The block should be 62mm wide, 40mm deep, and 10mm thick. In the center of this block, create a vertical hole for a screw with a radius of 6mm and a...
use <Thread_Library.scad>; shelf_thickness = 12 + 1; screw_radius = 6; screw_pitch = 2; screw_clearance = 0.3; screw_support = 6; screw_wander = 3; screw_handle_thickness = 5; arm_thickness = 10; arm_thickness_grab = 10; arm_grab_upper_depth = 20; arm_grab_lower_depth = 40; arm_hang = 10; arm_lift = 10; arm_lengt...
glb/cad_b667de006536.glb
Create a customizable name keyring consisting of a decorative loop and a series of extruded characters. First, create a circular loop using the letter "o" in the Chewy font. Extrude this loop to a height of 3mm and position its center at x = -125mm and y = 0mm relative to the text start. Next, generate the text "#ia...
Font_name = "Racing Sans One"; Text = "#iamburny"; Rotation = 50; spacing = [10,11,11,14,15,15,15,15,15]; height = [5,6,4,5,4,3,5,4,6]; twist = -3; center = 60; Loop_x_position = -125; Loop_y_position = 0; Loop_character = "o"; Loop_font = "Chewy"; rotate([0,0,Rotation]) { linear_extrude(height = 3, $fn...
glb/cad_a6f6b3fb69e4.glb
Create a 2-bladed propeller with a central hub. Start by constructing the hub as a cylinder with a total height of 6mm and an outer radius of 5.925mm. Remove a central vertical hole with a radius of 2.5mm through the full height. Additionally, remove a wider coaxial hole from the top of the hub with a radius of 3.275mm...
$fn=200; module screwprop(radius, inside_radius, pitch, chord) { rad_res = 30; chord_res = 30; chord_cmass = 40; thick_cmass = 5; function top_foil(p) = lookup(p, [ [0, 0 ], [1.25, .04 ], [2.5, .0579], [5, .082], [7.5, .1 ], [10, .1138], [15,...
glb/cad_fb690158ade4.glb
Create a 2-bladed propeller hub and blade assembly. Start by constructing the central hub as a cylinder with a total height of 6mm and an outer diameter of 11.85mm. Bore a hole through the center with a diameter of 5mm. At the top of this hub, create a counterbore hole with a diameter of 6.55mm and a depth of 1.5mm. F...
$fn=200; module screwprop(radius, inside_radius, pitch, chord) { rad_res = 30; chord_res = 30; chord_cmass = 40; thick_cmass = 5; function top_foil(p) = lookup(p, [ [0, 0 ], [1.25, .04 ], [2.5, .0579], [5, .082], [7.5, .1 ], [10, .1138], [15,...
glb/cad_8f9cc04769d0.glb
Create a 2-bladed propeller consisting of a central hub and two symmetrical wings. Start by constructing the hub as a hollow cylinder with an outer diameter of 11.21mm, an inner hole diameter of 5.9mm, and a total height of 6mm. From this central hub, extend two identical wings in opposite directions. Each wing is cr...
$fn=200; mitte_aussen=11.21; mitte_innen=5.9; mitte_hoehe=6; module platform() { translate(v=[0,0,-mitte_hoehe/2]) { difference() { cylinder(r=mitte_aussen/2,h=mitte_hoehe); translate(v=[0,0,-0.1]) { cylinder(r=mitte_innen/2,h=mitte_hoehe+0.2); } ...
glb/cad_df03e455bc30.glb
Create a 2-bladed propeller consisting of a central hub and two opposing wings. Start by creating the central hub as a hollow cylinder with an outer diameter of 11.21mm, an inner hole diameter of 5.9mm, and a height of 6mm. Construct a wing by creating a 2D profile that is the convex hull of a 1x8.66mm rectangle ce...
$fn=200; mitte_aussen=11.21; mitte_innen=5.9; mitte_hoehe=6; module platform() { difference() { cylinder(r=mitte_aussen/2,h=mitte_hoehe); translate(v=[0,0,-0.1]) { cylinder(r=mitte_innen/2,h=mitte_hoehe+0.2); } } } module wing2D() { hull() { ...
glb/cad_ad2cb2e88347.glb
Create a Parametric Paperframe consisting of a base plate and a surrounding frame. Start by creating a rectangular base plate 52mm wide, 102mm long, and 5mm thick. At each of the four corners of the top surface of this plate, remove a small geometric notch consisting of a 2mm cube rotated 45 degrees on the Z-axis, with...
module plate(x, y, platethickness, outerborder) { difference(){ cube(size = [x, y, platethickness]); translate(v=[1,1, platethickness]) clicker(outerborder); translate(v=[x-1,1 + outerborder, platethickness]) rotate(a=[0,0,180]) clicker(outerborder); translate(v=[1,y-1 - outerborder, platethickness]...
glb/cad_ec4d08d859df.glb
Create an Mk8 Extruder mount consisting of two symmetrical clamping assemblies connected by a central base plate. First, create a central rectangular base plate 47mm wide, 42mm deep, and 6mm thick. Position four mounting holes with a diameter of 4.2mm at coordinates (±11.5mm, ±11.5mm) relative to the center. At each ...
tol = 0.2; motor_mount_width = 15; motor_size = 42.3; fan_mount_width = 10; fan_size = 41; motor_fan_distance = 45; holes_offset=[7,0]; holes = [ [-11.5, -11.5], [-11.5, 11.5], [11.5, -11.5], [11.5, 11.5] ]; mk8_mount(explode=true, base=true, cap=true); module mk8_mount(explode=false, cap=true) {...
glb/cad_631cb04cf6e0.glb
Create a Straight Metal Jacket end cap designed to fit over a rectangular metal rail. The main body is a rectangular block with a total length of 12.7mm, a width of 19.05mm, and a thickness of 3.175mm. The block features a hollow rectangular cutout that allows the rail to slide in; this internal cavity measures 3.325...
joinfactor = 0.125; goldenratio = 1.61803399; gMaterialThickness = 1/8*25.4; gMaterialWidth = 3/4*25.4; gSleeveLength = 1/2*25.4; gMountRadius = 2; gMountWidth = gMountRadius*2*goldenratio*goldenratio; gMountThickness = 4; StraightCap(gMaterialThickness, gMaterialWidth, 1/2*25.4, mountgap=3); module MountTab(thick...
glb/cad_390668f38178.glb
Create a Straight Rail fixture. Start with a base rectangular block that is 6.45mm thick, 38.1mm wide, and 12.7mm long. From this base, remove a central rectangular slot that is 3.3mm thick and 37.1mm wide, running through the full length of the block. Additionally, remove a larger rectangular section from the center...
joinfactor = 0.125; goldenratio = 1.61803399; gMaterialThickness = 1/8*25.4; gMaterialWidth = 3/4*25.4; gSleeveLength = 1/2*25.4; gMountRadius = 2; gMountWidth = gMountRadius*2*goldenratio*goldenratio; gMountThickness = 4; StraightRail(gMaterialThickness, gMaterialWidth, 1/2*25.4, mountgap=3,clipratio=0.5); module...
glb/cad_6f689f3508bd.glb
Create a Straight Metal Slip Hoop consisting of a rectangular sleeve joined to a cylindrical hoop. First, construct the sleeve as a rectangular hollow tube. The outer dimensions should be 5.03mm thick, 22.35mm wide, and 12.7mm long. The inner cutout is 3.3mm thick and 19.05mm wide, leaving a wall thickness of approxi...
joinfactor = 0.125; goldenratio = 1.61803399; gShoeThickness = 4; gStandoffHeight=6; gStandoffThickness = 5; gStandoffLength = 13; gMaterialThickness = 1/8*25.4; gMaterialWidth = 3/4*25.4; gSleeveLength = 1/2*25.4; gMountRadius = 2; gMountWidth = gMountRadius*2*goldenratio*goldenratio; gMountThickness = 4; Straig...
glb/cad_d686aed18258.glb
Create a discretized paraboloid composed of a 16 by 16 grid of square prisms. Each prism must have a base measuring 3mm by 3mm. Arrange the prisms such that their heights vary according to the formula for a paraboloid, specifically where the height of each prism is determined by the sum of the squares of its relative d...
cs=3; steps=16; hp(cs,steps); module hp(cs,steps){ hp1(cs,steps); hp2(cs,steps); } module hp1(cs,steps){ steps=steps-1; div=steps/2; for (x=[0:steps]) { for (y=[0:steps]) { if((x%2==0 && y%2==0) || (abs(x%2)==1 && abs(y%2)==1)) color("white")translate([cs*(div-x),cs*(div-y),0]) cube([cs*1.01,cs*1.01...
glb/cad_5f16bbedd390.glb
Create a 2040 sawing jig consisting of a main block and a cutting guide. The main block is a cube with a length of 50mm, a width of 50mm, and a total depth of 31mm. Within this block, carve out a central rectangular channel to accommodate a 2040 extrusion. This channel should be 40.2mm wide, 50mm long, and 20mm deep,...
include <MCAD/units/metric.scad> use <MCAD/shapes/polyhole.scad> use <MCAD/shapes/boxes.scad> support_extrusion_length = 1900; support_extrusion_width = 40; support_extrusion_depth = 20; support_tslot_positions = [10, 30]; cut_extrusion_length = 1900; cut_extrusion_width = 40; cut_extrusion_depth = 20; cut_tslot_posi...
glb/cad_9e6df76b138e.glb
Create a Minecraft Creeper keychain by constructing a stylized humanoid figure from blocks. Start with a head that is a cube measuring 16mm on all sides. Position a body block measuring 8mm wide, 16mm deep, and 24mm tall, centered against the bottom face of the head. Attach two legs to the bottom of the body: each leg ...
face_depth = 1; do_scary_face = 1; do_happy_face = 1; hole_size = 1.15; rotate([90,0,0]) scale(2) difference(){ union() { difference(){ cube([8,8,8]); if(face_depth>0){ if(do_scary_face==1){ translate([0,0,-0.33]) union(){ for(i=[2,5]) {#translate([-face_depth,i,1]) cube([face_depth*2,1,3]);} for(i=[...
glb/cad_31dc7e72c5d3.glb
Create an SD-Card holder mount by constructing a primary block and removing specific sections to create slots. Start by forming a base shape composed of three intersecting rectangular prisms: one measuring 18x18x28mm positioned at [10, 9, 0], one measuring 12x3x28mm at [0, 0.1, 0], and one measuring 3x6x28mm at [0, 3, ...
difference(){ union(){ translate([10,9,0]) cube ([18,18,28]); translate([0,0.1,0]) cube([12,3,28]); translate([0,3,0])cube([3,6,28]); translate([0,9,0])cube([22,3,28]); } translate([8,14,1]) cube([18,3.5,26]); translate([8,20,1]) cube([18,3.5,26]); translate([-5,3,4]) cube([10,6,20]); }
glb/cad_d782044efa1a.glb
Create a Diatone #23 frame LED bar by constructing a rectangular block 83mm long, 10mm wide, and 10mm high, centered on the origin. Carve a horizontal slot through the center of the block by removing a smaller rectangular volume 85mm long, 11mm wide, and 3mm high. To create the curved profile, integrate a large cylindr...
translate([0,-5,5]) { rotate([-90,0,0]) { intersection() { union() { difference() { cube(size=[83,10,10],center=true); cube(size=[85,11,3], center=true); }; translate([0,101,0]) { cylinder(h=5, r=105, center=true); } } cube(size=[83,10,10],center=t...
glb/cad_5d263dcb4dac.glb
Create a webcam bracket by constructing a central rectangular base and adding supporting arms. Start with a central plate measuring 20mm wide, 66mm long, and 4mm thick, centered on the origin. Add two perpendicular cross-plates: one measuring 20mm by 4mm by 8mm positioned at the top and bottom edges, and a third plate ...
t = 4; T = 2*t; t2 = t/2; angle=10; tolerance=1; union() { cube([20,58+T+2*tolerance,t], center=true); translate([0,29+t2+tolerance,5+tolerance]) cube([20,t,T], center=true); translate([0,-29-t2-tolerance,t+tolerance]) cube([20,t,T], center=true); translate([0,30+tolerance,T+tolerance]) cube([20,t+t2,t], center=tru...
glb/cad_912b4f015da1.glb
Create a filament holder part by constructing a solid body that blends a rectangular block with a cylindrical base. Start with a central rectangular prism measuring 16mm wide, 8.2mm deep, and 4mm high. Enclose this prism within a larger hull that extends to a cylinder centered below the block; this cylinder must have a...
metalX=12; metalY=4.2; metalZ=4; plasticC=2; bearingR=22.1/2; bearingH=7; precission=100; difference(){ hull(){ translate([0,0,0]) cube([metalX+2*plasticC,bearingH+plasticC,metalZ], center=true); translate([0,0,-bearingR-9.9]) rotate([90,0,0]) cylinder(r=bearingR+plasticC, h=bearingH+plasticC, center=true, $fn = pr...
glb/cad_b489840ccf54.glb
Create a Kepler's Star polyhedron by combining two identical tetrahedrons. First, construct a single tetrahedron by defining four vertices: one at the apex (0, 0, 17.32mm) and three at the base forming an equilateral triangle with a side length of 30mm, centered on the XY plane. The base vertices should be positioned a...
lado=30; hc=lado*cos(30); Ht=lado*pow(6,1/2)/3; Radio=0.1; $fn=64; p1=[0,hc*2/3,0]; p2=[lado/2,-hc/3,0]; p3=[-lado/2,-hc/3,0]; p4=[0,0,Ht]; module tetraedro(){ translate([0,0,-Ht/4]) hull(){ translate(p1) sphere(Radio); translate(p2) sphere(Radio); translate(p3) sphere(Radio); translate(p4) sphere(Radio); }} tet...
glb/cad_b6673df882d6.glb
Create a 3D model of the Flower of Life geometry by intersecting two identical tetrahedral clusters of spheres. First, construct a single cluster consisting of four spheres, each with a radius of 30mm. Position the centers of these spheres at the vertices of a regular tetrahedron with an edge length of 30mm. To center ...
lado=30; hc=lado*cos(30); Ht=lado*pow(6,1/2)/3; Radio=lado; $fn=64; p1=[0,hc*2/3,0]; p2=[lado/2,-hc/3,0]; p3=[-lado/2,-hc/3,0]; p4=[0,0,Ht]; module tetraedro(){ translate([0,0,-Ht/4]){ translate(p1) sphere(Radio); translate(p2) sphere(Radio); translate(p3) sphere(Radio); translate(p4) sphere(Radio); }} module f...
glb/cad_bda548b37d85.glb
Create an additional helmet belt loop by constructing a hollow rectangular sleeve. Start with a solid rectangular block measuring 25mm in length, 7mm in width, and 8mm in height. From the center of this block, remove a smaller rectangular section measuring 22mm in length, 4mm in width, and 10mm in height to create an o...
difference(){ cube([22+3,4+3,8], center=true); cube([22,4,10],center=true); }
glb/cad_bea2bece2ce2.glb
Create a parametric belt buckle with a thickness of 2mm. The main body is a rounded rectangle with a total height of 26mm (calculated as the belt width of 20mm plus two 3mm bars) and a total width of 15mm (calculated as four 3mm bars plus a 3mm middle section). The corners of this main body must have a radius of 3mm. ...
module roundedRect(width, height, radius, circleScale = 1) { difference() { square([width, height]); translate([width, height,0]) inverseRoundedCorner(radius, circleScale); translate([0, height,0]) rotate(90) inverseRoundedCorner(radius, circleScale); rotate(180) inverseRoundedCorner(radius, circleScale); ...
glb/cad_83aa4642ed77.glb
Create an L-shaped bracket consisting of two intersecting rectangular plates. The first plate is a vertical slab 3mm thick, 40mm wide, and 30mm high. The second plate is identical in dimensions but oriented horizontally, extending 40mm from the first plate's face to form a right angle. In the first vertical plate, cr...
thickness=3; width=40; height=30; hole_dia=4; union() { difference(){ cube([thickness, width, height]); translate([-0.05, width * 0.6, height * 0.5]){ rotate([0,90,0]){ color("red") cylinder(h=thickness+0.1, r1=0.5*hole_dia, r2=hole_dia*0.8, $fn = 40); } } } difference(){ cube([width, thickness, he...
glb/cad_a488f83bbc41.glb
Create a mounting bracket system for a webcam consisting of two primary components. First, create a rectangular block measuring 11mm wide, 40mm long, and 11mm high. Drill a 5mm diameter hole completely through the center of the block along its 40mm length, and drill a 2.8mm diameter hole through the 11mm width at one e...
$fn=90; width=7; height=7; lampWidth=11; smallScrew=2.8; largeScrew=3.8; mThreeHead=6; lampScrew=5; translate([40,0,0]) difference() { cube([lampWidth, 40, lampWidth]); rotate([90,0,0]) translate([lampWidth/2, lampWidth/2,-5]) cylinder(r=smallScrew/2, h=10+1, center=true); rotate([0, 90, 0]) tr...
glb/cad_363ff5d98ce4.glb
Create an M12 lens mount consisting of a square base and a threaded cylindrical tower. Start with a square base 13mm wide, 13mm long, and 4mm high. Hollow out the center of this base with a smaller square cavity, leaving a wall thickness of 2.5mm. Extend the base along the x-axis by adding two small cylinders with a ...
include <lib/polyScrewThread_r1.scad> include <MCAD/units.scad> base_size = 13; base_height = 4; base_cavity_margin = 2.5; thread_diameter = 12.5; thread_margin = 2; thread_pitch = 0.5; mount_height = 13; hole_distance = 18; hole_diameter = 2; hole_style = 1; enable_thread = true; enable_base = true; enable_mount =...
glb/cad_7dea4a89d8ab.glb
Create a Bees Wax Honeycomb Roller consisting of a central cylinder with a total height of 40mm and a diameter of approximately 15.6mm. The surface of this cylinder is covered in a repeating pattern of hexagonal cells. Arrange 20 hexagonal cells around the circumference of the cylinder. Each cell should have a flat-t...
h=40; n=20; dw=4.9; h1=2; w=0.5; an=30; ds=(dw-w)/sin(360/6); dc=((n*dw)/(2*PI))*2; dh=dw*sin(360/6); module st() { difference() { translate([dc/2, 0,0]) rotate([0,90,0]) cylinder(h1*2, ds/2, ds/2, $fn=6, true); for (r1=[0:2]) translate([dc/2+h1, 0,0]) rotate([r1*120,0,0]) rotate([0,-an,0]) translate([0.01,-dw/2,0]) ...
glb/cad_a13baed739b9.glb
Create a Bees Wax Honeycomb Roller consisting of a central cylinder with a height of 40mm and a diameter of approximately 31.5mm. The core of the cylinder must be hollowed out by a square hole with a width and depth of 15mm running through the center. The exterior surface is covered in a repeating pattern of 20 hexago...
h=40; n=20; dw=4.9; h1=2; w=0.5; an=30; din=15; squ=true; $fn=64; ds=(dw-w)/sin(360/6); dc=((n*dw)/(2*PI))*2; dh=dw*sin(360/6); module st() { difference() { translate([dc/2, 0,0]) rotate([0,90,0]) cylinder(h1*2, ds/2, ds/2, $fn=6, true); for (r1=[0:2]) translate([dc/2+h1, 0,0]) rotate([r1*120,0,0]) rotate([0,-an,0])...
glb/cad_3335b30255bb.glb
Create a belt tensioner consisting of two main vertical sections connected by a base. Start by creating a base plate that is the convex hull of two cylinders: one with a radius of 4.5mm and another with a radius of 3mm positioned 9mm away along the x-axis, both with a height of 2.85mm. On the larger 4.5mm radius side...
$fn=18; base=2.85; offset=9; difference() { union() { hull() { cylinder(r=4.5,h=base); translate([offset,0,0]) cylinder(r=3,h=base); } translate([0,0,base]) cylinder(r=4.5,h=3.4); translate([offset,0,base]) cylinder(r=3,h=6.5); } translate([0,0,base+3.1]) cylinder(r=2.5,h=0.5); translate([0,0,base+3.2]...
glb/cad_8990c4453a38.glb
Create a belt tensioner consisting of a base and a vertical cylindrical tower. Start with a base formed by the convex hull of two cylinders: one with a radius of 4.5mm and another with a radius of 3mm positioned 9mm away along the x-axis, both with a height of 2.85mm. On top of the larger 4.5mm radius section, add a cy...
$fn=18; base=2.85; offset=9; difference() { union() { hull() { cylinder(r=4.5,h=base); translate([offset,0,0]) cylinder(r=3,h=base); } translate([0,0,base]) cylinder(r=4.5,h=3.4); translate([offset,0,base]) cylinder(r=3,h=6.5); } translate([0,0,base+3.1]) cylinder(r=2.5,h=0.5); translate([0,0,base+3.2]...
glb/cad_217dd87b1169.glb
Create a Lithophane Gallery consisting of two square image panes arranged side-by-side. Each pane should be 50mm square with a thin border of 1mm. The panes are joined together to form a single rectangular unit. At the top of the assembly, add two hanger loops, one centered above each pane. Each hanger is formed by a ...
use <write/Write.scad> image1 = "image-surface.dat"; image2 = "image-surface.dat"; image3 = "image-surface.dat"; image4 = "image-surface.dat"; image5 = "image-surface.dat"; image6 = "image-surface.dat"; image7 = "image-surface.dat"; image8 = "image-surface.dat"; Text_Lines = 0; Top_Text = "First Line"; Botto...
glb/cad_6f543debad93.glb
Create a Minecraft-style character model using a base scale of 5mm per pixel. Construct the head as an 8x8x8 pixel cube (40x40x40mm). Build the body as an 8x4x12 pixel block (40x20x60mm) centered below the head, with a cylindrical neck section of 5mm radius and 8mm height connecting the two. Create two legs, each a 4...
scale=5; module head() { difference() { cube(size = scale * 8, center=true); translate([0,0,scale*4])cylinder(r=scale*1,h=8, center=true,$fn=100); } } module leg_connector() { translate([scale*2,scale*1,0])cylinder(r=1.5,h=scale*2, center=true,$fn=100); translate([scale*2,scale*2,0])cylinder(r=1.5,h=scale*2, center=t...
glb/cad_7534a8b86984.glb
Create a stand for a 7-inch touch display by starting with a sphere of 75mm radius. Cut away the bottom half of the sphere and trim the sides with two vertical planes positioned 60mm apart to create a flat-bottomed base. Carve out two deep, parallel slots across the top of the dome to hold a 32mm thick monitor. Angle...
$fn=250; difference() { rotate([90, 0, 0]) difference() { difference() { sphere(75); translate([-75, -190, -75]) cube(200); } rotate(15) translate([36,5,-100]) cube([33,200,200]); rotate(15) translate([48,15,-100]) cube([33,200,200])...
glb/cad_77bb116b906e.glb
Create a 3D geometric star pattern called Estrella, consisting of two overlapping layered star figures. First, construct the base figure by arranging eight identical rectangular bars, each 40mm long, 2mm wide, and 4mm high. Position these bars so they rotate around a central point every 45 degrees. For each bar, add tw...
rotacionesA=8; largoA=40; altoA=4; rotacionesB=8; largoB=37; altoB=8; rotacionB=22.5; difference(){ for (i = [1:rotacionesA]){ rotate([0,0,i*(360/rotacionesA)]){ translate([0,5.5,0]) rotate([0,0,0]) cube([largoA,2,altoA]); translate([largoA-1.7,6.5,0]) rotate([0,0,-66]) cube([8,2,altoA]); ...
glb/cad_df026741b3ee.glb
Create a decorative Islamic-style star pattern consisting of a 3x1 grid of interlocking geometric stars. Each star unit is composed of two overlapping layers of 8-pointed stars. First, create the base star layer with a height of 1.5mm. This shape is formed by eight rectangular arms, each 33mm long and 2mm wide, radiat...
rotacionesA=8; largoA=66/2; altoA=1.5; rotacionesB=8; largoB=66/2; altoB=3; rotacionB=22.5; matrizA=3; matrizB=1; separacion=65; for (ii = [1:matrizA]){ translate([0,ii*separacion-separacion,0]){ for (ii = [1:matrizB]){ translate([ii*separacion-separacion,0,0]){ difference(){ for (i = [1:rotacionesA...
glb/cad_edf9f59f50c0.glb
Create a Parametric Dowel Rod Holder consisting of a rectangular base and a protruding U-shaped cradle. Start by creating a rectangular base plate with a width of 23mm, a length of 43mm, and a thickness of 5mm. On top of this base, centered along the width and positioned toward one end, construct a U-shaped support t...
rod_diameter = 10; holder_protrusion = 20; b_height = 30; p_width = 5; r_dia = rod_diameter + 3; b_width = r_dia + p_width * 2; module rounded_rectangle(dia){ union() { translate ([b_width / 2,r_dia / 2 + p_width + b_height,0]){ cylinder (h = holder_protrusion, r = dia/2, $fn = 100); translate ([0 - d...
glb/cad_57233ee27db5.glb
Create a cover by forming a hull between a cylinder with a diameter of 18mm and a height of 1mm, and a sphere with a diameter of 10mm that is scaled to 75% on the Z-axis and positioned at a height of 13mm. From this combined shape, remove a central vertical hole with a diameter of 5.75mm and a height of 13mm, using a 2...
M5=5.75; $fn=48; Ht=12; module DrawCover() { difference() { hull() { cylinder(d=18,h=1); translate([0,0,Ht+1]) scale([1,1,.75]) sphere(d=10); } translate([0,0,-1]) cylinder(d=M5,h=Ht+1,$fn=24); translate([0,0,Ht-.01]...
glb/cad_cf5b1f9b9a42.glb
Create a SphereBot component by constructing a hollow cylinder. Start with a solid outer cylinder that has a radius of 6mm and a height of 12mm. Then, remove a concentric inner cylindrical core with a radius of 4mm and a height of 14mm, positioned so that it starts 1mm below the base of the outer cylinder and extends t...
$fn=50; difference(){ union(){ cylinder(r=6, h=12); } translate([0,0,-1]) cylinder(r=4, h=14); }
glb/cad_4789bfb18ebf.glb
Create a SphereBot base by constructing two stacked cylinders. First, create a wide base cylinder with a radius of 9mm and a height of 3mm. Centered on top of this base, add a second, narrower cylinder with a radius of 6mm and a height of 6mm. Finally, bore a vertical hole through the center of the entire assembly by r...
$fn=50; difference(){ union(){ cylinder(r=9, h=3); cylinder(r=6, h=6); } translate([0,0,-1]) cylinder(r=4, h=8); }
glb/cad_ced49d9cc0fd.glb
Create a SphereBot base by constructing a main body that is 90mm long, 10mm wide, and 10mm high. The main body consists of a central rectangular block with a rounded, semi-circular end measuring 8mm in radius. Cut a continuous longitudinal slot through the center of the body along its length. This slot is 4mm wide an...
$fn=50; difference() { union(){ translate([42,0,0]) hull(){ cylinder(r=8,h=5); translate([-84,0,0]) cylinder(r=8,h=5); } translate([-50,-8-5,0]) cube([10,5,10]); translate([-50,8,0]) cube([10,5,10]); translate([-50,-8-5,0]) cube([10,5+5+16,5]); translate([-45,8+5/2,10]) rotate([90,0,0]) ...
glb/cad_025792344e89.glb
Create a SphereBot base by starting with a central vertical cylinder that has a radius of 6mm and a height of 12mm. Extend this shape into a flat base by creating a hull between two cylinders, each with a radius of 10mm and a height of 4mm, positioned 30mm apart along the x-axis. From this combined solid, remove a cent...
$fn=50; difference() { union(){ translate([15,0,0]) hull(){ cylinder(r=10,h=4); translate([-30,0,0]) cylinder(r=10,h=4); } cylinder(r=6,h=12); } translate([+15,0,2]) cylinder(r=3.5,h=4,$fn=6); translate([+15,0,-2]) cylinder(r=2,h=8); translate([-15,0,2]) cylinder(r=3.5,h=4,$fn=6); translate([...
glb/cad_55a2c5f71738.glb
Create a SphereBot base plate. Start with a rounded square slab measuring 100mm by 100mm with a height of 8mm and corner radii of 8mm. Hollow out the center of this slab by removing a smaller rounded square of 80mm by 80mm with the same 8mm corner radii, leaving a perimeter wall. Cut a central circular hole with a rad...
$fn=50; bok = 100; zaok = 8; difference() { union(){ difference() { draw_round_cube(bok,bok,zaok,5); draw_round_cube(bok-20,bok-20,zaok,7); } for (points =[ [+(bok/2-zaok),+(bok/2-zaok),8], [-(bok/2-zaok),+(bok/2-zaok),8], [+(bok/2-zaok),-(bok/2-zaok),8], [-(bok/2-zaok),-(bok/2-zaok),8] ...
glb/cad_c629cb2fdcff.glb
Create a SphereBot component by constructing a solid vertical cylinder with a radius of 6mm and a height of 30mm. Bore a concentric hole through the center of this cylinder using a smaller cylinder with a radius of 3mm and a height of 40mm, positioned so that it starts 2mm below the base of the main body to ensure a cl...
$fn=50; difference() { union(){ cylinder(r=6,h=30); } translate([0,0,-2]) cylinder(r=3,h=40); }
glb/cad_78577aca2ef5.glb