Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create six identical bearing wheels. Each wheel is a cylinder with a total height of 3mm and an outer diameter of 16mm. The main body of each wheel is a cylinder with a diameter of 16mm and a height of 1.68mm. This body is capped on both the top and bottom by truncated cones (chamfers). Each cone has a height of 0.66...
Wid = 3.0; OD = 16; Cham_OD = 14.68; ChamOD_Ht = .66; ID = 2.61; Cham_ID = 3.2; ChamID_Ht = .3; Qty = 6; OD_Wid = Wid - (2 * ChamOD_Ht); OD_Res = (round(((OD * 3.14)/4)/.7)*4); ID_Res = (round(((Cham_ID * 3.14)/4)/.7)*4); echo(OD_Wid = OD_Wid); echo(OD_Res = OD_Res); echo(ID_Res = ID_Res); module BearingWheel() { ...
glb/cad_aa2c2139516d.glb
Create a centering cone for a filament spool holder. Start with a composite conical base consisting of a small bottom disk (21mm diameter, 0.22mm height), a main tapered section (transitioning from 21.82mm to 62mm diameter over a height of 29.78mm), a 1mm thick top disk (62mm diameter), and a final top taper (transitio...
ID = 17; BotInCham_OD = 1; TopInCham_OD = 4; BIC_Rad = BotInCham_OD / 2; TIC_Rad = TopInCham_OD / 2; module Base() { union() { cylinder(d1=21,d2=21.82,h=.22,$fn=276); translate([0,0,.22]) cylinder(d1=21.82,d2=62,h=29.78,$fn=276); translate([0,0,30]) cylinder(d=62,h=1,$...
glb/cad_94dcd16b0005.glb
Create a test piece for an aluminum extrusion slide fit. Start by forming a main rectangular block 25mm long, 26.5mm wide, and 24mm high. Centered within this block, remove a rectangular section 27mm long, 20.5mm wide, and 20mm high, starting from a height of 4mm from the base. To add structural reinforcement, create ...
AL_Wid = 20.5; AL_Wid2 = AL_Wid / 2; Len = 25; Ht = 24; Base_Ht = 4; Weld_OD = 12; Weld_Rad = Weld_OD / 2; module Welds() { translate([0,-(AL_Wid2+3),0]) rotate([0,90,0]) cylinder(d=Weld_OD,h=Len,$fn=4); translate([0,(AL_Wid2+3),0]) rotate([0,90,0]) cylinder(d=Weld_OD,h=Len,$fn=4); } difference(...
glb/cad_ef7a0f44972c.glb
Create a coffee grinder grounds box lid with a base and a sloped top section. The overall footprint is a rounded rectangle with a rear width of 100.5mm and a front width of 99mm, and a total depth of 76mm. Construct the bottom section as a flat plate with a height of 5.25mm. In the center of the rear edge, remove a r...
FRONT_WIDTH = 99.0; REAR_WIDTH = 100.5; DEPTH = 76.0; FRONT_RADIUS = 183; FRONT_RADIUS_Y_OFFSET = 41.5; FRONT_CORNER_RADIUS = 16; REAR_CORNER_RADIUS = 6; BOTTOM_REAR_EDGE_RADIUS = 3.5; LID_BOTTOM_HEIGHT = 5.25; LID_TOP_FRONT_HEIGHT = 9.8 - LID_BOTTOM_HEIGHT; LID_TOP_REAR_HEIGHT = 9.2 - LID_BOTTOM_HEIGHT; LI...
glb/cad_786a856ccf39.glb
Create four heated bed clips, each with a uniform extrusion width of 15mm. The clips are designed to secure a glass surface and bed assembly with a total internal height of 11.85mm (comprising a 1.5mm bed, 6.35mm glass, and 4mm cork underlay). Each clip is a profile extruded to 15mm. The profile features a main body ...
glass_thickness=6.35; glass_width=127; glass_length=152; bed_thickness=1.5; bed_width=130; bed_length=160; cork_thickness=4; nozzle_size=0.4; extrusion_width=15; thickness=3.1*nozzle_size; h_internal= bed_thickness + glass_thickness + cork_thickness; overhang_length= bed_length - glass_leng...
glb/cad_061c555c6dc0.glb
Create a Bhatinov mask for a telescope with an outer diameter of 190mm and a thickness of 2mm. The main body is a circular plate with an outer radius of 95mm and a central circular cutout with a diameter of 49mm. Within the plate, between the outer edge and the center hole, create a pattern of narrow slits, each 5mm ...
outerDiameter = 190; aperture = 182; centerHoleDiameter = 49; gap = 5; module bars(gap, width, num=5) { num = round(num); for (i=[-num:num]) { translate([width/2,i*2*gap]) square([width,gap], center=true); } } module bahtinovBars(gap,width) { numBars = aperture/2 / gap / 2 -1; intersec...
glb/cad_4aaa92d3e4ee.glb
Create a cylindrical cap for an MN190 telescope holder. Start by forming a solid circular base with an outer diameter of 46mm and a thickness of 4mm. Centered on this base, build a hollow cylindrical wall with an inner diameter of 40mm and an outer diameter of 46mm. This wall should extend upwards from the base to a to...
od = 46; or = od/2; id = 40; ir = id/2; thick = 4; height = 16; convex = 10; Frags =100; rotate_extrude(convexity = convex, $fn = Frags) polygon(points = [ [0, 0], [0,thick],[ or, thick],[or, 0] ], paths = [ [0,1,2,3] ], convexity = convex); rotate_extrude(convexity = convex, $fn = Frags) polygon(points = [ [ir...
glb/cad_096c919c7c69.glb
Create a parametric cooling stand for electronics. Start with a main rectangular block measuring 160mm wide, 120mm long, and 20mm high. Hollow out the center of this block by removing a smaller rectangular volume from the top, leaving a wall thickness of 4mm on all sides and a base thickness of 2mm at the bottom. Pier...
width = 160; length = 120; thickness = 4; height = 20; underhang = 2; hole_size = 10; hole_spacing_x = 4; hole_spacing_y = 5; module cooling_stand () { difference(){ cube([width,length,height],center=true); cube([width-2*thickness,length-2*thickness,height+0.02],center=true); translate([0,0,he...
glb/cad_2b2f43fa96d7.glb
Create a Saca Carro shopping cart token tool with a uniform thickness of 2.3mm. Start by creating a main circular disk with a diameter of 23.5mm. Attached to this disk, extend a rectangular handle measuring 8.225mm wide and 45mm long, centered along the disk's diameter. At the far end of the handle, center a circular...
use <Write.scad> height = 2.3; coindiameter = 23.5; holderlength = 45; name = "ASTINTA"; module SupermarketCoin(height, coindiameter, holderlength, name = "") { difference() { union() { cylinder(h=height, r=coindiameter/2, $fn=50); difference() { translate([-coindiameter*0.35, 0, 0]) cube([coindi...
glb/cad_1ef89eb97783.glb
Create a filament guide consisting of a main rectangular block with a smaller attached section. The primary base is a rectangular plate measuring 28mm by 40mm with a thickness of 5mm, featuring rounded edges with a 1mm radius. Attached to the side of this base is a secondary rectangular block measuring 10mm by 40mm wit...
$fn = 50; module Mx_bolt(s1, len1, s2, hh1) { bolt_head = s2; thread_length = len1; union() { cylinder(h=hh1, r=bolt_head/2+0.1, center=true); translate([0, 0, -thread_length/2]) cylinder(h=thread_length, r=s1/2+0.1, center=true); } } module plate() { minkowski() ...
glb/cad_237b1890a8a2.glb
Create a marble pyramid holder by starting with a solid equilateral triangular prism that has a side length of 80mm and a height of 12mm. From the top face of this prism, remove a series of spherical voids, each with a radius of 8mm, to create a grid of hemispherical indentations. The centers of these spheres should al...
use <MCAD/regular_shapes.scad> M=8*sqrt(3); difference() { triangle_prism(10,80); translate([0,-2*M,12])sphere(r=8 ); translate([16,-2*M,12])sphere(r=8 ); translate([32,-2*M,12])sphere(r=8 ); translate([-16,-2*M,12])sphere(r=8 ); translate([-32,-2*M,12])sphere(r=8 ); translate([-48,-2*M,12])sphere(r=8 ); translate([...
glb/cad_f11d9a27081a.glb
Create a marble pyramid holder by starting with a solid equilateral triangle prism that has a side length of 68mm and a height of 34mm. Within this prism, carve out ten spherical voids, each with a radius of 8.5mm, arranged in a triangular pattern to hold marbles. Position the first sphere at the center of the top row....
use <MCAD/regular_shapes.scad> distance = 17; numberofmarbles = 4; M=distance / 2 *sqrt(3); fudgefactor=0.5; difference() { translate([0,-fudgefactor,0])triangle_prism(10,numberofmarbles*M); for (x = [0:numberofmarbles-1]) { for (y = [0:x]) { translate([distance * (x+0.5-y/...
glb/cad_494054761b22.glb
Create a RepRap Graber i3 X Axis belt holder. Start with a main rectangular block measuring 3mm wide, 24mm long, and 22.6mm high. Attach a second rectangular block to the side, measuring 3mm wide, 24mm long, and 10mm high, positioned 6.3mm up from the base. Carve out two rectangular slots for zip ties, each 6mm wide,...
pD = 1; pHt = 10; pH = pHt -pD; module zipTie() { translate([0,0,0]) { cube([6,2,5]); } translate([0,5,0]) { cube([6,2,5]); } } module belt() { translate([0,0,0]) { cube([6,3,7]); } translate([0,6,0]) { cube([6,3,7]); } } module cylSmall() { cylinder(h=5, d=3, $fn=15); } module cylBig() { ...
glb/cad_21b3e149969c.glb
Create a RepRap Graber i3 X Axis belt holder consisting of two identical rectangular blocks. For each block, start with a solid rectangular prism measuring 12mm in length, 4mm in width, and 5.5mm in height. Center a rectangular hole through the entire height of each block, with the opening measuring 3.5mm in length and...
pD = 1; pHt = 6.5; pH = pHt -pD; module ziptie_holder() { difference() { cube([12,4,pH], true); cube([3.5,1.5,pH], true); } } union() { ziptie_holder(); translate([0,6,0]) { rotate([0,0,180]) { ziptie_holder(); } } }
glb/cad_38079982952c.glb
Create a double bearing universal spool holder by starting with a conical base that has a height of 30mm, a bottom diameter of 70mm, and a top diameter of 30mm. Bore a central vertical hole through the entire height of the cone with a diameter of 22mm and a depth of 7mm to accommodate bearings at both the top and botto...
bearing_d = 22; bearing_h = 7; max_d = 70; min_d = 30; cone_h = 30; rod_d = 14; $fa = 1; $fs = 1; difference(){ translate([0,0,cone_h/2])cylinder(r1 = max_d/2, r2 = min_d/2, h = cone_h, center=true); translate([0,0,bearing_h/2-.1]) cylinder(r=bearing_d/2, h=bearing_h, center=true); translate([0,0,cone_h-bea...
glb/cad_9bc8a025744d.glb
Create a Filament Tilter bracket consisting of a vertical pillar and a tilted top platform. Start by constructing a vertical pillar with a square footprint of 38mm by 38mm and a height of 100mm. Within this pillar, create four vertical holes with a radius of 4mm, positioned at the corners: (10, 10), (-10, 10), (10, -10...
module holder(){ import_stl("filament_holder.STL"); } module base(){ difference(){ holder(); translate([0,0,60])cube([100,100,100],center=true); } } module pillar(){ difference(){ translate([0,0,0]){ linear_extrude(height=100,center=false,convexity=10){ hull(){ translate([19,19,0])circle(r=7); translate([-1...
glb/cad_1dc3b62f2581.glb
Create a labeled parametric measuring cup. The main body is a hollowed-out vessel formed by a truncated cone with a wall thickness of 1.6mm. The outer shape is a cylinder that tapers from a larger top radius to a smaller bottom radius, with the height and radii determined by a volume of 236,588 cubic millimeters. The o...
include <bitmap.scad> cups = 0; tbsp = 0; tsp = 0; mL = 0; cups = 1; label="1 cup"; label_len = 5; wall = 1.6; print = 0.4; sq = 1.2; sh = 0.16; pi = 3.14159; volume = cups*236588+tbsp*14787+tsp*4929+1000*mL; x = pow(volume/(570*pi),1/3); echo (str("x is ",x)); cube=x/(label_len); echo (str("cube is ",cube)); off=...
glb/cad_8f9326164733.glb
Create a garage door opener wall unit button with a total width of 59mm, a total depth of 58.1mm, and a total height of 8.84mm. The main body consists of two sections: a front tapered section 4.84mm high and a rear straight section 4mm high. The front section is a hollowed-out shell with a wall thickness of 1.6mm, ta...
$fn=24; wall = 1.6; fullX = 59; fullY = 58.1; frontZ = 4.84; backZ = 4; fullZ = frontZ+backZ; taperSF = .85; halfX = fullX/2; hullX = halfX-wall; taperDegX = atan((1-taperSF)*halfX/frontZ); halfY = fullY/2; hullY = halfY-wall; taperDegY = atan((1-taperSF)*halfY/frontZ); translate([0,0,frontZ]) rotate([180,0,0]) ...
glb/cad_9af7c140476e.glb
Create an ID Badge & Keycard kit consisting of three stacked panels with rounded corners. The overall outer dimensions for each panel are 48mm wide by 78mm high, with a corner radius of 4mm. The front panel is 2mm thick. It features a central rectangular cutout (window) of 36mm by 66mm, leaving a 4mm border. At the to...
badge_height = 70; badge_width = 40; badge_thickness = 1; keycard_height = 70; keycard_width = 40; keycard_thickness = 3; keycard_has_window = "True"; use_keycard = "True"; use_middle_panel = "True"; middle_thickness = 1; use_rivets = "True"; use_pegs = "False"; rivet_dia = 1.75; min_border_size = 4; reta...
glb/cad_a80e3903db54.glb
Create a Text Gyro consisting of three concentric, interlocking rings. Each ring is formed by rotating a square profile of 6mm by 6mm around a central axis, with the corners of the square clipped at 45-degree angles to create a rounded, open-frame structure. The innermost ring starts with a radius of 6mm, and each subs...
chars = "3DP"; font_name = "Arial Black"; innermost_ring_radius = 6; ring_thickness = 6; ring_height = 6; spacing = 0.7; module gyro_ring(radius, thickness, height, spacing, top = true) { $fn = 64; top_r = height * 0.35355339059327376220042218105242; semi_thickness = thickness / 2; module top() { cylinder(r...
glb/cad_2c2649ec403e.glb
Create a standard hinge with a total length of 30mm and an open width of 40mm. The hinge consists of two leaves, each with a thickness of 2mm. Construct the central joint using a series of interlocking knuckles with a diameter of 6mm. Arrange 5 knuckles in total, alternating between the two leaves. The knuckles should...
leafGauge = 2; pinLength = 30; openWidth = 40; diameter = 3; kDiameter = 6; knuckleCount = 5; holeCount = 3; module drillHole( holeRadius, chamferRadius, length ) { union () { cylinder(r=holeRadius, h=length+2, center=true, $fn=32); translate([0,0,length/2-chamferRadius]) cylinder...
glb/cad_573266e2422d.glb
Create a GLaDOS Dual Color Ring by constructing two concentric ring components. Start with a main outer ring that has an inner diameter of 25mm, a total height of 10mm, and a wall thickness of 3mm. This ring is not a simple cylinder; it features a recessed inner channel and a decorative outer profile. To form the out...
$fs = 0.1; $fa = 1; module glados_ring(diameter=25, length=10, thickness=3, black=true) { translate([0,0,length/2]) if (black) { color([.5,.5,.5]) difference() { union() { cylinder(h=length, r=diameter/2+thickness, center=true); rotate([0,0,25]) translate([diameter/2+1.1*thickness/2,0,0]) rotate([0,90,0])...
glb/cad_29104f0c27b0.glb
Create a Spool Stacking Adapter consisting of two stacked, concentric cylindrical sections connected by three radial struts. The bottom section is a cylinder with a diameter of 82mm and a height of 10mm. The top section is a smaller cylinder with a diameter of 53mm and a height of 10mm, centered on top of the first. ...
large_height=10; small_height=10; diameter1=82; diameter2=53; strut_width=10; lip=0; lip_extent=3; hole_diameter=6; hole=hole_diameter/2; struts=3; bevel=2; fillet_radius=8; depth=[large_height,small_height]; depth1=large_height; depth2=small_height; radii=[max(diameter1,diameter2)/2,min(diameter1,diameter2)/...
glb/cad_0a0d007792f4.glb
Create a 3D nameplate that reads "NADJA" using the "Holtwood One SC" font. The letters should have a height of 25mm and be extruded to a thickness of 10mm. The letters must be hollowed out to create a wall thickness of 1mm, leaving an open interior cavity. To ensure the letters are connected into a single piece, add ...
textstring="NADJA"; fontname="Holtwood One SC"; RoundedBase=0; do_shift_font="automatic"; textsize=25; textheight=10; wall=1; baseheight_percent=.33; baseheight=textheight*baseheight_percent; basethickness_percent=0.1; basethickness=textsize*basethickness_percent; shift_font_percent=0.07; shift_font=textsize*s...
glb/cad_641c34a7f330.glb
Create a conical coin stand with a base diameter of 24.5mm and a height of 12mm. The main body is a truncated cone that tapers from the 24.5mm base to a top diameter of 19.5mm. Cut a slot into the top surface to hold a coin, starting from the center and extending outward; the slot must be 2.9mm wide and deep enough to ...
Stand_Height=12; Coin_Diameter=49; Coin_Thickness=2.8; Coin_Label="2016"; FontS=08; coinr=Coin_Diameter/2; type=1; if (type==0) { difference() { minkowski(){cube ([coinr*1.2-4,coinr*2-4,Stand_Height]); cylinder (r=2, h=1);}; translate ([coinr/2,coinr,Stand_Height+coinr-6])rotate ([0,70,0]) cylinder (Coin_Thic...
glb/cad_b22be4a286a5.glb
Create a mount for an M10 threaded rod by constructing a solid block and removing specific geometric volumes. Start with a base solid composed of three parts: a 3x18x14mm rectangular prism, a 20x6x14mm rectangular prism, and a cylinder with a radius of 7mm and a height of 6mm centered at the end of the second prism. Fr...
TotalHeight=25; Rad=5; Wall=2; FootLength = 12; ClampThickness = 6; GrooveDepth=3; $fn=40; module Solid() { cube([3,ClampThickness+FootLength,2*(Rad+Wall)]); cube([TotalHeight-Rad,ClampThickness,2*(Rad+Wall)]); translate([TotalHeight-Rad,ClampThickness,Rad+Wall])rotate([90,0,0])cylinder(r=Rad+Wall,h=ClampThi...
glb/cad_b3bedda471be.glb
Create a Rebelix Spool Center by constructing a tiered cylindrical tower with a central hole. Start with a base cylinder 56.5mm in diameter and 1.5mm high. Stack three more cylinders on top: one 52.5mm in diameter and 4.5mm high, one 50.1mm in diameter and 7.5mm high, and a final one 32mm in diameter and 12mm high. Re...
spool_hole_biggest = 52.5; spool_hole_big = 50.1; spool_hole_small = 32; union() { difference() { union () { cylinder(h=1.5, r=(spool_hole_biggest/2)+4,$fn=64); cylinder(h=4.5,r=(spool_hole_biggest/2),$fn=64); cylinder(h=7.5,r=(spool_hole_big/2),$fn=64); cylinder(h...
glb/cad_557ca84633ce.glb
Create a protective case for an ESP8266 yellow development board. The main body is a rectangular box with outer dimensions of 49.1mm in width, 61.1mm in length, and 16mm in height. The walls of the case are 2.2mm thick. The interior is hollowed out to create a cavity that is 44.7mm wide and 57.1mm long, starting from ...
am = 1.5; cl = 59.6+am; cb = 47.6+am; ch = 16.0; cd = 2.2; bl = 51.4+am; bb = 41.6+am; bh = 15.0; bd = 0.75; rotate([0,180,0]) esp8266yellowboard(); module esp8266yellowboard(){ difference(){ union(){ translate([-cd/2,-cd/2,0]) cube([cb+cd,cl+cd,ch+bh]); translate([-cd/2,-cd/2-...
glb/cad_ef89cd1e9bf4.glb
Create a rectangular case for an ESP8266 yellow development board. The outer dimensions of the case should be 49.1mm wide by 61.1mm long with a total height of 31mm. The walls of the case must be 6mm thick. Hollow out the center of the case to create an interior cavity. The bottom section of this cavity should be 16m...
am = 1.5; cl = 59.6+am; cb = 47.6+am; ch = 16.0; cd = 6.0; bl = 51.4+am; bb = 41.6+am; bh = 15.0; bd = 2.5; rotate([0,180,0]) esp8266yellowboard(); module esp8266yellowboard(){ difference(){ translate([-cd/2,-cd/2,0]) cube([cb+cd,cl+cd,ch+bh]); union(){ cube([cb,cl,ch]); ...
glb/cad_3c0b1a0f0fb2.glb
Create a fridge handle consisting of a main rectangular body with a hollowed center and integrated screw mounts. The main body is a rounded box measuring 165mm in width, 30mm in depth, and 20mm in height, with corner radii of 2.5mm. Carve a horizontal cylindrical tunnel through the center of the body along its length...
use <MCAD/boxes.scad>; dep = 5; handleW = 165; handleD = 30; handleH = 20; screwsDim = 4; screwsW = 15; screwsD = handleD + 10; module cylinderIn(h, dim, c = false) { cylinder(h= h, r1=dim/2, r2=dim/2, center=c); } module screwsHolder() { translate([screwsDim/2, screwsD, 0]) rotate([90,0,0]) ...
glb/cad_6f505fe1cbd1.glb
Create a secondary mirror mount for a trackball telescope consisting of two interlocking parts: a main block and a ball-and-socket joint. Construct the main block as a cylinder with a radius of 31.3mm and a height of 95mm. Slice the top of this cylinder at a 45-degree angle. Remove a central vertical cylinder with a ...
$fn = 50; main_height = 95; wire_radius = 2; wire_height_1 = 15; wire_length_1 = 200; wire_center_separation = 20; wire_bend_radius = 30; wire_opening_angle = 120; mirror_width = 12; mirror_minor_axis_diameter = 62.6; mirror_major_axis_diameter = 88; scale_factor = mirror_major_axis_diameter / mirror_minor_axis_diam...
glb/cad_a8492eaf78e4.glb
Create a Heated Bed Glass Holder consisting of a corner bracket designed to secure a glass plate to a heated bed. The bracket is based on a total height of 6.75mm (calculated from a 1mm clip thickness, 1.75mm bed thickness, and 3mm glass thickness, plus an additional 1mm clip thickness). Construct the bracket using tw...
BedThickness = 1.75; GlassThickness = 3; GlassWidth = 200; GlassHeight = 214; ClipThickness = 1; ClipWidth = 7; ClipLength = 16; ClipOuterWallWidth = 2; ShowPreview = "false"; $fn=32; BedWidthAndHeight = 214; Hole = 20; TotalHeight = ClipThickness + BedThickness + GlassThickness + ClipThickness; SpacerWidth = ...
glb/cad_c78da15c4fce.glb
Create a Grand Uusam wrench tool with a total thickness of 5mm. The main body is a rectangular bar 100mm long and 10.4mm wide. At both ends of the bar, create circular heads with a radius of 10.2mm. On one end, carve a hexagonal hole through the center of the circular head with a flat-to-flat diameter of 10.4mm. On t...
include <MCAD/shapes.scad> include <write/Write.scad> message = "ROB`s 10mm"; Font = "write/Letters.dxf"; Nut_Size = 10; Tool_Height = 5; Tool_Length = 10; kerf = 0.4 + 0; D = Nut_Size + kerf; M = D/2; H = Tool_Height; Ltot = D * Tool_Length; Text_Height = Nut_Size*0.8 ; L = Ltot-2*(D/2+M); rotate([0, 0, -45]) ...
glb/cad_5d926ccb54ba.glb
Create a Heavy Duty Binocular Tripod Mount. Start by creating a main cylindrical body with a diameter of 39mm and a depth of 30mm. Hollow out the center of this cylinder with a concentric hole 33mm in diameter that passes completely through the 30mm depth. Attached to the bottom of this cylinder, create a rectangular...
barrel_diameter=33; depth=30; arm_length=100; rotate([0,90,0]) intersection(){ cube([depth+1,arm_length*2,barrel_diameter+14],center=true); difference(){ union(){ rotate([0,90,0]) cylinder(d=barrel_diameter+6,h=depth,center=true,$fa=5); rotate([-135,0,0]) translate([0,barrel_diameter/2,barrel_diameter/2]) cu...
glb/cad_6bafa4edac2a.glb
Create a Y-Carriage for a Mendelmax 3D printer. The main body is a flat plate with a thickness of 5mm. Construct the carriage frame as a rectangular base with rounded ends. The overall width is 100mm and the depth is 110mm. At the corners, create four mounting points for linear bearings. Each bearing holder is a rect...
include <gregs-lm8uu-holder3.scad> include <configuration.scad> layer_height=0.30; beam_support_thickness=5; beam_width=20; beam_thickness=9; bar_seperation=100; carriage_mount_hole_y_sep=110; carriage_mount_hole_x_sep=bar_seperation; carriage_width=carriage_mount_hole_x_sep; carriage_depth=carriage_mount_hole_y_s...
glb/cad_fc3a93e8c21e.glb
Create a Battery Pack Holder consisting of a rectangular open-top box with a base and integrated mounting feet. The main interior cavity should measure 136mm in length, 49mm in width, and 34mm in height. The walls of the box are 3mm thick with rounded corners of 1.5mm. The box sits on a base that extends beyond the wa...
box_h = 34; box_w = 49; box_l = 136; connector_d = 15; connector_z = 23; wall_t = 3; wall_r = 1.5; foot_inset = 6; foot_r = 5; foot_h = 3; foot_l = 12; foot_hole_d = 3; hole_to_edge = 6; epsilon = 0.05; facet_epsilon = 0.03; function facets(r) = 180 / acos(1 - (facet_epsilon / r)); module rounded(r=1) { offset(r=...
glb/cad_cd1f07d8fd72.glb
Create a hexagonal connector piece by starting with a hexagonal prism that has a radius of 50mm and a height of 15mm. At three equidistant points around the perimeter, create square-profile connectors. Each connector point consists of a female socket and a male peg. To create the female socket, remove a square prism wi...
height = 15; gap = 1; pieceScale = 1; piece(); module piece(){ sides = 3; totalSides = sides*2; connectorRadius = 12.5; pieceRadius = 50; scale(pieceScale){ difference(){ cylinder(h=height, r=pieceRadius, center=false, $fn=totalSides); for(i = [0 : sides-1]) ...
glb/cad_01acc2d30240.glb
Create a cable clip with a height of 3mm. The design consists of two identical, mirrored circular holding elements positioned side-by-side. Each element is based on a large outer circle with a diameter of 11mm and a concentric inner circular cutout with a diameter of 8mm to accommodate a cable. To create the opening ...
cable = 8; rows = 1; thik = 1.5; angel = 50; $fn=50; outer = cable + 2*thik; clips(rows); module clips(num) { linear_extrude(height=3) { for(idx=[0 : 1 : num-1 ]) { translate([0, outer * idx]) dual(); } } } module dual() { copy_mirror() translate([outer/2, outer/2]) clip(cable, ...
glb/cad_2008c45d52ae.glb
Create a model stage by first constructing a tapered hollow base. Start with a rectangular bottom measuring 80mm by 40mm. From this base, extend the walls upward to a height of 15mm, sloping inward so that the top rectangular opening measures 65mm by 30mm and is centered relative to the bottom. Inside this structure,...
bottomLength=80; bottomWidth=40; upperLength=65; upperWidth=30; height=15; xMove=(bottomLength-upperLength)/2; yMove=(bottomWidth-upperWidth)/2; modelLength=56; modelWidth=28; modelDepth=5; modelXMove=(bottomLength-modelLength)/2; modelYMove=(bottomWidth-modelWidth)/2; retracted=3; lightLength=modelLength-2*retracte...
glb/cad_9f0c17f10a1b.glb
Create a Customizable Quick Table consisting of three main components: a footing, a top adapter, and a bottom adapter. First, create the footing as a rectangular base 47mm wide by 47mm long with a height of 15mm. The footing should have a hollow center to accommodate a 40mm by 40mm rectangular leg, leaving a perimeter...
part = "all"; mirror = "false"; tabletop_thickness=15; securing_strap_width=15; securing_strap_thickness=3; leg_shape="rectangular"; leg_width=40; leg_length=40; leg_angle=5; leg_screw_hole=5; leg_screw_head_size=8; leg_screw_head_depth=3; leg_foot_width=7; leg_footing_width=leg_width+leg_foot_width; leg_f...
glb/cad_a5164593a244.glb
Create a Zip Tie Anchor for a 20mm extrusion. Start with a main rectangular base that is 15mm long, 17mm wide, and 4mm thick. The base should have rounded ends with a radius of 2mm. Centered on top of this base, add a peg assembly. The peg consists of a lower cylinder with a radius of 3.05mm and a height of 3mm, topp...
zip_tie_thickness=2; zip_tie_width=3.5; peg_width = 5.9; mount_thickness=4; extrusion_width=20; translate([0,0,(peg_width-1)/2]) rotate([0,90,45]) ancher(); %translate([0,0,-10]) cube([200,200,20], center=true); module ancher() { difference() { union() { translate([0,0,mount_thickness/2]) rotate([90,0,90]...
glb/cad_79f61c95c25d.glb
Create a small paddle model consisting of a handle and a blade. Start by creating a hollow cylindrical handle with an outer radius of 17.46mm and an inner radius of 14.29mm, with a total length of 50.8mm. Position this handle so its center is at x=-88.9mm, y=0, and z=6.35mm, oriented along the Y-axis. For the blade, cr...
$fn = 80; union() { translate(v = [-88.9, 0, 6.35]) { difference() { rotate([0, 90, 0]) { cylinder(center = true, r1 = 17.4625, r2 = 17.4625, h = 50.8); } translate(v = [-25.4, 0, 0]) { rotate([0, 90, 0]...
glb/cad_e7158a9b2740.glb
Create a small paddle consisting of a blade and a handle. Start by creating the blade as an ellipsoid with a total width of 203.2mm, a depth of 127mm, and a thickness of 50.8mm. Hollow out the center of this ellipsoid by removing a smaller ellipsoid scaled to 1.4 times the width and depth and 1.1 times the thickness of...
$fn = 80; rotate([180, 0, 0]) { union() { difference() { resize([203.2, 127, 50.8]) { sphere(r = 1); } scale(v = [1.4, 1.4, 1.1]) { translate(v = [0, 0, -25.4]) { resi...
glb/cad_ea8b55cf3767.glb
Create a screw for a surf board. Start by creating a hexagonal head with a diameter of 31.1mm and a height of 2.4mm. From the center of this head, extend a vertical cylindrical shaft with a diameter of 7.5mm and a total height of 54.5mm. On this shaft, create a threaded profile consisting of a series of stacked hexag...
fd = 31.1; fh = 2.4; gd = 7.5; gh = 54.5; sl = 12.1; sb = 2.6; st = 3.0; difference(){ union(){ color("red") translate([0,0,-7]) scale([1.4,1.4,2.735]) hex_bolt(6,19); cylinder(fh,fd/2,fd/2); cylinder(6,24/2,8/2); } translate([0,0,-fh*5]) cylinder(fh*5,fd/2,fd/2); color("b...
glb/cad_bb18a9ad8257.glb
Create an up-swept landing gear leg for a drone. Start by forming a curved, blade-like arm that is 9.8mm wide. The main body is defined by the intersection of a 34mm x 50mm rectangular block and a cylinder with a 30mm radius, which is then further refined by subtracting a larger 50mm radius cylinder to create a tapered...
translate([0,0,-1])rotate([0,-5,0])peg(6); translate([-14,-3,4])cube([35,6,3]); translate([-14,-2,7])cube([3,4,3]); translate([10+16,0,0])rotate([0,5,180])peg(6); translate([-4,-4.9,25+4])landinggear(9.8); module landinggear(width){ difference(){ intersection(){ difference(){ tr...
glb/cad_34b2fecb5865.glb
Create a nano quadcopter propeller bumper consisting of four circular rings connected by a central cross. Position the centers of the four rings at the corners of a square with a side length of 32mm. Each ring must have an inner radius of 18mm and an outer radius of 19mm, creating a wall thickness of 1mm. The height of...
distance_betweek_propellers_axis = 32; bumper_inner_radius = 18; bumper_width = 1; cross_height = 2; bumper_height = 3; module props(r1,r2, h) { translate([r1,r1,0]) cylinder(h, r2,r2, center=false); translate([-r1,r1,0]) cylinder(h, r2,r2, center=false); translate([r1,-r1,0]) cylinder(h, r...
glb/cad_4359ed126348.glb
Create a drop-in t-slot nut by combining a central cylindrical column with a flared base. Start with a central vertical hole with a radius of 2.5mm that runs through the entire height of the object. Build the main body around this hole, consisting of two stacked sections. The bottom section is a truncated cone with a h...
t_width=7.8; t_depth=4; d_width=22; d_depth=7; r_bolt=5/2; main(); module t(){ cylinder(h=t_depth,r=t_width/2); translate([0,-t_width/2,0]) cube([t_width/2,t_width/2,t_depth]); translate([-t_width/2,0,0]) cube([t_width/2,t_width/2,t_depth]); } module d(){ intersection() { cylinder(h=d_depth, r1=t_width/2,r2=d_...
glb/cad_346a9ca01b11.glb
Create a Retro Pen holder by constructing a main body and a tip. Start with a rectangular base for the body that is 87mm long, 3.825mm wide, and 6.8mm thick. Centered along the length of this body, carve out a horizontal cylindrical hole with a diameter of 4.3mm to hold the pen. On the top surface of the body, extrude...
use <MCAD/fonts.scad> word = "David"; font_scale = 2.1 ; font_spacing = 0.81; pen_inner_diameter = 4.3 *1; pen_inner_radius = pen_inner_diameter / 2; pen_length = 90; pen_thickness = 8.5*1; module penword() { thisFont=8bit_polyfont(); x_shift=thisFont[0][0] * font_spacing; y_shift=thisFont[0][1]; theseIndicie...
glb/cad_8b6ec5ddd450.glb
Create a case for a MeeBlip SE synthesizer consisting of a base and a lid. For the base, create a rectangular shell with outer dimensions of 159.3mm x 115.85mm x 23.5mm and a wall thickness of 1.5mm. Hollow out the center to leave an interior space of 156.3mm x 113.25mm x 22mm. On the sides of the base, create four r...
$fa=.1; $fs=.5; board_x = 156.3; board_y = 113.25; board_z = 1.5; lid(); module Base() { wall_thick = 1.5; gap = 0.8; box_depth = 22; union() { difference() { cube(size=[board_x+2*wall_thick+2*gap, board_y+2*wall_thick+2*gap, box_depth+wall_thick], center=true); translate([0, 0, wall_thick]) { cub...
glb/cad_703f62f2d75f.glb
Create an X Buckteeth Leader part starting with a base rectangular plate measuring 53.4mm in width, 27.8mm in height, and 5mm in thickness. Centered on the plate, add a raised section that is 29mm wide and 12mm high, extending the total thickness of that area to 7mm. Within this raised section, create a series of 15 ...
$fs = 0.1; WIDTH = 53.4; HEIGHT = 27.8; TCUTHOR = 11; STHOR1 = 4; STHOR2 = 19; MHOR1 = 11; MHOR2 = 31.59; EXTRA_DEPTH = 7; JAW_HEIGHT = 12; TEETH_NUMBER = 15; JAW_CLEARANCE = 3.25 ; translate([-WIDTH/2,-HEIGHT/2,0]) union(){ difference(){ union() { cube([WIDTH,HEIGHT,5]); translate([WIDTH/2-(TEE...
glb/cad_612ffce53b71.glb
Create a keychain named Yavor. Start by creating a horizontal cylinder with a radius of 10mm and a length of 93mm. Engrave the text "Yavor" into the side of this cylinder using a font size of 15mm, ensuring the text is centered vertically and positioned 2.5mm from the cylinder's center. At one end of the main cylinder,...
color("Red") union() { difference() { rotate(a = [0, 90]) cylinder(h = 93, r = 10, $fn = 90); translate(v = [2.5, 0, 0]) linear_extrude(height = 10) { text(text = "Yavor", size = 15, font = "Spy Agency", valign = "center"); } } translate(v = [-7.5, 0, -5]) difference() { ...
glb/cad_c4f051cf04c8.glb
Create an Ikea Vidga Connector by constructing a base rectangular block that is 12.5mm wide, 65mm long, and 6.5mm high. Within this main body, carve out two rectangular slots to create a central bridge. The first slot should be 4.5mm wide and 25mm long, positioned 0.01mm from the bottom and 4mm from the left edge. The ...
intersection() { translate([-6.25,-32.5,0]) difference() { union() { color("blue") translate([-.5,0,0]) cube([13.5,15,6.5]); color("red") translate([0,15,0]) cube([12.5,35,6.5]); color("blue") translate([-.5,50,0]) cube([13.5,15,6.5]); translate([6.25-1.5,32.5-5,0]) cube([3,10,9]); } translate([4,-.01,-.01]) cube([...
glb/cad_a8e6b7d8cf4e.glb
Create a parametric top hat by constructing a hollowed cylinder and a flat circular base. Start with a main cylinder that has a radius of 16mm and a total height of 30mm. At the bottom of this cylinder, add a wider, flat circular brim with a radius of 27mm and a thickness of 3mm. To create the interior cavity, remove a...
$fn=60; $height = 30; $radius = 16; $brim_radius = 27; difference() { union() { cylinder(h=$height,r=$radius); cylinder(h=8,r=$radius+1); linear_extrude(3) circle(r=$brim_radius); }; translate([0,0,-1]) cylinder(h=$height-2,r=$radius-2); } translate([0,0,($height-2)/2...
glb/cad_6644155935dd.glb
Create a Packing Parcels math puzzle by starting with a central cube that measures 20mm on all sides. Remove three identical cylindrical holes, each with a radius of 3mm and a length of 20mm, that pass completely through the cube. Position the first hole vertically along the Z-axis, the second hole horizontally along t...
difference(){ difference(){ cube([20,20,20], center=true); cylinder(h=20,r=3, center=true); } rotate([90,0,0])cylinder(h=20,r=3, center=true); rotate([0,90,0])cylinder(h=20,r=3, center=true); }
glb/cad_d26afe389526.glb
Create a Packing Parcels math puzzle by starting with a central rectangular prism that measures 40mm in width, 40mm in depth, and 20mm in height. Remove three identical cylindrical holes, each with a radius of 3mm, that pass completely through the volume. Position the first hole vertically through the center of the top...
difference(){ difference(){ cube([40,40,20], center=true); cylinder(h=20,r=3, center=true); } rotate([90,0,0])cylinder(h=40,r=3, center=true); rotate([0,90,0])cylinder(h=40,r=3, center=true); }
glb/cad_841b11687079.glb
Create a hollow cube for a math puzzle called Packing Parcels. Start by constructing a solid outer cube with dimensions of 66mm x 66mm x 66mm. From the center of this volume, remove a smaller interior cube measuring 63mm x 63mm x 63mm. Position the inner cube so that it is shifted 3mm along the y-axis relative to the c...
difference(){ cube([66,66,66], center=true); translate([0,3,0])cube([63,63,63],center=true); }
glb/cad_e3398d5b6f8c.glb
Create a Packing Parcels model by constructing two rectangular prisms. First, create a long, thin base prism with dimensions of 100mm in length, 1mm in width, and 3mm in height. Then, attach a second, smaller cube to the end of the first prism. This second cube should measure 1mm in length, 3mm in width, and 3mm in hei...
cube([100,1,3], center=false); translate([100,0,0])cube([1,3,3],center=false);
glb/cad_162db8b78e1d.glb
Create a Dome Connector by starting with a solid cylinder that has a radius of 20mm and a height of 20mm, centered on the origin. From this main body, remove six identical holes spaced evenly every 60 degrees around the central Z-axis. Each hole is created by a teardrop-shaped profile consisting of a cylinder with a ra...
module TearDrop(radius, height) { union(){ cylinder(h=height,r=radius,center=true); intersection(){ rotate(45,[0, 0, 1]) scale([1, 1, height]) cube(size=2*radius, center = true); translate([1.75*radius,0,0]) scale([1,1,height/6.7]) cube(size=2*radius, center=true); } } } module BuckyBracket(folds, prad)...
glb/cad_923cbd762ebf.glb
Create a Dome Connector by starting with a main cylindrical body that has a radius of 18mm and a height of 18mm. The body should be rendered as a 21-sided prism. Remove a small hexagonal hole with a radius of 1.5mm and a height of 20mm from the center of the cylinder. Around the perimeter of the cylinder, create six ...
module TearDrop(radius, height) { union(){ cylinder(h=height,r=radius,center=true); intersection(){ rotate(45,[0, 0, 1]) scale([1, 1, height]) cube(size=2*radius, center = true); translate([1.75*radius,0,0]) scale([1,1,height/10]) cube(size=2*radius, center=true); } } } module BuckyBracket(folds, prad) ...
glb/cad_3d87f90bf46d.glb
Create a Dome Connector by starting with a main cylindrical body that has a radius of 18mm and a height of 18mm. The cylinder should be rendered with a low facet resolution of 21 sides. Remove a small hexagonal hole from the center of the cylinder, created by a 6-sided prism with a radius of 1.5mm and a height of 20m...
module TearDrop(radius, height) { union(){ cylinder(h=height,r=radius,center=true); intersection(){ rotate(45,[0, 0, 1]) scale([1, 1, height]) cube(size=2*radius, center = true); translate([1.75*radius,0,0]) scale([1,1,height/10]) cube(size=2*radius, center=true); } } } module BuckyBracket(folds, prad) ...
glb/cad_8187bf7aedb8.glb
Create a Command Strip Hanging Peg consisting of a rectangular base and a protruding two-stage peg. Start by creating a rectangular base 15mm wide, 28mm long, and 2mm thick. Centered on the 15mm width of this base, add a cylindrical shaft with a diameter of 4mm and a height of 3mm. On top of this shaft, place a larger ...
$fn=50; baseW = 15; baseL = 28; baseH = 2; baseC = "blue"; pegD = 4; pegH = 3; pegC = "green"; capD = 8; capH = 2; capC = "red"; rotate([90,0,0]) difference(){ union(){ color(baseC) cube([baseW, baseL, baseH]); translate([baseW/2,pegD/2, baseH]) color(pegC) cylinder(d=pegD, h=pegH); translate([b...
glb/cad_af71633d0745.glb
Create a glowstick connector junction by constructing a central cross-shaped body and removing two intersecting cylindrical holes. Start by forming the main body from two identical intersecting rectangular prisms, each measuring 28.5mm in length, 9mm in width, and 9mm in height. Position one prism along the X-axis and ...
fn=32; id = 6; ir = id/2; th = 1.5; ih = 22.5+id; difference() { union() { cube([ih,id+th*2,id+th*2],center=true); cube([id+th*2,ih,id+th*2],center=true); } rotate([0,90,0]) { cylinder(r=4.98/2,h=ih+1,center=true,$fn=fn); rotate([90,0,0]) cylinder(r=4.98/2,h=ih+1,center=true,$fn=fn); } }
glb/cad_1b1072a7ef42.glb
Create a power strip housing consisting of a rectangular base and a removable lid. The base is a rectangular box with a length of 200mm and a wall thickness of 3mm. The interior height is 23mm. On the bottom of the base, create a series of cable management features: drill 12 circular holes with a diameter of 8.16mm (...
use <fillet.scad> use <wago_222.scad> cable=8; render_bottom = true; fast=false; slack=2; wall=3; $fn=40; b_dia=cable*2; s_dia=3; sep=20; height= 4 + (cable + 2 * 1.5)*6 ; w=(cable*2 + slack*2 + s_dia + b_dia + cable +wall )*2 ; lid_guide=5; length=200; if (render_bottom) { bottom(); }else{ lid(); } mo...
glb/cad_45c5a17260da.glb
Create a cable clip by designing a 3mm thick base. Start with a circle that has a diameter of 11mm. Subtract a smaller concentric circle with a diameter of 8mm from the center to create a ring. To allow for cable insertion, remove a wedge-shaped section from the inner circle's area, defined by a polygon with vertices a...
cable = 8; rows = 1; thik = 1.5; angel = 50; $fn=50; outer = cable + 2*thik; clips(rows); module clips(num) { linear_extrude(height=3) { for(idx=[0 : 1 : num-1 ]) { translate([0, outer * idx]) dual(); } } } module dual() { copy_mirror() translate([outer/2, outer/2]) clip(cable, ...
glb/cad_2008c45d52ae.glb
Create a 3D model consisting of three intersecting geometric primitives. First, place a cylinder with a radius of 5mm and a height of 10mm centered on the origin. Second, add a cube with dimensions of 10mm by 10mm by 2mm, positioned so that it intersects the cylinder. Third, create a second cylinder with a radius of 1m...
module fillet(r=1.0,steps=3,include=true, skip=false) { if (skip) children(); else { if(include) for (k=[0:$children-1]) { children(k); } for (i=[0:$children-2] ) { for(j=[i+1:$children-1] ) { fillet_two(r=r,steps=steps) { children(i); children(j); intersection() { children(...
glb/cad_00eb0c201141.glb
Create a custom plug for a rectangular tube with an outer dimension of 25.4mm by 25.4mm and a wall thickness of 1.58mm. Start by creating the main cap body. The cap should have a total length of 5mm. The exterior profile is a square with corners rounded by a radius of 3.16mm. The cap is partially hollowed out from th...
$fn=36+0; input_units = 1+0; tube_x = 25.4; tube_y = 0; tube_wall = 1.58; corner_rounding = 50; cap_length = 5; straight_pct = 50; groove_tabs = 1; recess_pct = 100; display_build_plate = 0; use <utils/build_plate.scad> build_plate_selector = 3; build_plate_manual_x = 100; build_plate_manual_y = 100; tub...
glb/cad_71e90d12c4c5.glb
Create a circular mounting plate for a filament box. Start with a main cylindrical disk that has a diameter of 57.15mm and a thickness of 5mm, centered on the origin. Remove a central cylindrical hole with a diameter of 32.64mm that passes completely through the disk. Create four identical screw holes, each with a ...
function to_mm(in) = ( in * 25.4 ); tolerance = 0.6; outer_inside_diameter = to_mm(1.0500) + tolerance; outer_outside_diameter = to_mm(1.2760); base_diameter = to_mm(2.2500); base_thickness = 5.0; head_diameter = 5.5 + tolerance; head_thickness = 3.0; hole_diameter = 3.0;...
glb/cad_25dd6ca336c9.glb
Create a Filament Box PVC holder consisting of a circular base with a central semi-cylindrical clip. The base is a cylinder with a diameter of 57.15mm and a thickness of 5mm. Centered on this base, create a semi-cylindrical collar with an outer diameter of 32.67mm and an inner diameter of 15.19mm, extending upwards fro...
function to_mm(in) = ( in * 25.4 ); tolerance = 0.6; inner_inside_diameter = to_mm(0.5980); inner_outside_diameter = to_mm(0.8240) - tolerance; outer_inside_diameter = to_mm(1.0500) + tolerance; outer_outside_diameter = to_mm(1.2760); outer_depth = to_mm(0.6750); base_diameter = to_mm(2.2500); ...
glb/cad_ab0ea9e96aba.glb
Create a base plate for filament spool rollers by starting with a rectangular block 100mm wide, 30mm deep, and 48mm high. Center this block on the X-axis. Carve a large semi-circular cutout from the top of the block using a cylinder with a radius of 105mm, centered at X=0, Y=110, and Z=-1, to create a concave curved to...
module base() { difference() { union() { difference() { union() { translate([-50,0,0]) cube([100,30,48]); } translate([0,110,-1]) cylinder(50, r=105, $fn=100); } } translate([ 25,5,-1]) cylinder(50, r=1.4, $fn=25); translate([-25,5,-1]) cylinder(50, r=1.4, $fn=25); } } base();
glb/cad_66367e491949.glb
Create a GoPro Battery storage box. Start by constructing a main rectangular outer shell with overall dimensions of 39mm width, 53mm depth, and 43mm height. Hollow out the center of this shell to create an internal cavity measuring 35mm width, 49mm depth, and 39mm height, leaving a wall thickness of 2mm on all sides. ...
GoProBatteryW = 35; GoProBatteryD = 13; GoProBatteryH = 39; nBattery = 3; gap = 2; pinsDim = 4; ClosingW = 1; ClosingD = 10; internalBoxW = GoProBatteryW + gap *2; internalBoxD = gap * (nBattery+1) + GoProBatteryD*nBattery; internalBoxH = GoProBatteryH + gap *2; module GoProBattery() { cube([GoProBatteryW,GoPro...
glb/cad_2b4547619aa5.glb
Create a hexagonal cookie cutter for game tiles. Start by constructing a solid hexagonal prism with a side length of 35mm and a height of 2mm to serve as the base. On top of this base, add a thinner hexagonal wall that extends upwards to a total height of 6mm. This upper wall should be a hollow hexagonal shell with an ...
hexagon_side0=35; hexagon_side1=33; hexagon_side2=32; hexagon_height=2; lip_height=2; total_height=6; a_bit=0; layer_height=0.32; catan_cutter(hexagon_side0,lip_height,total_height,hexagon_side1); module simple_catan_base(hexagon_side1,hexagon_height,layer_height,hexagon_side2){ difference(){ make_hex(hexagon_side...
glb/cad_832529e10242.glb
Create a hexagonal game tile cutter. Start by constructing a solid hexagonal prism with a side length of 35mm and a total height of 6mm. From the center of this prism, remove a hexagonal volume to create a hollow shell. This interior cutout should be a hexagonal frustum that starts at a height of 0.64mm from the base, ...
hexagon_side0=35; hexagon_side1=33; hexagon_side2=32; hexagon_height=2; lip_height=2; total_height=6; a_bit=0; layer_height=0.32; is_base=1; difference(){ union(){ cylinder(h=5, r1=35-2*is_base, r2=33-2*is_base, $fn=6); cylinder(h=1, r=35-2*is_base,$fn=6); } translate(v=[0,0,is_base])cylinder(h=5+a_bit, r=33-2*...
glb/cad_04c96f008ffa.glb
Create a hexagonal game tile cutter. The main body is a six-sided conical frustum with a height of 5mm. The bottom face is a regular hexagon with a side length of 35mm, and the top face is a regular hexagon with a side length of 33mm, creating a slight inward taper. To form the cutting walls, remove a hexagonal prism...
a_bit=0.1; layer_height=0.32; is_base=1; hexagon_side=33; hexagon_side_extra=35; hexagon_height=5; lip_height=1; total_height=6; difference(){ union(){ cylinder(h=hexagon_height, r1=hexagon_side_extra-2*is_base, r2=hexagon_side-2*is_base, $fn=6); cylinder(h=lip_height, r=hexagon_side_extra-2*is_base,$fn=6); } ...
glb/cad_d542a221fb0d.glb
Create a PipeAdjuster by constructing a main hollow cylinder with an outer diameter of 24.5mm and an inner diameter of 17mm, both extending to a height of 40mm. Within this main body, create a central vertical hole with a diameter of 17mm that starts 10mm from the base and runs through the top. At the base of the objec...
translate([0, 0, 40]){ rotate([0,180,180]){ difference(){ union(){ rotate([0,90,0]){ translate([-30, 0, -16.5]) cylinder(h = 6, r =6.5,$fn=24); } difference() { translate([0, 0, 0]) cylinder(h = 40, r =12.25,$fn=96); translate([0, 0, 10]) cylinder(h =...
glb/cad_d31fd1b4088c.glb
Create a Panoramic 6x14 Camera body by combining a central cylinder and a rectangular block. Start with a cylinder that has a height of 22.8mm and a radius of 4mm, centered on the origin. Merge this with a centered rectangular prism measuring 6.5mm in width, 8mm in depth, and 22.8mm in height. From this combined solid,...
$fn = 150; difference(){ union(){ cylinder(h = 22.8, r1 = 8/2, r2 = 8/2, center = true); translate ([-(2.5+4)/2,0,0]){ cube(size = [2.5+4,8,22.8], center = true); } } #cylinder(h = 30, r1 = 5.5/2, r2 = 5.5/2, center = true); translate ([3,0,0]){ cube(size = [5,3,30], center = true); } }
glb/cad_e2fb251ffeda.glb
Create a Panoramic 6x14 Camera body by constructing a main housing with a total height of 110.76mm. The outer shell is defined by a linear extrusion of a custom profile, with a hollow interior created by extruding a smaller inner profile to a height of 70.76mm, starting 20mm from the base. At the bottom, integrate two...
$fn = 150; backing_plate_flyout = 100; bellows_flyout = 200; sealing_slot_flyout = 150; difference(){ union(){ difference(){ linear_extrude(height = 70.76+20+20, center = false, convexity = 10) import(file = "large_format_camera_back_outer_2.dxf"); translate ([0,0,20]) linear_extrude(height = 70....
glb/cad_0202a843320e.glb
Create a Panoramic 6x14 Camera body by combining two rectangular prisms. First, construct a flat square base measuring 18.5mm in width, 18.5mm in depth, and 1.5mm in height. Attached to the right side of this base, add a second, smaller rectangular prism that stands 3mm tall, 1.5mm wide, and 18.5mm deep. Position this ...
$fn = 150; union() { #cube(size = [18.5, 18.5, 1.5], center = false); translate([18,0,0]) #cube(size = [1.5, 18.5, 3], center = false); }
glb/cad_6895d286fd49.glb
Create a Panoramic 6x14 Camera body by constructing a complex geometric housing. Start with a main body shaped as an irregular frustum with a base length of 13mm, a height of 18mm, and a width of 42mm. The structure should have a wall thickness of 1mm. Integrate a central cylindrical opening with a diameter of 18mm (...
$fn = 150; lenght = 13; height = 18; width = 42; CC = height; DD = height; thickness = 1; union(){ union(){ translate([0,(width+thickness*2)/2-(lenght/2),-lenght+0.5]) cube(size = [lenght,lenght,lenght], center = false); translate([0,(width+thickness*2)/2-(20/2),-lenght+0.5]) cube(size = [lenght, 20, 2], center = fal...
glb/cad_30b78a0c9e7f.glb
Create a Panoramic 6x14 Camera base by starting with a rectangular block that is 50mm long, 15mm wide, and 1mm thick. On the top surface of this block, add the characters "2,5,8,11" as raised 3D text. Position the text so that its bottom-left corner starts 4mm from the left edge and 4mm from the front edge of the block...
$fn = 150; use <write.scad> union(){ cube(size = [50,15,1], center = false); translate([4,4,0]) write("2,5,8,11",t=2,h=8,center=false); }
glb/cad_2ca163211118.glb
Create a Panoramic 6x14 Camera model consisting of several geometric components. Start by creating a primary vertical cylinder with a radius of 4.35mm and a total height of 32.2mm. At the base of this cylinder, add a wider, shorter disc with a radius of 7.5mm and a height of 1.8mm. From the main vertical cylinder, re...
$fn = 150; backing_plate_flyout = 100; bellows_flyout = 200; sealing_slot_flyout = 150; difference() { union(){ cylinder(h = 2.2+20+10, r1 = 8.7/2, r2 = 8.7/2, center = false); color("blue") cylinder(h = 1.8, r1 = 15/2, r2 = 15/2, center = false); } translate ([0,0,((2.2+20+10)/2)-2.5]) #cube(size = [8.7,3,2.2+20...
glb/cad_e9b1217cb975.glb
Create a Panoramic 6x14 Camera backing plate. Start by constructing a rectangular slab with a width of 146mm, a thickness of 2.5mm, and a height of 70.23mm. Position this slab so that it is centered along its width. To complete the part, remove a cylindrical hole from the center of the slab. This hole should have a dia...
$fn = 150; backing_plate_flyout = 0; bellows_flyout = 200; sealing_slot_flyout = 150; width = 146; backing_plate_thickness = 2.5; difference(){ translate([-(width/2),(-1.5+backing_plate_flyout),20.25]) color("red") cube(size = [width,backing_plate_thickness,70.23], center = false); translate([-(172/2)*0.05,backing_p...
glb/cad_0609616ad0f3.glb
Create a Panoramic 6x14 Camera body. Start by constructing the main bellows housing as a large rectangular block measuring 227mm in width, 10mm in height, and approximately 110.76mm in depth. Within this housing, create a central hollow cavity (the inner bellows) with a width of 140mm and a height of 56mm. At the fron...
$fn = 150; backing_plate_flyout = 100; bellows_flyout = 0; sealing_slot_flyout = 150; FlangeFocalLength = 72.22; inner_E = FlangeFocalLength-2; inner_A = 56; inner_B = 140; inner_C = inner_A; inner_D = inner_A; bellows_thickness = 4; out_E = FlangeFocalLength; out_A = inner_A+(2*bellows_thickness); out_B = inner_B+...
glb/cad_50630d9cc4d6.glb
Create a Panoramic 6x14 Camera body. Start by constructing the main bellows housing as a large block measuring 227mm in width, 10mm in height, and approximately 110.76mm in depth. Integrate an irregular frustum into the center of this housing with a base width of 56mm and a maximum width of 160mm. At the front center,...
$fn = 150; backing_plate_flyout = 100; bellows_flyout = 0; sealing_slot_flyout = 150; FlangeFocalLength = 72.22; inner_E = FlangeFocalLength-2; inner_A = 56; inner_B = 140; inner_C = inner_A; inner_D = inner_A; bellows_thickness = 4; out_E = FlangeFocalLength; out_A = inner_A+(2*bellows_thickness); out_B = inner_B+...
glb/cad_72ebc1bfe862.glb
Create a Prusa Frostruder MK2 Adaptor clamp. Start with a central cylindrical base that has a total height of 10mm and a radius of 33.5mm. From the center of this base, remove a vertical cylindrical hole with a radius of 16mm and a height of 10mm to accommodate a syringe. To create the mounting slots, remove two pill-...
syringe_d = 32; hole_d = 4.2; hole_spacing = 55; hole_stretch = 3; hole_padding = 3; clamp_thickness = 5; collar_width = 5; collar_thickness = 5; clamp(); module clamp() { difference() { intersection() { union() { cylinder(h = clamp_thickness, r = hole_spacing/2 + hole_stretch/2 + hole_d/2 + hole_pa...
glb/cad_2e779f7a74f0.glb
Create a series of 8-bit pixel art figures based on a grid of blocks. Each individual block has a base size of 4mm x 4mm and a height of 3mm. To ensure the blocks connect diagonally, expand each block's width and depth by 20% (to 4.8mm) so they slightly overlap. For each figure, arrange the blocks according to a bitma...
spacing=4*15; color ("Gold") { translate ([spacing*0.5,0,0]) pixelthing (invadermother); } color ("LimeGreen") { translate ([0,-spacing,0]) pixelthing (invader1); translate ([spacing,-spacing,0]) pixelthing (invader1a); translate ([spacing*2,-spacing,0]) pixelthing (invader1); translate ([spacing*3,-spacing,0]) pixel...
glb/cad_7fb86752014a.glb
Create a blender funnel with a total height of 101.6mm. Start with a central hollow cylindrical core that has an inner diameter of 4.826mm and an outer diameter of 5.08mm, extending from the base to a height of 101.6mm. At the base, add a small cylindrical protrusion with an outer diameter of 5.08mm and a height of 1...
wall = 0.11; botOutDia = 1.97; botInDia = botOutDia - wall*2; nubbinDepth = 0.12; nubbinWidth = 0.25; nubbinHt = 0.10; nubbinOffset = 0.05; botProtrude = 0.60; flangeOutDia = 3.30; flangeInDia = flangeOutDia - wall*2; flangeOutHt = 3.25; funnelBottomHt = 0.75; flangeInHt = flangeOutHt - wall; topOutDia = 4.00; topInDia...
glb/cad_68e0719322f4.glb
Create a knurled bracelet by constructing an elliptical ring. The inner diameter of the ring is 60mm along the Y-axis and 50mm along the X-axis. The wall thickness is 2.1mm, resulting in an outer diameter of 64.2mm along the Y-axis and 54.2mm along the X-axis. The total width of the bracelet is 28mm. The main body of ...
include <knurledFinishLib.scad> use <braceletBody.scad> rb_yas=60; rb_xas=50; rb_thg=3; rb_twd=24; rb_dfw=2; rb_mwt=2.1; rb_rlf=60; rb_osz=25; rb_res=1.75; rb_rid=rb_yas; rb_rod=rb_rid+2*(rb_mwt+rb_thg); rb_rwd=rb_twd+2*rb_dfw; rb_tcr=(pow(rb_thg,2)+pow(rb_twd/2,2))/2/rb_thg; rb_tco=rb_rod/2+rb_tcr-rb_thg; rb_rhg=(rb...
glb/cad_2f2e7b4a8a3b.glb
Create a battle map space holder tile by starting with a square base that measures 75mm by 75mm with a thickness of 3mm. Centered on the top face of this base, add a raised capital letter "D" that is 37mm high and 4mm thick.
use<Write.scad> cube(size = [75.0,75.0,3]); color=("red"); writecube("D",[37,37,4],t=4,h=37,face="top");
glb/cad_7c22374d2243.glb
Create a battle map space holder tile by constructing a square prism with a base measuring 75mm by 75mm and a height of 3mm. Centered on the top face of this prism, emboss the capital letter "C" with a height of 4mm and a thickness of 37mm. Ensure the letter is positioned precisely in the center of the square surface.
use<Write.scad> cube(size = [75.0,75.0,3]); color=("red"); writecube("C",[37,37,4],t=4,h=37,face="top");
glb/cad_f44a3aae81c1.glb
Create a battle map space holder tile by starting with a square base that measures 50mm by 50mm with a thickness of 3mm. On the top face of this base, center the capital letter "A" so that it is embossed or engraved. The letter should have a height of 25mm and a thickness of 4mm.
use<Write.scad> cube(size = [50.0,50.0,3]); color=("red"); writecube("A",[25,25,0],t=4,h=25,face="top");
glb/cad_f9d765a7d886.glb
Create a battle map space holder tile by constructing a flat square prism measuring 100mm by 100mm with a thickness of 3mm. Centered on the top face of this square, emboss the capital letter "B" with a height of 50mm and a thickness of 4mm. Ensure the letter is raised from the surface of the tile to create a tactile, t...
use<Write.scad> cube(size = [100,100,3]); color=("red"); writecube("B",[50,50,0],t=4,h=50,face="top");
glb/cad_2b4e9a2504ef.glb
Create a battle map space holder tile by constructing a square slab measuring 100mm by 100mm with a thickness of 3mm. Centered on the top face of this slab, emboss the capital letter "C" with a height of 50mm and a thickness of 4mm. Ensure the letter is raised from the surface of the tile.
use<Write.scad> cube(size = [100,100,3]); color=("red"); writecube("C",[50,50,0],t=4,h=50,face="top");
glb/cad_611783ea3862.glb
Create a battle map space holder tile by starting with a square base that measures 50mm by 50mm with a thickness of 3mm. Centered on the top face of this base, add a raised capital letter "D" with a height of 25mm and a thickness of 4mm. Ensure the letter is positioned exactly in the center of the square surface.
use<Write.scad> cube(size = [50.0,50.0,3]); color=("red"); writecube("D",[25,25,0],t=4,h=25,face="top");
glb/cad_1ed48985e819.glb
Create a battle map space holder tile by constructing a square slab measuring 100mm by 100mm with a thickness of 3mm. Centered on the top face of this slab, emboss the capital letter "D" with a thickness of 4mm and a height of 50mm. Ensure the letter is raised from the surface of the tile.
use<Write.scad> cube(size = [100,100,3]); color=("red"); writecube("D",[50,50,0],t=4,h=50,face="top");
glb/cad_0d68ba9cf5cf.glb
Create a battle map space holder tile by starting with a square base that measures 25mm by 25mm with a height of 3mm. On the top face of this base, center the capital letter "B" so that it is embossed or extruded upwards by 10mm. The letter should have a thickness of 4mm.
use<Write.scad> cube(size = [25.0,25.0,3]); color=("red"); writecube("B",[12,12,0],t=4,h=10,face="top");
glb/cad_546e79066bd5.glb
Create a battle map space holder tile by starting with a square base that measures 25mm by 25mm with a height of 3mm. On the top face of this base, center the capital letter "C" so that it is embossed or raised. The letter should have a thickness of 4mm and a height of 10mm. Ensure the final geometry is a single solid ...
use<Write.scad> cube(size = [25.0,25.0,3]); color=("red"); writecube("C",[12,12,0],t=4,h=10,face="top");
glb/cad_c290462559e6.glb
Create a battle map space holder tile by starting with a square prism that measures 75mm in length, 75mm in width, and 3mm in height. On the top face of this prism, center the capital letter "A" so that it is embossed or engraved. The letter should have a thickness of 4mm and a height of 37mm.
use<Write.scad> cube(size = [75.0,75.0,3]); color=("red"); writecube("A",[37,37,4],t=4,h=37,face="top");
glb/cad_da6c56eef60d.glb
Create a battle map space holder tile by starting with a square base that measures 25mm by 25mm with a height of 3mm. On the top face of this base, center the capital letter "A" so that it is embossed or engraved. The letter should have a thickness of 4mm and a height of 10mm. Ensure the letter is positioned precisely ...
use<Write.scad> cube(size = [25.0,25.0,3]); color=("red"); writecube("A",[12,12,0],t=4,h=10,face="top");
glb/cad_041ff26493a3.glb
Create a battle map space holder tile by starting with a square base that measures 100mm by 100mm with a thickness of 3mm. Centered on the top face of this base, add a raised capital letter "A" with a height of 50mm and a thickness of 4mm. Ensure the letter is positioned exactly in the center of the square at coordinat...
use<Write.scad> cube(size = [100,100,3]); color=("red"); writecube("A",[50,50,0],t=4,h=50,face="top");
glb/cad_28ef87e9f02d.glb
Create a battle map space holder tile by starting with a square base that measures 75mm by 75mm with a thickness of 3mm. Centered on the top face of this base, add a raised capital letter "B" that stands 4mm high. The letter should have a thickness of 37mm and a height of 37mm, ensuring it is perfectly centered on the ...
use<Write.scad> cube(size = [75.0,75.0,3]); color=("red"); writecube("B",[37,37,4],t=4,h=37,face="top");
glb/cad_c15c45df6665.glb