Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Shower Screen Hook by constructing a continuous, thick-walled profile. Start with a horizontal top bar that is 80mm long, 10mm wide, and 10mm thick. At one end of this bar, create a rounded transition that curves downward to form a vertical leg. This leg should extend 60mm down, maintaining the 10mm width and ...
e=1; translate([-5,0,0]) cube([80,10,10]); hull() { translate([80,5,0]) rotate([0,0,-180]) cube([10,15,10]); translate([75,-50,10/2]) rotate([0,0,-180]) sphere(r=5); } translate([75,10/2,0]) cylinder(r=10/2, h=10); hull() { translate([-10/2,10/2,0]) cylinder(r=10/2,h=10); translate([0,5,0]) rotate(...
glb/cad_b4b938673857.glb
Create a circular fan grille with a total diameter of 135.8mm and a base thickness of 0.8mm. The main face consists of a square grid pattern formed by intersecting vertical and horizontal strips. Each strip is 0.4mm wide, with a gap of 1.4mm between them, extending across the face of the grille. This grid is contained ...
$fs = 0.05; $fa = 4; fan_d = 135; flange_thickness = 2.5; flange_offset = 6; thickness = 0.8; grille_hole_width = 1.4; grille_spoke_width = 0.4; linear_extrude(thickness) { intersection() { union() { for (x = [-fan_d / 2 : grille_hole_width + grille_spoke_width : fan_d / 2]) { translate([x, 0]) square([gr...
glb/cad_e8a714ee7057.glb
Create a Zombie Cookie Cutter by constructing a thin-walled vertical shell based on a stylized zombie silhouette. First, define the outer perimeter as a complex polygon representing a zombie figure. The shape should be approximately 200mm in height and 200mm in width. The silhouette features a head at the top, a tors...
fudge = 0.1; module poly_path3052(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-102.517075,-38.097565],[-90.741465,-53.336585],[-86.585365,-66.497565],[-89.356095,-81.043905],[-94.897555,-90.048785],[-88.663415,-108.058535],[-60.956095,-114.985365],[-56.107315,-121.9121...
glb/cad_b8d0f8cf2e35.glb
Create a Zombie Cookie Cutter by extruding a stylized zombie silhouette to a height of 5mm. The shape should feature a head with an open mouth and a jagged profile, a torso with outstretched arms, and legs in a walking or lunging pose. The overall dimensions of the silhouette are approximately 204mm in length and 198mm...
fudge = 0.1; module poly_path3026(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-35.387282,-204.093750],[-43.092478,-203.546745],[-50.845312,-202.527481],[-54.555483,-201.549469],[-58.056632,-200.103852],[-61.275113,-198.074117],[-64.137282,-195.343750],[-69.322351,-191....
glb/cad_dd78b7e080ab.glb
Create a front panel for an ATX PSU Bench Power Supply. Start with a rectangular base measuring 190mm wide by 180mm high and 3mm thick, with rounded corners of 5mm radius. Cut several holes into this panel for components. Place six fuse holder holes (13.5mm diameter) in a horizontal row 30mm from the top edge, spaced ...
front_width = 190; front_height = 180; front_thickness = 3; number_of_objects_horisontally = 6; number_of_objects_vertically = 6; hole_clearance = 0.5; no_mount_holes = 3; mount_hole_diameter = hole_clearance + 4; mount_hole_distance_from_edge = 10; mount_hole_distance_from_corner = 30; fuse_holder_diameter = hole_c...
glb/cad_c567581dd95e.glb
Create a printer fan mount consisting of a central hotend attachment and a 40mm fan housing. Start with a main body that features a central cylindrical cutout with a 25mm diameter to accommodate a heatsink. Build a rectangular fan mount measuring 40mm x 40mm x 6mm. Integrate side curves and a top curve that wrap arou...
FOREVER = 1000; MAIN_FAN_SIZE = 40; $fn = 60; module halfDomain(vector = [0,0,1], FOREVER = 1000, SPHERE = false) { v = vector / norm(vector); if (SPHERE) { translate(v * FOREVER/2) sphere(d=FOREVER, center=true); } else { translate(v * FOREVER/2) cube(FOREVER, center=tr...
glb/cad_add7fc3ca749.glb
Create a replacement base layer for a Pibow-type case. Start with a main rectangular plate measuring 66mm by 99mm with a thickness of 3mm, featuring rounded corners with a 5mm radius. At the four corners of the plate, add cylindrical feet with a radius of 5mm and a height of 5mm. Within each foot, create a central ho...
$fa = 1; $fs = 0.5; module roundedBox(size, radius) { cube(size - [2*radius,0,0], true); cube(size - [0,2*radius,0], true); for (x = [radius-size[0]/2, -radius+size[0]/2], y = [radius-size[1]/2, -radius+size[1]/2]) { translate([x,y,0]) cylinder(r=radius, h=size[2], center=true); } } difference(){ ...
glb/cad_1d939265ff95.glb
Create a 1:10 scale RC car wheel with a total width of 40mm and an outer radius of 43.5mm. Start by constructing the main rim body as a cylinder with a radius of 36.5mm and a height of 40mm. Hollow out the center of this rim by removing a concentric cylinder with a radius of 27.5mm and a height of 34mm. At the top of...
module raftGrid(r=30, rI=20, x=1,y=2,d=2,step=10, h=0.2) { m=r*x*y*1.2; translate([0,0,h/2] )union() { scale([x,y,1]) difference() { cylinder( r=r, h=h, center=true, $fn=fnf ); cylinder( r=r-d, h=h, center=true, $fn=fnf ); } intersection() { scale([x,y,1]) cylinder( r=r, h=h, center=true, $fn=fnf ); ...
glb/cad_1ac2cc8840b7.glb
Create a USB key holder consisting of a main rectangular base and a top cylindrical cap. First, construct the base as a hollowed rectangular block. The outer dimensions are 15.1mm in width, 12.5mm in depth, and 14.8mm in height. Create a central rectangular cavity measuring 5mm by 12.5mm with a depth of 13.8mm. Round...
module myCube (pSize=[100, 50, 20] , pCenter=[0,0,0] ) { ltx = -(pCenter.x?pCenter.x:0)*pSize.x/2; lty = -(pCenter.y?pCenter.y:0)*pSize.y/2; ltz = -(pCenter.z?pCenter.z:0)*pSize.z/2; translate([ltx,lty,ltz]) cube(pSize,center=true); } module myBevel(r,h, rh=0, zrot=0, xyref="c", x=undef, y=undef) {...
glb/cad_f7de7a95fdf9.glb
Create an adjustable link by starting with a flat plate that is 2mm thick. The main body consists of two cylinders with a diameter of 3mm, connected by a rectangular bridge. One cylinder is positioned at the origin, and the second is positioned 50mm away along the x-axis. The bridge connecting them is 3mm wide and 2mm ...
HoleSize=3; Distance1=30; Distance2=50; Thickness=2; WallWidth=100; Width=HoleSize*(1+WallWidth/50); MinDistance=min(Distance1,Distance2); MaxDistance=max(Distance1,Distance2); $fn=100; difference() { union() { cylinder(h=Thickness,d=Width); translate([MaxDistance,0,0]) cylinder(h=Thickness,d=Width); tra...
glb/cad_6c29ea4f81b5.glb
Create a Buchner funnel with a standard taper joint. Start with a flat circular plate 55mm in diameter and 1mm thick. In this plate, create a pattern of small hexagonal holes, each 1.5mm in diameter, spaced 1.5mm apart, extending from the center toward the edges. Surround this plate with a concentric cylindrical wall ...
inner_diameter = 55; hole_diameter = 1.5; hole_spacing = 1.5; plate_thickness = 1; side_thickness = 1.5; side_height = 30; cone_height = 10; joint_diameter = 29; joint_len = 25; joint_offset = 10; $fs = 0.05; $fa = 4; module plate() { punched_radius = inner_diameter / 2 - hole_spacing * 2; linear_extrude(plate_thic...
glb/cad_ad5db162a940.glb
Create a mechanical pencil holder designed to slide onto a notebook cover. Start by constructing a vertical cylinder with an outer diameter of 13.5mm and a height of 25mm. Hollow out the center of this cylinder with a concentric hole 9.5mm in diameter to create a tube with a wall thickness of 2mm. Attach a rectangular ...
$fn = 100; pd = 9.5; height = 25; mat_t = 2; mat_tp = 2; thickness = .4; difference() { union() { translate([0, pd/2+mat_tp, 0])cylinder(d=pd+mat_tp*2, h=height, center=false); cube(size=[28, mat_t, height], center=false); translate([pd/2-mat_t, thickness+mat_t, 0])cube(size=[2...
glb/cad_6cce1066ffdf.glb
Create an aquarium spraybar knee segment by constructing a 90-degree curved tube. The tube should have an inner radius of 8.3 mm and a wall thickness of 0.8 mm, resulting in an outer radius of 9.1 mm. The curvature of the bend is defined by a bending radius of 16.6 mm from the center of the curve to the center of the t...
r_inner = 16.6/2; r_bending = 2*r_inner; wall = .8; space = .15; r_open = 2; height = 80; $fn = 60; eps = 1e-3; module knee(rotating=-90) { difference() { rotate([0,0,rotating]) rotate_extrude(angle=90, convexity=10) translate([r_bending, 0]) circle(r_inner + wall); rotate([0,0,...
glb/cad_90a702365da0.glb
Create an aquarium spraybar consisting of a vertical hollow tube with a total height of 80mm. The main body is a cylinder with an outer radius of 9.1mm and an inner bore radius of 8.3mm, creating a wall thickness of 0.8mm. The top of the tube is capped with a hemispherical dome that has a radius of 9.1mm, though the do...
r_inner = 16.6/2; r_bending = 2*r_inner; wall = .8; space = .15; r_open = 2; height = 80; $fn = 60; eps = 1e-3; difference() { union() { translate([0,0,height]) intersection() { scale([1,1,.5]) sphere(r=r_inner+wall); translate([-1.5*r_inner+wall,-1.5*r_inner+wall,0]) ...
glb/cad_1ae91db2dff1.glb
Create an aquarium spraybar attachment consisting of a hollow cylindrical tube. The tube must have an inner diameter of 16.6 mm and a wall thickness of 0.8 mm, resulting in an outer diameter of 18.2 mm. The total length of the cylinder is 80 mm. The interior of the tube is a clear circular bore running the full length ...
r_inner = 16.6/2; length = 20; wall = .8; space = .15; r_open = 2; height = 80; $fn = 60; eps = 1e-3; rotate([90,0,0]) difference() { cylinder(r=r_inner+wall, h=10+length); translate([0,0,-eps]) cylinder(r=r_inner, h=10+length+2*eps); } translate([0,-2,0]) rotate([-90,0,0]) difference() { uni...
glb/cad_5bb147f714a5.glb
Create a Nespresso Filler consisting of a 3x2 grid of six identical funnel-shaped holders. Each holder is constructed by creating a base cylinder with a radius of 21.5mm and a height of 6mm. Above this base, add a conical sleeve that starts at a radius of 21.5mm and tapers outward to a top radius of 30mm over a height ...
ent_size = 30 ; ent_ray = 30 ; cap_head = 37+2; cap_col = 28+1; oversize_cap = 3 ; oversize_ep = 3 ; rez = 150 ; cap_diam_head = cap_head/2; cap_diam_col = cap_col/2; module caps_header() { difference() { translate([0,0,oversize_cap*2]) cylinder(h = ent_size, r1=cap_diam_head+oversize_ep, r2=ent...
glb/cad_b82de18977c5.glb
Create a Nespresso Filler tool by assembling four geometric components along a central vertical axis. Start with a base cylinder 3mm high with a radius of 14mm. Directly above this, place a truncated cone that is 12mm high, tapering from a 14mm radius at the bottom to a 7mm radius at the top. Above the cone, add a seco...
cap_head = 36; cap_col = 28; base_haut = 3; cap_diam_head = cap_head/2; cap_diam_col = cap_col/2; cylinder(h = base_haut, r1=cap_diam_col, r2=cap_diam_col, center = true, $fn=150); translate([0,0,7.5]) cylinder(h = base_haut*4, r1=cap_diam_col, r2=cap_diam_col/2, center = true, $fn=150); translate([0,0,34]) cyli...
glb/cad_7738b28a74d3.glb
Create a Nespresso Filler tool consisting of a tapered hollow cup and an attached handle. Start by creating a hollow tapered cylinder with a height of 27.5mm. The outer diameter should taper from 30.8mm at the base to 26.4mm at the top, while the inner cavity tapers from 28mm at the base to 24mm at the top, leaving a w...
ent_size = 30 ; ent_ray = 30 ; cap_bot = 28; cap_col = 24; cap_haut = 25; spoon_ep = 2 ; man_long = 50 ; man_larg = 12 ; man_epai = 3 ; ratio = 1.1 ; rez = 150 ; cap_diam_bot = cap_bot/2; cap_diam_col = cap_col/2; module spoon() { scale(ratio) difference() { cylinder(h = cap_haut+spoon_e...
glb/cad_1747c73f5e58.glb
Create a checkers piece by revolving a specific profile around a central axis to create a circular body. The overall diameter is 30mm and the total height is 10mm. The profile should be designed with rounded corners of 2.4mm radius at the top and bottom edges. On the top surface, center a cylindrical recess with a dia...
part = "piece"; preview = 1; d_g = 30; h_g = 10; d_m = 19.75; h_m = 2.0; d_r = 1.2; n_r = 23; r_vr = 2.4; r_wnk = 45; c = 0.5; angle = 60; font="Symbola:style=Regular"; ts = 0.92 * (d_m-2*c); syt = -0.5; sxt = -0.3; t_h = 0.4; tau = 2 * PI; xy_factor = 1/tan(angle); z_factor = tan(angle); some_distance = 50; ms ...
glb/cad_781d4831ff35.glb
Create a square rod or tubing wall bracket. Start by constructing a main outer block that is 29.5mm wide, 24.5mm deep, and 24mm tall. Hollow out the center of this block to create a square tube holder with a wall thickness of 5mm on the sides and bottom, leaving the top open. The interior cavity should be 19.5mm wide a...
Num_Holes=1; ED=20; TW=19.5; WT=5; SHR=2.4; SHS=3.5; SHD=2.5; SBO=0; TL=20; SD=9; MT=4; FR=5; if(Num_Holes == 1) { rotate([0,0,180]) difference(){ translate([0,0,ED/2+MT/2]) cube([TW+(WT*2), TW+WT, ED+MT],center=true); translate([0,MT/2,MT/2]) cylinder(h=MT+5, r=SHR,$fn=60,center=true); translate([0,MT/2,...
glb/cad_e9f5afe94fcc.glb
Create a customizable chalk box consisting of a base and a lid. The base is a rectangular container with rounded corners (radius 3mm) and a total height of 80mm. The walls are 2.4mm thick. The interior is divided into a grid of 12 compartments (4 wide by 3 deep). Each compartment is 12.5mm by 12.5mm, separated by int...
boxHeight = 80; lidHeight = 20; text_to_include = "HAGOROMO"; textSize = 6; textDirection = 0; showParts = 0; preview = 1; compWidth = 12.5; compDepth = 12.5; compWall = 0.8; compCntX = 4; compCntY = 3; $fn=60; wt=2.4; boxWidth = compCntX * (compWidth + compWall) - compWall; boxDepth = compCntY * (comp...
glb/cad_b2df26dfa2d4.glb
Create a RepRap Filament Spindle Hub by starting with a base shape formed by the intersection of a box measuring 40mm in width and length and 33mm in height, and a cylinder with a radius of 23.5mm and a height of 35mm centered on the same axis. Remove a central vertical cylinder with a radius of 22mm and a height of ...
include <../mendel.inc> include <../mendel.conf> include <spindle.scad> hub_width = 40; hub_length = 40; hub_height = 33; module hub() { difference () { intersection() { box(hub_width, hub_length, hub_height); cylinder(hub_height+2, hub_width/2+3.5, hub_width/2+3.5, center=true); } cylinder(hub_height...
glb/cad_644bb25ac684.glb
Create a RepRap Filament Spindle Spool Hub by starting with a main cylinder that is 75mm in diameter and 5mm high, centered on the Z-axis. From this main body, remove a central vertical hole with a diameter of 10mm. Next, create four small circular mounting holes, each 3mm in diameter and passing through the entire h...
include <../mendel.inc> include <../mendel.conf> include <spindle.scad> spool_hub_height = 5; spool_hub_diameter = 75; spool_hub_spoke_width = 20; spool_hub_spoke_length = 20; spool_hub_bolt_diameter = 3; module spool_hub() { difference() { cylinder(spool_hub_height,spool_hub_diameter/2,spool_hub_diameter/2,cent...
glb/cad_909bb4dc3636.glb
Create a RepRap Filament Spindle Spoke. Start with a main vertical rectangular body that is 20mm wide, 5mm thick, and 90mm high. At the top of this body, add a rectangular cap that is 20mm wide, 5mm thick, and 12.5mm deep, extending from the top edge. At the bottom of the main body, create a base plate that is 20mm...
include <../mendel.inc> include <../mendel.conf> include <spindle.scad> spool_spoke_height = 90; spool_spoke_width = 20; spool_spoke_length = 5; spool_spoke_mount_inset = spool_spoke_length+10; spool_spoke_mount_inset = 20; spool_spoke_hub_inset = 25; module spool_spoke() { union() { difference() { box(spoo...
glb/cad_9f6cffb2dd74.glb
Create a beveled cube with overall dimensions of 40mm in width, 30mm in depth, and 20mm in height. The shape is formed by taking a central rectangular prism and applying a consistent 2mm bevel to all twelve edges. This is achieved by creating a hull around three intersecting inner prisms: one measuring 40mm by 26mm by ...
xsize=40; ysize=30; zsize=20; bevel=2; module beveled_cube(x,y,z,b) { hull() { cube([x,y-2*b,z-2*b],center=true); cube([x-2*b,y,z-2*b],center=true); cube([x-2*b,y-2*b,z],center=true); } } beveled_cube(xsize,ysize,zsize,bevel);
glb/cad_1c31ebc9629b.glb
Create a cable clip consisting of two connected C-shaped rings of a thickness of 2mm and a total width of 10mm. The first ring is centered on the Y-axis at 4.25mm and has an outer diameter of 10.5mm and an inner diameter of 6.5mm. The second ring is centered on the Y-axis at -4.5mm and has an outer diameter of 11mm and...
thickness = 2.0; w = 10.0; dia1 = 6.5; dia2 = 7.0; fn = 100; angle = 60; union() { translate([0, (dia1+thickness)/2, 0]) union() { difference() { cylinder(h=w, $fn=fn, d=dia1+2*thickness, center=true); cylinder(h=w+1, $fn=fn, d=dia1, center=true); linear_extrude(heigh...
glb/cad_fdb3605d203c.glb
Create a box and a matching lid. For the box, create a solid rectangular block with outer dimensions of 25mm width, 35mm length, and 15mm height. Hollow out the center by removing a rectangular block starting 2.5mm from each side and 2.5mm from the bottom, leaving a cavity that is 20mm wide, 30mm long, and 12.5mm deep....
insideWidth = 20.00; insideLength = 30.00; insideHeight = 10.00; fingerGrip = 10.00; wallThick = 2.50; lidPadding = 0.25; makeBox(); module makeBox() { makeBoxBottom(); makeBoxLid(); } module makeBoxBottom() { edgeThick = (wallThick * 2); outerWidth = insideWidth + edgeThick; out...
glb/cad_f13850e61bed.glb
Create a Customizable QFP Chip Tray consisting of a grid of 30 individual chip holders arranged in 3 columns and 10 rows. Each individual holder begins with a rectangular base plate measuring 11.4mm by 11.4mm with a thickness of 1.2mm. Centered on this base is a smaller rectangular foot measuring 6.8mm by 6.8mm with ...
SizeX = 9; SizeY = 9; SizeZ = 1.2; LengthLeg = 1; HeightFoot = 1; Tolerance = 0.5; NumHor = 3; NumVer = 10; SizeWall = 1.2; $fa=5+0; $fs=0.5+0; for(j = [0 : NumVer-1]){ for(i = [0 : NumHor-1]){ translate([(SizeX+SizeWall+Tolerance*2)*i, (SizeY+SizeWall+Tolerance*2)*j, 0]) holder(); } } module holder() { ...
glb/cad_719f1016918d.glb
Create a simple clip for a solar panel by starting with a base cube measuring 30mm by 30mm with a height of 5mm. In the center of this base, create a circular hole with a radius of 2.5mm that passes completely through the 5mm thickness. To form the clipping arm, add a second cube measuring 30mm by 30mm with a height of...
module solar_panel_clip1() { difference(){ cube([30,30,5]); translate([15,15,0])cylinder(r=2.5, h=8); } translate([25,0,5])cube([5,30,8]); translate([25,0,8])cube([30,30,5]); } solar_panel_clip1();
glb/cad_9da46a27876e.glb
Create a matched pair of involute bevel gears. The first gear should have 12 teeth and the second gear should have 36 teeth. Set the axis angle between the two shafts to 45 degrees and use a pressure angle of 20 degrees for the tooth profile. The gears are designed as truncated cones where the teeth radiate from a co...
use <MCAD/involute_gears.scad> ignore_this=0; part = 0; gear1_teeth = 12; gear2_teeth = 36; axis_angle = 45; outside_circular_pitch = 1000; bore_diameter = 0; pressure_angle = 20; bevel_gear_pair_v2( gear1_teeth = gear1_teeth , gear2_teeth = gear2_teeth , axis_angle = axis_angle , outside_circular_pitch...
glb/cad_e40ff41daf26.glb
Create a Bottle Puzzle consisting of a base and several interlocking components. Start by constructing the base as a cylinder with an outer radius of 45mm and a height of 45mm. Hollow out the center of this base by removing a cylinder with a radius of 40mm and a height of 40mm, starting from a height of 5mm from the bo...
radius=40; module top() { difference() { cylinder(55,25,25); translate([0,0,-1])cylinder(51,20,20); } difference() { union() { translate([-2.5,55,35])rotate([0,90,0])cylinder(5,20,20); translate([-2.5,25,15])cube([5,30,40]); } translate([-3.5,55,35])rotate([0,90,0])cylinder(7,15,15); } difference() { transla...
glb/cad_30d0f3d64441.glb
Create a Head Mounted Display (HMD) housing starting with a main rectangular body measuring 135mm in width, 78mm in height, and 22mm in depth. Hollow out the center of this body to create a screen cavity of 131mm by 74mm by 18mm, leaving a wall thickness of 2mm on all sides. On the front face, create a rectangular open...
screen_width = 131; screen_height = 74; screen_cavity_height = 18; lens_height = 29; lens_radius = 25.7; IPD = 64; back_opening_height = 14; wall_thickness = 2; screw_radius = 1; screw_depth = 2; translate([0,0,screen_height+(2*wall_thickness)]) rotate([-90,0,0]) difference(){ difference(){ difference(){ d...
glb/cad_3764c33d55c8.glb
Create a Nautilus Shell by generating a series of 40 concentric rings. Each ring should be a hollow cylinder with a height of 60mm. The outer radius of the first ring starts at 60mm and increases by 10mm for each subsequent ring, while the inner wall thickness remains constant at 10mm (the inner radius is always 10mm s...
ring_shape="cylinder"; number_rings = 40; scale_xstart = 1.5; scale_xend = .7; Zpull_shell = 0; ring_madd = 1; number_sides = 10; spin_angle = 5; Xorient_angle = 90; Yorient_angle = 0; Zorient_angle = 180; $fn=30+0; xinc = (scale_xend-scale_xstart)/number_rings; rotate([Xorient_angle, Yorient_angle, Zori...
glb/cad_106e6493c6cf.glb
Create an asymmetric guitar pick with a thickness of 0.66mm. Start by constructing the main body as a convex hull encompassing three cylinders of the same height: one with a radius of 10mm centered at the origin, one with a radius of 7.5mm positioned at [0, 5.5, 0], and one with a radius of 5.5mm positioned at [10, 0, ...
module pick(r_big=12, r_med=9, r_small=6, h=.66) { hull() { cylinder(r=r_big, h=h); translate([0, r_small, 0]) cylinder(r=r_med, h=h); translate([r_big, 0, 0]) cylinder(r=r_small, h=h); } } module edge(h=.66) { translate([0,0,h/2]) sphere(r=h/2); } module guitarpick(r_big=12, r_med=9, r_...
glb/cad_01af0c434ee5.glb
Create an Anker Charger Holder by constructing a hollow rectangular sleeve with rounded corners. The outer dimensions of the sleeve should be 63mm wide, 31mm deep, and 70mm high. The walls should be 2mm thick, and all vertical corners must have a radius of 5mm. The top of the sleeve is completely open, while the bottom...
$fn=100; depth=27; width=59; height=70; corner_radius=5; wall=2; plug_width=25; plug_depth=17; plug_radius=3; difference(){ linear_extrude(height) { offset(corner_radius) { square([(width+(wall*2))-(corner_radius*2),(depth+(wall*2))-(corner_radius*2)]); } } translate([wall,wall...
glb/cad_ce1fbd4128dd.glb
Create a 3D model of the projective space PG(3,2). The structure consists of 15 points represented by spheres and 35 lines represented by cylinders. First, place 15 spheres, each with a radius of 1.6mm, at the following coordinates: (±10, 0, -7.05), (0, ±10, 7.05), (0, 0, -7.05), (±5, ±5, 0), (0, ±3.33, -2.35), and (...
difference(){ rotate([54.7356,0,0]){ translate([10., 0., -7.05])rotate([0., 90., 180.])cylinder(h=20.,d=1.0); translate([10., 0., -7.05])rotate([0., 45., 135.])cylinder(h=20.,d=1.0); translate([10., 0., -7.05])rotate([0., 45., 225.])cylinder(h=20.,d=1.0); translate([-10., 0., -7.05])rotate([0., 45., 45.])cylinder(h=20....
glb/cad_d4dbab9e5edb.glb
Create a microwave door key consisting of a rounded rectangular base with two vertical cylindrical posts and two outer rectangular tabs. Start with a base plate measuring 43mm in length, 18mm in width, and 4mm in height, ensuring all edges and corners are rounded with a 4mm radius. Position two vertical cylinders wit...
$fn=100; difference(){ minkowski() { cube([43,18,4],true); cylinder(r=4,h=1); } union () { translate ([0,0,3]) #minkowski() { cube([43,18,5],true); cylinder(r=2,h=1); } } } difference(){ union () { rotate ([0,0,0]) translate ([11,0,0]) cylinder(r=4.75,h=37.6); rotate ([0,0,0]) translate ([-11,0,0]) cylinder(r...
glb/cad_a61adc697055.glb
Create a parametric ball joint assembly consisting of two main components: a ball base and a socket. First, construct the ball base by creating a sphere with a radius of 6mm. Attach a cylinder to the bottom of the sphere with a radius of 6mm and a height of 3mm, and add a second, shorter cylinder directly beneath it w...
size = 6; joint_spacing = 0.1; joint_thickness = 2.4; joint_arms = 4; arm_width = 4; size_ratio = 6/10; base_radius = size*size_ratio; outer_radius = size+joint_spacing+joint_thickness; inner_radius = size+joint_spacing; ball_cut_ra...
glb/cad_78fd37f21ba9.glb
Create a Wearable Clip Fan bracket by constructing a flat, elongated plate with a thickness of 3mm and a total height of 10.5mm. The main body is a rectangular plate with a width of 63.7mm (calculated as 57mm plus three times the hole radius). At each end of the plate, create a vertical cylindrical pin with a radius ...
thickness = 3; length = 45; angle = 1.2; clamp_space = 3.2; clamp_radius = clamp_space * 2; stick_offset = clamp_radius - thickness; number_of_teeth = 7; clamp_height = 10; bracket_size = 57.7; bracket_heig...
glb/cad_4c00bb988a48.glb
Create a Parametric Wearable Clip Fan case consisting of two mirrored halves. The main body is a rectangular enclosure with a total width of 45.8mm, a height of 54.8mm, and a depth of 7mm. Construct the bottom case by creating a rectangular shell with a wall thickness of 1.2mm. Inside this shell, create three distinc...
battery_width = 36; battery_height = 53; battery_thickness = 5; case_thickness = 1.2; pcb_thickness = 1.7; step_up_width = 19; step_up_height = 26; step_up_thickess = 4; part_margin = 0.8; charger_width = 18; charger_height ...
glb/cad_ea7e91c121cc.glb
Create a trench system accessory consisting of two identical side assemblies and a central planked section. For each side assembly, start with a rectangular spar measuring 45mm by 2.5mm with a thickness of 1.25mm. Attach a thin side plate to this spar, created by extruding a polygon with vertices at [0,0], [45,0], [42....
use<Trench Wall.scad> $fn=50; side(); planks(); translate([45,23]) rotate(180) side(); module side() { linear_extrude(1.25)square([45,2.5]); rotate([90,0,0]) linear_extrude(0.5) polygon(points=[[0,0],[45,0],[45-2.5,2.5],[2.5,2.5]]); translate([-(36-45)/2,2.5,1.25]) rotate([90,0,0]) linear_extrude(2...
glb/cad_681111361a2a.glb
Create a set of Interstellar Imperial Army Trench DooDads consisting of three tiered rectangular platforms. The base platform is 17.5mm wide and 12.5mm high, the middle is 17.5mm wide and 10mm high, and the top is 17.5mm wide and 8.5mm high. Each platform has a thickness of 2mm. For each platform, add a 0.5mm thick fr...
$fn=50; w=17.5; d1=12.5; d2=10; d3=8.5; translate([0,8.5*2])linear_extrude(d3)square([w,2]); translate([0,8.5*1])linear_extrude(d2)square([w,2]); translate([0,8.5*0])linear_extrude(d1)square([w,2]); translate([w-1,8.5*2]) rotate([90,0,-90]) linear_extrude(2) polygon(points=[[0,0],[8.5*2,0],[(8.5*2)-2,d1],[8.5*1,d2],[...
glb/cad_0c183c3a3c6e.glb
Create two separate components for the Interstellar Imperial Army Trench DooDads. For the first component, create a base rectangular plate 60mm wide by 20mm deep with a thickness of 1.5mm. Add two vertical rectangular blocks at each end, each 6.5mm wide and 19.5mm deep, with a height of 3mm. Between these blocks, plac...
use<Trench Wall.scad> use<Trench Junction Wall.scad> $fn=50; topSection(); bottomSection(); !assembled(); module assembled() { topSection(); translate([29,9.75,0]) rotate([180,0,0]) bottomSection(); } module topSection() { color("orange") linear_extrude(1.5) { square([6.5,19.5]); translate([0,(19.5-6.25...
glb/cad_39f3b72bf765.glb
Create a ladder for a trench system consisting of two identical side rails connected by six rungs. Each side rail is a flat strip 40mm long and 1.25mm thick. Along the length of each rail, add five small rectangular protrusions, each 3mm wide and 1.5mm thick, spaced every 6.25mm starting from a 2.5mm offset. On the fac...
use<Trench Wall.scad> $fn=30; ladder(); module ladder() { side(); translate([0,2.5+7.75])mirror([0,1,0])side(); for(i=[0:5]) translate([4.5+i*6.25,0]) rotate(90)step(); } module side() { linear_extrude(1.5)square([40,1.25]); linear_extrude(1.75) for(i=[0:5]) translate([2.5+i*6.25,-0.25]) ...
glb/cad_49af830fd1ae.glb
Create a hollowed geometric base by starting with a hull formed between two cylinders: a bottom cylinder with a radius of 27.5mm and a height of 3mm, and a top cylinder with a radius of 22mm and a height of 9mm. From this combined volume, remove a sphere with a radius of 27.5mm centered at a height of 1mm above the bas...
d0=55; r0=d0/2; $fa=2; $fs = 0.1; t0 =1; tsockel =3; difference() { hull() { cylinder(r=r0,h=tsockel,center=false); cylinder(r=r0-r0*0.2,h=tsockel*3,center=false); } translate([0,0,r0+t0]) sphere( r=r0); cylinder(r=4/2,h=20,center=true); }
glb/cad_5173ba1fd9ea.glb
Create a Rokenbok Letter "A" consisting of a rectangular base plate and a raised character. First, create a rectangular base plate measuring 35mm in length, 1mm in thickness, and 13mm in height. On top of this plate, center a raised 3D letter "A". The letter must have a height of 50mm and a thickness of 13mm. Posit...
use <write/Write.scad> printheight = 13; BLOCK_LENGTH=20; letter_size = 50; rokenbokletter("A"); module rokenbokletter(text="A"){ if(text == "A"){ text(1.5, text, 30); } if(text == "B"){ text(8, text, 1); } if(text == "C"){ text(0, text, 14); } if(text == "D"){ text(10, text, 10); } if(text == "E"){ text(0, tex...
glb/cad_bdd5343dcdbc.glb
Create a knife sharpener body consisting of a handle and a housing for two sets of washers. First, create the washer housing. This section consists of two parallel cylindrical chambers, each 12mm wide and 20mm in diameter. These chambers are joined by a central block, forming a single unit that is 30mm wide and 20mm ...
d_screw=6; l_screw=12; d_washers=20; dist_screws=18; handle_len=90; handle_h=5; handle_r=2; spacing=1; wt=2; $fs=1; $fa=1; r_washers=d_washers/2; ys=l_screw+2*spacing+2*wt; for(x=[0,-dist_screws]) translate([x,-l_screw/2,r_washers+spacing]) rotate([-90,0,0]) { %cylinder(d=d_washers,h=l_screw); %colo...
glb/cad_dcbb59295db8.glb
Create an accessory holder for a handheld tire compressor. Start with a base rectangular block measuring 42mm in width, 12mm in depth, and 1mm in height. Extend this base downwards by adding a rectangular section 42mm wide, 12mm deep, and 12mm high, centered beneath the base. On the top surface, create four vertical h...
$fs=1; $fa=1; module inset() { difference() { cylinder(d=7,h=32); translate([2,-4,-1]) cube([8,8,34]); translate([3,0,27]) rotate([0,-90,0]) cylinder(d=3,h=7); } } difference() { union() { hull() { for(x=[6,36]) translate([x,0,6]) rotate([-90,0,0]) cylinder(d=12,h=12); cube([...
glb/cad_07ea94425298.glb
Create a Parametric Vent Grid consisting of a rectangular plate measuring 200mm in width, 80mm in height, and 3mm in thickness. The plate must have a solid border 3mm thick around all four edges. Within this border, create a grid of hexagonal holes, each with a diameter of 6mm. The hexagons should be arranged in a stag...
plateWidth = 200; plateHeight = 80; plateThickness = 3; hexDiameter = 6; hexRadius=hexDiameter/2; h_spacing = 7; v_spacing = 6; fading = 1; borderThickness=3; hHolesNum=floor((plateWidth-(borderThickness*2))/h_spacing)-1; echo ("hHolesNum: ",hHolesNum); hUsedSpace=(hHolesNum+0.5)*h_spacing; echo ("hUsedSpace: ",hUsed...
glb/cad_97e646710e9c.glb
Create a collapsing cup consisting of a solid base and four nested conical sections. Start by creating a solid circular base with a radius of 9.4mm and a height of 0.8mm. Above this base, construct four identical hollow conical sections, each with a height of 12mm and a wall thickness of 0.4mm. These sections are stack...
$fn = 60; module HollowCylinders(HeightOfSection,WallThickness,BottomOuterRadius,StartingTopRadius) { difference() { cylinder(HeightOfSection,BottomOuterRadius,StartingTopRadius); cylinder(HeightOfSection,BottomOuterRadius-WallThickness,StartingTopRadius-WallThickness); } } module NestingPolygons(WallThickness,...
glb/cad_88128d82815d.glb
Create a Vape Tank Stand by starting with a solid rectangular base measuring 378.4mm by 264.6mm with a height of 15mm. Apply a 2.5mm chamfer to all edges of the base. On the top surface, create six circular holes to hold vape tanks. These holes are arranged in two rows of three. Each hole should have a diameter of ap...
fudge = 0.1; zsize = 15; line_fn = 4; chamfer = 2.5; chamfer_fn = 16; min_line_width = 1.0; line_width_scale = 1.0; function min_line_mm(w) = max(min_line_width, w * line_width_scale) * 96/25.4; circle956_0_center = [0.000000,-56.692920]; circle956_0_points = [[-47.244100,-56.692920],[-46.828631,-50.434986],[-45.60872...
glb/cad_348773a036bb.glb
Create a Blind Opener clip designed to hold a servo motor and interface with a blind wand. Start by creating a main body consisting of two joined rectangular blocks: a base block measuring 43mm wide, 35mm deep, and 34.33mm high, and a second block measuring 43mm wide, 30mm deep, and 15mm high positioned at a height of ...
use <../lib/gears.scad> SERVO_HEIGHT = 23.5; SERVO_WIDTH = 23; SERVO_DEPTH = 11.5; BAR_HEIGHT = 24.33; BAR_WIDTH = 25.75; module bar(){ cube(size = [300,BAR_WIDTH,BAR_HEIGHT]); } module WandTilter(){ $fa = 1; $fs = 0.1; $fn = 40; height = 28.13; radius = 2.75; difference(){ cylinder(h=height, r = radius); ...
glb/cad_7ea30c7f68b4.glb
Create a Braille Writer plaque by starting with a rectangular base slab measuring 140mm in width, 28mm in depth, and 1.5mm in height. Centered on top of this base, add two lines of Braille text. The text is composed of individual dots, where each dot consists of a cylinder with a radius of 0.8mm and a height of 1.5mm, ...
testText = ["Braille Writer Font", "Nischi was here"]; slabX = 140; dotRadius = 0.8; charWidth = 6; resolution = 10; lineHeight = 12; totalHeight = len(testText)*lineHeight; slabY = totalHeight+4; translate([-slabX/2, lineHeight/3-slabY/2, 0]) cube([slabX, slabY, 1.5]); translate([0, 0, 1]) { for(i = [0: len(testTe...
glb/cad_818ef6e28315.glb
Create a Braille Writer consisting of a rectangular base plate with raised tactile dots. Start by creating a flat rectangular slab measuring 82mm in width, 60mm in depth, and 1mm in height. On the top surface of this slab, place a series of tactile dots to spell out "NISCHI". Each dot is composed of a cylinder with a...
testText = ["NISCHI"]; slabX = 80; dotRadius = 1.5; charWidth = 11; resolution = 12; lineHeight = 10*dotRadius; totalHeight = len(testText)*lineHeight; slabY = totalHeight; translate([-slabX/2-2, -lineHeight/2+2, 0]) cube([slabX+1, slabY+1, 1.0]); translate([0, 0, 1]) { for(i = [0: len(testText)]) { translate([-l...
glb/cad_9e3395b56c1f.glb
Create a parametric organiser box with overall dimensions of 200mm in length (X), 100mm in width (Y), and 200mm in height. Construct the outer shell and internal dividers using walls that are 1mm thick. The interior should be divided into a grid of 5 rows and 5 columns. Include a solid base for the box with a thicknes...
size_x=200; size_y=100; height=200; num_rows=5; num_columns=5; wall_thickness=1; base_thickness=2; bevel_size_x=25; bevel_size_y=25; Base=1; Bevel_X=1; Bevel_Y=1; row_height=(size_x-wall_thickness)/num_rows; column_width=(size_y-wall_thickness)/num_columns; difference(){ union(){ for (i = [1 ...
glb/cad_df0ff51b63d0.glb
Create a replacement nut for a Dremel Trio by constructing a tiered square base with a hexagonal cutout. Start with a square slab measuring 15mm by 15mm with a thickness of 1.6mm. Centered on top of this slab, add a second, smaller square block measuring 10mm by 10mm with a height of 4mm. Finally, carve a hexagonal hol...
L=15; w=1.6; wecrou=8; module nut_trap (w = 5.5 , h = 3) { cylinder ( r=w/2/ cos (180/ 6) + 0.2 , h=h , $fn =6); } difference() { union() { cube([L,L,w]); L2=10; translate([(L-L2)/2,(L-L2)/2,0]) cube([L2,L2,4]); } translate([L/2,L/2,-1]) nut_trap(wecrou,w+10); }
glb/cad_03bcbcfbcaca.glb
Create a drill bit holder for the Parkside PABH 20-Li B2. The main body is a wedge-shaped block with a base width of 50mm and a height of 58mm, tapering upward to a top width of 24mm. The sides are angled inward, and the entire assembly is tilted backward by 20 degrees. The block features a large central rectangular c...
bottom=8; zs=50+bottom; angle=20; hx=40; hy=24; hh=3; ht=2; $fs=.5; module hex(l) { cylinder(d=7.75,h=l,$fn=6); } module sds(l) { cylinder(d=10.65,h=l); } !rotate([-angle,0,0]) difference() { union() { linear_extrude(zs) polygon([ [-25,0], [25,0], [12,66], [-12,66] ]); tra...
glb/cad_f26cf6bda0a5.glb
Create a customizable shaft collar by starting with a hollow cylinder that has an outer diameter of 20mm, an inner diameter of 8mm, and a thickness of 8mm. Cut a vertical gap 1.5mm wide through the entire wall of the cylinder to create a split-ring shape. On one side of the collar, create a hole for a screw with a di...
shaftDiameter = 8; outerDiameter = 20; gapWidth = 1.5; thickness = 8; screwHoleDiameter = 3.4; screwHoleCounterboreDiameter = 6.5; screwSurfaceThickness = 3; nutPocketWidth = 5.75; nutPocketRotation = 0; circleRes = 100; module regular_polygon(order = 6, r = 1){ angles = [ for (i = [0:order - 1]) i * (360...
glb/cad_0aef8534ccb3.glb
Create a reversible screwdriver consisting of a handle and a separate shaft. For the handle, create a central cylinder 30mm in diameter and 85mm tall. Modify this cylinder by adding a sphere with a 20mm radius centered 25mm from the bottom. To create a grip texture, remove material using eight vertical cylinders, each ...
$fn = 50; module handle() { difference() { difference() { union() { intersection() { translate([0,0,0.85])rotate([0,0,0])cylinder(8.5,1.5,1.5); translate([0,0,2.5])rotate([0,0,0])sphere(r=2); } translate([0,0,1.5])rotate([0,0,0])cylinder(8.5,1.5,1.5); translate([0,0,10])rotate([0,0,0])cylinder(3,1.5,1); translate([0,0...
glb/cad_d5419a5fae02.glb
Create a Customizable Fletching Jig consisting of three main components: a base, an arm assembly, and a lid. First, construct the base as a polygon or star-shaped prism with a height of 20mm. Center a vertical cylindrical hole through the base with a diameter of 6mm to accommodate the arrow. If a nock alignment guide ...
$fn=30; part = 0; base_style = "polygon"; lid_style = "polygon"; joint_style = "ball"; arrow_diameter = 6; arrow_offset = 3; base_height = 20; hinge_width = 6.5; hinge_thickness = 1.5; hinge_diameter = 5.1; hinge_depth = 10.1; joint_diameter = 3.1; arm_gap = 0.5; arm_offset = 1.5; vane_style = "straight"...
glb/cad_a5b55ef82556.glb
Create a Customizable Box with a matching lid and removable inserts. The main box is a rectangular shell with outer dimensions of 200mm x 150mm x 60mm and a wall thickness of 2mm. The interior is hollowed out, leaving a 2mm floor. To create the lid, build a rectangular slab of 200mm x 150mm with a thickness of 12mm. ...
part = "all"; x = 200; y = 150; z = 60; edge = 2; lipw = edge/2; liph = 10; lidaddheight = 0; tol = 0.4; piecetol = tol /2; comp_x = 4; comp_y = 3; comp_perc = 40; comp_border=1.2; insertsupports=0; insert_comp_x = 5; insert_comp_y = 6; insert_perc = 30; insert_border=1.2; insert_divider=1.2; insert_t...
glb/cad_c510e197a6b6.glb
Create a customizable storage box with a lid and removable inserts. The main box is a rectangular shell with outer dimensions of 200mm x 150mm and a total height of 60mm. The walls are 2mm thick. The box features a hollow interior and an upper lip that is 1mm wide and 10mm high, designed to hold a lid. Inside the box...
part = "insert"; x = 200; y = 150; z = 60; edge = 2; lipw = edge/2; liph = 10; lidaddheight = 0; tol = 0.4; piecetol = tol /2; comp_x = 2; comp_y = 2; comp_perc = 40; comp_border=1.2; insert_comp_x = 2; insert_comp_y = 2; insert_perc = 30; insert_border=1.2; insert_divider=1.2; insert_tolerance=0.8; e...
glb/cad_5bda4621fed2.glb
Create a flat wall switch cover consisting of a base plate and a curved vertical shield. Start with a rectangular base plate 39mm wide and 117mm long with a thickness of 2mm. Round the four corners of this base with a radius of 11mm. At the center of the base plate, along the longitudinal axis, place two screw holes....
screw_spacing = 97; inside_height = 20; inside_width = 35; inside_length = 68; wall_thickness = 2; length_perimeter = 10; width_perimeter = 0; screw_dia = 3; head_dia = 8; head_ht = 2; outside_height = inside_height + wall_thickness; outside_width = inside_width + wall_thickness; outside_length = inside_length + wa...
glb/cad_7eee5bbfa11c.glb
Create a 3D convex hull based on a cloud of 1,500 random points. First, generate 500 sets of 3D coordinates, where each set contains three values (x, y, z) randomly distributed between -50mm and 50mm. Filter these points to keep only those that fall within a sphere of radius 50mm centered at the origin [0, 0, 0]. Final...
dimension = 3; maxNumberOfPoints = 500; seed = 1; radius = 50; module end_of_parameters_dummy() {} function _slice(list,start,end=undef) = let(end = end==undef?len(list):end) [for(i=[start:1:end-1]) list[i]]; function _delete(list,pos) = let(l=len(list)) pos == 0 ? [for(i=[1:1:l-1]) list[i]] : po...
glb/cad_9d1d595ae67d.glb
Create a 3D model consisting of two separate geometric solids: a cube and a regular octahedron. First, create a cube with a side length of 20mm. Center it so that its vertices are located at coordinates (±10, ±10, ±10). Second, create a regular octahedron. Position its six vertices at the following coordinates: (±10,...
function _slice(list,start,end=undef) = let(end = end==undef?len(list):end) [for(i=[start:1:end-1]) list[i]]; function _delete(list,pos) = let(l=len(list)) pos == 0 ? [for(i=[1:1:l-1]) list[i]] : pos >= l-1 ? [for(i=[0:1:pos-1]) list[i]] : concat([for(i=[0:1:pos-1]) list[i]], [for(i=[po...
glb/cad_4fac7e9c99e1.glb
Create an AdapterSphere by starting with a sphere that has an outer diameter of 17mm. Hollow out the center by removing a concentric sphere with a diameter of 13.5mm. To create a passage for a mount, remove a central cylinder with a diameter of 8.2mm that runs through the entire height of the object along the Z-axis. F...
outerdia=17.0; innerdia=13.5; shaftdia=8.2; module splitSphere() { difference() { sphere(d=outerdia); { sphere(d=innerdia); translate([0,0,outerdia/2]) cylinder(center=true,d=shaftdia, h=outerdia); translate([0,-25,-25]) cube([50,50,50]); for (theta=[3...
glb/cad_0363bf4d7328.glb
Create a parametric camera mount for a 2020 extrusion consisting of two main components: a case and a mounting bracket. First, construct the case as a rounded rectangular shell. The inner cavity should be 30mm by 25mm with a depth of 8mm. The outer dimensions of the case are 34mm by 29mm with a height of 6mm. At each ...
separate_mounting_part = true; pcb_size_x = 30; pcb_size_y = 25; pcb_size_z = 1; rounded_radius = 1; screw_distance_x = 24; screw_distance_y = 24; screw_diameter = 2.5; screw_height = 8; hole_position = 5; enable_hole = true; hole_center_x = 7; hole_center_y = 10.5; hole_size_x = 10; hole_size_y = 5; screw_colum...
glb/cad_17ff5e0b766d.glb
Create a MiniUSB battery charge board enclosure by starting with a solid rectangular base measuring 260mm in width, 310mm in depth, and 130mm in height. Hollow out the center of this block to create an interior cavity 200mm wide, 250mm deep, and 110mm high, positioned 30mm from the front and side walls and starting 35m...
difference() { cube ([260,310,130]); union() { translate([30,30,35]) { cube([200,250,110]); } translate([105,-1,30]) { cube([50,22,40]); } translate ([95,19,20]) { cube([70,12,60]); } translate([95,279,40]) { cube([70,32,40]); } } }
glb/cad_60c99e647682.glb
Create a MiniUSB 3.7v Li-Ion Battery Charge Board Enclosure lid. Start by constructing a rectangular base measuring 304.75mm in width, 365.5mm in depth, and 34.5mm in height. Centered atop this base, add a smaller rectangular snapping section that measures 230mm by 286mm with a height of 37.5mm, positioned 38mm from th...
difference() { union() { cube ([304.75,365.5,34.5]); translate([38,38,34]) { cube([230,286,37.5]); } } translate([50,90,-10]) { cube([30,20,100]); } translate([50,125,-20]) { cube([30,20,100]); } }
glb/cad_52012ed8af02.glb
Create a MiniUSB 3.7v Li-Ion Battery Charge Board Enclosure consisting of a base and a lid. Start by creating a rectangular base with dimensions of 260mm in width, 310mm in depth, and 30mm in height. On top of this base, add a second rectangular section to form the lid's snapping mechanism, positioned 30mm from the fro...
scale(1.0) { union() { cube ([260,310,30]); translate([30,30,30]) { cube([200,250,30]); } } }
glb/cad_943ebb3856a9.glb
Create a Seed Sieve holder by constructing a hollow cylinder with an outer diameter of 102.44mm and a total height of 50mm. The main body is formed by removing a central cylinder with a diameter of 101mm starting 1mm from the base, and a second inner void with a diameter of 95mm that extends through the full height of ...
diameter = 100; height = 50; border = 5; thickness = 1; wall = 1.22; clearance = 2; fudge = 1; $fn=360; module holder() { difference () { cylinder (r=(diameter +(wall*2) + clearance)/2,h=height); union() { translate ([0,0,thickness])cylinder (r=(diameter+fudge)/2,h=height); translate ([0,0,thickness*2])cylinde...
glb/cad_f8810649a67f.glb
Create a Seed Sieve consisting of a thin circular disc with a diameter of 100mm and a thickness of 1mm. The disc should have a solid outer border 5mm wide. Within the interior of the disc, create a grid of circular holes. Each hole must have a diameter of 30mm, and the spacing between the edges of adjacent holes must b...
size = 30; spacing = 5; diameter = 100; thickness = 1; border = 5; module grid (w,h,gap) { $fn=40; union () { translate ([-(w-1)*(gap+size)/2,-(h-1)*(gap+size)/2,0]) { for (i = [0:1:w]) { for (k = [0:1:h]) { translate ([i*(gap+size) , k*(gap+size),0] ) { cylinder (r=size/2,h=thickness+2); } } ...
glb/cad_30187a33c761.glb
Create a 3D model of an RFID-RC522 module. Start by creating a thin rectangular base plate measuring 60mm in length, 40mm in width, and 2mm in height. Position a second rectangular prism to represent a header, measuring 2mm by 20mm by 12mm, and place it so its base is 10mm below the top surface of the base plate, offse...
module RFID_RC522() { color([0, 0.6, 0.8]) translate([0,0,0]) cube([60,40,2]); color([0.3, 0.3, 0.3]) translate([1,10,-10]) cube([2, 20, 12]); color([0.8, 0.8, 0.8]) translate([3,35,2]) cube([10, 4, 3]); } RFID_RC522();
glb/cad_9b48f3c42613.glb
Create a 3D model of a tinyRTC real-time clock module. Start with a rectangular base plate measuring 28mm by 25mm with a thickness of 2mm. Add two rectangular headers that extend 10mm downwards from the base: position the first header at coordinates (7, 23) with dimensions 14mm by 2mm by 10mm, and the second header at ...
module tinyRTC() { color([0, 0.6, 0.8]) translate([0,0,0]) cube([28,25,2]); color([0.3, 0.3, 0.3]) translate([7,23,-10]) cube([14, 2, 10]); color([0.3, 0.3, 0.3]) translate([5,0,-10]) cube([18, 2, 10]); color([0.8, 0.8, 0.8]) translate([17,12.5,2]) cylinder(5,10,10); } tinyRTC();
glb/cad_ab70d3d9150f.glb
Create a house model by constructing two main sections. First, create a base block 9mm wide, 15mm deep, and 5mm high. On top of this base, add a second block 9mm wide, 5mm deep, and 5mm high, positioned at the back (y=10) to create an L-shaped footprint. From this combined structure, remove a rectangular central void 5...
$fn=64; difference() { union() { cube([9,15,5]); translate([0,10,5]) cube([9,5,5]); } translate([1.9,1.9,-1]) cube([5.2,5.2,7]); translate([2,9,5]) cube([5,7,6]); translate([-1,4.5,2.5]) rotate([0,90,0]) cylinder(12,1,1); translate([-1,12.5,7.5]) rotate([0,90,0]) cylinder(12,1,1...
glb/cad_738bb87b0225.glb
Create a 3D model of a house with a total footprint of 60mm in width and 85mm in length. The structure is built using walls with a consistent thickness of 2mm. Construct the main layout by placing two primary rectangular blocks. The first block forms the entrance area, and the second block forms the room area. For bot...
$fn = 50; width = 60; length = 85; height = 70; thickness = 2; module led(w,l,h){ difference(){ cube([l,w,h]); translate([1,1,-1]) cube([l-2,w-2,h+10]); } } module temperatureSensor(w,l,h){ difference(){ cube([l,w,h]); translate([1,1,-1]) cube([l-2,w-2,h+10]); } } mod...
glb/cad_cbffb607da7c.glb
Create an exhaust pipe adapter consisting of four stacked concentric sections. Start with a base hollow cylinder 6mm high, with an outer diameter of 133.2mm and an inner diameter of 133.2mm. Above this, add a second hollow section 15mm high; its outer diameter remains 133.2mm, but the inner diameter tapers from 133.2mm...
$fn=250; dt1=0.01; dt2=dt1*2; prt_delta=0.4; di1=133.6-prt_delta; da1=di1+3; di2=di1-1; z1=6; z2=15; z3=20; da3=150; di3=150-10; z4=30; difference(){ cylinder(d=da1, h=z1); translate([0, 0, -dt1]) cylinder(d=di1, h=z1+dt2); } translate([0, 0, z1]) difference(){ cylinder(d=da1, h=z2); translate([0, 0, -dt1]) c...
glb/cad_61abd816d0ce.glb
Create a customizable dial for tracking feeding times. Start with a rectangular base plate measuring 160mm by 180mm with a thickness of 1mm. Center a circular hole with a 10mm diameter through the plate. At the top center of the plate, add the raised text "Next feeding at:" with a height of 3mm. Arrange twelve numbers ...
label="Next feeding at:"; base_thickness=1; text_height=3; hole_diameter=5; r1=60; r2=80; color("#f4f") linear_extrude(base_thickness+text_height) { translate([0,r2,0]) text(label,halign="center"); for(i=[1:12]) { a=30*i; rotate(-a) translate([0,r1,0]) text(str(i),halign="center"); } ...
glb/cad_58eeeb9c313f.glb
Create a Lockholder set consisting of two identical clamping components, a top part and a bottom part, designed to secure a lock tube to a bike's top tube. For each part, create a semi-cylindrical shell with an outer diameter of 37.25mm and a wall thickness of 4mm, designed to wrap around the bike frame. Integrate a ...
part="Complete Lockholder Set"; Thickness = 4; Resolution = 20; TopTubeDiameter = 32.25; LockDiameter = 20; LocktubeLength = 50; Offset = 0; NutDiameter = 9; ScrewThreadDiameter = 5.55; ScrewholeThickness = 0.75; $fn=Resolution; if (part == "Complete Lockholder Set") { completeLockHolderSet( ...
glb/cad_b6e00b633e29.glb
Create a 40mm fan guard grille with a total width of 80mm and a thickness of 1.05mm. The main body is a square plate with rounded corners and a radius of approximately 2.67mm. At each of the four corners, create a circular mounting hole with a diameter of 3.5mm. The centers of these holes should be spaced 71.5mm apar...
module standoff () { difference() { cylinder(r=3.25,h=15.5,$fn=20); cylinder(r=1.65,h=15.6); } } module peg() { difference() { cylinder(r=3.6/2,10.5+0.35*3,$fn=20); translate([0,0,10.6/2+0.35*3]) cube(size=[5,1,10.6],center=true); } } Standard_Size=40; Grille_Width=80; Bolt_Diameter=3.5; Bolt_Hole_Width=71.5; Gri...
glb/cad_35633fe13840.glb
Create a Geocache Container in the shape of a regular dodecahedron with a total height of 64mm. The main body is a hollowed-out shell. To create the interior cavity, remove a central sphere with a radius of 11mm and a cylinder with a radius of 11mm that runs vertically through the center of the shape. On each of the t...
use <Thread_Library.scad> $fn=50; CacheContainer(); module CacheContainerHalf(h) { difference() { intersection() { CacheContainer(); if (h==1) { translate([-50,-50,0])cube([100,100,100]); } else { translate([-50,-50,-100])cube([100,100,100]); } } for (i=[0:3]){ rotate([...
glb/cad_b262b970c567.glb
Create two separate shaker tops. For the first top, create a base by combining two cubes of 14mm width and depth and 3mm height; one cube is centered and the second is rotated 45 degrees around the Z-axis and centered on the first. Remove a central vertical hole with a radius of 1.5mm and a height of 6mm. For the sec...
salt_r=1.5; pepper_r=0.7; x=14; z=3; h=4; difference() { union() { translate([0,0,z/2]) cube([x,x,z], center = true); translate([0,0,z/2]) rotate(45) cube([x,x,z], center = true); }; translate([0,0,z/2]) cylinder(h=2*z,r=salt_r, center = true, $fn=20);...
glb/cad_46613f2ff431.glb
Create a Craft Cutter holder for a QuickFit Carriage. Start with a rectangular base measuring 99.1mm in length, 28mm in width, and 4.7mm in height. Center a square cutout measuring approximately 6.36mm by 6.36mm (4.5mm times the square root of 2) on the base, rotated 45 degrees. At the position [5, 2, 0], remove a cyli...
gmy = 22.4; clipx=14; clipt=4; clipy=18; clipz=11; sh=3.6; basex=99.1; basey=28.0; basez = 4.7; holes=9; base(); translate([5,-1,0]) clip(); module base() { difference() { translate([0,0,basez/2]) cube([basex,basey,basez],true); #translate([basex/2,0,basez]) rotate([0,45,0]) cube([4.5*sqrt(2),33,4.5*sqr...
glb/cad_945471bea1fe.glb
Create an Automatic Plant Waterer adapter designed to fit a 26.5mm glass bottle. Start by creating a central cylindrical hub with a diameter of 31mm and a height of 18mm. Inside this hub, remove a central vertical hole with a diameter of 4mm that extends through the entire height of the object. Within the hub, create ...
CokeTopDiameter=26.4; CokeTopOuterNeckDiameter=26.1; CokeTopHoleDiameter=24.0; CokeTopLipDiameter=3.0; CokeInterferenceDepth=2; real_cap_diameter=25; cap_height=15; diameter_of_landscaping_nails=8; wingspan=100; wing_width=5; wall_thickness=3; number_of_wings=3; tolerance_for_glue=3; drip_hole_diameter=4; e...
glb/cad_2ea607ed95df.glb
Create a servo motor spool consisting of two wide, circular discs connected by a central cylindrical hub. First, create the central hub as a cylinder with a height of 4mm and a diameter of 30mm. Inside this hub, carve a vertical hole with a diameter of 2.5mm. Around the top of this hub, create a spline interface by a...
arm_length = 20; arm_count = 2; SERVO_HEAD_CLEAR = 0.2; $fn = 40 / 1; FUTABA_3F_SPLINE = [ [5.6, 4, 1.1, 2.5], [25, 0.3, 0.7, 0.1] ]; module servo_futaba_3f(length, count) { servo_arm(FUTABA_3F_SPLINE, [length, count]); } module servo_standard(length, count) { servo_futaba_3f(length, count); } mo...
glb/cad_8759e2f1c642.glb
Create a bike handlebar mount for a UV-3R radio. Start with a base block measuring 54mm wide, 85mm deep, and 10mm thick, centered at x=-1.8, y=-2, z=-3. Add a second rectangular block on top of this base, measuring 30mm wide, 36mm deep, and 10mm thick, positioned at x=10, y=22, z=-12. From this combined volume, carve ...
$fn = 40; difference(){ union() { translate([-1.8,-2, -3]) cube([54,85,10]); translate([10,22,-12]) cube([30,36,10]); } UV3R(); translate([-5,40,-16]) rotate([0,90,0]) cylinder(h=60,r=24/2); translate([25,25,0.1]) VIS(); translate([25,55,0.1]) VIS(); translate([25,25,-12.1])cylinder(h=4.5,r=4); tra...
glb/cad_904d216e9ecc.glb
Create a bike handlebar mount for a UV-3R radio. Start with a rectangular base block measuring 30mm wide, 36mm deep, and 10mm high, positioned at coordinates (10, 22, -12). From this base, remove a horizontal cylindrical void with a radius of 12mm that runs through the center along the X-axis, starting from X=-5 and ex...
$fn = 40; difference(){ union() { translate([10,22,-12]) cube([30,36,10]); } translate([-5,40,-20]) rotate([0,90,0]) cylinder(h=60,r=24/2); translate([25,25,0.1]) VIS(); translate([25,55,0.1]) VIS(); translate([25,25,-6])cylinder(h=4.5,r=4); translate([25,55,-6])cylinder(h=4.5,r=4); } module UV3R () ...
glb/cad_253c2160c5d6.glb
Create a Fox-hunting UHF antenna element fixing block. Start with a solid rectangular block measuring 20mm wide, 32mm deep, and 18mm high. From this block, remove a rectangular section from the bottom center to create a void that is 102mm wide, 24.2mm deep, and 1.5mm high, ensuring it is centered relative to the block'...
$fn=20; difference(){ blocelement(); translate([-0.2,2-0.1,-0.10])cube([102,24.2,1.5]); translate([-0.1,0,-0.1])Urect(); translate([20/2,28/2,18]) cylinder(5,r=0.75,center=true); translate([20/2,14,8.5]) rotate([90,0,0])cylinder(26,r=2.3, center=true); translate([20/2,-1,7]) rotate([90,0,0])cylinder(3,r=0.75, c...
glb/cad_61ab0743a6ec.glb
Create a fixation bracket for a UHF antenna boom. Start with a solid rectangular block measuring 28mm wide, 62mm deep, and 37mm high. Hollow out the center of this block by removing a smaller rectangular volume of 25mm by 56mm by 35mm, leaving a wall thickness of 1.5mm on the sides and 3mm on the top and bottom. Next...
$fn=20; difference() { translate([0,-31,-1]) difference() { cube([28,62,37]); translate([-0.1,3,3.1]) cube([25,56,35]); } translate([10,0,0])cylinder(h=10,r=1.7, center=true); translate([20,0,0])cylinder(h=10,r=1.7, center=true); translate([12.5,0,38])rotate([90,0,0])cylinder(h=70,r=3, center=true)...
glb/cad_2d4dc8957a8b.glb
Create a set of 16 identical protective end-caps for a UHF antenna. For each individual cap, construct a main body by combining a cylinder with a radius of 8mm and a height of 1mm at the base, with a vertical hull that connects a 5mm radius sphere at the base to another 5mm radius sphere positioned 20mm above it. From ...
$fn=40; translate([0,0,0]) protection(); translate([15,0,0]) protection(); translate([0,15,0]) protection(); translate([15,15,0]) protection(); translate([30,0,0]) protection(); translate([0,30,0]) protection(); translate([30,15,0]) protection(); translate([15,30,0]) protection(); translate([30,30,0]) protection(); ...
glb/cad_235b6e27d9fc.glb
Create a Fox-hunting UHF antenna element fixing block. Start with a solid rectangular block measuring 20mm wide, 32mm deep, and 18mm high. Carve a rectangular channel through the center of the block to accommodate a U-shaped aluminum boom; this cutout should be 102mm wide, 24mm deep, and 14.1mm high, positioned to le...
$fn=20; difference(){ blocelement(); translate([-0.2,2-0.1,-0.10])cube([102,24.2,1.5]); translate([-0.1,0,-0.1])Urect(); translate([20/2,28/2,0]) cylinder(40,r=0.75,center=true); translate([20/2,14,8]) rotate([90,0,0])cylinder(26,r=2, center=true); translate([20/2,-1,7]) rotate([90,0,0])cylinder(3,r=0.75, cente...
glb/cad_7d34d999ff4a.glb
Create a UHF antenna element fixation bracket. Start with a central rectangular base measuring 20mm by 62mm with a thickness of 3mm. On top of this base, add two vertical rectangular tabs: one positioned at the top and one at the bottom. Each tab should be 10mm wide, 2mm thick, and 15mm high. Additionally, add two smal...
$fn=20; union() { difference() { union() { translate([12.5,7,1])cube([10,2,15]); translate([12.5,-9,1])cube([10,2,15]); translate([3,-31,1])cube([8,2,10]); translate([3,29,1])cube([8,2,10]); } translate([23,-10,5])rotate([0,-35,0]) cube([20,20,20]); } difference() ...
glb/cad_830adfe3f0e3.glb
Create four identical protective end caps for a UHF fox-hunting antenna. Each cap is constructed by combining a cylinder and a rounded top. Start with a base cylinder 1mm thick with a radius of 8mm. Above this base, create a vertical body that is a hull of two spheres, each with a radius of 5mm, positioned 20mm apart a...
$fn=40; translate([0,0,0]) protection(); translate([15,0,0]) protection(); translate([0,15,0]) protection(); translate([15,15,0]) protection(); module protection() { translate([0,0,5])difference() { union() { translate([0,0,-5]) cylinder(h=1, r=8); hull() { translate([0,0,0]) sphere(5); tran...
glb/cad_1d52fcf1b1c1.glb
Create a Fox-hunting UHF antenna element fixing block. Start with a main rectangular body measuring 24mm wide, 43mm deep, and 27mm high, with all corners rounded to a 2mm radius. Remove a rectangular section from the bottom center to create a U-shaped channel that is 102mm long, 22mm wide, and 14.1mm high. Pierce the...
$fn=15; difference(){ bloc(); translate([20/2,-1,7]) rotate([90,0,0])cylinder(103,r=2.5, center=true); translate([-4,0,-4])cube([30,28,20]); } module bloc(){ translate([20/2,13.5,7]) rotate([90,0,0])cylinder(52,r=5, center=true); difference(){ blocelement(); translate([-0.2,2-0.1,-0.10])cube([102,24.2,1.5]); tra...
glb/cad_9fc71fb270d8.glb
Create a fruit picker tool consisting of a semi-circular ring and a handle connector. Start by creating a half-ring with an outer diameter of 140mm, an inner diameter of 129mm, and a height of 30mm. The flat side of this half-ring should be closed by a vertical wall 5mm thick and 30mm high. Attached to the center of t...
use <MCAD/polyholes.scad> show_picker = true; layer_h = 0.3; nozzle_d = 0.4; de = 0.1; P10 = 140; P11 = 5; P12 = 30; P20 = 17; P21 = 10; P22 = 9; P23 = 210; P25 = 3.2; P26 = (P12-P20)/2; P27 = 15; P28 = 35; P30 = 35; P31 = 30; P32 = 21.2; P33 = 23; P35 = 30; P36 = 30; assembly(); module assembly() { union(...
glb/cad_30cb6b5d6dfd.glb
Create a mounting case for a Rascal Micro board. Start by constructing a hollowed-out rectangular box with external dimensions of 117.5mm in length, 57mm in width, and 24.5mm in height, featuring rounded corners with a 2mm radius. The interior cavity should be 113.5mm by 53mm with a height of 21mm. On the bottom face,...
$fs=.25; union() { difference() { minkowski() { cube([113.5,53,20.5]); cylinder(2,2,2); } translate([1,1,2]) minkowski() { cube([111.5,51,17]); cylinder(2,2,2); } translate([90,27,-1]) cylinder(4,8,8); translate([-3,3,5]) cube([3,46,12]); translate([-3,14.5,5]) cube([3,15,16]); t...
glb/cad_8228afab77b0.glb
Create a home sensor support for a 3D printer. The base is a rectangular block 24mm wide, 21mm deep, and 5mm high. On the top surface, add a rectangular protrusion 9.5mm wide and 18.5mm long, starting 11mm from the left and 16mm from the front. This protrusion is 8.5mm high (total height 13.5mm). Within this protrusi...
$fs=0.25; module canto(raio,alt){ difference(){ cube([raio,raio,alt]); translate([raio,raio,-0.1]) cylinder(r=raio,h=alt+0.2); } } module oblongo(diam,len,alt){ translate([diam/2,0,0]) cylinder(r=diam/2,h=alt); translate([len-diam/2,0,0]) cylinder(r=diam/2,h=alt); translate([diam/2,-diam/2,0]) cube([len-diam...
glb/cad_70cbcca4ab9c.glb
Create a Filament snag de-headacher consisting of two main components. First, construct a base plate that is 21mm long, 4mm thick, and 16mm wide. In this plate, create a central cutout that is 8mm wide and 4mm high, centered along the length. This cutout consists of a rectangular slot 8mm wide and 4mm high, with a semi...
include <MCAD/Shapes.scad> mount = 8; switchMount = 3; switchMountHoleSep = 9.4; rise = 20; thickness=4; clampLength=21; module switchHolder(){ width=mount+thickness*2; translate([0,0,10]) difference(){ cube([clampLength,thickness,width]); translate([(thickness+mount)/2,thickness+0.1,width/2])rotate([90,0,0])cy...
glb/cad_726c1b6f9088.glb
Create a parametric pot stand by first constructing a hollow, tapered cylindrical shell. The main body should have a height of 70mm, with an outer radius that tapers from 43.5mm at the base to 47.5mm at the top. The interior is hollowed out by a concentric tapered void with a base radius of 41.5mm and a top radius of 4...
$fn=64; POT_R_TOP = (92 + 1) / 2; POT_R_BOTTOM = (83 + 1) / 2; POT_HEIGHT = 70; MIN_THICKNESS = 2; LIP_HEIGHT = 4; NUM_LEGS = 5; LEG_HEIGHT = 8; LEG_DEG = 25; LEG_R_BOTTOM = POT_R_BOTTOM + MIN_THICKNESS; HOLE_R = (3/4) * LEG_R_BOTTOM; module pot_stand() { difference() { union() { translate([0, 0, LEG_H...
glb/cad_c5c175ad042a.glb
Create a hollow square box for a Soma puzzle. The outer dimensions of the box should be a cube measuring 64mm on each side. The walls of the box must be 2mm thick. The box should be open at the top, with a total height of 62mm, meaning the bottom base is 2mm thick and the top is completely open. The interior cavity sho...
sInner=60; sOuter=64; edge=(sOuter - sInner)/2; halfOuter=0.5*sOuter; translate([-halfOuter, -halfOuter,0]) difference() { cube([sOuter,sOuter,sOuter-edge]); translate([edge,edge,edge]) cube([sInner,sInner,sOuter+1]); }
glb/cad_e7472416d0fb.glb