Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Pepperpot Olsson wrench and nozzle holder. The main body is a tapered cylindrical vessel with a flat base. The base starts with a diameter of 45mm, tapering slightly to 42mm over a height of 1.5mm, then continuing as a conical section tapering from 42mm down to 26mm over a height of 27.5mm. A central vertical ...
include <../ISOThreadUM2.scad> x1 = 29.5; x2 = 28; z1 = 32+1; z3 = 37; lower = 1.60; mezzo = 12.7; upper = 12.7+11.1+3; difference() { union() { cylinder(d1=45, d2=43, h=1.5); translate([0,0,1.5]) cylinder(d1=43,d2=42.25,h=0.3); cylinder(d1=42.0,d2=26,h=27.50+11.1); cylinder(d=2...
glb/cad_04fd0ca8040d.glb
Create a Stretch Wrap Dispenser consisting of a central stick held within a cylindrical body. Start by creating a main body as a cylinder 40mm high with a diameter of 37.5mm. Remove a central vertical hole from this body using a cylinder with a 22mm diameter and a height of 100mm, and further hollow out the center by r...
bodyHeight=40; bodyWidth=37.5; stickHeight=100; stickWidth=20; stickLocker=24; grabHeight=40; grabWidth=20; grabOffset=4; module body(){ offset = 2; difference(){ cylinder(h=bodyHeight,d=bodyWidth); cylinder(h=stickHeight,d=stickWidth+offset); sphere(d=stickLocker+offset); trans...
glb/cad_e692e7dc3ac8.glb
Create a Stretch Wrap Dispenser consisting of two concentric cylindrical shells. First, construct the outer body as a cylinder 40mm high with a diameter of 50mm. Hollow out this body by removing a central cylinder 40mm high with a diameter of 42mm, and further carve out two spherical voids, each 46mm in diameter; posit...
bodyHeight=40; bodyWidth=50; grabHeight=40; grabWidth=40; grabLocker=44; grabOffset=4; module body(){ offset = 2; difference(){ cylinder(h=bodyHeight,d=bodyWidth); cylinder(h=grabHeight,d=grabWidth+offset); sphere(d=grabLocker+offset); translate([0,0,bodyHeight]) sphere(d=grabLo...
glb/cad_e9e043d5c58c.glb
Create a protective travel case for an Oral-B Pro 400 toothbrush. Start by constructing the main body as a hollow shell with a height of 70mm. The outer shape of this body is formed by the convex hull of two cylinders, each 27mm in diameter, positioned 5mm apart along the Y-axis. Create a hollow interior by removing a ...
headHeight = 5; bodyHeight = 70; module proBody(){ difference(){ hull(){ cylinder(h=bodyHeight,d=27); mirror([0,1,0]) translate([0,-5,0]) cylinder(h=bodyHeight,d=27); } hull(){ cylinder(h=bodyHeight,d=24); mirror([0,1,0]) translate([0,-5,0]) c...
glb/cad_45cf01535fed.glb
Create a Gel tank foot designed as a threaded rod. Start by creating a central cylinder with a diameter of 8mm and a total height of 20mm. To create the threading, carve a helical groove into the surface of the cylinder. The groove should follow a trapezoidal profile with a pitch of 1.5mm. The thread geometry is defi...
function flatten(l) = [ for (a = l) for (b = a) b ]; function mapfuncConstantX(shape, pathPoint) = [ for(i = [0 : (len(shape) - 1)]) [0, shape[i][0], shape[i][1]] + pathPoint ]; function mapfuncConstantY(shape, pathPoint) = [ for(i = [0 : (len(shape) - 1)]) [shape[i][1], 0, shape[i][0]] + pathPoin...
glb/cad_7d41884d53a9.glb
Create a gel tank foot consisting of a threaded rod mounted on a wide, notched base. Start by creating a central vertical cylinder with a diameter of 13.2mm and a height of 5mm. At the top of this cylinder, construct a threaded bolt section with a major diameter of 9.525mm and a pitch of 1.5875mm, extending the total h...
use <path_extrude.scad>; xw=0.4; il=24; fl=30; cr=2; fh=7; ww=1; mXlength=25+fh+xw; mXD=9.5250; bD=14; mXP=1.5875; mXDmin=mXD - 5*sqrt(3)/8*mXP; mXDp=mXD - 3*sqrt(3)/8*mXP; mXH=sqrt(3)/2 * mXP; mXR=mXH/(mXP/2); mXppr=24; mXloops=mXlength/mXP; mXtid=mXD-mXP; type="bolt"; mXmyPoints = [[-mXH*1/4-xw,-mXP/2+0.01], [-mXH...
glb/cad_bb9debed6f71.glb
Create a Parameterized Living Hinge Box designed to be printed flat and folded into a rectangular container. The main body consists of a continuous flat strip of material with a thickness of 2mm. Construct the walls by creating four rectangular panels connected by thin, flexible living hinges. The panels should have ...
inner_width=15; inner_length=28; inner_height=70; thickness = 2; cover_thickness = 1; skin = 0.4; cover_overlap=2; length = inner_length+thickness*2; width = inner_width+thickness*2; height = inner_height+cover_overlap; overall_length = length*2+width*2+skin/2*3; module wedge(_length) { rotate([90,0,0]) line...
glb/cad_f540d04eb0f4.glb
Create a Universal Hook with a total height of 25mm and a material thickness of 3mm. Start by creating a base support structure that wraps around a rod of 30mm diameter. This support should be a cylinder with an outer diameter of 36mm and a height of 25mm, with a 30mm diameter hole removed from the center. To create th...
velikost = 90; vyska = 25; tyc = 30; material = 3; zaobleni = 5; hacek = 60; hacek_spodek = 20; hacek_uhel = 25; hacek_p = 0; klinek = 15; tisk = "k"; $fn=95; module hacek_kulaty(){ difference(){ ...
glb/cad_e6dc5467a6bf.glb
Create a 3D model of a robotic teapot lid component. Start by creating a base that is an elliptical cylinder with a height of 5mm, a radius of 8mm along the X and Z axes, and a radius of 4mm along the Y axis. Position this base so that it is centered on the X and Z axes and extends from -0.2mm to 4.8mm along the Y axis...
$fn = 32; union() { translate([0, -0.2, -2]) cylinder(h = 7, r = 3.25); scale([1, 0.5, 1]) translate([0, -0.2, -5.5]) cylinder(h = 5, r = 8); }
glb/cad_fb38d3899c68.glb
Create a circular robot platform with a radius of 30mm. The main body consists of a base cylinder 2mm thick and a secondary concentric ring 3mm thick with a radius of 27.75mm, extending 20mm in height. A central rectangular slot measuring 32mm by 25mm by 2mm is removed from the center of the structure. On opposite sid...
$fn = 90; servo_height = 19 + 0.5; servo_width = 20; servo_depth = 9; servo_side = 6; leg_distance = 17.5; body_radius = 30; body_border = 2; difference() { union() { translate([0, 0, -5]) difference() { cylinder(r = body_radius, h = 2); cube([32, leg_distance*2+10, 20], cente...
glb/cad_1e1f4be1e148.glb
Create a servo bracket for a robot leg. Start with a main rounded rectangular block measuring 25mm in length, 15mm in depth, and 26.5mm in height, with a corner radius of 3mm. Hollow out the center of this block to create a shell, leaving a wall thickness of 3mm. From the center of the block, remove a smaller rectang...
servo_height = 19 + 0.5; servo_width = 20 + 0.5; servo_depth = 9 + 0.5; servo_side = 6; border = 3; $fn = 32; union() { difference() { rcube([servo_height, servo_depth, servo_width + servo_side] + [border*2+1, border*2, 2], border); translate([-0.5, 0, 2]) union() { cube([servo_he...
glb/cad_e29e26f263a9.glb
Create a robotic leg part with a total width of 36mm, a depth of 30mm, and a thickness of 5mm. Start with a base rectangular block centered at the origin, measuring 36mm wide, 30mm deep, and 5mm thick. On top of this base, add a central section consisting of a rectangular block 36mm wide, 15mm deep, and 10mm high, merg...
leg_width = 28; thickness = 5; $fn = 32; union() { difference() { union() { translate([0, 0, -thickness/2]) cube([leg_width+4*2, 30, thickness], center=true); translate([0, -7.5, 10/2]) union() { cube([leg_width+4*2, 15, 10], center=true); translate([...
glb/cad_52b1e2799647.glb
Create a robotic leg component. Start with a base rectangular block measuring 36mm wide, 30mm deep, and 5mm thick, centered on the X and Z axes. On top of this base, centered along the depth, add a second rectangular block measuring 36mm wide, 15mm deep, and 10mm thick, positioned 7.5mm forward from the center. Integra...
leg_width = 28; thickness = 5; $fn = 32; union() { difference() { union() { translate([0, 0, -thickness/2]) cube([leg_width+4*2, 30, thickness], center=true); translate([0, 7.5, 10/2]) union() { cube([leg_width+4*2, 15, 10], center=true); translate([0...
glb/cad_1e989ebfe034.glb
Create a "Crazy Squint Eye Rolling Smiley Coaster" as a circular plate with a diameter of 100mm and a height of 2.5mm. The top and bottom edges of the plate should be slightly chamfered by 0.6mm. On the face of the coaster, engrave a wide, grinning smile. The smile is formed by a curved cutout with a diameter of 80mm ...
smiley_type="grin"; head_d=100; plate_h=2.5; engrave_h = 0.64; socket_clearance = 0.45; backside_grip = true; render_type="uncolored"; render_part = "all"; show_cut = true; $fn = $preview ? 50 : 100; difference() { main(head_d=head_d, plate_h=plate_h, render_type=render_type, render_part = render_part); i...
glb/cad_fe3a53992a6c.glb
Create a "Crazy Squint Eye Rolling Smiley Coaster" by starting with a main circular head that is 100mm in diameter and 2.5mm thick. The head should have a slight chamfer on the top and bottom edges. On the top surface, engrave a neutral mouth expression. This is created by removing a rectangular section from the cente...
smiley_type="neutral"; head_d=100; plate_h=2.5; engrave_h = 0.64; socket_clearance = 0.45; backside_grip = true; render_type="uncolored"; render_part = "all"; show_cut = false; $fn = $preview ? 50 : 100; difference() { main(head_d=head_d, plate_h=plate_h, render_type=render_type, render_part = render_part);...
glb/cad_2405e1e9e56d.glb
Create a hexagonal brush cup with a total height of 85mm. The main body is a regular hexagon with a diameter of 100mm and rounded corners with a radius of 8mm. The walls of the cup are 2mm thick. The interior of the cup is hollow, starting from a base thickness of 2mm up to the top rim. The bottom interior floor is fi...
velikost = 100; vyska = 85; material = 2; zaobleni = 8; plastev_material = 1.2; plastev_velikost = 18; plastev_posun_x = 4; plastev_posun_y = 0.5; $fn=48; module hexagone(l) { circle(d=l, $fn=6); } module honeycomb(x, y, dia, wall) { smallDia = dia * cos(30); ...
glb/cad_0696b9cd06e7.glb
Create a Wifi Prusa Light Bar controller box consisting of a main body and a lid. Construct the main body as a rectangular shell with outer dimensions of 47.08mm in length, 27mm in width, and 33.34mm in height. Use a wall thickness of 1.75mm. Hollow out the center to create the inner cavity. On one side, create a doo...
friction_fit = 0.02; body_x = 47.08; body_y = 27; body_z = 33.34; screw_holder_y = 6.6; screw_holder_x = 6; hinge_y = 5; wall_thickness = 1.75; main_body(); translate([body_x+wall_thickness,0,body_z+wall_thickness-0.1]) rotate([0,180,0]) lid(); module main_body() { difference() { translate([0,0,b...
glb/cad_5cdeb74dc8bd.glb
Create a Wifi Prusa Light Bar consisting of two symmetrical mirrored sections. Each section begins with a rectangular base measuring 165.1mm in length, 9.525mm in width, and 3.5mm in height. On one section, integrate a dovetail rail along the top edge. On the opposite section, create a corresponding dovetail block to ...
include <hingebox_code.scad> friction_fit = 0.02; sliding_fit = 0.2; print_layer_thickness = 0.2; bar_x = 13 * 25.4; bar_y = 3/8 * 25.4; bar_z = 3.5; dtlen = bar_z; dt_CLEAR = sliding_fit*2; dtspec = [ 6, bar_y-4, (bar_y-4)/2, 3, dtlen*0.85 ]; bthick = 1.8; btlen = 4; dtblock = [dtlen, dtspec[1]+(bthick*2)+(dt_...
glb/cad_a3b37aee2c38.glb
Create a rectangular electronics enclosure and a matching lid. For the main enclosure body, create a solid block 60.5mm wide, 120.5mm deep, and 30mm high. Round the four vertical corners with a 5mm radius. Hollow out the center of the block to create a cavity, leaving a wall thickness of 2mm on all sides and the bottom...
$fn = 128; $fa = 0.5; $fs = 0.5; enclosureWidth = 60.5; enclosureDepth = 120.5; enclosureHeight = 30; enclosureCornerRadius = 5; enclosureWallThickness = 2; holeFillAsPercentage = 70; lidBaseHeight = 4; screwHoleLowerRadius = 3; BUILD_OBJECT_INDEX = 1; if (BUILD_OBJECT_INDEX == 1) { GenerateCompleteEnclosure(encl...
glb/cad_f98231085fd0.glb
Create an angled coaster holder consisting of a base and a supporting cradle. First, construct the cradle as a U-shaped channel. The bottom of the cradle is a rounded square plate with a thickness of 3mm and a side length of 105mm. Add two vertical walls, each 20mm high and 5mm thick, rising from the sides to hold th...
cutouts = true; module __Customizer_Limit__ () {} production = 1; pnghq = 0; $fn = (production && !$preview) ? 150 : (pnghq ? 150 : 25); if (production && !$preview) { echo("Producing PRODUCTION quality"); echo("Resolution",$fn); } else { echo("Producing DRAFT quality"); echo("Resolution",$fn); } include...
glb/cad_3ce4454f6ad0.glb
Create a fridge handle consisting of a main horizontal grip and two mounting feet. The main grip is a rounded rectangular bar with a total length of 196mm (170mm between mounting centers plus 26mm width), a thickness of 18mm, and a width of 26mm. The long edges of the grip should have a radius of 2.5mm. At each end of...
$fn=80; griff_breite=26; griff_rundung=2.5; loch_zu_loch=170; hand_buffer=27; griff_dicke=18; schraube_r=2.2; schraubenkopf_r=5.2; schraube_dicke=10; fuss_radius=griff_breite/2; total_lang=loch_zu_loch+griff_breite; total_hoch=griff_dicke+hand_buffer; griff_final(); translate([50,50,0]) schraube_abdeckung(); ...
glb/cad_2d5b04ce8171.glb
Create an ASG M11 Silencer and Handgrip assembly consisting of two main cylindrical body parts and a detachable handle. First, create the lower body as a cylinder with a diameter of 50mm and a height of 70mm. Bore a central hole 13mm in diameter through the center. At the bottom, create a metric thread with a diameter...
include <threads.scad> th_dia = 16.5; th_pitch = 1.5; thread_test_wall = 8.0; thread_test_dia_bot = 20.0; thread_test_dia_top = 25.0; thick_dia = 50; thick_height = 70; small_hole = 13; bottom_hole = 21; thread_off = 8; thread_len = 10; inside_dia = thick_dia - 8; small_to_big_h = 5; big_to_small_h = 5; big_h = 12; ...
glb/cad_527bcc043d6f.glb
Create an ASG M11 Stand consisting of a flat base with integrated holders for a firearm and two magazines. Start with a rectangular base measuring 142mm wide, 90mm deep, and 4mm high, with rounded top corners of 1mm radius. On top of this base, add a vertical support tower measuring 31.6mm wide, 21.4mm deep, and 50mm...
include <roundedcube.scad> base_width = 142; base_depth = 90; base_height = 4; mag_width = 32.4; mag_depth = 22.2; mag_add_hole = 0.8; mag_sub_tower = 0.8; tower_height = 50; hole_height = 50; hole_wall = 5; holder_width = 20; holder_depth = 20; holder_height = 80.7; hole_width = mag_width + mag_add_hole + 0.5; h...
glb/cad_7f8af6f399b0.glb
Create an ASG M11 Picatinny Rail adapter. The model consists of a central rail section and a clamping body. First, construct the Picatinny rail. The rail profile is a repeating geometric pattern with a center-to-center distance of 10.0076mm between gaps and a gap width of 5.334mm. The total length of the rail section ...
do_dovetail_adapter = false; do_mac10_adapter = true; rail_sections = 5; sm_len = (10.0076 * rail_sections) + 5.0 - 0.5; echo("rail_sections", rail_sections); echo("sm_len", sm_len); module proper_rail() { translate([0, 0, sm_len / 2]) difference() { rail(rail_sections); translate([-15, -20, ...
glb/cad_cabf1cc40940.glb
Create a House Coaster by constructing a house-shaped base with a total height of 3.6mm and a width of 120mm. The main body is formed by a hull of circles with 4mm radii, creating a rounded pentagon shape that resembles a simple house silhouette. The base consists of a solid slab 3mm thick, topped with a thin rim that ...
$fn=200; width = 120; disk_height = 3; bevel_height = 1; rim_height = .15*4; rim_thickness = 4; font = "Harlow Solid Italic:style=Italic"; font_size = 14; text = "Est. 2019"; color("white"){ difference(){ home(disk_height+ rim_height, width); translate([0,0,disk_height +.01]){ home(rim_height, widt...
glb/cad_03b1898e165f.glb
Create an M6 knob for a music stand. Start by constructing a cylindrical base with a diameter of 10.5mm and a height of 10mm. At the bottom of this base, create a hexagonal recessed socket designed to fit an M6 nut; the socket should have a width across the flats of 5.42mm and a depth of 2.5mm. On top of the base, bui...
part = "cylindrical"; nut_width = 5.42; nut_thickness = 2.5; height=10; knurled_height=50; echo("nut_diameter",nut_diameter); diameter_1=150; function get_diameter_1()=hex_nut_diameter*diameter_1/100; diameter_2=125; function get_diameter_2()=get_diameter_1()*diameter_2/100; screw_hole_diameter = 55; function ge...
glb/cad_4d261c804126.glb
Create a mirrored PSU cover for a 24V 360W power supply. Start with a main body that is 116mm wide, 65mm deep (50mm plus a 15mm extension), and 54.25mm high. Add two back pillars, each 13.5mm wide and 5mm thick, positioned at x=23.5 and x=71.5. Extend the right side of the enclosure with a block 6mm wide, 70mm deep, an...
module left_shelf_cutout(){ translate([101+2,50-16.4-17.6+15+0.9-2.5,2])cube([10,100,50-0.7]); translate([101+2,10,2])rotate([0,0,45]) cube([10*sqrt(2),10*sqrt(2),50-0.7]); translate([101+2,2,2]) cube([10,18,50-0.7]); } module right_shelf_cutout(){ translate([-1.4, 50-16.4-17.6+15+0.9-2.5,2])cube([...
glb/cad_084af4978f41.glb
Create a mirrored PSU cover consisting of two primary joined components. First, create a connector block for a 20mm aluminum extrusion with a length of 20mm and a thickness of 6mm. This block should feature a central cutout and two circular holes with a diameter of 5.5mm, spaced 10mm apart, to accommodate mounting hard...
include <../libs/hardware-recess.scad>; $fn=30; module make_connector(thick, part_len){ alu_2020_w = 20; difference(){ alu_connector(part_len, thick); translate([alu_2020_w/2, part_len/2, 0]){ hole_w_end(thick+2, 2, "round", 5, flip=true); hull() { cylind...
glb/cad_28788305e4aa.glb
Create a Lens Cap Holder consisting of a buckle and two circular mounts. First, construct the buckle: create a centered ring with an outer diameter of 63mm and an inner diameter of 55mm, with a thickness of 3mm. Modify this ring by intersecting it with a rectangle 44mm wide and 44mm tall to create squared ends, and c...
number_holder = 2; lens_diameter_small = 49; lens_diameter_medium = 52; lens_diameter_big = 58; buckle_width = 38; buckle_gap = 6; mount_height = 1.0; mount_width = 4; mount_base = 3; mount_lip_height = 0.2; mount_lip_width = 0.37; mount_lip_spacing = 0.8; mount_lip_count = 3; buckle_thickness = 6; buckle_split ...
glb/cad_9f7a0a02b966.glb
Create a square novelty coaster by starting with a base plate measuring 100mm by 100mm with a thickness of 5mm. Centered on top of this base, create a recessed square inset measuring 90mm by 90mm with a depth of 6mm. Inside this recessed area, add three lines of extruded text, each with a height of 3mm. The first line ...
module base() { union() { color("gray") translate([0,0,2.5]) cube([100,100,5], center = true); } } module inset() { union() { color("yellow") translate([0,0,5]) cube([90,90,6], center = true); } } module top_text(x,y,z,t) { union() { translate([x,y,z]) color("green") linear_extrude(height ...
glb/cad_3eeda0fe3e6b.glb
Create a novelty coaster by starting with a centered base cube measuring 100mm by 100mm with a height of 5mm. Carve a square inset into the top of this base, measuring 90mm by 90mm with a depth of 6mm, leaving a raised border around the edges. Within this recessed area, add extruded text with a height of 3mm and a font...
module base() { union() { color("gray") translate([0,0,2.5]) cube([100,100,5], center = true); } } module inset() { union() { color("yellow") translate([0,0,5]) cube([90,90,6], center = true); } } module top_text(x,y,z,t) { union() { translate([x,y,z]) color("green") linear_extrude(height ...
glb/cad_5fce384430fe.glb
Create a novelty coaster by starting with a square base measuring 100mm by 100mm with a thickness of 5mm. Carve a square inset into the top of this base that is 90mm by 90mm and 6mm deep, leaving a raised border around the edge. Within this recessed area, add extruded text with a height of 3mm and a font size of 13mm. ...
module base() { union() { color("gray") translate([0,0,2.5]) cube([100,100,5], center = true); } } module inset() { union() { color("yellow") translate([0,0,5]) cube([90,90,6], center = true); } } module top_text(x,y,z,t) { union() { translate([x,y,z]) color("green") linear_extrude(height ...
glb/cad_57ef8fc8b3cc.glb
Create a novelty coaster by starting with a square base measuring 100mm by 100mm with a thickness of 5mm. Carve a square inset into the top of this base that is 90mm by 90mm and 6mm deep, leaving a raised border around the edges. Within this recessed area, add extruded 3D text with a height of 3mm. The text should be a...
module base() { union() { color("gray") translate([0,0,2.5]) cube([100,100,5], center = true); } } module inset() { union() { color("yellow") translate([0,0,5]) cube([90,90,6], center = true); } } module top_text(x,y,z,t) { union() { translate([x,y,z]) color("green") linear_extrude(height ...
glb/cad_4a40911cf68a.glb
Create a bottle holder consisting of three main components: a mounting bracket, a top ring, and a bottom ring. First, create the mounting bracket. This is a vertical structure with a total height of 95mm and a width of 20mm. It features a central body with three rectangular stability blocks measuring 40mm by 5mm in w...
$fn=200; Beugel=1; Topring=1; Bottomring=1; if(Beugel) translate([0,5,0]) { difference() { union() { hull() { translate([0,0,0])rotate([0,90,0])cylinder(d=2,h=20); translate([0,0,95])rotate([0,90,0])cylinder(d=2,h=20); } translate([-10,-1,32])cube([40,5,35]); translate([-10,-1,88])cube([40,5,5...
glb/cad_563fe73529f1.glb
Create a wire hanger for electronic leads. Start by constructing a flat rectangular base plate 198mm wide, 60mm deep, and 3.6mm thick. The base is formed by the convex hull of four 8mm diameter cylinders placed at the corners of a 190mm by 60mm rectangle. Remove eight circular holes from this base, each 8mm in diamet...
$fn=100; Base=1; Clip=1; if(Base) { difference() { hull() { cylinder(d=8,h=3.6); translate([190,0,0])cylinder(d=8,h=3.6); translate([190,60,0])cylinder(d=8,h=3.6); translate([0,60,0])cylinder(d=8,h=3.6); } for(i=[1:8]) { translate([-4+i*22,34,-1]) cylinder(d=8,h=10); translate([-8+i*22,...
glb/cad_291f0ded3c1e.glb
Create a mounting bracket for stacking bins. Start by constructing a main rectangular base that is 160mm long, 25mm wide, and 10mm high. Position a vertical hole with a diameter of 5.2mm through the center of the base, located 17mm from the left edge and centered along the width. Attached to the left side of this bas...
$fn=100; Klem=1; Stok=1; if(Stok) translate([-6,40,0]) { difference() { cube([160,25,10]); translate([17,12.5,-1]) cylinder(d=5.2,h=20); } } if(Klem) { difference() { union() { cube([120,35,14]); hull() { translate([-6,0,0]) cube([6,35,7]); translate([-1,35,28]) rotate([90,0,0])cylinder(d=...
glb/cad_15ff02809372.glb
Create a Spherical IoT-lamp consisting of a hollow spherical top and a supportive base. For the top, create a sphere with a diameter of 75mm and a wall thickness of 1.5mm. At the bottom of this sphere, integrate a 16-sided polygonal cylinder with a diameter of 37.6mm and a height of 15mm that extends downwards. Remove ...
Top=true; Bottom=true; if(Top) color("silver") { difference() { union() { sphere(d=75,$fn=25); translate([0,0,-40]) cylinder(d=37.6,h=15,$fn=16); } translate([0,0,-1]) sphere(d=72,$fn=25); translate([0,0,-41]) cylinder(d=35,h=10,$fn=16); translate([0,0,-40]) cylinder(d=25,h=20,$fn=16); } } if(Bottom...
glb/cad_aede23569bb0.glb
Create an electric wire standard holder by first constructing a base shaped as a convex hull encompassing three vertical cylinders: one with a 6mm diameter and 12mm height positioned at coordinates (45, 0, 0), and two with 4mm diameters and 12mm heights positioned at (-35, -60, 0) and (-35, 60, 0). On the top surface o...
$fn=200; hull() { translate([45,0,0]) cylinder(d=6,h=12); translate([-35,-60,0]) cylinder(d=4,h=12); translate([-35,60,0]) cylinder(d=4,h=12); } translate([20,0,2]) cylinder(d1=15,d2=13,h=35);
glb/cad_5b8e76f0bec2.glb
Create a table lamp shade by constructing a hollow, tapered cylinder with a 24-sided polygonal cross-section. The outer shell should have a height of 130mm, tapering from a base diameter of 110mm to a top diameter of 95mm. Create a matching inner void that is 2.5mm offset from the bottom, tapering from a base diameter ...
difference() { cylinder(d1=110,d2=95,h=130,$fn=24); translate([0,0,2.5]) cylinder(d1=105,d2=90,h=130,$fn=24); translate([0,0,-1]) cylinder(d=35.3,h=10); }
glb/cad_4822184334a0.glb
Create a cylindrical storage box for glasses with an outer diameter of 85mm and a total height of 100mm. The outer wall should be a 20-sided prism. Hollow out the center to create a cavity with a diameter of 80mm and a depth of 97.5mm, leaving a base thickness of 2.5mm at the bottom. The top of the container should be ...
difference() { cylinder(d=85,h=100,$fn=20); translate([0,0,2.5])cylinder(d=80,h=100,$fn=200); } difference() { cylinder(d=85,h=8,$fn=200); translate([0,0,2.5])cylinder(d=80,h=8,$fn=137); }
glb/cad_8dc6bfb5cd19.glb
Create a monitor pen holder consisting of a row of ten identical hollow cylindrical tubes. Each tube must have an outer diameter of 17mm and an inner diameter of 15mm, creating a wall thickness of 1mm. The tubes should be 95mm tall and tilted at a 20-degree angle. Arrange the ten tubes in a straight line, spacing them ...
$fn=200; difference() { union() { for(i=[0:9]) translate([i*17,0,0]) C(); } translate([-15,-20,-7]) cube([200,40,15]); } translate([0,8,8]) cube([160,12,2]); translate([0,7.5,8]) cube([160,2,12]); module C() { rotate([0,20,0]) difference() { cylinder(d=17,h=95); translate([0,0,-2])cylinder(d=15,h=95); ...
glb/cad_41345d122041.glb
Create a tower signal lamp consisting of a base, a central housing, and a top cap. Start with a circular base 64mm in diameter at the bottom, tapering slightly to 62mm over a height of 11mm. Hollow out the center of this base with a 61mm diameter hole and add a rectangular cutout measuring 20mm by 11mm and 8mm high f...
ViewLighthouse=true; ViewTussenstuk=true; ViewTop=true; ViewBase=true; if(ViewLighthouse) { color("silver") { difference() { LightHouse(); translate([0,0,-1])cylinder(h=50,d=38,$fn=200); } difference() { translate([-19.5,-4,3.6]) cube([39,8,3]); translate([-2,0,3.5]) cylinder(d=1.8,h=10,$fn=90); ...
glb/cad_c460b4f96ebf.glb
Create a workout die by starting with a cube 60mm on each side. Modify the cube by intersecting it with a sphere of 46.15mm in diameter (60 divided by 1.3) to create a rounded, faceted shape. On each of the six faces, engrave text to a depth of 5mm. The text on each face should be centered and oriented to be read from ...
SIZE=60; TEXT=20; H=5; A=SIZE/2-H/2; difference() { intersection() { cube(SIZE,center=true); sphere(SIZE/1.3,center=true,$fn=20); } translate([0, 11,-A-H]) mirror([1,0,0]) linear_extrude(H) text("Jmp-",size=TEXT*0.7,font="Arial",halign="center",valign="center",$fn=16); translate([0, -11,-A-H]) mirror([1,...
glb/cad_2897c1073982.glb
Create a workout dice by starting with a cube 60mm on each side. Modify the cube into a rounded shape by intersecting it with a sphere of approximately 46mm in diameter, using a 20-facet resolution for the sphere. On each of the six faces of this resulting shape, engrave a number 5mm deep. Center the numbers on each fa...
SIZE=60; TEXT=40; H=5; A=SIZE/2-H/2; difference() { intersection() { cube(SIZE,center=true); sphere(SIZE/1.3,center=true,$fn=20); } translate([0, 0,-A-H]) mirror([1,0,0]) linear_extrude(H) text("5",size=TEXT,font="Arial",halign="center",valign="center",$fn=16); translate([-A, 0, 0]) rotate([90, 0, -90])...
glb/cad_2e5d8e74ef4f.glb
Create a retro game console base by constructing a rectangular block with dimensions 209mm in length, 9.45mm in width, and 23mm in height. Apply a rounding radius of 1mm to the top edges and corners along the Z-axis to soften the upper profile, while keeping the bottom edges sharp.
$fn=50; EXTRA_H=7; color("brown") roundedcube([209,9.45,16+EXTRA_H],radius=1,apply_to="zmax"); module roundedcube(size = [1, 1, 1], center = false, radius = 0.5, apply_to = "all") { size = (size[0] == undef) ? [size, size, size] : size; translate_min = radius; translate_xmax = size[0] - radius; translate_ymax...
glb/cad_3202e87f7938.glb
Create a retro game console housing by combining two main sections. Start with a bottom base that is a rounded cube measuring 34mm x 16mm x 12mm with a corner radius of 0.6mm. On top of this, center a taller rounded cube measuring 38mm x 20mm x 36mm, also with a 0.6mm corner radius, but only apply the rounding to the Z...
FN=20; difference() { union() { roundedcube([34,16,12],radius =0.6,$fn=FN); translate([-2,-2,10]) roundedcube([38,20,36],apply_to="z",radius =0.6,$fn=FN); } translate([1,1,2]) roundedcube([32,14,12]); translate([1,1,1]) translate([-2,-2,10]) roundedcube([36,18,36]); translate([8.5,1.5,-1]) skew([5,0,0,0,0,0...
glb/cad_e98757c89176.glb
Create a retro game console model consisting of two stacked rectangular components. The base is a rounded cube with dimensions of 35mm in width, 17mm in depth, and 10mm in height, featuring a corner radius of 0.5mm. Centered on top of this base, position a second, slightly larger rounded cube that serves as the top cov...
translate([-1.5,-1.5,-4]) roundedcube([38,20,4],apply_to="z",radius =0.6,$fn=50); roundedcube([35,17,10]); module skew(dims) { matrix = [ [ 1, dims[0]/45, dims[1]/45, 0 ], [ dims[2]/45, 1, dims[4]/45, 0 ], [ dims[5]/45, dims[3]/45, 1, 0 ], [ 0, 0, 0, 1 ] ]; multmatrix(matrix) children(); } module roundedcube(size...
glb/cad_7e71e3181ad3.glb
Create a retro game console base. Start by constructing a main body using a hull operation between a top rectangular slab measuring 178.5mm by 0.01mm by 2mm and a bottom rectangular slab measuring 202mm by 0.01mm by 2mm, both centered. The overall height of this base structure is approximately 34mm. From this main bod...
$fn=70; M = [ [ 1 , 0 , 0 , 0 ], [ 0 , 1 , 1.8, 0 ], [ 0 , 0 , 1 , 0 ], [ 0 , 0 , 0 , 1 ] ] ; M2 = [ [ 1 , 0 , 0.7 , 0 ], [ 0 , 1 , 0, 0 ], [ 0 , 0 , 1 , 0 ], [ 0 , 0 , 0 , 1 ] ] ; M3 = [ [ 1 , 0 , -0.7 , 0 ], [ 0 , 1 , 0, 0 ], ...
glb/cad_2ab7d81c38e0.glb
Create a retro game console housing. Start with a main body that is a rounded cube measuring 218mm wide, 144mm deep, and 30mm high, with a corner radius of 5mm applied only to the top edges. Hollow out the center of this body by removing a block starting 3mm from the side walls and 3mm from the bottom, leaving a base t...
$fn=90; EXTRA_H=10; difference() { union() { difference() { roundedcube([218,144,20+EXTRA_H],radius=5,apply_to="ymax"); translate([3,3,3]) cube([212,132,30+EXTRA_H]); } translate([0,0,-2]) difference() { translate([3,3,3]) cube([212,132,14+EXTRA_H]); translate([6,6,0]) cube([210-5,130-5,50+EXTRA...
glb/cad_7c84db5309cc.glb
Create a cat/dog carrier box door clip replacement consisting of a central vertical column and a rectangular lever. First, construct the vertical column by stacking four cylindrical sections. The bottom section is a frustum with a height of 160mm, tapering from a bottom radius of 229.5mm to a top radius of 275mm. Abo...
include <BOSL/constants.scad> use <BOSL/shapes.scad> use <BOSL/transforms.scad> use <BOSL/math.scad> include <BOSL/compat.scad> include <BOSL/constants.scad> explodedSeperation=0; part1Height = 3.2; part2Height = 1.1; part3Height = 7.4; part4Height = 2.5; part5Height = 0; part6Height = 7; sizeMultiplier =50; topfil...
glb/cad_579391832567.glb
Create a washer cable holder with a total width of 12mm, a total height of 20mm, and a total length of 25mm. The object is a block with a continuous, U-shaped grooved channel carved through its center to guide a cable. Start with a flat section 15mm long where the channel has a constant radius of 4mm. From this flat s...
total_width = 12; upper_groove_radius = (8 / 2); lower_groove_radius = (10 / 2); total_height = 20; total_length = 25; flat_length = 15; spin_transition_rate = 1; function lerp(start, end, bias) = (end * bias + start * (1 - bias)); module grooved_square_2d(radius) { difference() { square([total_width, to...
glb/cad_c2cddd62d97f.glb
Create a speaker shroud consisting of a flat rectangular base and two symmetrical side supports. Start with a base plate measuring 37mm deep by 225mm wide and 3mm thick. On each end of this base, construct a vertical wedge-shaped wall. Each wall should be 56mm high, with a thickness that tapers from 37mm at the bottom ...
wedge_top_width = 30; wedge_bottom_width = 20; wedge_height = 56; wedge_top_depth = 5; wedge_bottom_depth = 37; speaker_width = 165; base_height = 3; jut_thickness = 5.5; jut_height = 18; jut_length = 53; module wedge(mirror_cutout=false) { difference() { rotate([90, 0, 0]) linear_extrude(wedge_t...
glb/cad_5f818b338693.glb
Create a flat-pack mini arcade cabinet model. The object consists of a series of connected wall panels with a total width of 64mm and a thickness of 2mm. Each panel is joined by a living hinge, allowing the structure to be folded. Construct the walls as a continuous strip of polygons. The panels should follow a speci...
list = [[0,0],[63,90],[88,-80],[8.5,80],[14,70],[18,-50],[44,-90],[21,85],[19,90],[56,75],[161.5,0]]; list = [[0,0],[31.5,90],[44,-80],[4.25,80],[7,70],[9,-50],[22,-90],[10.5,85],[9.5,90],[28,75],[80.75,0]]; width = 64; thickness = 2; skinThickness = 0.4; tolerance = 0.2; hingeTolerance = 0.2; $fn = 100; function su...
glb/cad_5cb7eea0b975.glb
Create a simple funnel by revolving a specific cross-sectional profile around a central vertical axis. The profile is a thin shell with a constant wall thickness of 1mm. Starting from the bottom, the profile begins with a flat horizontal base of 11mm radius. It then curves upward and outward with a radius of 10mm to fo...
bowl = 80; bowl_r = 80; stem = 20; stem_r = 11; neck_r = 14; thickness = 1; curve_r = 10; $fa = 5; $fs = 0.1; eps = 0.01; module profile() { hull() { translate([stem_r, 0]) square([thickness, eps]); translate([neck_r + curve_r, stem]) ...
glb/cad_1f77dc8ba920.glb
Create a mini vise jaw replacement body with overall dimensions of 52mm width, 60mm depth, and 55mm height. Start with a solid block of these dimensions. From the front-left side, remove a large section using a polygon cut that starts at the origin and extends to 40mm along the X-axis and 15mm along the Y-axis, then ...
include <../libs/hardware.scad>; X=52; Y=60; Z=55; HOUSING_THICK=15; HOUSING_LIP_Y=8; HOUSING_LIP_X=4; HOUSING_LIP_Z_CUT = 5; HOUSING_LIP_W = 12; HOUSING_RAIL_CATCH=14; HOUSING_RAIL_Y=HOUSING_RAIL_CATCH + 4.5*2; HOUSING_RAIL_X = 4.4; HOUSING_RAIL_X_OFFSET = 7; M10_CUT_HOUSING_OFFSET = 4; M10_THREAD_D = 10.5; M10_NUT...
glb/cad_f18db63c3e8e.glb
Create a mobile phone stand with a total height of 120mm and a width of 80mm. The main structure consists of a back panel with a thickness of 4mm. This panel features a decorative honeycomb pattern of hexagonal cutouts, where each hexagon has a diameter of 11mm and a wall thickness of 2mm. The back panel is supported ...
velikost = 120; sirka = 80; hloubka = 15; material = 4; zaobleni = 5; ramecek = 5; ramecek_h = 1; plastev_material = 2; plastev = 11; $fn=95; module hexagone(l) { circle(d=l, $fn=6); } module honeycomb(x, y, dia, wall) { smallDia =...
glb/cad_d399823ac18e.glb
Create a mobile phone stand with a total height of 120mm and a width of 80mm. The main structure consists of a backrest and a supporting base, both with a material thickness of 4mm. The backrest is a rectangular plate with rounded corners of 5mm radius. Within the backrest, create a decorative honeycomb pattern of he...
velikost = 120; sirka = 80; hloubka = 15; material = 4; zaobleni = 5; ramecek = 5; ramecek_h = 1; plastev_material = 2; plastev = 11; plastev_posun_x = 5.5; plastev_posun_y = 6; $fn=95; module hexagone(l) { circle(d=l, $fn=6); } ...
glb/cad_9a990f2d0a25.glb
Create a wall planter by constructing a hollowed-out hemispherical shell with a flat back. Start with a low-resolution sphere of 150mm in diameter, using only 12 facets to give it a faceted, geometric appearance. Create the shell by removing a smaller concentric sphere of 144mm in diameter from the center, resulting in...
wallThickness = 3; maxSize = 180; difference() { base(); nailOpenning(); } difference() { halfSphere(); plantOpenning(); } module plantOpenningRound() { openingOff = 35; translate([0, openingOff, openingOff]) { sphere(d=70, $fn = 8); } } module base() { rotate([0, 0, 90]) { ...
glb/cad_01d38ec3a26f.glb
Create a Montibox wall holder for plastic organizers. The main body is a C-shaped bracket with a rear wall and two side arms. The rear wall is a block 19mm wide, 100mm long, and 10mm thick. Attached to this are two side arms, each 19mm wide and 4mm thick; one is positioned at the bottom (z=0) and one at the top (z=49),...
top_lock_enabled = true; bottom_lock_enabled = true; mirroring_vertical = false; mirroring_horizontal = false; enable_hole = true; inner_height = 45; thickness = 4; thickness_rear = 10; width = 19; length = 100; lock_length = 15; f_n = 30; module holder_main() { color("red") translate([-4,0,0]) cube([19,100,...
glb/cad_9826452a9b84.glb
Create a customizable coaster by starting with a hexagonal prism that has a diameter of 170mm, a thickness of 6mm, and rounded corners with a radius of 8mm. Carve a shallower hexagonal indent into the top face of the prism. This indent should have a diameter of 150mm, a depth of 3mm, and matching rounded corners with...
CoasterShape=6; CoasterDiameter=170; CoasterThickness=6; RoundedCorners=true; CornerRadius=8.0; Indent=true; IndentDiameter=150; IndentDepth=3; IndentRoundedCorners=true; IndentCornerRadius=8.0; Text1=true; Text1String="PRUSA3D"; Text1Size=12; Text1Depth=1; Text1Font="Comic Mono"; Text1VOffset=40.0; Tex...
glb/cad_b3bd3c728e2f.glb
Create a Clicker fidget toy consisting of a main body and a movable clicking mechanism. First, construct the main body. Create a base shape by combining several cylinders and hulls: a central cylinder with a 19mm diameter and 6mm height, flanked by smaller cylinders of 5mm diameter and 6mm height positioned at the si...
$fn = 60; { union() { translate([0,0,0]) color("orange") telo(); translate([0,0,0]) rotate([0,0,-16.5]) color("lightblue") klicka(); } union() { } } module klicka() { difference() { union() { translate([0,0,5]) rotate([0,0,0]) cylinder(d=3,h=10,center=true); hull() { translate([0,0,5]) r...
glb/cad_5955a4f6d498.glb
Create a fidget clicker consisting of a main body and a movable internal switch. First, construct the outer body as a rounded rectangular frame. The main chassis is formed by a combination of cylinders and hulls, with a central cavity. Create a large central void by removing a cylinder with a diameter of 3.8mm and he...
$fn = 60; { union() { translate([0,0,0]) color("orange") telo(); translate([0,0,0]) rotate([0,0,-16.5]) color("lightblue") klicka(); } union() { } } module klicka() { difference() { union() { translate([0,0,5]) rotate([0,0,0]) cylinder(d=3,h=10,center=true); hull() { translate([0,0,5]) r...
glb/cad_5a75ff3e08a4.glb
Create a battery cover for a Logitech Ergo M575 trackball. Start with a base plate 47.5mm wide, 24mm deep, and 1.8mm thick. The plate has rounded corners with a radius of 4.25mm. On the underside of the plate, centered 10mm from the edges, create two battery stays. Each stay is a rectangular wall 0.8mm thick and 3mm hi...
$fn = 100; cornerR = 4.25; arcR = 51.5; arcToBase = 27.25; coverPoints = [ [-23.75 , 0], [ 23.75 , 0], [ 23.75 , 24.0], [-23.75 , 22.0] ]; coverPointsREdge = [ [ (coverPoints[2][0] - sign(coverPoints[2][0]) * cornerR) + (sign(coverPoints[2][0]) * (cornerR * cos(52))), (coverPoint...
glb/cad_641a7af789e1.glb
Create a geo-parametric coaster set consisting of a base, a gridded cover, and a holder. For the base, create a circular disk with a diameter of 80mm and a height of 5mm. The base should have a floor thickness of 1.2mm and outer walls with a thickness of 1.27mm. For the cover, create a circular disk that fits inside...
$vpr=[90 - atan(sin(45)),0,45]*1; $vpd = 600 + 12; Object_type = 1; Shape_type = 1; Part_clearance = 0.15; Modifier_XY_scale = 1; Inner_modifier_XY_scale = 0; Sides = 180; Basic_size = 80; Measuring_type = 1; Width = 85; Depth = 55; Top_right_corner_style = 1; Top_right_corner_radius = 5; Top_left_corner_...
glb/cad_c6de01b95419.glb
Create a MiSTer Arcade Terminal stand by constructing a curved, wedge-like support base. Start with a 2D profile consisting of a rectangle 175mm high and 150mm wide. Extrude this profile along a circular path of 55 degrees to create a curved volume. If back support is enabled, remove a rectangular section from the re...
include <components.scad>; $fa = 10; viewing_angle = 55; stand_width = 150; stand_height = 175; offset_from_height = 0; back_support = true; power_cutoff = true; difference() { rotate([90,0,90]) { rotate_extrude(angle=viewing_angle, convexity=2) { square([stand_height,stand_width]); ...
glb/cad_9d548ea9e6c3.glb
Create a MiSTer Arcade Terminal enclosure consisting of a hollow rectangular box. The main outer shell should have external dimensions of 240mm in width, 200mm in depth, and 66mm in height. The walls of the enclosure are 10mm thick. Create a large rectangular cutout in the top face to leave an open interior cavity of...
$fn= $preview ? 16 : 100; conversion = 25.4; module Suzo_Competition_Joystick(panel_thickness = 10) { screwhole = 0.23*conversion/2; offsety = (3.15-2.6)/2*conversion; offsetx = 0.6/2*conversion; translate([0,0,-(5.75-3.66)*conversion]) cube([3.60*conversion, 3.15*conversion,(5.75-3.66)*conversio...
glb/cad_715687e693ab.glb
Create a fan and audio jack mounting plate by starting with a square block measuring 50mm by 50mm with a thickness of 1mm. Centered within this plate, create a circular hole for a fan. Additionally, position a smaller circular hole for an audio jack at the coordinates (25, 25) relative to the origin, ensuring the hole ...
include <components.scad>; module plug_mount_test() { difference(){ translate([0,0,1.01]) { cube([45, 52,2], center = true); } plug_mount(); } } module psmount_tester() { difference() { cube([129,97,34.99]); translate([-5,5,5]) { ...
glb/cad_0a0ff8e2bd22.glb
Create a MiSTer Arcade Terminal case consisting of a front and rear body section. The main body is a rectangular shell with a width of 220mm, depth of 180mm, and height of 60mm, featuring 2mm beveled edges. The front section is a solid block with a central rectangular cutout for a screen measuring 196.608mm by 147.45...
$fn=10; body_width = 220; body_depth = 180; body_bevel = 2; body_height = 60; body_middle = 17; rear_thickness = 5; m3inset = 2.25; m3head = 6; module screen_viewable() { cube([196.608, 147.456, 1], center=true); } module screen_bezel_cutout(tabout=4.01, tabwidth=7, wiggleroom=0.55, thickness=2.60, tabs=true) { ...
glb/cad_26d005fd1bf9.glb
Create a vacuum nozzle consisting of a cylindrical base and a rectangular tapered extension. Start with a hollow cylindrical base with an outer diameter of 33mm (31mm inner diameter plus 2mm wall thickness) and a height of 30mm. From the top of this cylinder, add a transition section that tapers upward into a rectangul...
Base_Diameter = 31; Base_Overlap = 30; Base_Chamfer_Length = 30; Base_Thickness = 2.0; Nozzle_Length = 140; Nozzle_Outer_A = 16; Nozzle_Outer_B = 8; Nozzle_Fillet_Radius = 3; Nozzle_Thickness = 1.4; Nozzle_Chamfer_A = 20; Nozzle_Chamfer_B = 20; $fn=150; Nozzle_Inner_A = Nozzle_Outer_A - Nozzle_Thickness; No...
glb/cad_dfd40326d5f7.glb
Create a parametric anti-tipping coaster by constructing a hollowed-out conical frustum. Start with an outer cylinder that has a base diameter of 50mm, a top diameter of 40mm, and a height of 10mm, using a facet resolution of 32. Inside this shape, create a concentric cylindrical void to hold an object. This internal...
ext_d1 = 50; ext_d2 = 40; ext_h = 10; ext_fn = 32; int_tra = 5; int_d1 = 30; int_d2 = 30; int_fn = 64; hole_print = false; hole = 10; hole_fn = 32; cut_print1 = false; cut_print2 = false; cut_h = 5; cut_l = 10; test_print = false; test_h = 5; module end_of_customizer(){} extr...
glb/cad_8802b11d0139.glb
Create a modular interlocking storage box designed to be printed flat. The box consists of a bottom, four walls, and a lid, connected by flexible living hinges. All walls and the lid have a uniform thickness of 3mm. The main body is formed by a rectangular bottom and four surrounding walls. The walls are connected to ...
use <hinge.scad> hingeDiam = 3; eps = .001; module ClippedPost(h,d) { difference() { cylinder(h=h,d=d,$fs=.1); translate([0,0,h]) rotate([0,45,0]) translate([0,0,h]) cube([4*d,4*d,2*h],center=true); } } module Trapezoid(minWidth=5, maxWidth=10, height=5, thickness=5, taperScale=...
glb/cad_320ed2dff99e.glb
Create a Floating Bump Hinge by constructing a central cylindrical rod assembly flanked by two rectangular support blocks. First, create the central rod. This consists of a main cylinder with a diameter of 4.8mm and a total length of 15mm. Within this cylinder, create a hollow core by removing a smaller concentric cy...
use <ConvenienceFuncs.scad> eps = .001; module flatHinge(overlapDist=1, thickness=5, width=15, len1=15, len2=15, tol=.15, insetTop=0, insetBottom=0) { segWidth=(width - 2 * overlapDist) / 3; hollowDiam1=thickness * .8; hollowDiam2=hollowDiam1 - 2 * overlapDist; checkError((hollowDiam1<=0),str("Hinge post max ...
glb/cad_bd48506893e0.glb
Create a modular interlocking storage box by constructing a cube with dimensions of 1mm x 1mm x 1mm. Rotate this cube 45 degrees around the Y-axis, centered at the point [0, 1, 0], to establish its final orientation.
function sum(vec, i = 0) = i < len(vec) - 1 ? vec[i] + sum(vec, i + 1) : vec[i]; module checkError(cond=false,msg="") { if ( cond ) echo(str("<br/><b><big><font color=\"red\">ERROR: ", msg, "</font></big></b><br/>")); } module RotateAroundPt(aVec,pt) { translate(pt) { rotate(aVec) { transla...
glb/cad_0e96a0574a7e.glb
Create a C64c back clip replacement by starting with a solid rectangular block measuring 15mm in width, 5mm in depth, and 12mm in height. From this main volume, remove a central rectangular section measuring 5mm wide, 5mm deep, and 3mm high, positioned 5mm from the left edge and 5mm from the bottom edge. Additionally, ...
w = 5; difference() { cube([ 10 + w, 5, 12 ]); translate([ 5, 0, 5 ]) cube([ w, 5, 3 ]); translate([ 5, 0, 5 ]) cube([ w, 3, 5 ]); translate([ 3, 0, 0 ]) cube([ 4 + w, 5, 5 ]); }
glb/cad_b170dd1701e5.glb
Create a C64c back clip replacement by starting with a solid rectangular block measuring 15mm in width, 5mm in depth, and 12mm in height. From this main volume, remove a central rectangular section to create a cutout. This cutout begins 5mm from the left and right edges and 5mm from the bottom, extending 5mm wide, 5mm ...
w = 5; difference() { cube([ 10 + w, 5, 12 ]); translate([ 5, 0, 5 ]) cube([ w, 5, 3 ]); translate([ 5, 0, 5 ]) cube([ w, 3, 5 ]); translate([ 3, 0, 0 ]) cube([ 4 + w, 5, 5 ]); } e = 9;
glb/cad_40e0c3410357.glb
Create a Search Engine Spam Awareness Coaster by first constructing a hollow cylindrical base with an outer diameter of 60mm and a total height of 3mm. Remove a concentric inner cylinder with a diameter of 52mm and a height of 2mm, positioned 1mm above the base, to create a thin-walled ring with a flat bottom. On the t...
od = 60; id = 52; oh = 3; ih = 1; eps = 0.01; deps = 2 * eps; text1 = ["Search", "Engine", "Spam"]; $fn = 128; difference () { cylinder (d = od, h = oh); translate ([0, 0, ih]) cylinder (d = id, h = oh - ih + eps); } translate ([0, 0, ih]) linear_extrude (oh - ih) { for (i = [0:len(text1)]) ...
glb/cad_7f6d8172955d.glb
Create a skateboard wheel hanger designed to hold a wheel with a 60mm diameter and 45mm width. Start by constructing a semi-circular cradle with a wall thickness of 4mm and a total width of 45mm. The outer diameter of this curved section should be 68mm. Integrate this cradle into a base structure that includes a rect...
wheeldia=60; wheelw=45; wall=4; hangover=30; $fn=200; outdia=wheeldia+2*wall; outrad=outdia/2; module taartpunt (l=10,h=10, ang=10) { rotate_extrude(convexity = 10, angle=ang, $fn=(l+h)) square([l,h]); } module torusdeel(d1=10,d2=100, ang=10) { r1=d1/2; r2=d2/2; rotate_extrude(convexity = 100, a...
glb/cad_f32bec3b6c9a.glb
Create a 3D model of a cut apple for a "La Coupe du Roi" demonstration. Start with a sphere 100mm in diameter. Remove a large section of the sphere using two intersecting 100mm cubes to create a flat, sliced-open face. At the bottom of the apple, create a tapered indentation by removing a hull formed between a 5mm sphe...
show = "cut1x"; decoration = true; magnets = true; magneth = 2.5; magnetd = 6; $fn = 50; module apple_cut() { difference() { sphere(d=100); hull() { translate([0,0,-45]) sphere(d=5); translate([0,0,-55]) sphere(d=20); } translate([0,0,55]) sphere(d=30); translate([-50,0,0]) cube([100,100,100]); ...
glb/cad_802a49b7e6f7.glb
Create a Metal Angle Endcap by constructing an L-shaped profile with a total height of 12mm. Start with a base composed of two intersecting rectangular blocks: one measuring 6mm wide by 38.5mm long by 12mm high, and a second measuring 38.5mm wide by 6mm long by 12mm high, joined at the origin to form a larger L-shaped ...
$fn=40; length=38.5; height = 12; outer_width = 6; inner_width = 2; depth = 9; endcaps = true; ease_inside_corner = false; difference (){ union () { cube([outer_width, length+(outer_width/2-inner_width/2), height]); cube([length+(outer_width/2-inner_width/2), outer_width, height]); if (endcaps == true)...
glb/cad_62bdbd59d750.glb
Create a stackable ammunition storage box and matching lid. The main box is a rectangular container with a base height of 3mm and a total height of 32.75mm. The outer walls are 1.5mm thick. Inside the box, create a 5x5 grid of cylindrical holes. Each hole is centered within a cell measuring 11mm by 11mm (9.5mm intern...
numColumns = 5; numRows = 5; internalCube = 9.5; padding = 1.5; OAL = 29.75; intHeight = OAL/2; textForBox = "9mm" ; baseHeight = 3; totalHeight = baseHeight + 3; letter_size = 10; letter_height = 1; font = "Army"; offsetCol = ((padding + internalCube) *numColumns)+ padding*3 +20 ; offsetRow = ((padding + ...
glb/cad_a671e6b70e7e.glb
Create a 30-30 Win Ammo box consisting of a main container and a separate lid. For the container, construct a rectangular block 174.5mm wide, 102.5mm deep, and 64.8mm high. Hollow out the top of this block by creating a grid of 50 cylindrical holes, arranged in 5 rows and 10 columns. Each hole must have a diameter of 1...
rows = 5; columns = 10; height = 64.8; space= 12.9; wall = 2.5; oWall = 1; both = true; box = false; if(both){ box(); lid(); } if(!both){ if(box){ box(); } if(!box){ lid(); } } module box(){ difference(){ union(){ cube([(wall + space) * columns + wall + 2 * oWall+10,(wall + space) *rows + wall + 2...
glb/cad_504fc2221863.glb
Create a Clicker Remix fidget toy consisting of a main body and a movable internal clicker part. First, construct the main body as a hollowed shell. The outer form is a complex organic shape created by the hull of several cylinders: a large central cylinder (diameter 19mm, height 6mm) at [0, -6, 5], and smaller cylin...
$fn=0; $fa=0.01; $fs= $preview ? 1.0 : 0.2 ; { union() { translate([0,0,0]) color("orange") telo_large(); translate([0,0,0]) rotate([0,0,-16.5]) color("lightblue") klicka(); } union() { } } module trcyl(translation,d,h,center=true) { translate(translation) { cylinder(d=d...
glb/cad_485768f0cb3b.glb
Create a curtain rod support with a total thickness of 16mm. Start with a central rectangular body 130mm long and 16mm wide. At one end, integrate a cylindrical cradle with an outer diameter of 46mm and an inner diameter of 30mm to hold the rod; this cradle should be a semi-circle that leaves an opening for the rod to ...
$fn=200; rod_diameter = 30; screw_distance = 50; support_length = 130; thickness = 16; difference() { union() { cube([thickness, support_length, thickness], center=true); translate([0, support_length/2, 0]) cylinder(h=thickness, d=rod_diameter + thickness, center=true); translate([...
glb/cad_292951386ce1.glb
Create a grass trimmer connector consisting of a vertical cylinder with a total height of 45mm and a diameter of 14mm. The object is composed of two stacked sections. The bottom section is a cylinder 25mm high with a centered vertical hole. Within this hole, carve out a 7-tooth splined profile where each tooth is a rec...
$fn = 100; h_=10; linear_extrude(height=25){ difference(){ circle(d=14); offset(delta = 0.2) positive_7(); } } translate([0,0,25]) linear_extrude(height=20){ difference(){ circle(d=14); offset(delta = 0.2) positive_9(); } } module positive_9(){ inner_d= 5.7; outer_d= 7.7; difference(){ asterix(9, ou...
glb/cad_311777c85e15.glb
Create a Chain Stay Protector by constructing a hollow, elongated sleeve. The main body is a vertical tube with a height of 195mm, an inner width and depth of 18mm, and a wall thickness of 1.2mm. The cross-section is not a perfect circle; it consists of a circle with a diameter of 20.4mm (inner width plus twice the wal...
p_width = 18; p_depth = 18; p_height = 195; p_wall_thikness = 1.2; p_zip_tei_width = 2.1; p_zip_tei_height = 1; $fn = 100; v_outter_width = p_width + p_wall_thikness*2; base_3d(p_width, p_depth, p_wall_thikness, p_height); translate([0,0,10]) tei_holder_3d_all(); translate([0,0,p_height-10]) tei_holder_3d_all(); mod...
glb/cad_9580957b32d8.glb
Create a Customizable Cable Clip with a height of 1.6mm. The main body is a circular ring with an inner radius of 10mm and an outer radius of 11.6mm. This ring is not a full circle; it has a gap removed from the top center, defined by a 20-degree angle from the vertical axis. At the top of the clip, centered on the ga...
main_radius = 10; ear_radius = 5; wall_thickness = 1.6; height = 1.6; angle = 20; $fn = 200; v_height = height; v_cut_angle = 90 - angle; v_wall_thickness = wall_thickness; v_main_inner_r = main_radius; v_main_outter_r = main_radius + wall_thickness; v_ear_outter_r = ear_radius; v_ear_inner_r = ear_radius - wall_thick...
glb/cad_a31d7c413f6a.glb
Create a small tractor spinner. The model consists of a central chassis with two freely rotating wheels. First, construct the chassis. The main body is a complex organic shape formed by the hull of several cylinders of varying diameters (ranging from 1mm to 2mm) and heights (up to 20mm), creating a tapered, blocky cab...
$fn = 60; { union() { translate([0,0,0]) kabina(); translate([12,5,0]) kolo_predni(); translate([-12,9,0]) kolo_zadni(); } } module kabina() { difference() { union() { hull() { translate([-22,30.4,0]) cylinder(d=1,h=20,center=true); translate([-3,30.4,0]) cylinder(d=1,h=20,center=true); ...
glb/cad_d72f367ee436.glb
Create a hanging bird feeder connector consisting of two identical parts (a top and a bottom). Each part is a 10mm high block designed to hold wooden slats and a central hanging rod. For each part, create a main body based on the profile of a top wooden slat (39mm x 5mm) and two side wooden slats (39mm x 5mm) angled a...
epsilon=0.01; margin= 1; part_height=10; top_wood_slat_length= 39; top_wood_slat_width=5; side_wood_slat_width=39; side_wood_slat_length=5; side_wood_slat_angle=45; top_side_spacing_x=1; top_side_spacing_y=1; hanging_rod_create=true; hanging_rod_width=4.5; hanging_rod_height=4.5; hanging_rod_margin=1; han...
glb/cad_d95b7eb67fe6.glb
Create a rectangular hanging rod connector for a bird feeder. Start with a solid rectangular block measuring 6.5mm in width, 19mm in length, and 6.5mm in height. From this block, remove a central rectangular section measuring 4.5mm in width, 15mm in length, and 4.5mm in height, positioned 1mm from the front, bottom, an...
epsilon=0.01; hanging_rod_width=4.5; hanging_rod_height=4.5; hanging_rod_length=15; hanging_rod_margin=1; hole_diameter=3; difference() { cube([ hanging_rod_width+hanging_rod_margin*2, hanging_rod_length+hanging_rod_margin+hole_diameter+hanging_rod_margin, hanging_rod_height+hanging_ro...
glb/cad_8bfe88811894.glb
Create a fruit fly trap lid consisting of a shallow cylindrical base and a deeper outer rim. Start by creating a solid cylinder with a diameter of 103.4mm and a height of 10mm. Hollow out the center of this cylinder by removing a concentric cylinder with a diameter of 101mm, leaving a wall thickness of 1.2mm, but start...
$fn=200; $width=101; $lipHeight=10; $height=.4; $flyHoleWidth=1.5; $numberOfHoles=8; $wallThick=1.2; difference(){ cylinder($lipHeight,$width/2+$wallThick,$width/2+$wallThick,$fn=200); translate([0,0,$height]){ cylinder($lipHeight-$height,$width/2,$width/2,$fn=200); } cylinder($height,$flyHoleW...
glb/cad_5941c3bb02b9.glb
Create a coffee cup adapter consisting of two concentric cylindrical sections connected by a conical transition. Start by creating a base cylinder with a diameter of 75mm and a height of 80mm. Atop this base, place a second cylinder with a diameter of 100mm and a height of 40mm, positioned so its bottom sits at the 80m...
$fn = 360; wellHeight = 80; wellWidth = 75; wallThick = 5; cupHeight = 40; cupWidth = 100; difference(){ union(){ cylinder( wellHeight, d=wellWidth); translate([0,0,wellHeight]){ cylinder(cupHeight,d=cupWidth); } translate([0,0,wellHeight-(cupWidth - wellWidth)/2]){ ...
glb/cad_017e44e114d4.glb
Create an 8x8 RGB LED panel consisting of a grid face and a supporting base. For the grid face, create a solid rectangular plate 120.45mm wide by 120.45mm deep and 0.6mm thick. On top of this plate, construct an 8x8 grid of square cells. Each cell is 16.67mm wide and 16.67mm deep, with walls between them that are 0.4...
boxWidth = 250/15; boxHeight = 5; wallThick = .45; boxesX = 8; boxesY = 8; ribbonWidth = 10; ribbonHeight = 1; widthX = boxWidth*boxesX+wallThick; widthY = boxWidth*boxesY+wallThick; lidZ = .6; difference(){ union(){ for(bx=[0:boxesX]){ translate([boxWidth*bx, 0, 0]) cube([wallThick,(boxWidth*boxesY)+wallThic...
glb/cad_1bd3cafa4435.glb
Create a Windows 95 Start Menu Button. Begin with a rectangular base measuring 160mm wide by 64mm high with a thickness of 8mm. On the top surface of this base, add a stylized logo and the word "Start" using raised geometric shapes. The logo consists of four colored quadrants (red, green, blue, and yellow) and the te...
final_width_mm = 160; base_thickness_mm = 8.0; logo_thickness_mm = 1.6; black_thickness_mm = 2.0; scale_factor = final_width_mm / 53; logo_outline = [ [7,8],[8,8],[8,9],[9,9],[9,8],[11,8],[11,7],[12,7], [12,6],[14,6],[14,5],[18,5],[18,6],[20,6],[20,7],[21,7], [21,10],[21,19],[20,19],[20,18],[18,18],[18...
glb/cad_54320ecf2230.glb
Create a curtain rod mounting drill template with a thickness of 5mm. Construct the main body by joining three rectangular sections: one measuring 100mm by 25mm positioned horizontally from x=-75 to x=25, one measuring 25mm by 75mm positioned vertically from y=-75 to y=0, and a third rectangle measuring 25mm by 80mm ro...
$fn=50; difference(){ linear_extrude(5) union(){ translate([-75,0,0]) square([100,25], center = false); translate([0,-75,0]) square([25,75], center = false); translate([7,25,0]) rotate([0,0,-45]) square([...
glb/cad_d3e01fb3fe99.glb
Create a Disposable Vape Battery Tray consisting of a base and a lid. For the base, start with a rounded rectangular slab 1mm thick. On top of this slab, create a grid of 24 rectangular slots arranged in 6 rows and 4 columns. Each slot must be 44mm long, 17mm wide, and 15mm deep. The interior walls separating the slo...
$fs = 0.4; $fa = 1; length = 44; width = 17; depth = 15; rows = 6; cols = 4; wall_thickness_int = 0.6; wall_thickness_ext = 1; base_thickness = 1; base_top_lip = 1.4; radius = 5; grid_width = (wall_thickness_ext*2) + (length*cols) + (wall_thickness_int*(cols-1)); grid_height = (wall_thickness_ext*2) + (width*rows) ...
glb/cad_cc555f9d0825.glb
Create a Melnor AquaTek4 Wall Mount consisting of a flat base plate with two raised, U-shaped support brackets. The base is a rectangular slab 113mm wide, 4mm thick, and 100mm deep. At the front of the base, center a U-shaped bracket that is 60mm wide and 4mm thick. This bracket features a semi-circular cutout with a...
module woodscrew(){ translate([0,0,-1]) cylinder(d=4, h=6, $fn=16); translate([0,0,1]) cylinder(d1=4, d2=10, h=3.2, $fn=16); } difference(){ union(){ hull(){ translate([0,3,2]) cube([60,4,4],center=true); translate([0,-97,2]) cube([113,4,4],center=true); } h...
glb/cad_3cbdd00d4de6.glb
Create a Nerf Flashlight Mount with a total length of 25mm. Start by constructing a base block that fits a rail of 18.1mm width and 3.1mm height, featuring a central stem that is 12.6mm wide and 3.5mm high. From this base, create a cylindrical holder to house a flashlight with a diameter of 18.8mm. The holder should ...
light_diameter = 18.8; tolerance = 0.1; part_length = 25; light_brim=3; mount_height = 8; with_flex_release=false; rail_width = 18; rail_height = 3; stem_width = 12.6; stem_height = 3.5; union(){ mount_base(); light_holder(); } module rail(){ translate([0,0,-1]){ union(){ cube([rail_...
glb/cad_b795bee34be7.glb
Create a Precision Hex Screwdriver handle consisting of three main vertical sections. First, create the lower key section. Form a cylinder with a radius of 7.5mm and a height of 18mm, capped with a hemisphere of the same radius at the bottom. Cut the bottom flat. Through the center of this section, create a vertical ...
diameter= 15; radius= diameter / 2; handle_height= 40; key_height= 18; key_offset= 0.8; part_gap= 0.3; ball_gap= 0.6; ball_diam= 10; socket_diam= ball_diam + ball_gap; opening= ball_diam - 1; top_height= socket_diam + 2; bs_height= top_height * 3 / 4; cap_diam= diameter + 3; cap_height= 4; support_width= 0.5; suppor...
glb/cad_0ff4b4af90ab.glb
Create a DPH5005 Enclosure consisting of a main body with a top, bottom, front panel, and rear panel. The main enclosure dimensions are 120mm in length and 130mm in width, with a wall thickness of 4mm. Construct the bottom and top sections as base plates with a height of 45mm and 15mm respectively. The top plate must ...
$fn=32; encl_len= 120; encl_wid= 130; bottom_height= 45; face_height= 60; top_height= face_height - bottom_height; support_diam= 7; wall_thick= 4; tonge_width= 1.2; tonge_height= 2; grove_width= tonge_width + 0.2; grove_height= tonge_height + 0.2; tab_width= 10; tab_length= 3; tab_height= 2; tab_offset= wall_thick+0....
glb/cad_0e75cc9b18e1.glb
Create a Food-saver Connector consisting of a tiered cylindrical body with a central hollow channel. Start with a bottom base cylinder 13mm in diameter and 10.2mm high. Add a knurled texture to the exterior of this base by placing 19 thin rectangular ribs, each 0.5mm thick and 10.2mm high, spaced every 10 degrees aroun...
$fn= 64; base_diam= 13; base_height= 10.2; knurl= 0.5; rim_diam = 18.4; rim_height= 4.2; stem_bottom_diam= 6.1; stem_top_diam= 5.1; stem_height= 9; slot_length= 2.85; slot_width= 1.2; annulus_outside_diam= 8.3; annulus_inside_diam= 5.2; annulus_height= base_height; hole_diam= 2.8; difference() { union() { cyli...
glb/cad_4a603e1c070b.glb