Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Coin Holder consisting of a thick-walled hollow cylinder with a solid base. The main body has an outer diameter of 125mm, an inner diameter of 80mm, and a total height of 50mm. The bottom 3mm of the model is a solid flat circular base with a diameter of 125mm, leaving the remaining 47mm for the walls. Within ...
build_type = "Complete"; outer_diameter_mm = 125; inner_diameter_mm = 80; height_mm = 50; base_height_mm = 3; tower_twist_degrees = 0; coin_spacing_mm = 10; coin_1_diameter_mm = 19; coin_2_diameter_mm = 20; coin_3_diameter_mm = 22; coin_4_diameter_mm = 25; coin_5_diameter_mm = 0; coin_6_diameter_mm = 0; $f...
glb/cad_f0cf885cd381.glb
Create a cleaning towel holder consisting of a flat rectangular base and a raised cylindrical rail. Start with a base plate measuring 245mm in length, 33mm in width, and 3mm in height. Remove a central rectangular section from the top of the base, leaving a border of 35mm from the short ends and a 10mm margin from the ...
use <torus.scad>; $fn=50; laenge=245; breite=33; hoehe=3; radius_schraube = 2.5; abstand_loecher_zum_rand = 35; radius_stange = 7; abstand_stange_zum_rand = 30; module grundplatte () { difference(){ translate ([0,-breite /2])cube([laenge,breite,hoehe]); translate ([abstand_loecher_zum_rand,(-bre...
glb/cad_9bf2b5f582fe.glb
Create a cleaning towel holder by constructing a 90-degree arc of a torus. The torus should have a cross-sectional radius of 10mm and a major radius (distance from the center of the torus to the center of the cross-section) of 10.01mm. To finish the ends of the arc, place a sphere with a radius of 10mm at each of the t...
module torus(r1=1, r2=2, angle=360, endstops=0, $fn=50){ if(angle < 360){ intersection(){ rotate_extrude(convexity=10, $fn=$fn) translate([r2, 0, 0]) circle(r=r1); color("blue") wedge(h=r1*3, r=r2*2, a=angle); } }else{ rotate_...
glb/cad_f392daf256a0.glb
Create a holder for isopropanol and other items designed to fit a Lack table. Start with a semi-circular base plate with a radius of 90mm and a thickness of 5mm. Around the curved edge of this plate, add a railing that is 15mm high with a thickness of 3mm. The railing should be composed of a series of small vertical po...
$fn=50; use <torus.scad>; radius = 90; height_plate = 5; height_railing = 15; radius_railing = 3; width_lack_holder = 100; height_lack_holder =50; thickness_lack_holder = height_plate; radius_screw = 2.5; module base_plate(){ linear_extrude(height=height_plate, convexity =10) difference(){ ci...
glb/cad_308e0f1fe467.glb
Create a partial torus for a holder. The shape is defined by a circular cross-section with a radius of 10mm, swept along a primary circular path with a radius of 10.01mm. Instead of a full circle, sweep the cross-section for only 270 degrees of the rotation, leaving a 90-degree gap in the ring. Ensure the final geometr...
module torus(r1=1, r2=2, angle=360, endstops=0, $fn=50){ if(angle < 360){ intersection(){ rotate_extrude(convexity=10, $fn=$fn) translate([r2, 0, 0]) circle(r=r1); color("blue") wedge(h=r1*3, r=r2*2, a=angle); } }else{ rotate_...
glb/cad_c83f7e64d4d7.glb
Create a surge strip garage shelf mount consisting of two identical clips connected by a central bar. Start by creating a rectangular base bar that is 87mm long, 9mm wide, and 3mm thick. At each end of this bar, add a clip assembly. Each clip assembly begins with a rectangular base measuring 15mm by 9mm by 3mm, with an...
$fn = 360; upper = true; distanceBetweenShelvingHoles = 76; shelvingThickness = 1.8; distanceScrewHoles = 34.925; screwDepth = 2.6; screwHeadW = 6.8; screwNotchChamfer = .4; screwNotch = 2.7; width = 9; clipOverhang = 15; clip(); translate([distanceBetweenShelvingHoles,0,0]) clip(); translate([-3,0,3 + shelving...
glb/cad_360775460f60.glb
Create a pegboard tray with a honeycomb base and two mounting hooks. Construct a main rectangular box with outer dimensions of 90mm length, 40mm depth, and 35mm height. The walls should be 2.5mm thick. The front face of the box must be open, leaving only the side walls and the bottom edge intact for structural rigidi...
length=90; height=35; depth=40; wall=2.5; hooks=height+20; open="true"; tray(length, depth, height, wall, hooks, (open == "true")); module boxhook(length) { unit = 5; width= 4.25; linear_extrude(width) { round2d(2,1) { if (length >= 50) { polygon([[0,0],[0,15],[40,15],[40,...
glb/cad_26acea3067f0.glb
Create a D1 Mini casing and cover consisting of two separate parts. First, construct the main casing as a hollow rectangular box with external dimensions of 38mm x 32mm x 20mm (based on a 35mm x 26mm internal cavity and 1.5mm walls). Round the exterior vertical corners with a 1.5mm radius. On the front face, create a...
d1mini_x=35; d1mini_y=26; qo=0.01; ww=3; $fn=21; shield="other"; led=true; reset=true; d1mini_z=17; print_casing=true; print_cover=true; module cube_rcr(c,r=0,rl=0,ru=0){ module moon(r){ difference(){ circle(r = r); translate([-2*r,-r,0]) square(r*2); }; }; hull...
glb/cad_d331c677be32.glb
Create a U-shaped wheelchair joystick knob. Start by constructing a U-shaped handle with a total length of 100mm, a width of 25mm, and a height of 35mm. The walls of this handle should have a uniform thickness of 4mm. The handle consists of a flat horizontal base and two vertical side walls extending upwards, with all ...
Largo = 100; Ancho = 25; Alto = 35; Grosor = 4; Alto_Encaje = 30; Dia_Ext = 13; Dia_Int = 6; Desp_Pomo = 0; module Pomo() { hull() { translate([-Largo/2+Grosor/2,-Ancho/2+Grosor/2,Alto-Grosor/2]) sphere(Grosor/2,$fn=40); translate([-Largo/2+Grosor/2,Ancho/2-Grosor/2,Alto-Grosor/2]) sphere(Grosor/2,$fn=40); tra...
glb/cad_db3a7bb4e94a.glb
Create a wheelchair joystick knob with a saddle-shaped top and a cylindrical mounting base. First, construct the main grip. Create a solid shape that is 50mm wide and 45mm high. The top surface should be a concave semi-cylinder (a "saddle" dip) with a radius of 75mm, carved out across the width of the grip to accommo...
Ancho = 50; Alto = 45; Alto_Encaje = 20; Dia_Ext = 12; Dia_Int = 6; module Silla() { rotate([90,0,90]) { translate([0, -0.5, 0]) rotate_extrude(angle=180,$fn = 200) translate([-22.5,0]) difference() { translate([30,0,0]) square([15,Ancho],center=true); translate([Ancho*2+5,0,0]) circle(Ancho*1.5,$fn=400);...
glb/cad_5763985b247f.glb
Create a conical cup with a total height of 100mm. The exterior is a truncated cone with a bottom diameter of 70mm and a top diameter of 90mm. The walls and the base have a uniform thickness of 2.5mm. The interior is hollowed out to create a conical cavity. The bottom of the interior is not flat; instead, it is formed...
Dia_Superior = 90; Dia_Inferior = 70; Altura = 100; Grosor = 2.5; Asas = "No"; module Vaso() { difference() { cylinder(Altura-Grosor/2,Dia_Inferior/2,Dia_Superior/2,$fn=160); translate([0,0,-Grosor/2+0.01]) { hull() { translate([0,0,Grosor+Grosor/2+Dia_Inferior/4]) cylinder(Altura-Dia_Inferior/4-Grosor-Grosor/2,D...
glb/cad_3d065f0e9b4b.glb
Create a cut-out glass with a conical profile. The main body is a hollowed-out truncated cone with a height of 88.75mm, a bottom diameter of 60mm, and a top diameter of 80mm. The walls and the base must have a uniform thickness of 2.5mm. At the top rim, create a symmetrical U-shaped cutout to allow for drinking withou...
Dia_Superior = 80; Dia_Inferior = 60; Altura = 90; Grosor = 2.5; Escotadura = "SI"; Alto_Escotadura = 25; Ancho_Escotadura = 35; Asas = "No"; module Vaso() { difference() { cylinder(Altura-Grosor/2,Dia_Inferior/2,Dia_Superior/2,$fn=160); difference() { translate([0,0,0.01]) cylinder(Altura-Grosor/2,Dia_Inferio...
glb/cad_556c684534c4.glb
Create a suitcase handle extender consisting of four main components: a clamp, a handle grip, a locking lever, and a pin. First, create the clamp (mordaza) as a flexible sleeve designed to fit a 30mm diameter handle. It should be 22mm wide with 7mm thick walls. Incorporate a central longitudinal hole for a 5mm screw a...
Diametro = 30; Ancho = 22; Grosor = 7; Tornillo = 5; Cabeza = 8.6; Prof_Cabeza = 5; Tuerca = 9; Cubo = 35; Distancia = 25; Dia_Tubo = 20; Largo_Tubo = 220; Largo_Tirador = 100; Dia_Grande = 20; Dia_Peque = 8; Desplazamiento = 2.5; Largo_Palanca = 50; Gru_Palanca = 5; Tolerancia = 0.4; Hueco = 9; Most...
glb/cad_06e6eeb61dad.glb
Create a lever for a water stopcock. Start by creating a main handle body with a thickness of 14mm. The overall length of the handle is determined by the sum of the hole height (28.8mm), the top extension (60mm), and the bottom extension (7mm). At the center of the handle, create a vertical hole to fit the stopcock. T...
HoleHeight = 28.8; HoleThinWidth = 9; HoleThickWidth = 18.15; HandleZ = 14; HandleTopLengthFromHole = 60; HandleBottomLengthFromHole = 7; HandleSidesFromHole = 7; HandleTotalLength = HoleHeight+HandleTopLengthFromHole+HandleBottomLengthFromHole; Fillet = 2; WithSlits = "Yes"; SlitWidth = 15; SlitHeight = Sli...
glb/cad_a10a717252e8.glb
Create a replacement gear for a 210 series DC motor. Start with a bottom ring that is 4mm high with an outer diameter of 52mm and an inner diameter of 48.75mm. Above this, add an inner wall 7.75mm high with an outer diameter of 48.5mm and an inner diameter of 45.57mm, positioned 2.25mm from the base. At a height of 3.5...
use<PolyGear/PolyGear.scad>; module bushing_retainer() { rotate([0,0,-5]) cube([1.5,8.75,7.75]); translate([3.742,0.1,0]) rotate([0,0,5]) cube([1.5,8.75,7.75]); translate([1.5,0.1,0]) rotate([0,0,0]) cube([2.25,8.75,7.75]); translate([0.774,8,0]) rotate([0,0,0]) cube([3.7,1,7.75]); } difference() { ...
glb/cad_cf8e25231c97.glb
Create a trash can lid claw by extruding a specific 2D profile to a total height of 28mm, centered vertically. The profile is a mirrored polygon that creates a symmetrical U-shaped bracket. Start the profile at the origin (0,0) and define the first half of the shape with the following vertices: from (0,0) to (13.36,0),...
a= [[0,0], [13.36,0], [13.36,31.1], [13.36+2.37,30.85], [13.36 +2.37, 30.85+2], [13.36,33.5], [13.36-2.91, 33.5], [13.36-2.91, 3], [0,3]]; linear_extrude(height = 28, center = true, convexity = 10, twist = 0){ polygon(a); mirror([1,0,0]) polygon(a); }
glb/cad_72d6fc933aac.glb
Create a socket holder block by starting with a rectangular base. The block's total width is the sum of the diameters of five sockets plus a 1.5mm offset between each and 0.8mm borders on the sides. The block's height is based on the longest socket length (76.2mm) plus a 1.5mm top border and a 2.1mm slant offset. The o...
borderTop = 1.5; borderSides=.8; offset = 1.5; slantOffset =2.1; oversize=0.1; selectParm = 1; SocketSelecter = selectParm; socketList = SocketSelecter==1? [ [76.2,22.098], [76.2,22.098], [76.2,22.352], [76.2,24.0284], [76.2,26.035]] : SocketSelecter==2? [ [76.2,27.94], [76.2,29.845], [76.2,31.877], [76.2,33.8582], ]: ...
glb/cad_dc33cb9b14c3.glb
Create a Napa 23003 Transferflow Trax II Filter Mount. Start with a rectangular base plate measuring 80.18mm wide by 22.4mm high with a thickness of 2.1mm. Add a second identical rectangular plate directly beneath the first, separated by a 2mm gap. On top of this base, construct a mounting ring to hold a filter. The r...
filter_diameter=47.1; mount_width=80.18; mount_height=22.4; mount_depth=2.1; mount_distance_to_pump_collar=7.8; mount_hole_width=9; mount_hole_height=6.8; mount_hole_distance_to_edge=3.8; module prism(l, w, h) { polyhedron( points=[[0,0,h],[0,0,0],[w,0,0],[0,l,h],[0,l,0],[w,l,0]], faces=[[0,2,1],[3,4,5],[0...
glb/cad_867eed6a2bcb.glb
Create a pump mount consisting of a flat rectangular base and a semi-cylindrical collar. Start with a base plate 80.18mm wide, 22.4mm high, and 2.1mm thick. Centered on this plate, create a semi-cylindrical ring with an inner diameter of 48.2mm and a wall thickness of 2.1mm. The ring should extend from the base and wra...
pump_diameter=48.2; mount_width=80.18; mount_height=22.4; mount_depth=2.1; mount_distance_to_pump_collar=7.8; mount_hole_width=9; mount_hole_height=6.8; mount_hole_distance_to_edge=3.8; module prism(l, w, h) { polyhedron( points=[[0,0,h],[0,0,0],[w,0,0],[0,l,h],[0,l,0],[w,l,0]], faces=[[0,2,1],[3,4,5],[0,1...
glb/cad_347e1de06ba7.glb
Create a set of drawer divider connectors with a height of 25mm and a wall thickness of 2mm. Each connector is based on a central square block with a total width and depth of 14mm (calculated as the 10mm divider thickness plus two 2mm walls). For each connector, create slots for dividers that are 10mm wide and 25mm h...
height = 25; length = 50; wallThickness = 2; dividerThickness = 10; fillTop = 1; fillBottom = 0; fillBack = 1; fudge = 0.02; layout = length * 2.5; translate([0,0,0]) Corner(height, length, wallThickness, dividerThickness, fillTop, fillBottom, fillBack); translate([layout, 0,0]) Tjunction(height, length, wallThickne...
glb/cad_8b7fafdb9e3a.glb
Create a Master Spool side panel by starting with a main disc that has an outer diameter of 200mm and a thickness of 3mm. Centered on this disc, add a concentric cylinder with a diameter of 76.3mm and a total height of 23mm (the 3mm base thickness plus an additional 20mm height). To create grip ridges around the inne...
Outer_Diameter_Spool = 200; Thickness_Spool = 3; Height_Spool = 20; Inner_Diameter_Cardboard_Spool = 76.3; Diameter_Holes = 45; Y_Scale_Holes = 0.75; RIDGE_DEPTH = 1; RIDGE_SPACING = 4; Circle_Steps = 128; ridge_count = ceil(3.1415926535897932384626433832795*(Inner_Diameter_Cardboard_Spool)/RIDGE_SPACING); ridge_a...
glb/cad_7d43ff3e7744.glb
Create a Desk Control Panel case consisting of a front face and a back shell. The overall footprint is a rectangular block with a total width of 180mm (calculated from the screen reserve of 92mm plus the volume knob area of 88mm) and a depth of 60mm. For the front face, create a plate with a thickness of 1mm. Cut a re...
use <touchscreen_face_insert.scad>; use <nobsound_body_outline.scad>; loose_fit = 2.0; sliding_fit = 0.2; friction_fit = 0.02; wall_thickness = 2; face_thickness = 1; use_dsk001_back = 0; nobsound_x = 86; screen_pos_x = 94; screen_pos_y = 2; screen_reserve_x = 92; screen_internal_z_size_from_face = 10; cp_angle =...
glb/cad_13436f375137.glb
Create a Gridfinity AA Battery Storage block measuring 2x2 Gridfinity units in width and depth, with a height of 4 units. Within this base, carve out a 4x4 grid of vertical cylindrical holes to hold 16 AA batteries. Each hole should have a diameter of 15.5mm (14.5mm battery diameter plus 1mm clearance) and a depth of 5...
include <gridfinity_modules.scad> Battery_diameter = 14.5; Battery_height = 50; Battery_spacing_x = 5.85; Battery_spacing_y = 5.85; Battery_offset_x = 9.5; Battery_offset_y = 9.5; Battery_offset_z = 5; Battery_clearance = 1; Batteries_x = 4; Batteries_y = 4; Gridfinity_x = 2; Gridfinity_y = 2; Gridfinity_z ...
glb/cad_eced741492f3.glb
Create a Gridfinity AAA Battery Storage block with a base size of 2x1 units and a height of 4 units. Start with a solid Gridfinity block of these dimensions, including the standard magnet holes. From this block, remove 12 cylindrical holes to create storage cells for AAA batteries. The holes should be arranged in a g...
include <gridfinity_modules.scad> Battery_diameter = 10.5; Battery_height = 43; Battery_spacing_x = 2.75; Battery_spacing_y = 11.5; Battery_offset_x = 12.15; Battery_offset_y = 11; Battery_offset_z = 12; Battery_clearance = 0.75; Batteries_x = 6; Batteries_y = 2; Gridfinity_x = 2; Gridfinity_y = 1; Gridfini...
glb/cad_725d50813519.glb
Create a Gridfinity 18650 Battery Storage block with a base size of 3x2 units and a height of 4 units. Start with a solid Gridfinity block of these dimensions, including the standard magnet holes. Subtract a grid of 15 cylindrical holes to hold 18650 batteries. The grid consists of 5 columns along the x-axis and 3 ro...
include <gridfinity_modules.scad> Battery_diameter = 18; Battery_height = 65; Battery_spacing_x = 6; Battery_spacing_y = 9; Battery_offset_x = 6; Battery_offset_y = 6; Battery_offset_z = 6; Battery_clearance = 1.5; Batteries_x = 5; Batteries_y = 3; Gridfinity_x = 3; Gridfinity_y = 2; Gridfinity_z = 4; Magn...
glb/cad_5988400dad67.glb
Create a cleaning pad holder by starting with a solid rectangular block measuring 64mm wide, 44mm deep, and 67mm tall. Hollow out the center of this block to create an open container with internal dimensions of 60mm wide by 40mm deep and a depth of 65mm, leaving a 2mm thick wall on all sides and a 2mm thick base. On th...
module __Customizer_Limit__ () {} include <nws-common.scad>; $pad_width = 60; $pad_length = 40; $pad_holder_height = 65; $wall = 2; $notch_width = 22; $notch_offset_perc = 30; module holder() { difference() { cube([ $pad_width + $wall*2 , $pad_length + $wall*2 , $pad_holder_height + $wall ]); trans...
glb/cad_270c1e1f8ff9.glb
Create a Thinkpad T21 battery blank with a total width of 138mm, a height of 20mm, and a split-body design. The left section is 78.6mm wide and 71mm long. Construct this part with a base height of 11mm (total height minus a 9mm radius), adding two horizontal cylinders with a 9mm radius along the top and bottom edges ...
$fa = 1; $fs = 0.1; e = 0.01; left_side_w = 78.6; left_side_l = 71; right_side_w = 76; right_side_l = 77; right_side_l_offset = -12.8; total_w = 138; total_h = 20; radius = 9; rubber_foot_protrusion = 3; module fillet_cutter(r=1) { translate([-e, -e, -e]) difference() { cube([r+e, r+e, 30]); translate([r+e, ...
glb/cad_a21faae9f252.glb
Create a sponge filter adapter consisting of two connected cylindrical sockets with a wall thickness of 1.5mm. First, create a lower cylindrical socket with an inner diameter of 20.7mm and a height of 20mm. Above this, create an upper cylindrical socket with an inner diameter of 13.4mm and a height of 20mm. Offset th...
sponge_uplift_od = 20.7; hob_uplift_od = 13.4; airline_od = 5.9; sponge_fit_height = 20; hob_fit_height = 20; sponge_offset = 30; wall_thickness = 1.5; $fn=200; difference(){ union(){ translate([sponge_offset,0,0]){cylinder(h=sponge_fit_height, r=sponge_uplift_od+(2*wall_thickness));} difference...
glb/cad_a1ffdac78cc2.glb
This OpenSCAD code is a complex script designed to generate 3D models of various icons (Gift, Star, Key, Clock, Pen, Pin, YouTube, Corona) and a specific text-based logo ("Random Plastic Junk"). Here is a breakdown of the technical components and the structure of the file: ### 1. Core Mathematical Engine (Bezier Curv...
faces_segment = 12; textstring1="Random"; textstring2="Plastic"; textstring3="Junk"; HiddenText=""; textalign="center"; special_character_left="🤪"; special_emoji_left=""; flip_right_character=true; special_character_right=""; special_emoji_right=""; distance_special_char = 0.5; textsize1=16; textsize2=16;...
glb/cad_ef38e9716253.glb
The provided OpenSCAD code is a collection of modules designed to create 2D vector-style icons (Gift, Star, Key, Clock, Pen, Pin, YouTube, and Corona) using cubic Bézier curves. It also includes a "Happy Birthday" text-based 3D model. ### Summary of the Code's Functionality 1. **Bézier Curve Engine**: The core ...
faces_segment = 12; textstring1="Happy"; textstring2="Birthday"; textstring3=""; HiddenText=""; textalign="center"; special_character_left="🎂"; special_emoji_left=""; flip_right_character=true; special_character_right="🎁"; special_emoji_right=""; distance_special_char = 0.5; textsize1=16; textsize2=16; ...
glb/cad_2d46bd270d5d.glb
This OpenSCAD code is designed to generate a 3D model of a stylized logo (specifically a "Bilibili" inspired icon) with the text **"Flat is boring"**. ### High-Level Summary The script uses a combination of standard `polygon` calls and a custom `bezier_polygon` module to create complex, curved shapes. It organizes the...
textstring1="Flat is"; textstring2="boring"; textstring3=""; HiddenText="Makkuro '24"; textalign="center"; fontname1="Bangers"; special_character_left="🎲"; special_emoji_left=""; flip_right_character=false; special_character_right=""; special_emoji_right=""; faces_segment = 12; distance_special_char = 0.5;...
glb/cad_c460902f1d4a.glb
Create a side rail for an AnyTone AT-778UV radio. Start with a main rectangular base measuring 228mm in length, 60mm in width, and 8mm in thickness, ensuring all corners are rounded with a 1mm radius. Center a large rectangular cutout in the front section measuring 45mm by 40mm, and a smaller rectangular cutout in th...
echo(version=version()); include <roundedcube.scad> rotate([180,0,0]) render() Rail(); LeftRail = true; CornerRadius = 1; Where = "all"; RadioLen = 160; RailWidth = 60; RailThick = 8; FCutWidth = (RailWidth-20); FCutLen = 45; FrontLen = (FCutLen + RailThick); RCutWidth = (RailWidth-25); RCutLen = 20; RearLen = (...
glb/cad_ad6125eda406.glb
Create a side rail for a radio by starting with a rectangular block 235mm long, 70mm wide, and 8mm thick, with all corners rounded to a 1mm radius. Carve out two rectangular slots from the top face to create a channel. The first slot is 45mm long and 50mm wide, centered along the length but offset 10mm from the front...
echo(version=version()); include <roundedcube.scad> render() Rail(); LeftRail = false; RailLen = 235; RailWidth = 70; RailThick = 8; FCutWidth = 50; FCutLen = 45; FCutOffset = ((RailLen/2)-(FCutLen/2)-10); RCutWidth = 50; RCutLen = 20; RCutOffset = -((RailLen/2)-(RCutLen/2)-10); HoleDia = 4.5; HoleRadius = HoleD...
glb/cad_69c020fdc5ed.glb
Create a side rail for a radio by starting with a rounded rectangular block measuring 270mm in length, 70mm in width, and 8mm in thickness, with a corner radius of 1mm. Carve out two rectangular slots from the center of the block to create a gap. The first slot is 45mm long and 50mm wide, positioned with its center o...
echo(version=version()); include <roundedcube.scad> render() Rail(); LeftRail = false; RailLen = 270; RailWidth = 70; RailThick = 8; FCutWidth = 50; FCutLen = 45; FCutOffset = ((RailLen/2)-(FCutLen/2)-10); RCutWidth = 50; RCutLen = 20; RCutOffset = -((RailLen/2)-(RCutLen/2)-10); HoleDia = 4.5; HoleRadius = HoleD...
glb/cad_397302fe43b5.glb
Create an Antenna Hanger consisting of a cylindrical cap with an integrated mounting tab. Start with a main cylinder that has a diameter of 31.75mm and a height of 25.4mm, centered on the origin. Remove a concentric cylindrical core from the center to create a hollow space for a pipe; this inner void should have a diam...
include <MCAD/math.scad> PipeOD=((1+(3/8)) * mm_per_inch); PipeID=((1+(3/16)) * mm_per_inch); CylinderOD=PipeOD+((1/4) * mm_per_inch); CylinderLen=(1 * mm_per_inch); CapThick=((3/16) * mm_per_inch); TabHeight=((CylinderLen + (1 * mm_per_inch))); TabWidth=(1 * mm_per_inch); TabThick=((1/4)* mm_per_inch); BoltDia=((5/16)...
glb/cad_2e073b8f7f03.glb
Create a straight beam for a building toy system. The main body is a rounded rectangular prism with a width of 7.3mm, a height of 7.8mm, and a length determined by a sequence of six holes spaced 8mm apart (total length 40mm). The ends of the beam are semicircular. Subtract six holes from the body along the center line...
holes = "+oooo+"; half_height="false"; $fn=50*1.0; Pitch = 8*1.0; Radius1 = 5.0/2; Radius2 = 6.1/2; Height = half_height=="true"?4.0:7.8*1.0; Depth = 0.85*1.0; Width = 7.3*1.0; Plus_Width = 2.0*1.0; Overhang = 0.05*1.0; module body() { translate([0, Width/2, 0]) hull() { cylinder(r=Width/2, h=Heigh...
glb/cad_fc78bc1579e5.glb
Create a radio holder by starting with a solid outer rectangular box measuring 69mm wide, 37mm deep, and 60mm high. Center this box on all axes. To create the interior cavity, remove a centered rectangular block from the top that is 65mm wide, 33mm deep, and 58mm high, leaving a 2mm thick wall on the sides, back, and b...
echo(version=version()); render() Holder(); WallThick = 2; AddFeet = 1; InWidth = 65; InDepth = 33; InHeight = 58; InHOffset = WallThick; OutWidth = InWidth + (2 * WallThick); OutDepth = InDepth + (2 * WallThick); OutHeight = InHeight + WallThick; CutWidth = 54; CutDepth = (4 * WallThick); CutHeight = 25; CutHOffs...
glb/cad_784868c4cbc1.glb
Create a radio holder by starting with a solid outer rectangular box measuring 74mm wide, 42mm deep, and 59mm high. Center this box on all axes. To create the interior cavity, remove a smaller centered rectangular block measuring 70mm wide, 38mm deep, and 58mm high, positioned 2mm above the base. On the front face of...
echo(version=version()); render() Holder(); WallThick = 2; AddFeet = 1; InWidth = 70; InDepth = 38; InHeight = 58; InHOffset = WallThick; OutWidth = InWidth + (2 * WallThick); OutDepth = InDepth + (2 * WallThick); OutHeight = InHeight + WallThick; CutWidth = 54; CutDepth = (4 * WallThick); CutHeight = 50; CutHOffs...
glb/cad_497f33356cce.glb
Create a radio holder by starting with a solid outer rectangular box measuring 74mm wide, 42mm deep, and 60mm high. Center this box on all axes. To create the main cavity, remove a centered inner rectangular block that is 70mm wide, 38mm deep, and 58mm high, positioned 2mm above the base. On the front face of the hol...
echo(version=version()); render() Holder(); WallThick = 2; AddFeet = 1; InWidth = 70; InDepth = 38; InHeight = 58; InHOffset = WallThick; OutWidth = InWidth + (2 * WallThick); OutDepth = InDepth + (2 * WallThick); OutHeight = InHeight + WallThick; CutWidth = 54; CutDepth = (4 * WallThick); CutHeight = 25; CutHOffs...
glb/cad_9f0ef05d6da4.glb
Create a power supply output terminal block. Start with a central rectangular body that is 20mm wide, 6mm thick, and 16mm high. To this body, add a base layer that is 18mm wide, 0.6mm thick, and 14mm high, centered underneath. On the top surface of the block, add two wire barrier flanges. Each flange should be 20mm w...
echo(version=version()); rotate([0,90,0]) render() TermBlock(); HoleWidth = 18; HoleHeight = 14; MetalThick = 1.2; TermBlockThick = 6; FlangeWidth = 2; BoltDiameter = 4.8; BoltRadius = BoltDiameter/2; BarrierHeight = 6; BarrierThick = 2; module TermBlock() { difference() { union(){ tra...
glb/cad_374b4f7da45a.glb
Create a Hex Router Drill Bit Storage block. Start by creating a rectangular base with dimensions of 15mm in width, 15mm in depth, and 10mm in height. The four vertical corners of this base should be rounded with a radius of 0.1mm. In the center of the top face, create a hexagonal hole to hold a bit. This hole must ha...
fn=150; xDM=15; yDM=15; zDM=10; columns=1; rows=1; cr=0.1; bitDM=7.6; bitDeepness=8; bitSides=6; difference() { base(); union() { yabstand=yDM/(rows+1); xabstand=xDM/(columns+1); for (i=[1:rows], j=[1:columns]) { translate([xabstand*j-cr,yabstand*i-cr,zDM-bitDeepness]) bithole(); translate([xabs...
glb/cad_d688ef0196ad.glb
Create a breadboard net label with a total thickness of 0.8mm. The shape consists of a thin pin that transitions into a wider rectangular label. Start by creating a pin section 6mm long and 0.8mm wide. From the end of this pin, create a transition zone 1.5mm long that flares out linearly to a width of 5mm. This transit...
pinLength = 6; transitionLength = 1.5; labelLength = 13; pinWidth = 0.8; labelWidth = 5; linear_extrude(pinWidth) polygon([ [0, -pinWidth / 2], [pinLength, -pinWidth / 2], [pinLength + transitionLength, -labelWidth / 2], [pinLength + transitionLength + labelLength, -labelWidth / 2], [pinLength + transitionLength...
glb/cad_9f642f67ce15.glb
Create a 3x3 smooth calibration grid with a total height of 0.2mm. The design consists of nine square patches, each 20mm by 20mm with 2mm fillet radii on the corners. Arrange these patches in a grid with a center-to-center spacing of 105mm along the X-axis and 85mm along the Y-axis. Connect these patches using straigh...
pw = 20; x_spacing = 85; y_spacing = 65; first_layer_extrusion_width = 0.25; connecting_line_count = 4; height = 0.2; fillet_radius = 2; module __Customizer_Limit__ () {} x_gap = x_spacing + pw; y_gap = y_spacing + pw; w = connecting_line_count * first_layer_extrusion_width; $fn = 64; linear_extrude(height, cen...
glb/cad_82959cba0228.glb
Create a fixed-length column for a laser engraver focus adjustment. Construct the object by stacking three concentric cylinders of varying diameters and heights along a single central axis. Start with a base cylinder 25mm in diameter and 8mm high. Directly on top of this base, add a second cylinder 19mm in diameter and...
difference() { union(){ cylinder(h=8, d=25, $fn=360, center=false); translate([0,0,8]) cylinder(h=1, d=19, $fn=360, center=false); translate([0,0,9]) cylinder(h=1, d=13, $fn=360, center=false); translate([0,0,10]) cylinder(h=1, d=7, $fn=360, center=false); } translate([24.5,0,0]) cylinder(h=50, d=36, $f...
glb/cad_f5ae3d193416.glb
Create an Infinity Cube Earring assembly consisting of a battery holder, a cube outer shell, a cube insert, and an insert cover. First, create a battery holder for a CR2032 battery. The holder is a complex organic shape formed by the union of several spheres with a diameter of 4mm. It features a central cylindrical ca...
part_to_render = 0; glass_thickness = 2; glass_size = 27; window_size = 24; cube_wire_channel_size = 1.5; inner_cube_wall = 4.7; cube_outer_radius = 2; top_hole_dia = 4; cube_wire_hole_dia = 1.3; battery_diameter = 20; battery_thickness = 3.2; battery_wire_diameter = 1.0; if(part_to_render == 1){ rotate([0,-90...
glb/cad_2e564744ef00.glb
Create an Arty card holder consisting of a central base and two supporting side brackets. Start with a central rectangular plate that is 34.8mm wide, 144.8mm long, and 1.6mm thick. On top of this plate, add a central raised section that is 30mm wide, 10mm high, and 144.8mm long, leaving a 2.4mm border on the sides. Co...
$fn=60; thick = 1.6; mindiff = 0.2; gap = thick+ 2*mindiff; centerwidth = 30; centerheight = 10; length = 10; extra = 2; baselen = 140.2; module base() { totlen = thick*2 + mindiff*2 + baselen; totwid = thick*4 + mindiff*4 + centerwidth; cube([totwid,totlen,thick],false); } module center() { totle...
glb/cad_90c982d3eee3.glb
Create a PTFE tube holder for a BLV enclosure. Start by creating a main cylindrical base with a radius of 20mm and a height of 3mm. On top of this base, add a second, smaller cylinder with a radius of 17.5mm and a height of 0.5mm, centered on the same axis. Remove a central vertical hole with a radius of 1.5mm that pa...
$fa = 1; $fs = 0.4; difference() { union() { difference() { union() { cylinder(h = 3, r = 20); translate(v = [0, 0, 2.9990000000]) { cylinder(h = 0.5000000000, r = 17.5000000000); } } translate(v = [0, 0, -0.0010000000]) { cylinder(h = 3.5020000000, r = 1.5000000000); } } transl...
glb/cad_bbad2998d5c3.glb
Create a PTFE tube holder for a BLV enclosure. Start with a main cylindrical base that has a radius of 20mm and a height of 7mm. From the center of this base, remove a smaller concentric cylinder with a radius of 17.5mm and a height of 2mm. In the center of the base, create a vertical hole with a radius of 3mm and a h...
$fa = 1; $fs = 0.4; use </home/bernieke/.local/share/OpenSCAD/libraries/threadlib/threadlib.scad>; rotate(a = [180, 0, 0]) { difference() { union() { difference() { union() { difference() { union() { difference() { union() { difference() { union() { dif...
glb/cad_177ce811caff.glb
Create a filament guide for an MK8 extruder. Start with a rectangular base block measuring 42.4mm in width, 32.7mm in height, and 12.5mm in depth. From this base, create a central channel to accommodate the drive gear and idle roller. Cut a cylindrical hole with a diameter of 13.5mm (13mm plus a 0.5mm tolerance) thro...
mount_width=42.4; mount_height=32.7; mount_depth=12.5; $fn=200; filament_hole_offset=15.1; mounting_hole_offset=mount_width-9.3; gear_diameter=13; roller_diameter=14.5; tolerance=0.5; translate([mount_width/2-roller_diameter/2-gear_diameter/2,mount_width-mount_height,0]) difference() { union() { cube(...
glb/cad_3364af7a4cd0.glb
Create a customizable lens cap and lanyard assembly. Start by creating a flat attachment ring with an outer diameter of 54mm and an inner circular hole of 50mm, extruded to a thickness of 2mm. From the edge of this ring, extend a flexible lanyard consisting of a sequence of 10 interlocking segments. Each segment is a p...
ring_diameter = 50; connection_lenght = 50; cup_diameter = 40; cup_height = 10; cup_slope = 0; difference() { linear_extrude(2, center = true) circle(d = ring_diameter+4,$fn=60); linear_extrude(3, center = true) circle(d = ring_diameter,$fn=60); } module half_connector (){ difference() { difference() { linear_...
glb/cad_4bcf5a659aa3.glb
Create a Raspberry Pi camera attachment consisting of a flat mounting plate and a camera holder. First, create the mounting plate with a thickness of 1.9mm. The plate's footprint is defined by a complex polygon with vertices at [0,0], [10,0], [15,4], [30,4], [30,-4], [-34,-4], [-34,7], [-4,7], [-4,14], and [4,14], re...
type = "mini-r"; attachthick=6; attachtop=1.5; attachridge=1; attach=30; screwgap=10; margin=5-attachridge; side=4; knobsize=2; armbasew=30; armdiam=7; platethick=1.9; bracket=[ [0,0], [screwgap,0], [screwgap+margin,margin], [attach,margin], [attach,-side], [-armbasew-side,-side], [-armbasew-side,armdiam], [-side-(s...
glb/cad_ddf4e43bf28e.glb
Create an Oculus Quest Controller Grip consisting of a curved support arm and a handle attachment. Start by creating a large, thin circular ring with an outer diameter of 140mm and an inner diameter of 130mm, with a thickness of 20mm. This ring is partially truncated by a large block, leaving only a curved segment. At...
$fn=80; module grip() { scale([1, 37/26, 1]) { hull() { sphere(d=26); translate([0, 0, 20]) sphere(d=33); } } } module handle() { scale([1, 40/26, 1]) { hull() { sphere(d=28); translate([0, 0, 5]) sphere(d=30); } } } modul...
glb/cad_17fe8ef7fc7a.glb
Create a centrifugal blower impeller with an overall diameter of 100mm and a total height of 30mm. Start with a base section that includes a central shaft hole 5mm in diameter. Build a shaft sleeve around this hole with a thickness of 3mm and a depth of 10mm. The base should transition from the sleeve into a curved o...
include <GenNACAXXXX.scad>; module centrifugalBlower( diameter=100, height=30, ccw=false, vaneCount=12, vaneLengthFactor=0.6, vaneAngle=46.39, vaneNACA="NACA4412", vaneAirfoilSampleCount=25, baseThickness=1.5, topThickness=1.5, shaftDiameter=5, shaftSleeveDepth=10, s...
glb/cad_708650e063f0.glb
Create a bike hub bearing extractor and press consisting of a central vertical column and a wide circular base. Start by creating a wide, flat cylinder for the base with a diameter of 30mm and a height of 5mm. Centered on top of this base, add a vertical cylinder with a diameter of 16.8mm and a height of 20mm, position...
$fn=64; difference(){ union(){ translate([0, 0, 10]) cylinder(d=16.8, h=20, center=true); cylinder(d=30, h=5, center=true); } cylinder(d=8.8, h=40, center=true); union(){ difference(){ translate([0, 0, 2.5]) cylinder(d=25, h=2, center=true); translate([0, 0, 2.5]...
glb/cad_e31851735ee9.glb
Create a bike hub bearing extractor and press by constructing a hollow truncated cone with a total height of 45mm. The outer shape should be a cone that tapers from a base diameter of 45mm to a top diameter of 19mm. Remove a smaller concentric conical volume from the center to create a wall, where the inner void tapers...
$fn=64; difference() { cylinder(d1=45, d2=19, h=45, center=true); cylinder(d1=35, d2=9, h=45, center=true); }
glb/cad_1d5591688ee0.glb
Create a bike hub bearing extractor and press by constructing a thick, hollow cylinder. The main body should be a cylinder with an outer diameter of 20mm and a height of 5mm. Centered through the middle of this body, create a circular hole with a diameter of 9mm that passes completely through the height of the object.
$fn=64; difference() { cylinder(d=20, h=5, center=true); cylinder(d=9, h=5, center=true); }
glb/cad_c5977569aac9.glb
Create a Koss ear cushion replacement part. The overall shape is a revolved profile with a total height of 9mm. Start by creating a solid of revolution based on a profile that transitions from an inner diameter of 46.5mm to an outer diameter of 47.7mm (adding a 0.6mm wall on each side). The vertical structure is divi...
$fn= $preview ? 16:64; d0=46.5; wall=0.6; d1=d0+2*wall; h=[3,4,2]; hTot=h[0]+h[1]+h[2]; diff=2; not=0.001; inf=3*d1; d(){ *solid(); bridge(); *t([0,0,-100]) cube([100,100,200]); } module bridge(){ layer=0.2; d3=d0-3; d(){ hull() cylinderRounded(d=[0,d1],h=hTot,r=[0,0.5,0,hTot/2]); t([0,0,h[0]]) cylind...
glb/cad_e828b795d25d.glb
Create a snap-top storage box consisting of a bottom tray and a matching lid. For the bottom tray, create a rounded rectangular shell with outer dimensions of 176mm in length, 34mm in width, and 17mm in height. The walls should be 2mm thick, and the interior cavity should have a length of 172mm, a width of 30mm, and ...
FN = 90; Delta = .01; ItoM = 25.4; IL = 172; IW = 30; IH = 15; IR = .75; WT = 2; OL = IL + 2*WT; OW = IW + 2*WT; OH = IH + 1*WT; OR = IR + WT; CLP_H = 10; CLP_W = 5; CLP_THK= 1.5; CLP_IF = .5; CLP_PTS = [[0,0],[CLP_IF,CLP_H/2],[0,CLP_H]]; print_set(); module cutaway() { difference() { bottom(); ...
glb/cad_582930cb4413.glb
Create a parametric round box with a lid. The main body is a hollowed-out container with inner dimensions of 60mm x 50mm and an inner height of 30mm. The walls should have a thickness of 3mm and all vertical corners must have a radius of 25mm. The bottom of the box should feature a slight bevel. The top of the box inc...
fn=150; build=0; xDM=60; yDM=50; zDM=30; cr=25; wallThickness=3; clearance=0.3; lm=1; if(build==0){ translate([xDM/2+2*wallThickness,0,0]) box(); translate([-xDM/2-2*wallThickness,0,0]) lid(); } else if(build==1){ box(); } else if(build==2){ lid(); } else if(build==3){ openBox(); } module box(){ difference(){...
glb/cad_c2965d5f2436.glb
Create a parametric box and lid set with inner dimensions of 70mm x 205mm and an inner height of 205mm. The walls should be 2.4mm thick with a corner radius of 1mm. For the main box, create a hollow rectangular container with rounded corners. The top edge should feature a lid mount with a height of 0.4mm. The bottom o...
fn=100; build=4; xDM=70; yDM=205; zDM=205; cr=1; wallThickness=2.4; clearance=0.3; lm=0.4; label=true; labelWidth=40; labelHeight=25; if(build==0){ translate([xDM/2+2*wallThickness,0,0]) box(); translate([-xDM/2-2*wallThickness,0,0]) lid(); } else if(build==1){ box(); } else if(build==2){ lid(); } else if(build...
glb/cad_3aaf89fc256e.glb
Create a Trust SpotLight Webcam mount consisting of a base plate and a vertical support. Start with a cylinder 10.1mm in diameter and 9.2mm high. Attach a rectangular block to this cylinder that is 10.1mm wide, 15mm high, and 9.2mm thick, extending from the cylinder's edge. Smooth the transition between the cylinder an...
wiggle=0.25; heigt_from_screw=15; $fn=20; thick=9.8-1.5*wiggle; rotation_free=0.5; wide=10.7-2*rotation_free; holedia=4+2*wiggle; length=wide+1; height=heigt_from_screw; wc_screw=5+2*wiggle; wc_hole=4+wiggle; wc_wall=1.5+wiggle; difference() { union() { cylinder(d=wide,h=thick); ...
glb/cad_d0d7d0cef1e0.glb
Create a 3D model of customizable hanging letters consisting of two rows of extruded text. The first row should read "Merry Christmas" and the second row "And a happy 2022", both using the Pacifico font. Extrude both lines of text to a height of 10mm. The letters in each row must be connected to one another to form a...
textstring1="Merry Christmas"; textstring2="And a happy 2022"; fontname="Pacifico"; RoundedBase=0; Holes=true; textsize=12; textheight=10; ConnectorPosition=.9; HolePosition=1.05; DistanceLines=1.15; do_shift_font="automatic"; baseheight_percent=.33; baseheight=textheight*baseheight_percent; basethickness_pe...
glb/cad_3d671e050653.glb
Create a stylized dog sculpture mounted on a rectangular base. The base is a flat plate measuring 60mm by 40mm with a thickness of 5mm. The dog's body is formed by a central capsule-like shape with a radius of 7mm and a length of 18mm. Positioned at the front is a head consisting of a sphere with a radius of 8mm and a...
type="configurable_dog"; PrintBase=1; r_head=8; l_head=10; lift_head=5.6; up_neck=15; r_body=7; l_body=18; r_leg_low=5; l_leg=18; out_leg=6; l_feet=4.5; r_tail=3; l_tail=20; pos_eye=.15; r_eye=r_head/2; thick_ear=3; r_ear=5.6; basex=60; basey=40; basethick=5; module dog(r_head,l_head,lift_head,up_nec...
glb/cad_cdd250528232.glb
Create a Customizable Card Box consisting of two interlocking shells (a top and a bottom) designed to hold a card stack of 86.5mm x 56.3mm x 39mm (including wiggle room). Both shells have a wall thickness of 2mm. For the bottom shell, create a rectangular box with an internal cavity of 86.5mm x 56.3mm x 39mm. The bott...
type="both"; wiggle=1.5; TAB_THICKNESS = 10; Wedge_thickness=1.6; CARD_SIZE_LONG_EDGE =85.5+wiggle; CARD_SIZE_SHORT_EDGE = 55.3+wiggle+2*Wedge_thickness; CARD_STACK_HEIGHT = 39+wiggle ; WALL_THICKNESS = 2; EXTRA_SPACE = .25; Cutout_hole_top = "true"; Cutout_hole_bottom = "false"; Cutout_angle=30; Top_Text ...
glb/cad_0180679a1804.glb
Create a Customizable Card Box consisting of two interlocking shells (a top and a bottom) designed to hold a card stack of 85.5mm by 55.3mm with a height of 39mm. Both shells have a wall thickness of 2mm. For the bottom shell, create a rectangular box with an internal cavity of 87.5mm by 57.3mm and a height of 39mm. T...
type="both"; Long_edge=85.5; Short_edge=55.3; Height=39; wiggle=1.5; TAB_THICKNESS = 10; Wedge_thickness=1.6; CARD_SIZE_LONG_EDGE =Long_edge+wiggle; CARD_SIZE_SHORT_EDGE = Short_edge+wiggle+2*Wedge_thickness; CARD_STACK_HEIGHT = Height+wiggle ; WALL_THICKNESS = 2; EXTRA_SPACE = .25; Cutout_hole_top = "true";...
glb/cad_d37392806945.glb
Create a USB buck converter holder designed for a 2040 rail. The main body is a rectangular base 6mm thick and 40mm wide. On top of this base, construct a hood that is 10mm high and 25mm deep. Inside the holder, create two identical rectangular cavities to house the buck converter boards. Each cavity must accommodate ...
include <../libs/hardware.scad>; base_h = 6; hood_h = 10; usb_connect_w = 14.6; board_w = 15; board_l = 26; module usb_board(){ translate([0,0,-1.6]) cube([board_w, board_l, 7.6]); translate([(board_w - usb_connect_w)/2, -1.4, 2])cube([usb_connect_w, 10.5, 6.2]); soldering_cutout_l = 8; transl...
glb/cad_ffb47a196f04.glb
Create a 3D nameplate featuring the text "Nope." using the "Spicy Rice" font. Each letter should be extruded vertically with a random height ranging between 10mm and 40mm. The letters must be positioned with a slight overlap of 0.12mm to ensure they are connected for printing. The entire text assembly should be rotate...
textstring="Nope."; fontname="Spicy Rice"; Overlap=.12; Letters="Random_height"; LetterRotation=10; Base="None"; textsize=16; textheight=40; height_letter=10; baseheight=20; basethickness_percent=0.2; basethickness=textsize*basethickness_percent; base_radius_add_percent=.22; base_radius_add=textsize*base_rad...
glb/cad_1299ccc81f27.glb
Create a Twisty Tree decoration by extruding a specific 2D profile vertically to a height of 100mm. The base profile consists of three equilateral triangles, each with a diameter of 50mm. Position the first triangle at the origin, the second rotated 40 degrees, and the third rotated 80 degrees. Extrude this combined sh...
baseDiameter = 50; treeHeight = 100; linear_extrude(treeHeight, scale = 0, twist = 360) { union() { circle(d = baseDiameter, $fn=3); rotate([0,0,40]) circle(d = baseDiameter, $fn=3); rotate([0,0,80]) circle(d = baseDiameter, $fn=3); }; };
glb/cad_c161fdcabe85.glb
Create a display stand for an electronic gadget with the following dimensions: a main support area 98.25mm wide (75% of the 131mm object width), 63mm high (75% of the 84mm object height), and 2mm thick. Tilt the entire assembly backward at a 70-degree angle. The stand consists of a backrest and a base. The backrest is...
text=" NTT DoCoMo eggy (2000)"; piece_w=131; piece_h=84; piece_th=38; rot=70; w_factor=.75; textshiftup=.6; minfontheight=8; noholes=false; fontname="Pathway Gothic One"; $fn=64; wall=2; bottomwall=2; round=3; Height=piece_h*.75; Width=piece_w*w_factor; Depth=piece_th*1; module writetext(textstr, s...
glb/cad_f23f958331f6.glb
Create a Bunting Banner consisting of two vertical poles and several horizontal strings of text hanging between them. Position two identical poles 90mm apart. Each pole is a cylinder with a diameter of 3mm. At the base of each pole, add a semi-circular foot with a diameter of 15mm and a height of 2mm. Between the po...
type="pole_with_feet"; pole_distance=90; extra_pole_height=10; text1="Happy"; text2="Birthday"; text3="(Name)"; text4=33; text5=""; text6=""; text7=""; text8=""; text9=""; text10=""; textsizes=[8,8,8,12,8,8,8,8,8,8]; height_threads=[.85,.85,.85,.85,.85,.85,.85,.85,.85,.85]; textheight=2; zpos_thread=1; fontname...
glb/cad_ec1cb9b4bb15.glb
Create two identical threaded tips for a paint roller extension. For each tip, start by creating a main cylindrical body with a diameter of 30mm and a height of 40mm. At the top of this cylinder, integrate an internal metric thread with a diameter of 17.5mm, a pitch of 4.8mm, and a depth of 27mm. To form the central ...
use <threads.scad> $fn=100; module ps(){ difference(){ union(){ metric_thread( diameter=17.5, pitch=4.8, length=27, internal=true, square=true ); translate([0,0,-39.99]) cylinder( 40, d=30 ); translate([0,0,-10]) cylinder( 5, d=38, $fn=6 ); } union(){ translat...
glb/cad_3d48143ed030.glb
Create a customizable paper letter by starting with a thin rectangular base. The base should be a plate with a thickness of 0.2mm. Its width is determined by the longest line of text multiplied by a factor of 0.6, plus a 7mm border on each side. The total height of the plate is the sum of all text line heights and vert...
text1="Dearest Molly,"; text2=""; text3="I 3D-write to you to say hello."; text4="Hope you are fine."; text5=""; text6="All the best,"; text7="Marvin Maker."; text8=""; text9=""; text10=""; textsizes=[8,8,8,8,8,8,8,8,8,8]; fontname="Spicy Rice"; adjust_width_factor=.6; verticaldistance=5; border_topdown=10; borde...
glb/cad_5b9eb1d6a676.glb
Create a customizable coat hook consisting of a mounting base and protruding hooks. The base is a rounded rectangular frame with an inner width of 35mm, a wall thickness of 3mm, and rounded corners with a 5mm radius. The total length of the base depends on the number of hooks; for two hooks, the length is 135mm (calcul...
orientation="on_the_side"; hookwidth=45; Num_hooks=2; hookdistance=90; inner_width=35; wall_th=3; rounded_corner_r=5; Hook_out_angle=20; hook_r=3; hook_percent_thicker=.2; length=hookwidth*Num_hooks+hookdistance*(Num_hooks-1); module rounded_square(inner_width,wall_th,length,rounded_corner_r) { hull() ...
glb/cad_6b400d4740d6.glb
Create a safe door opener tool with a uniform thickness of 10mm. Start with a main circular handle section 50mm in diameter and 10mm thick, centered at the origin. Within this circle, remove a concentric circular hole 25mm in diameter. To create the thumb rest, add a cylinder 60mm in diameter and 10mm thick, centered a...
$fn=100; module FuerDaumen() { translate([-10,50,0])cylinder(h=10,d=60); } difference() { translate([0,0,0])cylinder(h=10,d=50); translate([4,0,0])cylinder(h=10.1,d=25); translate([4,0,31]) sphere(d=50); translate([4,0,-31+10]) sphere(d=50); FuerDaumen(); } difference() ...
glb/cad_74fd84bba0df.glb
Create a front bumper for an E3D Racer Buggy. The main structure is a curved, symmetric shell with a height of 38mm and a width of 105mm. The outer profile is defined by a large radius of 200mm, with the edges rounded by a 19mm radius. The bumper features a complex internal hollow. Centered on the vertical axis, creat...
bumper_h=38; bumper_r=25; bumper_big_r=200; bumper_w=105; rounding_r=bumper_h/2; spring_r=1.5; spring_t=1.5; spring_w=12.5; module bumper_anchor() { difference() { union() { translate([-38,-12]) cube([38,24,2]); rotate([0,6]) { translate([-4,-11]) cube([6,22,20]); translate([-4,0,2+...
glb/cad_5caeea9de831.glb
Create a cable numbering tag by constructing a hollow cylindrical sleeve with a height of 10mm. The sleeve should have an inner diameter of 6mm and an outer diameter of 8mm. Instead of a full circle, the cylinder is split to create an opening, leaving an arc of 280 degrees. On the exterior of this sleeve, add a rectan...
LABEL = "1"; ID = 6; OD = 8; HEIGHT=10; ANGLE = 280; $fn = 90; IR = ID / 2; OR = OD / 2; WALL = (OD - ID) / 2; difference(){ union() { rotate([0, 0, (360-ANGLE)/2]) linear_extrude(height = HEIGHT) union() { intersection() { difference() { circle(r = OR); circle(r = IR); } if (ANGLE <...
glb/cad_0f27cdeac8e5.glb
Create a zip tie holder for PVC pipes consisting of five hollow cylindrical rings arranged in a staggered pattern on a shared base. Each ring must have an outer diameter of 35mm, an inner diameter of 33mm to create a wall thickness of 1mm, and a height of 15mm. Position three of these rings in a vertical column, spac...
$fn=100; D=32; peg_distance=40; holder_D=D+3; module holder(H=15) { translate([holder_D/2,peg_distance/2, 0]) { difference() { cylinder(h=H, d=D+3, center=false); cylinder(h=H, d=D+1, center=false); } difference() { cylinder(h=H, d=D-3, center=false); ...
glb/cad_34d6ef600499.glb
Create an IKEA SLÄCKT Underbed Wheel Chock by starting with a solid rectangular block measuring 60mm in length, 33mm in width, and 25mm in height, centered on the origin. From the top center of this block, remove a semi-cylindrical volume to create a trough. This cutout should be a cylinder with a radius of 20mm and a ...
$fn=50; d1 = 40; y = 23; x1 = d1 + 2 * 10; y1 = y + 2 * 5; z1 = d1 / 2 + 5; r1 = d1 /2; difference(){ translate([0,0,0]) cube([x1,y1,z1],center=true); translate([0,0,z1/2]) rotate([90,0,0]) cylinder(y,r1,r1,center=true); }
glb/cad_1e9a288f1c38.glb
Create a Christmas tree scaffolding by starting with a hollow cone that has a base radius of 60mm and a total height of 185mm. The cone should have a wall thickness of 25mm. To create the slots for the wine corks, remove five circular rings of holes from the cone's body. Each hole is a cylinder with a radius of 5mm and...
module layer(radius, number, height, odd=0, bend=40) { angle = 360/number; for (a = [0:angle:360]) { rotate ([0,0,a+odd*angle/2]) translate ([0,radius,height]) rotate([bend,0,0]) cylinder(45,10,10); } } difference () { cylinder (185,60,25); un...
glb/cad_e408f5ce90fa.glb
Create an Auto Coin Sorter for Euro coins consisting of a base box, a tube rack, a top board, and coin tubes. Construct a base box with a contoured back and a solid bottom. Create a tube rack that fits inside the box, featuring a base thickness of 4mm and vertical walls with integrated scales (small rectangular ridge...
currency = 8; coin_roll_version = 2; tube_extra_height = 0; extra_topboard_length_pct = 14; extra_topboard_length = extra_topboard_length_pct * 0.01; guard_style = "Front_and_back"; extra_guard_height = 15; topboard_rim = 15; part = "all_unassembled"; custom_currency_code = "ABC"; coin_01_dia = 10.01; coin_0...
glb/cad_6f54080619b4.glb
Create a cotton holder consisting of a main cylindrical body and a matching lid. For the body, create a hollow cylinder with an outer radius of 31.1mm and an inner radius of 28.5mm, reaching a height of 140mm. The wall thickness should be 2.6mm. Cut a vertical rectangular slot 30mm wide through one side of the cylinder...
$fn = 100; display = true; holder = false; lid = false; handleOnly = false; withHandle = true; handleOnePart = true; wadDiam = 57; height = 140; gap = 3; thickness = 1.6; r = wadDiam / 2 + gap + thickness; innerR = wadDiam / 2 + gap; bt = 3; opening = 30; module Holder() { difference() { cylind...
glb/cad_f24f6d566850.glb
Create a NEMA 17 stepper motor mount consisting of a flat rectangular base and a vertical support frame. The base is a rectangular slab 33mm wide, 20mm deep, and 5mm thick. Centered along the length of this base, place two 3.5mm diameter holes passing vertically through the slab, one located 7.5mm from the left edge an...
motors = 1; gap = 25; hole_size = 3.5; build(); module build(){ base(); translate([15,0,0])for(x=[0:motors-1]){ difference(){ translate([(gap+47)*x,0,0])frame(); translate([(gap+47)*x,0,0])holes(); } } } module base(){ difference(){ cube([30+47*motors+...
glb/cad_456cb680de9e.glb
Create a cylinder with a radius of 12.8 mm and a height of 10 mm. Ensure the cylinder is rendered with a low facet count to maintain a faceted, polygonal appearance rather than a smooth surface.
cylinder(r=12.8,h=10);
glb/cad_0e13001b607e.glb
Create a MicroKorg XL Microphone Repair Clamp by starting with a rectangular block measuring 6.5mm wide, 20mm deep, and 20mm high. Carve a vertical stepped hole through the center of the block to accommodate a microphone neck: the bottom section of the hole must be a cylinder with a radius of 5.45mm and a height of 8.2...
difference(){ clamp_body(); mic_neck(); screw_holes(); } module mic_neck(){ cylinder($fn=64, r=5.45, h=8.2); translate([0,0,8.2])cylinder($fn=64, r=4.125, h=11.8); } module screw_holes(){ translate([-10,-7.7,3])rotate([0,90,0])cylinder($fn=32, r=1.6, h=20); translate([-10,7.7,3])rotate([0,9...
glb/cad_4f8f513af512.glb
Create an LED flower diffuser consisting of a central conical hub and five radiating petals. Start with a central cylinder that has a base diameter of 6.42mm and tapers upward to a diameter of 22.72mm over a height of 15mm. Inside this central hub, create a vertical hole with a diameter of 5mm at the bottom, widening t...
fn=96; n=5; translate([53,0,0])mirror([0,0,1])difference() { bluete(n); translate([0,0,-5.0-l(2)])Polar(e=n,-17.5)cube([12,0.7,10],true); translate([0,0,-5.0-l(2)])Polar(e=n,-12.0,r=17)cube([0.7,5,10],true); translate([0,0,-5.0-l(2)])Polar(e=n,-12.0,r=-17)cube([0.7,5,10],true); ...
glb/cad_584bb80a9eb8.glb
Create a DeWalt battery holder designed for a 1/4" pegboard. The main body consists of two mirrored battery compartments joined together. Each compartment is a hollow shell with a base width of 70mm and a height of 73.5mm. The interior cavity of each holder is defined by a symmetrical polygon with vertices at [17.5, 0]...
$fn=50; difference() { union() { holder(); mirror([0,1,0]) holder(); } color("red") translate([-50,-20,73.5]) cube([50,40,20]); } translate([-40,0,70.63]) rotate([-90,0,90]) peg_array(3,2); module sym_polygon(p) { polygon([ for (i = [0:len(p)-1]) p[i], for (i ...
glb/cad_e016c18a7419.glb
Create a thumb screw and a matching nut. For the thumb screw, start with a knurled cylindrical knob 20mm in diameter, 7.8mm high, with 24 knurls around the perimeter. On top of this knob, add a flat circular washer 7mm thick with a radius of 5.2mm. Centered on top of the washer, extend a smooth cylindrical shaft with...
use <threads.scad>; $fn = 50; module knob(r, thick, variance=1, knurls=24, washer=0.6, washer_r=0) { mid_r = r - 0.5*variance; knurl_degs = 360/knurls; function sin_circle(i) = let(r=mid_r + 0.5*variance*sin(i*knurls)) [r*cos(i), r*sin(i)]; layers = round(thick / 0.6); cylinder(h...
glb/cad_a3cae4fb19c8.glb
Create a dummy module for a Han-modular connector. Start by centering a main rectangular block that is 30.2mm wide, 14.4mm deep, and 16mm high. On both the left and right ends of this main block, attach a smaller protruding section. Each of these end sections is formed by the convex hull of two smaller rectangular pris...
difference() { union() { translate([0,0,8]) cube([30.2,14.4,16],center=true); hull() { translate([15.2,0,1.25]) cube([4,7,2.5],center=true); translate([15.2,0,1.75]) cube([4,5,3.5],center=true); } hull() { translate([-15.2,0,1.25]) cube([4,9,2.5],center=true); transla...
glb/cad_9827c8a02b03.glb
Create a lock to secure a Han-modular connector frame by constructing a repeating geometric unit and duplicating it in a linear array. The base unit is a composite shape formed by the intersection of a hull—containing a 4.6mm x 4.6mm x 7mm cube, a 2.6mm x 6.6mm x 7mm cube, and a cylinder with a 2mm diameter and 7mm hei...
$fn = 60; for(i=[0:6:30]) { translate([i,6,0]) mirror([0,0,0]) zamek(); translate([i,-6,0]) mirror([0,1,0]) zamek(); translate([i,0,-2]) cube([1.6,7,0.6],center=true); } translate([15,0,-2.5]) cube([36,3,2],center=true); module zamek() { difference() { union() { intersection() { ...
glb/cad_4daefcea2518.glb
Create a GU10 LED light diffuser consisting of a shallow cylindrical shell with integrated clips. Start by creating a main cylinder with an outer diameter of 54mm and a total height of 5mm. Hollow out the center to create a ring with a wall thickness of 1.4mm and a base thickness of 1.6mm, leaving a hollow interior cav...
outer_diameter = 54; wall_height = 5; wall_thickness = 1.4; base_thickness = 1.6; clip_count = 6; clip_height = 3.4; clip_width = 1.2; module __Customizer_Limit__ () {} include <nws-common.scad>; $angle = 360/clip_count; module diffuser() { difference() { cylinder( h = wall_height , d = outer_dia...
glb/cad_efa622613485.glb
Create a headphones stand consisting of a curved headrest supported by a vertical leg. Start by constructing the headrest as a semi-cylindrical shell with a radius of 100mm and a wall thickness of 5mm. The shell should be open on the bottom and the sides, forming a curved cradle that is 40mm wide. Attach this cradle ...
$fn=100; board_width = 19; wall_thinkness = 5; head_r=100; head_width = 40; leg_height=95; leg_width=50; teeth_width=45; small_teeth=0.5; top(); leg(); module top() { difference() { translate([0, 80, 0]) difference() { union() { cylinder(h=head_width, r=hea...
glb/cad_6ee8049d3e1e.glb
Create a motor cable holder for an Onewheel GT. Start with a main rectangular block 10mm wide, 17mm deep, and 12mm high. Extend this base with a support section that is 10mm wide and 5mm high, extending 20mm in the negative X direction. Integrate a cylindrical cutout with a diameter of 10mm that passes through the ma...
m = 5.2; width = 10; depth = 12; depth_addition = 5; height = 12; diam = 10; offset = -8-4; offset_y = 0; length = 14; support_length = 20; rot = -20; $fn=80; difference() { union() { hull() { translate([0,depth+depth_addition-5,-height]) cube([width, 5, height]); translate([-supp...
glb/cad_65ca651aadfe.glb
Create a customizable cable holder consisting of a series of repeating units. Each unit is based on a rounded block with a total width of 20mm, a depth of 20mm, and a height of 20mm. For each cable slot, create a central cylindrical hole with a diameter of 5.5mm that passes vertically through the block. To allow cabl...
Ch=10; Dg=8; Hi=2.5; $fs = 0.01; diameter=5.5; gap=87; number = 2; module roundedcube(size = [1, 1, 1], center = false, radius = 0.5, apply_to = "all") { size = (size[0] == undef) ? [size, size, size] : size; translate_min = radius; translate_xmax = size[0] - radius; translate_ymax = size[1] - radius; transl...
glb/cad_1f9426fb4b53.glb
Create a holder for an Eleaf iStick Pico 21700 by constructing a circular base with a central cutout. Start with a solid cylinder that has a bottom diameter of 85mm and a height of 7mm, tapering the top diameter to 77mm. From this base, remove a central void to create a slot for the device. This void is formed by combi...
include <MCAD/regular_shapes.scad> $fn = 64; unit_dimensions = [50.7, 25.6, 70]; atomizer_dimensions = [22, 27]; atomizer_mouthpiece_dimensions = [8.5, 20]; atomizer_offset = [12, 0, 78]; battery_cap_dimensions = [24.5, 8]; battery_cap_offset = [-13, 0, 71]; stand_depth = 2; stand_dimensions = [85, 7]; stand_cham...
glb/cad_4088a134fa95.glb
Create a holder for an Eleaf Invoke vaporizer. Start by creating a circular base with a bottom diameter of 85mm and a height of 7mm. The top surface of this base should taper slightly to a diameter of 80mm. In the center of this base, carve out a vertical slot to accommodate the device. This slot consists of a centra...
include <MCAD/regular_shapes.scad> $fn = 64; unit_dimensions = [44, 26.5, 77]; atomizer_dimensions = [24, 15]; atomizer_mouthpiece_dimensions = [10, 5]; atomizer_offset = [0, 0, 85.5]; stand_depth = 2; stand_dimensions = [85, 7]; stand_chamfer = 5; stand_inner_height = 12; stand_scalar = 1.2; stand_unit_paddin...
glb/cad_124f61a0cf36.glb
Create a Pioneer4You IPV D4 Holder stand by constructing a tapered cylindrical base and hollowing out a central oval cavity. Start with a solid cylinder that has a bottom diameter of 75mm, a top diameter of 70mm, and a height of 7mm. From this base, remove a central oval prism that is 80mm long, 21.5mm wide, and 12.5mm...
include <MCAD/regular_shapes.scad> $fn = 64; unit_dimensions = [43, 25, 80]; atomizer_dimensions = [24, 15]; atomizer_mouthpiece_dimensions = [10, 5]; atomizer_offset = [0, unit_dimensions[0] / 2 - atomizer_dimensions[0] / 2, 90]; stand_depth = 2; stand_dimensions = [75, 7]; stand_chamfer = 5; stand_inner_height...
glb/cad_c992bd61901b.glb
Create a coupling rod for a log car. Start with a central rectangular bar measuring 2.8mm by 310mm by 2.8mm. At both ends of this bar, add a larger rectangular block measuring 9.8mm by 2.8mm by 2.8mm, centered on the bar's width and height. Additionally, place two more of these 9.8mm by 2.8mm by 2.8mm blocks along the ...
zugstange(); total=310; sideA=true; distanceA=60; sideB=true; distanceB=60; module zugstange() { cube([2.8,total,2.8]); translate([-3.5,0,0]) cube([9.8,2.8,2.8]); if (sideA) { translate([-3.5,distanceA,0]) cube([9.8,2.8,2.8]); } translate([-3.5,total-2.8,0]) cube([9.8,2.8,2.8]); tr...
glb/cad_236d6dbf4bb0.glb
Create a rectangular lid for an electronics box with overall dimensions of 184mm by 119mm and a thickness of 2mm. Place six mounting holes with a diameter of 3.5mm, positioned 4.5mm from the edges. These holes should be arranged in two columns of three at the left and right edges, centered vertically. On the left si...
lid_gap = 0.5; wall = 2; hiwall = wall + 2; box_x = 188; box_y = 125; main_x = box_x - (2 * wall); main_y = box_y - (2 * wall); mnt_off = 5; lid_diam = 3.5; $fn = 80; border = 15; slot_num = 11; vent_diam = 5; mid_x = main_x / 2; mid_y = main_y / 2; hole_spacing = 32; fan_size = 40; fan_diam = fan_size - 2; fan_offset...
glb/cad_4de05fd308dc.glb
Create an electronics box for an SKR Pro and buck converters. Start with a main rectangular enclosure measuring 188mm in length, 125mm in width, and 40mm in height, with wall thicknesses of 2mm. Hollow out the interior to create a cavity of 184mm by 121mm by 40mm. On the front face, create two circular cutouts with a ...
main_x = 188; main_y = 125; main_z = 40; wall = 2; $fn = 80; hollow_x = main_x - (2 * wall); hollow_y = main_y - (2 * wall); hollow_z = main_z; slot_len = 15; slot_width = 3; short_slot = 10; half_short = short_slot/2; hole_depth = 4; hole_wall = 1.5; hole_diam = 4; heat_diam = hole_diam; tap_diam = 3; beam_offset...
glb/cad_0f721b903dc6.glb
Create an electronics box for an SKR Pro and buck converters. Start with a main rectangular block measuring 188mm in length, 125mm in width, and 40mm in height. Hollow out the center to create a shell with 2mm thick walls. On the front face, create three rectangular ports for connectivity: a USB-B port (13mm wide), a ...
main_x = 188; main_y = 125; main_z = 40; wall = 2; $fn = 80; hollow_x = main_x - (2 * wall); hollow_y = main_y - (2 * wall); hollow_z = main_z; slot_len = 15; slot_width = 3.4; short_slot = 10; half_short = short_slot/2; beam_offset = 6; mount_height = 4; board_thick = 1.5; board_offset = 2.5; hole_diam = 3; heat_...
glb/cad_c260ed74846d.glb