Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a LEGO-compatible text brick key fob. Start by constructing a rectangular hollow brick with an outer dimension of 48mm in length (6 units), 16mm in width (2 units), and 9.6mm in height (3 plates). The walls should be 1.5mm thick with a 1mm roof thickness. On the top surface, add a grid of 6x2 solid cylindrical ...
brickLength = 6; brickWidth = 2; brickHeight = 3; withStuds = "yes"; createStuds = (withStuds=="yes") ? true : false; withUnderStuds = "no"; createUnderStuds = (withUnderStuds=="yes") ? true : false; raisedText = "no"; textRaised = (raisedText=="yes") ? true : false; frontText = "Text Brick"; frontTextScale = 1.0...
glb/cad_ff6efa15ccd1.glb
Create a "Together" safe distance sign with a base plate measuring 150mm wide by 200mm high and 2mm thick. The base should have rounded corners with a 6mm radius. On the face of the base, add a raised border 1.2mm high that follows the perimeter. Centered on the sign, add the following text in a bold sans-serif font, ...
sign_height = 200; layout = 1; leftArrowDistance = "6 feet"; rightArrowDistance = "2 metres"; swapTower = "yes"; part = 6; hole_type = "magnets"; number_magnets = 2; magnet_hole_diameter = 6.5; magnet_hole_depth = 1.4; nail_hole_diameter = 2.5; base_depth = 2; border_depth = 1.2; text_depth = 0.4; people_...
glb/cad_6eda72ffadde.glb
Create a "Customizable Safe Distance Sign" with a rectangular base measuring 150mm wide by 200mm high and 2mm thick. Round the corners of the base with a 6mm radius. On the top surface of the base, add a border 0.8mm high that follows the perimeter of the base, leaving a small inner gap. Centered on the base, add the ...
sign_height = 200; layout = 1; swapTower = "yes"; part = 6; hole_type = "magnets"; number_magnets = 2; magnet_hole_diameter = 6.5; magnet_hole_depth = 1.4; nail_hole_diameter = 2.5; base_depth = 2; outline_depth = 0.4; border_depth = 0.8; text_depth = 0.8; people_depth = 1.2; $fn = 60; fudge = 0.001; sel...
glb/cad_e514e70a7d76.glb
The provided OpenSCAD code defines a series of modules, each creating a 2D silhouette (extruded into 3D) of various objects, animals, and symbols. Most of these modules use a `scale` transformation to flip the image across the X-axis (using a negative Y-scale) and a `linear_extrude` to give the 2D polygon thickness. #...
$fn = 200 + 0; fudge = 0.001 + 0; token = "one euro"; token_height = 2.35; token_diameter = 33.0; sides = "both"; top_image = "butterfly faces"; bottom_image = "butterfly faces"; number_engraved_layers = 1; num_engraved = number_engraved_layers; layer1_height = 0.18; layer_height = 0.12; elephant_foot = 0.0; ...
glb/cad_3ad0bfebd2d9.glb
Create a Customizable Drawer Handle. The handle is a curved arc with a thickness of 5mm and a height of 15mm. The overall length of the handle is 124mm, and it protrudes from the mounting surface by 25mm. The handle profile is a circular arc with a fillet radius of 2mm on the edges. Depending on the selected style, th...
resolution = 0.2; handleType = "cylindrical"; createPart = "handle"; createTestPiece = (createPart=="test piece") ? true : false; createNutHolePlugs = (createPart=="nut hole plugs") ? true : false; handleLength = 124; cavityLength = 84; handleHeight = 15; handleClearance = 25; handleThickness = 5; backplateThic...
glb/cad_4a4b7baca2a6.glb
Create a Customizable Drawer Handle. The main body is a curved arc with a thickness of 5mm and a height of 15mm. The arc is defined by a screw distance of 95mm between the two mounting points. The handle protrudes from the surface by 25mm. The mounting areas on each side are 20mm wide. At each mounting point, create a...
resolution = 0.5; $fn = 200*resolution; screwDistance = 95; handleHeight = 15; handleThickness = 5; handleClearance = 25; mountWidth = 20; fillet = 2; createPart = "handle"; createTestPiece = (createPart=="test piece") ? true : false; createNutHolePlugs = (createPart=="nut hole plugs") ? true : false; screwHole...
glb/cad_a7740ec08a98.glb
Create a customizable LEGO-compatible text brick. The main body is a rectangular shell with a length of 6 units, a width of 2 units, and a height of 3 plate units (where 1 unit = 8mm and 1 plate unit = 3.2mm). The shell has a roof thickness of 1mm and outer walls of 1.5mm. On the top surface, place a grid of 6x2 studs...
brickLength = 6; brickWidth = 2; brickHeight = 3; withStuds = "yes"; createStuds = (withStuds=="yes") ? true : false; withUnderStuds = "no"; createUnderStuds = (withUnderStuds=="yes") ? true : false; frontText = "Text Bricks"; frontTextScale = 1.0; frontTextType = "raised"; backText = ""; backTextScale = 1.0; bac...
glb/cad_0c0e30324c19.glb
Create a tiny bookcase with an overall width of 50mm and a depth of 22.6mm. The structure consists of a outer shell with walls 1.6mm thick. Start by creating a solid rectangular block for the main body with a total height of 77.8mm (calculated from three shelves at 24mm height each, plus three 1.6mm thick horizontal di...
numShelves = 3; caseWidth = 50; shelfHeight = 24; shelfDepth = 21; baseHeight = 3; wallWidth = 1.6; fudge = 0.005 + 0.0; caseHeight = numShelves*(shelfHeight+wallWidth) + baseHeight + wallWidth; caseDepth = shelfDepth + wallWidth; translate([caseHeight/2,-caseWidth/2,caseDepth]) rotate([-90,0,90]) difference() ...
glb/cad_2048509e07ef.glb
Create a filament clip consisting of two parallel channels extending from a common base. The overall length of the clip is 18mm. First, construct a "grab channel" with a base thickness of 0.8mm and two side walls each 0.8mm wide and 3.25mm high. The distance between these walls is 3.5mm. Inside this channel, create a ...
$fn = 50 + 0; fudge = 0.0001 + 0; clipLength = 18.0; channel_height = 3.25; baseThickness = 0.8; wall_width = 0.8; wallWidth = (wall_width/0.4*0.4051); straightChannelWidth = 2.0; grabChannelWidth = 3.5; nubTopRadius = 1.75; nubBottomRadius = 1.5; clipHeight = channel_height + baseThickness; grabChannelSpace =...
glb/cad_37e3959fc6ef.glb
Create a Dual Letter Blocks Illusion display stand. The model consists of a sequence of 3D ambigram blocks resting on a thin base. First, create a base pad that is 1mm thick. The base should be a long, narrow strip with rounded ends, specifically a hull of two circles with diameters of approximately 26.18mm (calculate...
string_1 = "OPTICAL"; string_2 = "ILLUSION"; letterScaling = 1.0; letterSpacing = 0.0; padHeight = 1.0; fontName = "Overpass Mono:style=Bold"; fontSize = 22; letterWidth = 18.4; blockHeight = 21.37; blockSize = 18.5; letterSpace = letterWidth*(0.9+(letterSpacing/100)); padWidth = sqrt(2*blockSize*blockSize); mySca...
glb/cad_69a1442f52a3.glb
Create a Hidden Internal Lithophane Coaster. The overall shape is an 11-sided Reuleaux polygon with a maximum width of 80mm and a total height of 4.5mm. Start by creating the main body as an 11-sided Reuleaux polygon with a beveled edge. From the top, subtract a smaller 11-sided Reuleaux polygon cavity that leaves a ...
$fn = 150; image="pic-cat-nap-200x180.png"; im_x = 200; im_y = 180; im_resize = 1.05; n_sides = 11; object_hgt = 4.5; outer_wid = 80; wall_wid = 2; bottom_layer = 0.4; top_layer = 0.5; img_hgt = 2; inner_wid = outer_wid - (2*wall_wid); cavity_hgt = object_hgt - img_hgt - bottom_layer - top_layer; ridges_hgt = 0.8; ri...
glb/cad_61779709c7c5.glb
Create a stacking coaster in the shape of an 11-sided Reuleaux polygon with a maximum width of 80mm and a total height of 4.5mm. The main body is a solid Reuleaux polygon. Create a central cavity by removing a smaller Reuleaux polygon from the top, leaving a wall thickness of 2mm around the perimeter. The top edge of...
$fn = 150; image="pic-mapleleaf-193x200.png"; im_x = 193; im_y = 200; im_resize = 1.0; n_sides = 11; object_hgt = 4.5; outer_wid = 80; wall_wid = 2; bottom_layer = 0.4; top_layer = 0.5; img_hgt = 2; inner_wid = outer_wid - (2*wall_wid); cavity_hgt = object_hgt - img_hgt - bottom_layer - top_layer; ridges_hgt = 0.8; r...
glb/cad_a5b64840b4ef.glb
Create a Hidden Internal Lithophane Coaster. Start by creating a solid base in the shape of an 11-sided Reuleaux polygon with a maximum width of 80mm and a total height of 4.5mm. The perimeter should have a beveled edge to facilitate stacking. Carve a cavity into the top of the coaster, leaving a bottom layer of 0.4mm...
$fn = 150; image="pic-cannabis-200x200.png"; im_x = 200; im_y = 200; im_resize = 1.01; n_sides = 11; object_hgt = 4.5; outer_wid = 80; wall_wid = 2; bottom_layer = 0.4; top_layer = 0.5; img_hgt = 2; inner_wid = outer_wid - (2*wall_wid); cavity_hgt = object_hgt - img_hgt - bottom_layer - top_layer; ridges_hgt = 0.8; r...
glb/cad_92e0cb7670fc.glb
Create a shopping cart token shaped as a thin cylinder with a total diameter of 23.25mm and a total height of 2.33mm. The token features a hollowed-out internal cavity to house a lithophane. This cavity is a cylinder centered within the token, starting at a height of 0.44mm from the base and extending upwards for 1.41m...
$fn = 150; image="cart-200x200.png"; im_x = 200; im_y = 200; im_resize = 1.0; object_hgt = 2.33; outer_wid = 23.25; wall_wid = 1.2; bottom_layer = 0.44; top_layer = 0.48; im_hgt = 1.41; in_wid = outer_wid - (2*wall_wid); union(){ difference(){ linear_extrude(height = object_hgt) circle(outer_wid/2); ...
glb/cad_adda7101c0e0.glb
Create a shopping cart token based on an 11-sided Reuleaux polygon with a constant width of 26.47mm and a total height of 1.98mm. The token consists of three layers. First, create a solid base layer 0.4mm thick using the full 26.47mm width. Next, create an internal cavity for a lithophane by removing a Reuleaux polyg...
$fn = 150; image="mapleleaf-193x200.png"; im_x = 193; im_y = 200; im_resize = 1.0; n_sides = 11; object_hgt = 1.98; outer_wid = 26.47; wall_wid = 1.2; bottom_layer = 0.4; top_layer = 0.38; im_hgt = 1.2; in_wid = outer_wid - (2*wall_wid); union(){ difference(){ linear_extrude(height = object_hgt) reuleau...
glb/cad_4fb51b88911a.glb
Create a bicycle chain wear gauge with a total thickness of 2.38mm. The main body is a flat plate 15mm high. On the left side, create a tension pin that is 2.4mm wide and 15.8mm high, featuring a semi-circular cap with a diameter of 2.4mm. The right side of the tool consists of a curved arm that extends 127mm horizon...
$fs=0.1; $fa=1; inch = 25.4; roller_width = 3/32*inch; roller_diam = 5/16*inch; link_length_base = 1/2*inch; wear_level = 0.5; link_length = link_length_base * (1+wear_level/100); indicator_thick = roller_width - 0.4; text_thick = 0.4; roller_gap = 5.65; slop = 0.2; right_pin_width = 0.9*roller_gap; pin_height = ...
glb/cad_f93fc83dd98e.glb
Create a JBC on 858D cradle by starting with a rectangular base plate measuring 115mm wide, 90mm long, and 5mm thick. Centered on this plate, create a recessed cradle area that is 96mm wide and 90mm long. This cradle is formed by adding two side walls, each 9.5mm wide and 5mm high, and removing a centered semi-cylindri...
$fs=0.05; $fa=3; width = 115; length = 90; thick = 5; station_width = 96; station_r = 7.5; cradle_h = 5; difference() { union() { translate([0,0,-thick/2]) cube([width, length, thick], center=true); translate([0,0,-thick-station_r/2]) for (i = [0:1]) mirror([i,0,0]) translate([-width/2,0,0...
glb/cad_47bd66a494e1.glb
Create a milk frother coupling by designing a vertical cylinder with a total height of 22mm and an outer diameter of 6mm. The cylinder should have rounded edges with a radius of 0.5mm. Bore a central hole through the entire length of the object with a diameter of 1.85mm. Additionally, create a wider hole with a diamete...
$fs=0.05; difference() { translate([0,0,0.5]) minkowski() { cylinder(22-2*0.5, d=6-2*0.5); sphere(0.5); } cylinder(8, d=2.0+0.05); cylinder(22, d=1.8+0.05); }
glb/cad_ac00ffcbd0cc.glb
Create a groove mount pushfit adapter by constructing a tiered cylindrical body with a central hole. Start with a base cylinder 16mm in diameter and 3.7mm high. On top of this base, center a second cylinder 12mm in diameter and 6mm high. Above that, add a 1.5mm high conical transition section that flares from a 12mm di...
include <threads.scad>; $fn=50; difference() { union() { cylinder(d=16, h=3.7); translate([0, 0, 3.7]) cylinder(d=12, h=6); translate([0, 0, 3.7+6]) cylinder(d1=12, d2=16, h=1.5); translate([0, 0, 3.7+6+1.5]) cylinder(d=16, h=1.5); } cylinder(d=4.3, h=3.7+6+3); translate...
glb/cad_4abc593685c1.glb
Create a Basic Stock Cube Box by constructing a rectangular container with an open top and one open side. The outer dimensions of the box must be 102.3mm in width, 55.8mm in depth, and 36.3mm in height. The walls and the base must each be 3mm thick. To form the interior cavity, remove a central rectangular block starti...
tolerance = 1.10; stock_height = 11 * tolerance; stock_width = 30 * tolerance; stock_depth = 24 * tolerance; stock_stack_across = 3; stock_stack_depth = 2; stock_stack_height = 3; wall_thickness = 3; box_width = (stock_stack_across * stock_width) * tolerance + (wall_thickness * 2); box_depth = (stock_stack_depth...
glb/cad_383a1fe61e87.glb
Create a Covid Test Stand by starting with a solid rectangular block measuring 40mm wide, 40mm deep, and 25mm high. Apply a 3mm fillet radius to the bottom four edges where the base meets the sides to round the bottom corners. Hollow out the center of this block by removing a smaller rectangular volume of 36mm by 36mm ...
difference() { roundedcube ([40, 40, 25], center = false, radius = 3, apply_to = "zmin"); translate ([2,2,2]) roundedcube ([36, 36, 25], center = false, radius = 3, apply_to = "zmin"); translate ([13, 13, -5]) cylinder(30, 5, 5); translate ([27, 13, -5]) cylinder(30, 5, 5); translate ([13, 27, -5])...
glb/cad_c149173631d4.glb
Create a SmallPartsMagazine organizer consisting of modular houses and drawers. Use a base dimension of 50mm width, 35mm height, and 100mm depth. To create a house, construct a hollow rectangular shell with these base dimensions. The walls should be 1mm thick, leaving a central cavity of 48mm by 33mm by 98mm. Add gui...
use <threads-library-by-cuiso-v1.scad> $fn = 50; height = 35; width = 50; length = 100; housespace = 3.2; factorX = 1; factorZ = 1; N=1; M=1; holdersupport = 0; space=0.1; screwsize=5.3; platesize=1.5; G="Drawer"; if (G=="Drawer") drawer(factorX, factorZ, N, M); if (G=="House") house(factorX,factorZ); if...
glb/cad_960dec134897.glb
Create a Hailo Stepke spare part consisting of two mirrored symmetrical components. For each component, start with a rectangular base measuring 103mm in length, 15mm in width, and 2mm in thickness. At one end of the base, add a vertical rectangular block that is 5mm wide, 15mm deep, and 2mm thick. On the top surface o...
$fn=50; breite=15; staerke=2; laenge=103; nase=5; fusstiefe=3; fusslaenge=33; fusswinkel=5; tritthoehe=7.5+.3; schraubstaerke1=3.5; schraubstaerke2=2.5; lochrand=12; lochgesamt=15; loch=4.2+.4; winkel1=65; winkel2=45; winkel3=23.5; module grund() { cube([laenge,breite,staerke]); cube([staerke,breite,tritthoehe+s...
glb/cad_8ff596f44e53.glb
Create a two-part protective case for an Arduino Nano V3 and CC1101 module. The main body is a rectangular enclosure with overall external dimensions of 79mm in length, 24mm in width, and approximately 8mm in height. Construct the base as a hollowed rectangular tray with a wall thickness of 2mm. The interior cavity s...
$fn=100; length=75; width=20; height=8; usbh=4; usbw=8; antdia=5.5; strength=2; conn=2; module cul() { cube([length,width,height+usbh]); translate([-strength-2,(width-usbw)/2,height]) cube([strength+2,usbw,usbh]); translate([length,width/2,height-antdia/2]) rotate([0,90,0]) cylinder(d=antdia,h=strength+2); } module...
glb/cad_0122c24c6140.glb
Create a rectangular block for a screw hole test gauge with a thickness of 10mm. The block should contain a grid of 20 circular holes arranged in two rows of ten. The holes are distributed such that their radii increase incrementally. Starting from the top-left, the first hole has a radius of 1.5mm, and each subsequent...
$fn=50; staerke=10; reihen=2; spalten=10; startradius=1.5; increment=.05; perimeter=3; anzahl=reihen*spalten; abstand= 2*startradius+(2*anzahl-3)*increment+2*perimeter*0.42; echo (abstand); difference() { cube([spalten*abstand,reihen*abstand,staerke]); for(x=[1:spalten]) for(y=[1:reihen]) translate([(x-.5)*abstan...
glb/cad_b370b4b71e44.glb
Create an adapter for a laser cutter Z-axis consisting of two mirrored plates, each 7mm thick. Each plate is defined by the intersection of a 75mm wide by 84mm deep rectangle and a circle with a radius of 86mm. On each plate, center a spindle hole with a diameter of 16mm. Position two bearing housings on either side o...
$fn=50; d_kugellager=15+.7; ab_kugellager=50; sab_kugellager=12; platte_kugellager=25; rs_kugellager=1.7; yp_kugellager=18; d_spindellager=10.5+.4; sab_spindellager=8; rs_spindellager=1.7; d_loch_spindel=16; staerke=7; breite=75; tiefe=84; ab_stege=60; yp_stege=35; yab_stege=30; rs_stege=1.65; laser_x=40+.6; lase...
glb/cad_da0fcd10bc23.glb
Create a sensor mounting bracket for a laser cutter. Start with a base plate that is 4mm thick, measuring 23.1mm by 27.1mm. This base should have two circular mounting holes with a diameter of 3.1mm, spaced 19.5mm apart. From this base, extend a vertical support structure. The main vertical section is a rectangular bl...
$fn=100; sensorlochabstand=19.5; sensorloch=3.1; sensorrand=2; sensorboden=4; module sensorplatte() { translate([0,0,-sensorboden]) difference() { union() { cube([sensorlochabstand+2*sensorrand+sensorloch,sensorloch+2*sensorrand,sensorboden]); translate([sensorrand+sensorloch/2,...
glb/cad_816f8cdd5a6d.glb
Create a LILLNAGGEN pane holder designed to grip a glass pane. Start by constructing a main body that blends a large, flattened sphere with a smaller sphere. Specifically, create a hull between a sphere with a diameter of 65mm (flattened to 32.5mm in width and 42.5mm in height) centered at the origin, and a smaller sph...
$fn=100; scheibe=8; wdm1=15+.5; wdm2=17+1; ausladung=40; difference() { union() { hull() { translate([0,-2.5,0]) resize([65/2,42.5,0]) sphere(d=65); translate([ausladung,2.5,0]) sphere(d=30); } translate([ausladung+scheibe/2,-10,0]) resize([65/2,55,0]) sphere(d=65); } translate([ausladung,-100,-50]) cube...
glb/cad_61063e6d8a90.glb
Create a shaver holder for a glass pane. The main body is a C-shaped bracket with a thickness of 2.5mm. The bracket features a curved section that transitions into a rectangular mounting block. The interior of the bracket is hollowed out to create a slot with a width of 11mm and a depth of 11mm to accommodate the glass...
$fn=100; scheibe=8; breite=16; winkel=1; hhoehe=20; staerke=2.4; ausladung=20; module halter() { translate([0,0,0]) rotate([0,0,0]) { cube([hhoehe,staerke,breite]); translate([hhoehe,staerke/2,0]) cylinder(d=staerke,h=breite); } translate([0,scheibe+staerke,0]) rotate([0,0,-winkel]) { cube([hhoehe,staerke...
glb/cad_f178053f6080.glb
Create an Artillery Sidewinder X1 spool holder adapter. Start with a vertical rectangular base plate 60mm wide, 2.08mm thick, and 40mm high. On this base plate, create four 5.5mm diameter holes for M3 screws: two positioned 10mm from the left edge and two 10mm from the right edge, with each pair spaced 20mm apart ver...
$fn=90; radius=50; schlauch=4.5; filament=3; ausladung=57; hoeheSensor=50; plattenbreite=60; staerke=2.08; bogenstaerke=10; %cube([100,20,40]); translate([(plattenbreite-bogenstaerke)/2,0,0]) difference() { union() { translate([0,-staerke,0]) cube([plattenbreite,staerke,40]); translate([0,-sta...
glb/cad_f949ae0c356e.glb
Create an Artillery Sidewinder X1 spool holder adapter. Start with a rectangular base plate 60mm wide, 2.5mm thick, and 40mm high. At the top of this plate, add a rectangular extension 60mm wide and 5mm thick. On the base plate, create four vertical holes with a diameter of 5.5mm to accommodate M3 screws: two position...
$fn=90; radius=50; schlauch=4.5; filament=3; ausladung=57; hoeheSensor=50; plattenbreite=60; staerke=2.5; bogenstaerke=10; %cube([100,20,40]); translate([(plattenbreite-bogenstaerke)/2,0,0]) difference() { union() { translate([0,-staerke,0]) cube([plattenbreite,staerke,40]); translate([0,-stae...
glb/cad_6925ddbb6c21.glb
Create a glass marker by constructing a curved clip that fits around the rim of a glass. Start with a curved band that has an inner diameter of 96.8mm and an outer diameter of 103.2mm, with a total height of 15mm and a wall thickness of 1.5mm. The band should wrap around the glass for a total width of 15mm along the ar...
$fn=240; glas_diameter=100; glas_thickness=3.2; width=15; height=15; thickness=1.5; clamp=1.5; winkel=width*360/3.141/(glas_diameter-thickness-glas_thickness); difference() { rotate_extrude(angle=winkel) translate([(glas_diameter-2*thickness-2*glas_thickness)/2,0]) square([2*thickness+glas_thickness,height+thickness...
glb/cad_48a9d3083a46.glb
Create a universal tablet wall mount. Start by constructing a main body that is 251.2mm long, 185.7mm wide, and 9.2mm deep. The main body should be a rectangular slab with rounded ends, formed by the hull of two 20mm spheres positioned at opposite ends of the length, extended to a total height of 21mm. The front face...
laenge=241.2+2; breite=185.7; tiefe=8.8+.4; rand=16; versatz=3; rundungstiefe=10; schraubenabstand=100; staerke=5; winkel=acos((tiefe-versatz)/breite)-90; $fn=90; module Schraubkanal() { translate([0,0,-30]) hull() { cylinder(d=4.8,h=30); translate([0,-20,0]) cylinder(d=4.8,h=30); } translate([0,0,0]) hull()...
glb/cad_e8919e372d67.glb
Create a universal tablet wall mount. Start by constructing the main body as a long, thin rectangular block with a length of 251.2mm, a depth of 195.7mm, and a height of 9.2mm. The front and back edges of this block should be rounded with a radius of 21mm. Within this main body, create three vertical screw channels. ...
laenge=241.2+2; breite=185.7; tiefe=8.8+.4; rand=16; versatz=3; rundungstiefe=10; staerke=5; winkel=acos((tiefe-versatz)/breite)-90; $fn=90; module Schraubkanal() { translate([0,0,-30]) hull() { cylinder(d=4.8,h=30); translate([0,-20,0]) cylinder(d=4.8,h=30); } translate([0,0,0]) hull() { cylinder(d1=4.8,d2=...
glb/cad_9d6b8ae9e578.glb
Create a plate holder for laser engraving slate by constructing a base and an attached spring mechanism. Start with a solid rectangular block measuring 50mm wide, 40mm high, and 13mm thick. From this block, remove a central rectangular section to create a hollow tray that is 46mm wide, 36mm high, and 10mm deep, leaving...
hoehe=40; breite=50; auflage=10; overlap=3; luecke=4; staerke=2; federbreite=10; federstaerke=1; hohl=hoehe-2*staerke-luecke-federstaerke; federanzahl=round(hohl/federbreite); exaktfederbreite=hohl/federanzahl+federstaerke; module add() { cube([breite,hoehe,auflage+overlap]); } module sub() { translate(...
glb/cad_750fbd1c7e99.glb
Create a blade protector for a chocolate knife by constructing a curved, shell-like volume. Start with a primary block 50mm wide, 140mm long, and 8mm thick. Shape this block into a curved segment by intersecting it with a cylinder of radius 273.06mm, centered such that the resulting arc has a chord length of 130mm and ...
$fn=120; schneidlaenge=130; biegung=8; breite=30; radius=268.0625; alpha=28.066; module messer() { translate([-(radius-40),0,0]) difference() { intersection() { cylinder(r=radius,h=2); translate([0,-schneidlaenge/2-5,0]) cube([radius,schneidlaenge+10,2]); } translate([radius,schneidlaenge/2+30,0]) cylinder(r=30,h=3)...
glb/cad_5bd6feca0869.glb
Create a BURGcam Bullet 304 adjustable camera mount consisting of a base and a cover. Construct the base as a hollow cylinder with an outer diameter of 92.5mm and a height of 25mm. The walls should be 3mm thick. Inside this base, create three vertical screw holes with a diameter of 3.8mm, spaced evenly at 120-degree ...
$fn=120; lochabstand=81; fussdm=92+.5; fussh=10; schraubendm=3.8; schraubenl=25; staerke=3; boden=3; camdm=70+.5; camh=8; camsab=56; camwinkel=15; module sub() { translate([0,0,schraubenl]) cylinder(d=fussdm,h=fussh); for(i=[0:2]) rotate([0,0,i*120]) { translate([lochabstand/2,0,0]) cylinder(d=schraubendm,h=sc...
glb/cad_f2f8979094fe.glb
Create a Mini Drawers housing. The main body is a rectangular shell with an interior width of 35.9mm, an interior height of 17.9mm, and a total depth of 56mm. The walls have a thickness of 1mm. On the side walls, integrate runners to support drawers. These runners consist of a central spine 1mm wide and 1.425mm high, ...
include <Chamfer.scad>; $fn = 50; eps = 0.01; demo_mode = false; units_x = 1; units_y = 1; magnets = true; magnet_dropin = false; magnet_count_y = -1; magnet_diameter = 8.35; magnet_thickness = 1.35; stopper = true; stopper_faces_front = true; stopper_height = 1.5; stopper_length = 10; stopper_width = 10;...
glb/cad_3d795fb79372.glb
Create a two-part axle for a spool holder. First, construct a wide base cylinder with a diameter of 16mm and a height of 16mm. Directly on top of this base, add a second, shorter cylinder that acts as a cradle seat, with a diameter of 13mm and a height of 13mm, positioned so that its bottom sits 5.2mm above the bottom ...
cylinder(5.2,16,16); cylinder(100,4.4,4.4); translate([0,0,15]) cylinder(5.2,16,16); translate([0,0,5.2]) cylinder(10,13,13);
glb/cad_ed50836d60c4.glb
Create a two-piece axle for a spool holder. First, construct a hollow outer cylinder with an outer diameter of 113mm and a height of 8mm. Remove a concentric inner cylinder from this piece with a diameter of 4.6mm and a height of 120mm to create a thin-walled ring. Second, create a solid inner axle consisting of three...
cylinder(5.2,16,16); difference() { cylinder(113,8,8); cylinder(120,4.6,4.6); } translate([0,0,15]) cylinder(5.2,16,16); translate([0,0,5.2]) cylinder(10,13,13);
glb/cad_d6f407b48c53.glb
Create a spool holder axle spacer by constructing a thick, low-resolution cylinder with a diameter of 33mm and a height of 16mm. The cylinder should have 32 facets to give it a faceted, polygonal appearance. Centered vertically and horizontally through the entire height of the object, add a cylindrical hole with a diam...
difference() { cylinder(16,33,33); cylinder(16,8.5,8.5); }
glb/cad_fbe92e90dc8d.glb
Create a keyboard leg by starting with a cylindrical base 6mm in diameter and 6mm in height. Directly on top of this base, center a second cylinder with a diameter of 8mm and a height of 4mm. Above this middle section, place two rectangular blocks, each measuring 1.3mm by 3.5mm by 8mm; position the first block with its...
cylinder(6, 3,4); translate([0,0,6]) cylinder(8, 4, 4); rotate(a=90, v=[0,0,1]) { translate([2.3,-2,14]) cube([1.3, 3.5, 8]); } rotate(a=90, v=[0,0,1]) { translate([-3.8,-2,14]) cube([1.3, 3.5, 8]); } translate([-1.5,3.8,21.2]) { rotate([0,0,90]) { rotate(a=90, v=[1,0,0]) cylinder(3.6,1,1, $fn=3);} } translate(...
glb/cad_fb65ef533423.glb
Create a sorting box separator consisting of a grid of thin partition plates. Each plate has a thickness of 1.4mm and a height of 32mm. The structure is composed of several intersecting segments. Create vertical plates (X-axis separators) that are 63.1mm wide at the top and taper slightly to 62.5mm at the bottom, wit...
wall_thickness = 1.4; rounding = 2; width_above = 63.1; width_below = 62.5; length = 124.65; height = 32; sepX1 = true; sepX2 = true; sepX3 = true; sepX4 = false; sepX5 = true; sepY1 = true; sepY2 = false; sepY3 = true; sepY4 = false; sepY5 = true; sepY6 = false; sepY7 = true; sepY8 = false; sepY9 = true; ...
glb/cad_3ed8c23c5702.glb
Create a shelf for a WLANmaus or multiMAUS handheld controller. Start with a main body consisting of a block 38mm wide, 73mm deep, and 63mm high. Add a side attachment wing that is 6mm wide, 73mm deep, and 98mm high, positioned to extend the height and width of the base. On the top surface, add two thin rectangular sla...
$fn=50; screws = true; cablemouse = true; clamp = true; difference() { union() { translate([-3, -3, -3]) cube([38, 73, 63]); if (clamp) { translate([-9, -3, -3]) cube([6, 73, 98]); } else { translate([-6, -3, -3]) cube([3, 73...
glb/cad_4ab88617b107.glb
Create a Dashboard Cover for a Xiaomi Mi Pro 2 E-Scooter. Start by constructing a main body using a hull of three cylinders: two with a radius of 9mm positioned at [5, 5, 0] and [29, 5, 0], and one with a radius of 21mm at [17, 117, 0], all with a height of 66mm. From this volume, remove a central inner hull formed by ...
$fn=70; Rahmenstaerke=4; difference (){ hull(){ translate([5,5,0]) cylinder(r=5+Rahmenstaerke, h=62+Rahmenstaerke); translate([29,5,0]) cylinder(r=5+Rahmenstaerke, h=62+Rahmenstaerke); translate([17,117,0]) cylinder(r=17+Rahmenstaerke, h=62+Rahmenstaerke); } hull(){ tran...
glb/cad_cb8504417fdb.glb
Create a marker stand consisting of a main body, a blade, and an optional recycling symbol. For the main body, create a rectangular block with a total height of 14.4mm. The block should have a width of 21.54mm and a depth of 46.27mm. Add a wall around the perimeter that is 1.27mm thick and 2mm high. In the center of t...
$vpr=[90 - atan(sin(45)),0,45]*1; $vpd = 600 + 12; $vpt = [0, 0, 0] * 1; use <Recymbol/library.scad> Object_type = 1; Modules = 1; Wall_thickness = 1.27; Wall_height = 2; add_wall = Wall_thickness > 0; wall_t = add_wall ? Wall_thickness : 0; wall_h = add_wall ? Wall_height : 0; Precision = 180; precision = Precis...
glb/cad_49e1fbeddb50.glb
Create a Magnumizer marker case consisting of a main body and a removable cap. First, construct the body as a cylinder with a height of 90mm and an outer diameter of 27mm. The top and bottom ends of this cylinder should feature a 4mm tall chamfer. Hollow out the center of the body by removing a cylinder with a diamet...
CapOuterDia=30; CapHeight=60; CapInnerDia=12.9; CapInnerDepth=53; CapInnerClip=10; BodyOuterDia=27; BodyHeight=90; BodyInnerDia=12.2; BodyInnerHeight=86; RenderText=false; BodyText="Magnumizer"; BodyTextSize=10; BodyTextDepth=3; BodyTextFont="Arial"; Part="Both"; PreviewPolly = 50; RenderPolly = 200; $fn = $preview...
glb/cad_70c642239ce8.glb
Create a Parametric Flexible Door Handle Bumper with a total thickness of 10mm. The object consists of two concentric cylindrical rings connected by a central bridge. First, create a large outer cylinder with a diameter of 25mm (19mm hole diameter plus 6mm spacing) and a height of 10mm. Remove a smaller concentric cy...
$fa = 1; $fs = 0.2; d_right_hole=19; d_left_hole=10; d_curve=10; spacing=6; thickness=10; fill=6; x_right_center=(d_right_hole+spacing)/2; x_left_center=-(d_left_hole+spacing)/2; r_right_cylinder = (d_right_hole+spacing)/2; r_left_cylinder = (d_left_hole+spacing)/2; r_midle_cylinder = d_curve/2; omega=r_right_cylin...
glb/cad_3f71e5d94b51.glb
Create an infrared LED connector for a multimeter. Start by constructing a rectangular base block 30mm wide, 20mm deep, and 0.1mm high. Build upon this base by adding a second rectangular section centered on the width, measuring 23.5mm wide and 17.5mm deep, with a height of 7mm. Above this, add a third rectangular sect...
$fn=88; difference() { union() { hull() { translate([0, 0, 0]) cube([30, 20, .1]); translate([0, 0, 4.4-.1]) cube([30, 20-1, .1]); translate([(30-23.5)/2, 0, 7]) cube([23.5, 20-2.5, .1]); } hull() { translate([(30-23.5)/2, 0, 7]) cube([23.5, 20-2.5, .1]); translate([(30-23.5...
glb/cad_ee18fda66824.glb
Create a paint rack for drawers consisting of a row of 8 identical bottle holders. Each individual holder unit is a block measuring 30mm wide, 45.3mm deep, and 35mm high. For each holder, create a base plate 30mm wide, 15mm deep, and 3mm thick. On top of this base, add two vertical walls on the outer sides, each 35mm...
holders_x = 8; holders_y = 1; bottle_diameter = 25; bottle_neck_diameter = 20; bottle_neck_height = 28; bottle_height = 50; bottle_parameters = [bottle_diameter, bottle_height, bottle_neck_diameter, bottle_neck_height]; module paintmock(d=25, h=50, neck_d=20, neck_h=28) { cylinder(d=d, h=h, $fn=60); tran...
glb/cad_2e4703782b91.glb
Create a coffee grinder filling funnel by combining three main components. First, create a large outer bowl by rotating a polygon around the Z-axis. This polygon should have vertices at [25.5, 0], [27, 0], [28, 10], [40, 30], [38, 30], and [26, 10] in millimeters. Second, add a central pole by rotating a polygon with v...
module funnel() { points = [ [25.5, 0], [27, 0], [28, 10], [40, 30], [38, 30], [26, 10] ]; rotate_extrude($fn = 100) polygon(points=points); } module pole() { points = [ [7, 0], [9, 0], [6, 5.5], [6, 11.0], [0, 16], [0, 13], [4, 10], [4, ...
glb/cad_a3de3be39fea.glb
Create a helmet holder consisting of a flat base and a protruding hook. Start with a base plate 3mm thick, formed by the convex hull of four 14mm diameter cylinders: two positioned at the center points (0,0) and (72,0), and two others offset at (10,10) and (62,10). Drill two 9mm diameter holes completely through the ba...
$fn = 64; height=3; diameter=14; screw=9; space=72; hook=30; label="Daytona"; union() { difference() { hull() { cylinder(h=height, d=diameter); translate([space,0,0]) cylinder(h=height, d=diameter); translate([10,10,0]) cylinder(h=height, d=diameter); t...
glb/cad_1c2965cd666c.glb
Create a hanger for half curtains starting with a rectangular base plate measuring 18mm by 32mm with a thickness of 2.8mm. Centered on this base, add a small square block measuring 10mm by 10mm with a height of 4mm. Above this block, construct a cylindrical loop with an outer diameter of 22mm and a thickness of 3mm, or...
fn=120; module GH(x,y){ translate ([x,y,0]){ difference(){ union(){ translate ([0,0,1.4]) cube ([18,32,2.8],center = true); translate ([0,0,4.3]) cube ([10,10,4],center = true); translate ([0,0,12.7]) rotate ([0,90,0]) cylinder (h=10,d=18,center= true, $fn=fn); difference (){ translate ([0,0,12.7]) ...
glb/cad_9be344309728.glb
Create a conversion kit bezel for a laser cutter display panel. Start by creating a rectangular base plate measuring 150mm by 190mm with a thickness of 10mm. The edges of this plate should be rounded with a 10mm radius. From this base, remove a large central rectangular section measuring 96mm by 136mm, centered 3.5mm...
$fn=100; module platte() { difference() { union() { translate([0,0,5]) minkowski() {cube([129,169,10],center=true); cylinder(d=10,h=0.000001); };}; translate([0,0,5])minkowski() {cube([129,169,20],center=true); cylinder(d=6,h=0.000001); };}; minkowski() {cube([150,190,2],center=true); cylinder(d=10,h=0.000001); }; };...
glb/cad_209459c58e48.glb
Create a rectangular electronics enclosure box for a controller conversion kit. The main body is a hollowed-out rectangular prism with outer dimensions of 143mm in length, 50mm in width, and 78mm in height. The walls should be uniform, and the interior must be completely open to create a shell. On the two smaller sid...
$fn=100; module halter() { difference() { translate([0,0,-83/2]) cube([183,50,5], center=true); translate([-183/2+10,0,-83/2]) cube([3.5,40,20], center=true); translate([183/2-10,0,-83/2]) cube([3.5,40,20], center=true); translate([-183/2+10,0,-83/2]) cube([3.5,40,20], center=true); translate([183/2-10,20,-83/2]) cyli...
glb/cad_8b9225216d66.glb
Create a conversion kit mount by starting with a central rectangular block measuring 18mm wide, 32.5mm deep, and 15mm high, centered on the origin. From this main body, remove a smaller rectangular section measuring 8mm wide, 12.5mm deep, and 50mm high, centered along the X-axis. To create the mounting and alignment ...
$fn=100; module x_achse() { difference() {cube([18,32.5,15],center=true); translate ([5,0,0]) cube([8,12.5,50],center=true); translate ([-4.5,10,0])cylinder(d=3.5,h=50,center=true); translate ([-4.5,-10,0])cylinder(d=3.5,h=50,center=true); translate ([-4.5,10,-29])cylinder(d=6.5,h=50,center=true,$fn=6); transl...
glb/cad_2624a7e05647.glb
Create a conversion kit enclosure for a laser controller. Start with a main body created by combining a 70x50x60mm centered cube with a 6mm spherical fillet on all edges. Attach a base plate to the bottom, centered at Z -31.5mm, consisting of a 90x50x3mm slab with 6mm rounded corners. Hollow out the center of the main...
$fn=60; difference() { union() { minkowski() {cube([70,50,60],center=true);sphere(d=6);}; translate([0,0,-31.5]) minkowski () {cube([90,50,3], center=true); cylinder(d=6,h=0.000001,center=true);}; }; translate([0,0,-2]) cube([70,50,66],center=true); translate([26,0,0])cylinder(d=10.5,h=100,center=true); translate([8,...
glb/cad_4d9721619d64.glb
Create a bed leveling thumb wheel as a short cylinder with a diameter of 22mm and a height of 4mm. Center a vertical hole with a diameter of 3.5mm through the entire height of the cylinder. To create a nut trap, carve a hexagonal cavity into the center of the wheel with a flat-to-flat width of 6mm and a depth of 2.5mm,...
include <knurledFinishLib_v2.scad> wheel_d = 22; wheel_h = 4; hole_d = 3.5; hex_sz = 6; hex_d = 2.5; knurl_cnt = 12; knurl_d = 3; module box(w,h,d) { translate([0,0,d/2]) scale ([w,h,d]) cube(1, true); } module hexagon(height, depth) { boxWidth=height/1.75; union() { box(boxWidth, height, depth); rotate([0,0...
glb/cad_bcf02a70baac.glb
Create a hollow cylindrical shape for a shape sorter piece. The outer wall should be a cylinder with a radius of 21.5mm and a total height of 38mm. This outer shell must have a uniform wall thickness of 4mm. To complete the piece, add a solid circular disk with a radius of 21.5mm and a thickness of 4mm, positioned hori...
height=38; radius = 21.5; wall_thickness = 4.0; half_wall_thickness = wall_thickness * 0.5; difference() { cylinder(height,radius,radius,$fn=50); cylinder(height, radius - half_wall_thickness, radius - half_wall_thickness); } translate([0,0,height/2]) cylinder(wall_thickness,radius,radius);
glb/cad_d43db4969c0e.glb
Create a cross-shaped toy piece with a total height of 32mm. The overall footprint is formed by four rounded-corner rectangular arms extending from a central hub. Each arm is based on a 12mm cube, but the corners are rounded with a 6mm radius. The structure is a hollow shell with a wall thickness of 4mm. To achieve t...
width_of_cube = 12; middle_thickness = 4; height_of_cube = 32; size_of_curve = 6; y_move_north = (width_of_cube + (size_of_curve / 2) ) * 2; move_east = width_of_cube + (size_of_curve / 2); translate([move_east,move_east,0]) { difference() { minkowski() { cube([width_of_cube, width_of_cube, height_of_cube]); cy...
glb/cad_d518815d63c6.glb
Create a star-shaped piece for a shape sorter toy. The object is a hollow five-pointed star with a total height of 30mm. The outer wall is defined by a five-pointed star with an outer radius of 24mm and an inner radius of 10mm. Create a matching five-pointed star-shaped hole through the center of the object with an out...
difference(){ linear_extrude(height = 30) { Star(5, 24,10); } linear_extrude(height = 30) { Star(5, 18,8); } } translate([0,0,14]) { linear_extrude(height = 4) { Star(5, 20,8); } } module Star(points, outer, inner) { function x(r, a) = r * cos(a); function y(r, a) = r * sin(a); increment = 360/points; u...
glb/cad_14d2d8c5b87e.glb
Create a hollow square piece for a shape sorter toy. Start by constructing a solid cube with a base size of 31mm by 31mm and a total height of 32mm. Apply a fillet or rounding to all exterior vertical edges with a radius of 7mm to soften the corners. Hollow out the center of the cube to create a cavity, leaving a wall ...
height_of_cube = 32; size_of_cube = 31; interior_wall_thickness = 4; size_of_curve = 7; difference() { minkowski() { cube([size_of_cube, size_of_cube, height_of_cube]); cylinder(d=size_of_curve,h=size_of_curve); } cube([size_of_cube,size_of_cube,45]); } translate([0,0, height_of_cube / 2]) cube([size_of_cube,...
glb/cad_d2f790f01f1f.glb
Create a rounded triangular shape sorter piece with a total height of 30mm. Start by constructing the outer body as a triangle with rounded corners, using a base radius of 18mm and a corner rounding radius of 6mm. The walls of the piece should be 4mm thick. Hollow out the center of the triangle to create a cavity, leav...
radius_of_triangle = 18; height_of_piece = 30; difference() { minkowski() { cylinder(height_of_piece/2,radius_of_triangle,radius_of_triangle,$fn=3); cylinder(20,6,6); } minkowski() { cylinder(height_of_piece+4,radius_of_triangle-4,radius_of_triangle-4,$fn=3); cylinder(2,6,6); } } translate([0,0,height_of_p...
glb/cad_280fefd5ebd1.glb
Create a traffic cone model starting with a thin, square base plate 30mm wide and 0.1mm thick, with a circular cutout in the center to match the cone's footprint. Centered on this base, construct a hollow truncated cone with a total height of 50mm. The outer wall of the cone should taper from a bottom radius of 13mm to...
height = 50; base_width = 30; top_width = 5; base_height = 0.1; wall_thickness = 1; difference() { union() { intersection() { translate([-base_width/2,-base_width/2,0]) cube([base_width,base_width,base_height]); cylinder(r=0.6*base_width,h=base_height); } cylinder(r1...
glb/cad_7d9fa4769a27.glb
Create a bike license plate as a flat rectangular plaque with a thickness of 2mm. The overall dimensions of the plate are 145mm wide by 87.5mm high, with all four corners rounded to a radius of 6mm. Cut through the plate to create two mounting slots. Each slot should be a pill-shaped hole formed by the hull of two 3m...
state = "Hello"; name = "There"; bottom = "Have a great day"; spacing = 1; lsize = .7; font_ = "Paper Cutout"; size = [145,87.5]; c_rad = 6; BikePlate(name, state, bottom, spacing, lsize, font_); module BikePlate(name, state, bottom, spacing, lsize, font_) { color("blue") { linear_extrude(height =...
glb/cad_78c8a308bf5a.glb
Create a bike license plate as a flat plate measuring 120mm by 37.5mm with a thickness of 2mm. The plate should have rounded corners with a radius of 6mm. Cut two mounting slots through the plate: one positioned 20mm from the left edge and another 20mm from the right edge, both centered vertically. Each slot is forme...
state = ":)"; bottom = "Have a great day"; spacing = 1; lsize = .7; font_ = "Paper Cutout"; size = [120,37.5]; c_rad = 6; BikePlate(name, state, bottom, spacing, lsize, font_); module BikePlate(name, state, bottom, spacing, lsize, font_) { color("blue") { linear_extrude(height = 2) differ...
glb/cad_dea972b36c5e.glb
Create a Customizable Handlebar Mount consisting of two mirrored clamping parts. Start by creating a main cylinder with an outer diameter of 42mm and an inner hole of 32mm to accommodate a handlebar, with a total height of 20mm. The wall thickness of this ring is 5mm. For the top connector, add two rectangular blocks ...
part="assembled"; ld=32; $fn=100; bh=20; ws=5; gpc_d=15; gpc_r=1; gpc_b=2.8; gpc_a2=3.4; gpc_a3=3.6; module SchraubeM4(lg=20, lm=3.1) { union() { cylinder(r=4.2, h=lm, $fn=6); translate([0, 0, lm-0.1]) cylinder(d=4.5, h=lg+0.1); } } module LenkerVerbinder(gpc=true) { difference() { union() { ...
glb/cad_bdebc8700c39.glb
Create a Customizable Blank Molle Mount. Start with a solid rectangular base measuring 51mm in width, 36mm in height, and 4mm in depth. The wall thickness for all outer edges and internal dividers is 2.5mm. Cut two vertical strap holes through the depth of the base. The first strap hole is 2.5mm wide and 32mm high, po...
innerWidth = 45; strapWidth = 30; strap1Thickness = 0.5; strap2Thickness = 0; opening1 = 1; opening2 = 0; opening1Position = 0.8; opening2Position = 0.8; length = 4; thickness = 2.5; margin = 1; resolution = 15; $fn = resolution; module makeouter() { strap2Thickness = strap2Thickness == 0 ? strap1Thickne...
glb/cad_f1dcfabba9b7.glb
Create a CPU fan duct with a base footprint of 138mm by 134mm and a total height of 38mm. Start with a solid rectangular base plate 8mm thick. Centered on this plate, starting at an offset of 6.5mm from the left and 9mm from the top, build a rectangular riser with a height of 30mm and a width and length of 92mm. Insid...
xoffset = 6.5; yoffset = 9; fan_height = 14; screw_length = 26; xlength = 138; ylength = 134; duct_height = 38 - fan_height; compile(); module compile() { intersection () { difference() { structure(); dustfilter(); fanholes(); } cube([xlengt...
glb/cad_e4ecf423b295.glb
Create a trash sign consisting of a rectangular base plate with a raised decorative element. Start by creating a solid rectangular block measuring 150mm wide, 200mm deep, and 20mm high. From this base, remove a central rectangular section measuring 150mm by 200mm and 40mm high, positioned 16.6mm above the bottom surfac...
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); } module trash_sign() { di...
glb/cad_12bb66c7a71c.glb
Create a recycle sign consisting of a rectangular base with a raised emblem. Start by creating a solid rectangular block measuring 150mm wide, 200mm deep, and 20mm high. From this base, remove a smaller rectangular section measuring 150mm wide, 200mm deep, and 40mm high, positioned 16.6mm above the bottom surface, to c...
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); } module recycle_sign() { ...
glb/cad_045cad50151e.glb
Create a funnel with a total height of 98mm. Start with a circular rim at the top with an outer diameter of 95mm and a height of 3mm. From the bottom of this rim, create a conical section that tapers down to a diameter of 20mm over a height of 65mm. Attached to the bottom of this cone, add a cylindrical spout with a he...
funnel_upper_diameter = 95; funnel_height = 65; rim_height = 3; thickness = 1.6; spout_upper_diameter = 20; spout_height = 30; spout_lower_diameter = 15; create_fins = "true"; fin_width = 3; create_tab ...
glb/cad_04627145031c.glb
Create a two-part mould for silicone robot tyres. First, construct the base mould. Create a main cylinder with a diameter of 54mm and a height of 22mm. Subtract a tyre-shaped void from the center, which consists of a 20mm high extruded profile. This profile is a circle with a 54mm diameter, featuring 40 small circula...
$fa = 1; $fs = 0.4; wheel_od = 40; wheelwidth = 20; tyre_stretch = 3; tyre_thickness = 6; tyre_id = wheel_od - (tyre_stretch*2); tyre_od = tyre_id + (tyre_thickness*2); knobble_radius = 2.5; knobble_count = 40; knobble_twist = 15; mould_wall_thickness = 1; mould_base_thickness = 2; mould_top_overlap = 2; mould_od =...
glb/cad_b216ba8a6e40.glb
Create a silicone tyre mould consisting of two matching parts: a base and a top. The base is a cylindrical outer mould with an outer diameter of 40mm and a width of 20mm. The interior features a central cylindrical void and a radial tread pattern consisting of 60 evenly spaced, vertical ribs that create a zigzag prof...
$fa = 1; $fs = 0.4; wheel_od = 40; rim_thickness = 2; tooth_depth = 0.5; points = 60; hubradius = 4.2; wheelwidth = 20; spokes = 5; spokewidth = 1.2; shaftoffset = 1.2; shaftlength = 7.5; shaftwasher = 0.6; shaft_diam = 5.4; solid_diam = 3.7; tolerance = 0.3; wheel_outer_radius = wheel_od/2; rimradius = wheel_oute...
glb/cad_1103bfe4763b.glb
Create a cable guide for an Ikea LACK enclosure. Start by creating a central rectangular block with a width of 50mm, a depth of 16mm, and a height of 50mm. Add a thin rectangular flange to the top of this block that extends 5mm beyond the width and depth of the main body and is 2mm thick. To create the cable exits, rem...
resolution = 120; cube_x = 50; cube_y = 16; cube_z = 50; module cable_guide() { difference() { union() { cube([cube_x,cube_y,cube_z], center=true); translate([0,0,25]) cube([cube_x+10,cube_y+10,2], center=true); } translate([12,0,0]) cylinder(h=200, d=7, $fn=resolution, center=true); translate([0,...
glb/cad_7958eb00d9ff.glb
Create a bottom panel for a Railcore electronics box by starting with a rectangular plate measuring 299mm in width, 59mm in depth, and 6mm in thickness. The plate should have slightly rounded corners with a radius of 1mm. Remove four circular mounting holes, each 3.5mm in diameter, positioned 4.5mm from the side edge...
width = 299; depth = 59; thick = 6; holeDia = 3.5; holeXOff = 4.5; holeYOff = 14.5; $fn=50; difference() { hull() { translate([width/2-1,depth/2-1,0]) cylinder(r=1,h=thick); translate([-width/2+1,depth/2-1,0]) cylinder(r=1,h=thick); translate([width/2-1,-depth/2+1,0]) cylinder(r=1,h=thick); ...
glb/cad_0b77017e8104.glb
Create a Hilbert space-filling curve coaster. The design consists of a recursive, winding path with a constant line thickness of 90% of the base unit size, extruded to a height of 5mm. The path follows a 3rd-order Hilbert curve pattern contained within a 100mm by 100mm square area. The curve is composed of rounded se...
finsize = 100; thick = 90; extrude = 5; order = 3; coaster = true; $fn = 16; size = 100 + 0; module topline(order) { if (order>0) { scale([0.5,0.5]) topline(order-1); } else { hull() { translate([-size/2,size/2]) circle(d = thick); translate([size/2,size/2]) circle(d = thick); }; } } ...
glb/cad_760153001165.glb
Create a male end for a Freeman KEYQC3 pull apart coupler. Start with a base cylinder 7.75mm in diameter and 7.75mm in height. Stack a hexagonal prism on top of the base with a diameter of 9.0mm and a height of 3.0mm, using 6 flat sides. Above the hexagon, add a cylinder 5.75mm in diameter and 3.0mm in height. Contin...
Segment1_Diameter = 7.75; Segment1_Height = 7.75; Segment2_Diameter = 9.0; Segment2_Height = 3.0; Segment2_fn = 6; Segment3_Diameter = 5.75; Segment3_Height = 3.0; Segment4_Diameter = 3.85; Segment4_Height = 1.0; Segment5_Diameter = 5.75; Segment5_Height = 1.0; Segment6_Diameter = 3.85; Segment6_Height = 2.0; Tra...
glb/cad_0bf3304f4ce5.glb
Create a Hex Key Cap by constructing a hexagonal shell with a hollow interior and a specific mounting stem. Start with a hexagonal prism that has a height of 7mm and a maximum width of 18mm. Taper the sides inward so the top face is 85% the size of the base. The walls of this shell should be 1.4mm thick. Inside the ba...
$fn=42; width = 18; height = 7; radius = 1; thickness = 1.4; module hex_cap(){ union(){ difference(){ linear_extrude(height=height,convexity=10,scale=0.85) hull(){ for(i=[0:60:360]) rotate([0,0,i])translate([width/2 - radius,0,0])circle(r=radius); } translate([0,0,-thickness]) ...
glb/cad_05d7cd1ea679.glb
Create a 3D model of a dragon curve fractal with a depth of 5mm. The base geometry is generated by recursively folding a line of thickness 80mm. For each order of the fractal, the shape is formed by two scaled and rotated versions of the previous order, rotated at 225 and 315 degrees respectively, and scaled by a facto...
thick = 80; order = 5; finwidth = 150; depth = 5; $fn = 16; baselen = 100 + 0; oost = 1/sqrt(2); module dragon(order) { if(order>0) { union(){ scale([oost,oost]) rotate([0,0,225]) translate([-baselen,0]) dragon(order-1); scale([oost,oost]) rotate([0,0,315]) translate([-baselen,0])...
glb/cad_2ec91f81f7cd.glb
Create a vertical paint rack for flat surfaces. Start by constructing a thin rectangular base plate with a thickness of 1.2mm. The base consists of a central area measuring 34mm by 31.8mm, surrounded by padding: add a 15mm wide strip to the top, 3mm wide strips to the left and right sides, and a 5mm wide strip to the b...
SLOT_0_4_STL="slot_0_4mm.stl"; SLOT_0_8_STL="slot_0_8mm.stl"; SLOT_STL=SLOT_0_8_STL; RACK_SIZE_X=1; RACK_SIZE_Z=2; SLOT_SIZE_X=30; SLOT_SIZE_X_REAL=34; SLOT_SIZE_Y=31.8; SLOT_SIZE_Z=38; SLOT_SIZE_Z_REAL=40; FLOOR_SIZE=1.2; PADDING_FLOOR_TOP=15; PADDING_FLOOR_LEFT=3; PADDING_FLOOR_RIGHT=3; PADDING_FLOOR_BOTTOM=5; m...
glb/cad_1c7caab59259.glb
Create a Distanční kroužek pro KU-68 spacer ring with a total height of 10mm. Start by creating a hollow cylinder with an outer diameter of 73.5mm and an inner diameter of 71mm. Cut the cylinder in half along its diameter to create two symmetrical semi-circular arcs. On the outer edge of each half, integrate three sm...
$fn=200; ku_vnejsi_d = 73.5; ku_vnejsi_r = ku_vnejsi_d / 2; ku_vnitrni_d = 71; ku_vnitrni_r = ku_vnitrni_d / 2; ku_stena = ku_vnitrni_d - ku_vnejsi_d; ku_zavity_d = 60; ku_zavity_r = ku_zavity_d / 2; zavity_vnitrni_d = 2.8 / 2; zavity_vnitrni_r = zavity_vnitrni_d / 2; zavity_vnejsi_d = 5 / 2; zavity_vnejsi_r = za...
glb/cad_075087e859e9.glb
Create a fractal cubic space-filling tree using a recursive geometric pattern. The base unit of the structure is a set of four square-profile prisms, each with a radius of 5mm and a length of approximately 141.42mm. These prisms are arranged in two pairs; each pair consists of two prisms intersecting at their centers, ...
thick = 5; order = 3; baselen = 100 + 0; magic = 54.7356103 + 0; $fn = 4 + 0; module cubetree(order) { if(order>0) { union() { scale([0.5,0.5,0.5]) translate([baselen/2,baselen/2,baselen/2]) cubetree(order-1); scale([0.5,0.5,0.5]) translate([-baselen/2,baselen/2,baselen/2]) cubetree(order-...
glb/cad_9abd49ea940e.glb
Create a cylinder with a diameter of 7.92mm and a height of 96mm.
$fs = 0.1; $fa = 1; box_internal_width = 96; bearing_small_d = 7.92; cylinder(h=box_internal_width, d=bearing_small_d);
glb/cad_9bc385478e53.glb
Create a MUJI Drybox humidity indicator mount. Start by constructing a rectangular floor frame with an outer dimension of 96mm by 220mm and a height of 1.4mm. The frame should have a perimeter wall thickness of 2.8mm, with the interior hollowed out. Divide the floor area by adding four internal support beams, each 2.8m...
$fs = 0.1; $fa = 1; box_internal_width = 96; bearing_small_d = 7.9; bearing_d = 22; side_bearing_pusher_width = 2; side_bearing_pusher_d = 11; side_at_bearing_width = 1.2; pins_distance = 104; pins_altitude = bearing_d / 2 + 4; floor_length = 220; floor_height = 1.4; floor_frame_thickness = 2.8; module side() { ...
glb/cad_ae6b27c668b1.glb
Create a hollow cylindrical tube for a MUJI Drybox accessory. The main body should have an outer diameter of 23.6mm and a total height of 92mm, with a wall thickness of 0.8mm. Inside this tube, create a central bore with a diameter of 22mm that runs through the entire height. At the bottom of the tube, incorporate a ...
$fs = 0.1; $fa = 1; flange_d = 28; width = 92; flange_width = 1; bearing_d = 22; bearing_width = 7; bearing_stopper_d = bearing_d - 0.5; wall_thickness = 0.8; difference() { cylinder(h=width, d=bearing_d+wall_thickness*2); cylinder(h=width, d=bearing_d); } translate([0,0,bearing_width]) difference() { cyl...
glb/cad_496512d4d314.glb
Create a keyboard plateless grommet with a total length of 20mm. The model consists of three stacked layers. Start with a middle layer that is a rectangular prism 20mm long, 0.8mm wide, and 1.6mm thick. Above this middle layer, add a top section 20mm long and 3mm high. This top section should be 2.43mm wide, but feat...
fudge = 0; gap_top = 3; gap_bottom = 2.8; gap_case = .8; pcb = 1.6+fudge; width = 20; cube_sz = 2; curve = 1; $fn=20; smooth = 45; top_thick = 2.43; bottom_thick = 4.45; difference(){ cube([width,top_thick,gap_top]); difference(){ color("white") translate([0,top_thick-curve,gap_top-curve]...
glb/cad_6cd4dd4d53be.glb
Create an end cap for a wood slat by designing a rectangular shell with rounded corners. The outer dimensions should be 73mm in length and 23.5mm in width, with a total height of 8mm. The corners of this outer shell must have a radius of 4.5mm. Hollow out the center to create a cavity that is 69mm long and 19.5mm wid...
$fn=123; module rbox(sx, sy, cr=0) { translate([cr,cr]) offset(r=cr) square([sx-2*cr, sy-2*cr]); } difference() { union() { difference() { linear_extrude(8) translate([-2,-2]) rbox(2+69+2, 2+19.5+2, 2+2.5); translate([0,0,2.5]) linear_extrude(8) rbox(69, 19.5, 2.5); } trans...
glb/cad_b33fadc60089.glb
Create a wood slat helper end cap designed for a 10mm by 19mm slat. Start by creating a rectangular block with rounded corners, measuring 23.25mm in width and 13.75mm in depth, with a total height of 8mm. Hollow out the center of this block to create a rectangular cavity measuring 19.25mm by 9.75mm, leaving a wall thic...
$fn=88; module rbox(sx, sy, cr=0) { translate([cr,cr]) offset(r=cr) square([sx-2*cr, sy-2*cr]); } sx=19.25; sy=9.75; difference() { union() { difference() { linear_extrude(8) translate([-2,-2]) rbox(2+sx+2, 2+sy+2, 1.1); translate([0,0,2]) linear_extrude(8) rbox(sx, sy, .1); }...
glb/cad_04e806726650.glb
Create a wood slat helper bracket with a total height of 13mm. Start with a central rectangular cutout measuring 19.75mm wide by 10mm deep to accommodate a wood slat. Build the walls around this cutout with a thickness of 3.5mm. Extend the outer sides of the bracket by an additional 12mm on each side to create mounting...
$fn=88; sx=19.75; sy=10; sz=13; wall=3.5; ear=12; difference() { union() { translate([-sx/2-wall-ear,0,0]) cube([ear+wall+sx+wall+ear,wall,sz]); translate([-sx/2-wall,0,0]) cube([wall+sx+wall,sy+wall,sz]); translate([-sx/2-wall, wall, 0]) cylinder(r=5/2, h=sz, $fn=4); translate([+s...
glb/cad_fa179f0a1646.glb
Create a Split Measuring Cup by constructing a hollow cylinder with an outer diameter of 59mm and an inner diameter of 55mm. The walls should be 3mm thick. Set the total height of the cylinder to approximately 44.5mm. The base of the cup must be solid, with the interior cavity starting 3mm above the bottom surface. Div...
desired_volume = 2 * 650; cup_diameter = 55; wall_thickness = 3; $fn = 300; full_volume_mm3 = desired_volume * 100 * 1.1; cup_r = cup_diameter / 2; outer_r = cup_r + wall_thickness; cup_h = full_volume_mm3 / (3.1415 * cup_r^2); echo("cup_h = ", cup_h); union() { difference() { cylinder(cup_h, outer_r, outer_...
glb/cad_1b6678946bc6.glb
Create a customizable broom-style brush consisting of a handle and a head. First, construct the handle. Create a cylinder 50mm long with a diameter of 20mm, capped with a sphere of the same diameter at one end. On the flat surface of the handle, add a raised text tag that reads "your name here" with a height of 1.5mm...
create_handle(); fn = 32; tag = "your name here"; pin_length = 20; pin_d_bottom = 3; pin_d_top = 1.8; pin_top_sphere_d = 3; pin_insert_cylinder_d = 2.6; pin_insert_cylinder_length = 4; pin_insert_disk_d = 1.6; pin_insert_disk_length = 0.5; head_length = 62; head_d = 18; head_fn = 8; head_x_spacing = 7; inset_x_am...
glb/cad_d9e231692e6d.glb
Create a front wood holder for a kitchen cabinet. Start with a central rectangular block measuring 9.8mm wide, 12.5mm deep, and 26.4mm high. On the left side of this block, attach a symmetrical snapping mechanism. This mechanism consists of two mirrored profiles extruded to a length of 26.4mm; each profile is defined...
module snapper(len, dist=11.6) { snap = [ [0,0], [1.1, 6.7], [-0.1, 6.7], [1.2, 9.8], [2.8, 9.8], [3.2, 9.2], [1.6, 0] ]; linear_extrude(len) { polygon(snap); translate([dist, 0, 0]) mirror() polygon(snap); } } module raster(dist=11.8) { rast = [ [0,0], [1.3...
glb/cad_0ec5810dfeac.glb
Create a custom pet bowl by revolving a specific profile around a central vertical axis. The profile starts at the origin, extends horizontally to a radius of 74mm, and rises to a total height of 30mm. The outer wall slopes inward from the top rim, which is 3mm thick, while the interior base is flat with a 3mm thicknes...
name = "Benji"; font = "Bree Serif"; filled = "yes"; textThicknes = 0.8; radius_out = 74; height = 30; slope_out = 15; rim = 3; slope_in = 10; ground = 3; fillet_in = 5; fillet_out = 1.2; $fn = 150; module napf() { rotate_extrude() union() { ...
glb/cad_7ff07f676872.glb
Create a 3D text model that reads "Mr & Mrs" using a bold, cursive script font like Satisfy. Extrude the text to a uniform height of 3.5mm. The characters should be sized at 20mm. Position the first "M" at the origin, followed by a lowercase "r" shifted 9.1mm to the right and 0.3mm down. Place the ampersand and the sec...
font = "Satisfy:syle=Bold"; size = 20; linear_extrude(height = 3.5) { translate([0, 0, 0]) text("M", font = font, size = size, [10, "left"]); translate([9.1, -0.3, 0]) text("r", font = font, size = size, [10, "left"]); translate([15.3, 0, 0]) text("&M", font = font, size = size, [10, "left"]); translate...
glb/cad_1deede87c6de.glb
Create a Lens Hood Cover by constructing a hollow cylindrical cup with a height of 30mm and a wall thickness of 2mm. The outer diameter of the cylinder should be 85.4mm and the inner diameter 81mm. On the flat exterior surface of the cylinder, emboss two lines of text. Position the first word, "Sigma", centered horizon...
use <LensHoodCover.scad> $fn = 100; DIA_EXT = 85.4; DIA_INT = 81; WALL_THICKNESS = 2; CAP_HEIGHT = 30; difference(){ lens_cover( r=DIA_EXT/2, ri=DIA_INT/2, h=CAP_HEIGHT, t=WALL_THICKNESS); translate([0, 4, 0]){ mirror(v=[1,0,0]){ linear_extrude(height=...
glb/cad_6de5e8c59903.glb
Create a Lens Hood Cover by constructing a hollow cylindrical cup with a height of 25mm. The outer diameter of the cylinder should be 75.5mm and the inner diameter 72mm, resulting in a wall thickness of 1.75mm. On the exterior flat surface of the cylinder, engrave two lines of text. Position the first line, reading "Si...
use <LensHoodCover.scad> $fn = 100; DIA_EXT = 75.5; DIA_INT = 72; WALL_THICKNESS = 2; CAP_HEIGHT = 25; difference(){ lens_cover( r=DIA_EXT/2, ri=DIA_INT/2, h=CAP_HEIGHT, t=WALL_THICKNESS); translate([0, 4, 0]){ mirror(v=[1,0,0]){ linear_extrude(height=...
glb/cad_1a8d23151e0b.glb
Create a Lens Hood Cover by constructing a hollow cylindrical cup with a height of 25mm and a wall thickness of 2mm. The outer diameter of the cylinder should be 78.4mm and the inner diameter 73mm. On the exterior side wall of the cylinder, emboss two lines of centered text. The first line should read "Sigma" in a 12pt...
use <LensHoodCover.scad> $fn = 100; DIA_EXT = 78.4; DIA_INT = 73; WALL_THICKNESS = 2; CAP_HEIGHT = 25; LABEL_DEPTH = 0.8; TITLE_MAIN = "Sigma"; TITLE_SUB = "56mm f1.4"; difference(){ lens_cover( r=DIA_EXT/2, ri=DIA_INT/2, h=CAP_HEIGHT, t=WALL_THICKNESS); translate([0, 4,...
glb/cad_ffde6f4b668f.glb
Create a Lens Hood Cover by constructing a hollow cylindrical cup with a height of 25mm. The outer wall should have a radius of 41.5mm and the inner cavity a radius of 38mm, resulting in a wall thickness of 3.5mm. On the flat top surface of the cover, engrave two lines of text centered on the Y-axis. Position the first...
use <LensHoodCover.scad> $fn = 100; RADIUS = 41.5; RADIUS_INT = 38; WALL_THICKNESS = 2; CAP_HEIGHT = 25; difference(){ lens_cover( r=RADIUS, ri=RADIUS_INT, h=CAP_HEIGHT, t=WALL_THICKNESS); translate([0, 4, 0]){ mirror(v=[1,0,0]){ linear_extrude(height=...
glb/cad_259d625aea0f.glb
Create a Lens Hood Cover by constructing a nested cylindrical shell. Start by creating a main outer cylinder with a radius of 43.5mm and a total height of 39mm. Hollow out the center of this cylinder by removing a concentric inner cylinder with a radius of 41.5mm, starting from a height of 4mm from the base and extendi...
$fn = 100; DIA_EXT = 75.5; DIA_INT = 72; WALL_THICKNESS = 2; CAP_HEIGHT = 20; module lens_cover(r, ri, h, t){ difference(){ cylinder(r=r+t, h=h); translate([0, 0, 4]) cylinder(r=r, h=h); } difference(){ cylinder(r=ri, h=12); translate([0, 0, 4]) cylinder(r=ri-10, h=h); ...
glb/cad_c9cf0080082f.glb