Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a simple case for a protoboard consisting of a base and a slide-on cover. For the base, create a rectangular box with outer dimensions of 130mm by 80mm and a height of 30mm. The walls should be 1mm thick. Hollow out the center to create a cavity, but leave a 1mm lip around the top inner edge to secure a PCB. O...
partlongside = 130; partshortside = 80; partdepth = 50; coverclearance = 20; baseheight = partdepth - coverclearance; wallthickness = 1; lipsize = wallthickness; connectorholeheight = 5; connectoroffset = 50; difference() { difference() { difference() ...
glb/cad_cc22d0ecf702.glb
Create a simple rectangular case for a protoboard consisting of a base and a slide-on cover. For the base, create a hollow rectangular box with outer dimensions of 130mm by 80mm and a height of 30mm. The walls should be 1mm thick. At the top inner edge of the walls, incorporate a 1mm lip that runs around the perimete...
partlongside = 130; partshortside = 80; partdepth = 50; coverclearance = 20; baseheight = partdepth - coverclearance; wallthickness = 1; lipsize = wallthickness; connectorholeheight = 5; connectoroffset = 50; difference() { difference() { difference() ...
glb/cad_4e3256683490.glb
Create a simple case for a protoboard consisting of a base and a slide-on cover. For the base, create a rectangular box with outer dimensions of 130mm by 80mm and a height of 30mm. Hollow out the center to create walls 1mm thick, leaving the bottom solid. At the top inner edge of these walls, add a 1mm lip around the...
partlongside = 130; partshortside = 80; partdepth = 50; coverclearance = 20; baseheight = partdepth - coverclearance; wallthickness = 1; lipsize = wallthickness; connectorholeheight = 5; connectoroffset = 50; displaygap = 7; displaylongside = 50; ...
glb/cad_e2537e4657c0.glb
Create a milk crate spool mount consisting of two identical mirrored components. For each component, start with a base rectangular plate measuring 57mm by 77mm with a thickness of 4mm and rounded corners of 1mm radius. Centered on this plate, add a raised rectangular platform measuring 49mm by 69mm with a height of 12m...
HoleX = 49; HoleY = 69; HoleZ = 12; HoleR = 16; BorderX = 4; BorderY = 4; BorderZ = 4; BorderR = 1; RodSupportThickness = 10; RodSupportZ = 10; RodSupportR = 10; RodRadius = 4.1; RodCenterOffsetX = 0; RodCenterOffsetY = 15; ScrewHoleR = 2; ScrewHoleOffsetFromEdgeOfHole = 6.5; Clearance = 1; $fn=50; module MinkowskiCub...
glb/cad_047e5a1a3539.glb
Create a Titan Drag Chain Mount consisting of a main bracket and two circular shims. The main bracket is composed of a central vertical plate and a wider base. The vertical plate is a rectangular slab 9.7mm thick, 22.5mm wide, and 30mm high. This plate features two M3 screw holes positioned 10.3mm from the center on ...
Base_Ht = 4; Ht = 8+1.7; M3 = 3.8; M3_Res = 20; M3Nut = 6.4; translate([-5.56-Ht-2.3,-11.5,0]) %cube([2.3,22.5,30]); module Outline() { mirror([0,1,0]) difference() { linear_extrude(height = Base_Ht+4, center = false, convexity = 10)polygon(points = [[0.73,-20.65],[0,-20.7],[-1.59,-20.7],[-1...
glb/cad_d8aeb4dc1630.glb
Create a Drag Chain Mount to V-Slot bracket. Start by creating a base mounting plate for the V-slot end cap that is 59.2mm wide, 20mm deep, and 6mm high. The bottom edges of this base should be rounded with a radius of 6mm and a height of 5mm. In this base, create two vertical holes with a diameter of 5.6mm, spaced 59....
Base_Ht = 6; L3 = 59.2; L4 = L3 / 2; M3_OD = 3.6; M3_Res = 20; M5_OD = 5.6; M5_Hd_OD = 10.0; M5_Hd_Ht = 1.5; M5_OD_Res = (round(((M5_OD * 3.14) / 4) / .5)*4); Rnd_OD = 12; Rnd_Ht = 5; Rnd_Rad = Rnd_OD / 2.0; Rnd_Res = (round(((Rnd_OD * 3.14) / 4) / .7)*4); B_Ht = Base_Ht - Rnd_Ht; module HullBot(HL = 59.6,HW = 2...
glb/cad_3e5b495f0464.glb
Create a neopixel ring holder by starting with a base cylinder 50mm in diameter and 3mm high. Remove a smaller concentric cylinder from the center with a 40mm diameter and a height of 4mm to create a ring shape. Cut a rectangular slot through the center of this ring that is 50mm wide, 25mm deep, and 4mm high, centered ...
difference(){ cylinder(r=50/2,h=3,$fn=70); cylinder(r=40/2,h=4,$fn=70); translate([0,25/2,2]) cube([50,25,4],center=true); } translate([0,-30,1.5]) cube([15,20,3],center=true); translate([0,-40,20]) cube([15,4,40],center=true);
glb/cad_8eb213fb6802.glb
Create a speaker driver adaptor for a Rubens tube. Start with a square base plate measuring 115mm by 115mm with a thickness of 10mm. Carve a square recess into the top of this base that is 103mm by 103mm and 6mm deep, leaving a 6mm border around the edges. Centrally on top of this base, place a large cylindrical secti...
difference(){ union(){ difference(){ base_outer(); base_inner(); translate([0,0,6]) cone_inner(); } translate([0,0,6]){ difference(){ cone_outer(); cone_inner(); } } translate([0,0,12]) difference(){ cylinder(3,d=104); cylinder(3,d=102); } } translate ([41.5,41.5,0])...
glb/cad_3cb45db24c51.glb
Create a protective case for an iPhone 4. Start by creating a hollow shell based on the phone's dimensions, scaled up by 5% in width and 10% in height and depth to ensure a fit. The base of the case should be thinned by removing a 6mm thick slab from the bottom. Cut a rounded rectangular opening measuring 28mm by 60mm ...
include <iphone4_model.scad>; module iphoneholder(){ difference(){ union(){ translate ([0,0,0]) scale ([1.05,1.1,1.1]) iphone4( show_connector=false, show_buttons=false, show_front=false, show_flush=false, show_misc_side=false); translate ([0,0,-5]) scale ([1.05,1...
glb/cad_f0802a1e2c68.glb
Create a small rectangular box with a width and length of 36mm and a height of 12mm. The box should have rounded corners with a radius of 4mm. The walls and the bottom floor should have a thickness of 0.8mm. Hollow out the center of the box to create a storage compartment, maintaining the 0.8mm wall thickness. On one ...
use <utils/build_plate.scad> _part = "box"; _width = 36; _length = 36; _height = 12; _rounding = 4; _minimumWallThickness = 0.8; _sidewallThickness = 0.8; _horizontalThickness = 0.8; _magnetDiameter = 3.2; _magnetHeight = 3.2; _hingeGap = 0.2; module roundRect(width, depth, height, round) { round = min(rou...
glb/cad_d999bc45c144.glb
Create a perpendicular endstop holder for a microswitch. Start by constructing a bar clamp consisting of a cylinder with a radius of 7.15mm and a height of 10mm, merged with a central rectangular block measuring 15.5mm by 14.3mm by 10mm. Cut a vertical hole through the center of this assembly with a diameter of 8mm and...
include <configuration.scad> module endstop(){ outer_diameter = m8_diameter/2+3.3; screw_hole_spacing_long = 22.2; screw_hole_spacing_short = 10.3; opening_size = m8_diameter-1.5; union(){ difference(){ union(){ translate([outer_diameter, outer_diameter, 0]) cylinder(h =10, r = outer_diameter, $fn = 20); tr...
glb/cad_5dc831b2b1c1.glb
Create an Imperial Guard Baton consisting of a cylindrical handle and a decorative pommel. Start by creating a main shaft with a radius of 7.5mm and a height of 50mm. At the top of this shaft, add a cylindrical pommel section with a radius of 15mm and a height of 25mm. To detail the pommel, add a rounded torus-like...
FACES = 100; DEF_PRINT_TOP = false; DEF_PRINT_TOP_RINGS = false; DEF_PRINT_TAPER = false; DEF_HANDLE = false; DEF_PRINT_HANDLE_SPLIT = false; DEF_PRINT_BOTTOM = true; stock_inner_r=15/2; stock_outer_r=22/2; rings_tube_r = stock_outer_r+6; if(DEF_PRINT_TOP) TopPlug(); if(DEF_PRINT_TOP_RINGS) Rings(40,5,stoc...
glb/cad_d08fc44dbc9d.glb
Create a tombstone maker model consisting of a vertical stone slab and a tiered rectangular base. First, construct the main stone slab. The slab is a rectangular prism with a width of 50mm, a height of 80mm, and a thickness of 10mm. The top of this slab is shaped as a dome, formed by a semi-circle with a diameter of ...
include <config.scad> module mark(height, sizeX, sizeY, center = false) { offsetX = center ? -sizeX/2 : 0; offsetY = center ? -sizeY/2 : 0; translate([offsetX, offsetY, 0]) resize(newsize=[sizeX, sizeY]) { linear_extrude (height) import(file = mark_file); } } mo...
glb/cad_3bb497f0b420.glb
Create a helicopter toy called an Air Top. Start by creating a central vertical handle that is a hollow cylinder with an outer diameter of 2.6mm and a height of 13mm. At the top of this handle, place a sphere with a diameter of 2.6mm. Construct three identical blades spaced equally at 120-degree intervals around the c...
N_Blades = 3; Span = 40 ; Alpha = 20; Cord = 9.5; L_Handle = 13; D_handle = 2.6; $fn=50; t_blade = 0.6; t_handle = 0.45; Rthick = 8.3; r_tip = 1.5; nblades = max(2,floor(N_Blades)); eCord = Cord; AddHoop=false; t_hoop = 0.8; h_hoop = 1.3; dp=(D_handle-t_blade*sin(Alpha)); difference() { un...
glb/cad_2350e61292cc.glb
Create a Customizable U-Hook consisting of a main hook and a secondary hook attached to a mounting bracket. The entire model has a uniform thickness of 25mm. Start with a square mounting bracket that is 40mm wide and 40mm high, with rounded corners. On the back of this bracket, add a stop tab that is 8mm thick and 15m...
thickness = 25; stiffness = 8; hook_size = 35; hook_hole = 1; hook_tip = 1; second_hook = 1; second_hook_length = 30; second_hook_angle = 55; second_hook_tip = 1; spacer_1 = 20; spacer_2 = 10; spacer_3 = 10; spacer_4 = 10; screw_holes = 0; screw_diameter = 3; countersink_diameter = 8; countersink_depth = ...
glb/cad_8660bcb162f1.glb
Create a mechanical calculator called Napier's Bones consisting of a base board and nine separate rods (bones). First, create the board as a rectangular slab 70mm wide, 70mm long, and 6mm thick. Cut a large rectangular hole through the center, leaving a 2mm thick outer frame and a 5mm wide vertical slot on the left s...
include <write.scad> board_x=70; board_y=70; thickness=2; gap=.5; bone_width=5; text_height=5; make_board=1; make_bone1=1; make_bone2=1; make_bone3=1; make_bone4=1; make_bone5=1; make_bone6=1; make_bone7=1; make_bone8=1; make_bone9=1; text_spacing=(board_y-thickness*2)/9; x=0; translate([0,0,0])bones_1(); x=1; trans...
glb/cad_18ec4cda6ba0.glb
Create a shower curtain adapter starting with a rectangular base measuring 15mm wide, 35mm long, and 2.5mm thick. At the top end of the base, center a circular hole with a radius of 3.9mm that passes completely through the material. On the bottom end of the base, construct a cylindrical protrusion with a total height o...
difference() { cube ([15, 35, 2.5]) ; translate([7.5,25,-1]) { cylinder (h=5, r=3.9, $fn=100); } } difference() { union() { translate([7.5,10,-0.01]) { cylinder(h=5,r=4.8, $fn=100) ; } translate([7.5,10,5]) { cylinder(h=1,r=5.1, $fn=100) ; ...
glb/cad_394b03b178f6.glb
Create a handheld grip called iKnuckles. Start with a main rectangular block measuring 120mm in length, 15mm in width, and 10mm in height. From this block, remove a smaller central rectangular section measuring 100mm by 10mm by 10mm, leaving a hollowed-out channel. Along the bottom of this structure, create four circ...
include <iphone4_model.scad> thickness = 10; fingers = [10, 12, 10, 9]; iknuckles(false); module iknuckles(lefty = false) { difference() { union() { difference() { minkowski() { difference() { translate([-60, 2, 0]) { cube([120, 15, 32]); } translate([-50, 10, -0.1]) { ...
glb/cad_a41c707ec22c.glb
Create a 3D model of the "Change" logo for the Urbanite Magazine cover. The model consists of the word "CHANGE" extruded to a height of 10mm. The letters are stylized and bold, forming a single continuous piece. The overall footprint of the text is centered on the XY plane. The letters are constructed from a series of ...
module path3009() { polygon(points= [[-30.574, 11.844], [-32.339, 11.684], [-33.893, 11.202], [-35.174, 10.454], [-36.147, 9.467], [-36.793, 8.337], [-37.117, 7.158], [-37.281, 3.579], [-37.281, -2.882], [-37.148, -5.727], [-36.748, -7.759], [-36.042, -9.061], [-34.890, -10.082], [-37.281, -10.082], [-37.281, -11...
glb/cad_8d3f8adb1ee0.glb
Create a plate for a clay paste extruder by starting with a central cube measuring 90mm by 90mm with a thickness of 5mm, centered on the origin. Remove a vertical cylindrical hole with a radius of 4.3mm through the center of the plate. Add two more identical vertical cylindrical holes with a radius of 4.3mm, positioned...
r_axis=4.3; r_syringe=5; thickness=5; cut=thickness+20; difference() { cube([90,90,thickness],center=true); cylinder(h=cut,r=r_axis, center=true, $fn=100); translate([30,0,0])cylinder(h=cut,r=r_axis, center=true, $fn=100); translate([-30,0,0])cylinder(h=cut,r=r_axis, center=true, $fn=100); translate([0,-30,0])cylinde...
glb/cad_7d08c81894ed.glb
Create a paste extruder component that is 8mm high. The main body is formed by the union of a centered cylinder with a radius of 8mm and a centered rectangular block measuring 12mm wide by 16mm deep. From this combined volume, remove a central vertical cylinder with a radius of 4.25mm that passes completely through the...
height=8; radius=4.25; difference(){ union(){ translate([-6,0,0]) cube([12,16,height],center=true); cylinder(h=height,r=8, center=true, $fn=100); } translate([-10,0,0]) cube([20,1,height+4],center=true); cylinder(h=30,r=radius, center=true, $fn=100); translate([-7,0,0]) rotate([90,0,0]) cylinder(h=30,r=1.6, center=true...
glb/cad_905a3ff92f8b.glb
Create a paste extruder mount consisting of two identical flat plates, each 5mm thick. For the first plate, start with a rectangular base measuring 91.5mm by 42.3mm. Center a hole with a radius of 4.3mm through the plate. Add two more identical 4.3mm radius holes positioned 30mm away from the center hole along the lo...
thickness=5; cut=thickness+20; r_axis=4.3; r_motorshaft=3; r_motorbolt=3.3/2; bolt_distance = 31; r_boltplates=1.6; difference() { cube([91.5,42.3,thickness],center=true); cylinder(h=cut,r=r_axis, center=true, $fn=100); translate([30,0,0])cylinder(h=cut,r=r_axis, center=true, $fn=100); translate([-30,0,0])cylinder(h=cu...
glb/cad_c7d7cc9e3963.glb
Create a paste extruder housing by starting with a central rectangular block measuring 82mm by 85mm with a thickness of 15mm. On the top surface, create two symmetrical bearing mounts. Each mount consists of a 22mm cube with a height of 30mm, centered 30mm to the left and right of the origin. From each of these cubes...
raggiodado=7.9; altezzadado=7.1; raggioLM8UU=7.85; hLM8UU=24.6; rasse8mm=4.3; thickness=15; cut=thickness+20; r_piston=16; r_plunger=11.5; depthsiringehole=2; difference() { union() { cube([82,85,thickness],center=true); translate([30,0,-15-thickness/2]) { difference(){ cube([22,22,30],center=true); cylinder(h...
glb/cad_9eeacd8ee434.glb
Create a paste extruder mount by starting with a rectangular base plate measuring 28mm wide, 100mm long, and 5mm thick, centered on the origin. Carve a rectangular slot 20mm wide and 3mm deep through the center of the base along its entire 100mm length. Within this central channel, place a vertical cylinder with an out...
difference(){ cube([28,100,5],center=true); translate ([10,0,0]){cube([20,3,100], center=true);} cylinder(h=100, r=2.5, center=true, $fn=100);} difference() { translate([0,0,13]){cylinder(h=22,r=7, center=true, $fn=100);} translate([0,0,20])cylinder(h=8, r=5.5, center=true, $fn=100); ...
glb/cad_210ff0b4b219.glb
Create a 3D model of a capital letter "A". The shape is a linear extrusion of the character "A" with a height of 100mm. The base profile of the letter should have a size of 500mm.
module dm1( p1="X", p2=10 ) { linear_extrude(height=p2*10) text(text=p1, size=p2*50); } design_str="A"; design_int=10; dm1(p1=design_str, p2=design_int);
glb/cad_ad5856003a16.glb
Create a stair beam for a pirate ship lower hold. Construct a rectangular prism with a base of 4mm by 4mm and a height of 37mm. Centered on the x and y axes at 2mm, remove a vertical cylindrical hole with a radius of 0.75mm that extends through the entire height of the beam.
module hammock_pole() { difference() { cylinder(34.5,2.5,2.5, $fn=200); translate([0,0,-1]) cylinder(34.5,.75,.75, $fn=200); } } module stair_beam() { difference() { cube([4,4,37]); translate([2,2,-1]) cylinder(34.5,.75,.75, $fn=200); } } stair_beam();
glb/cad_efae5ad6ed3e.glb
Create a Bike Fork Crown Mount designed to secure a light bracket to a bicycle fork. Start with a central rectangular block measuring 55mm in width, 15mm in depth, and 8mm in height. Center a cylindrical hole with a 9mm diameter through the length of this block. At each end of the block, add a cylinder with a radius ...
include <centered_primitives.scad> $fn=100; del=0.05; bar_offset = [0, -25, 20]; crown_mount(); difference() { bracket(); ziptie_slot(); mirror([1,0,0])ziptie_slot(); } support(); module support() { difference() { translate([-23,-15,8])rotate(23)cubeC([0.4, 40, 40]); translate([0...
glb/cad_5fdee33d80c8.glb
Create a Yagi-Uda element holder starting with a central rectangular block measuring 50mm in length, 50mm in width, and 20mm in height. Center the block on the origin. Remove a cylindrical hole from the center of the block with a diameter of 25.5mm and a height of 20.1mm to accommodate the boom. At a position 10mm fro...
Main_body_lenght=50; Main_body_width=50; Main_body_height=20; Element_diameter=8; Element_window_spacing=16; Element_hole_position=-10; Boom_diameter=25.5; Element_Screw_hole_diameter=3 /2; Screw_hole_length=32; Screw_hole_diameter=2.75 /2; Screw_hole_tension_diameter=4 /2; Screw_hole_spacing=18; Screw_head_...
glb/cad_376c13cef0aa.glb
Create a Y Chassis Bearing Strap designed to secure a bearing to a chassis. Start with a rectangular base block that is 23.7mm wide, 16.7mm long, and 7.1mm thick. At the center of the block, carve out a semi-cylindrical channel with a radius of 9.125mm and a depth of 7.1mm to accommodate the bearing. Within this chan...
$fn = 100; bearingDiameter = 15.05; bearingLength = 15.1; bearingType = "left"; nozzleWidth = 0.4; shellsForStrap = 4; bearingRidgeDiameter = 14.6; bearingRidgeWidth = 0.8; mountLength = bearingLength + 2 * bearingRidgeWidth; screwDiameter = 2.9; mountHoleSeparation = 22.9 - (22.9 - 17.2) / 2; strapThickness = shellsF...
glb/cad_a7b753f8cdb1.glb
Create a crystal dice with a total length of 20mm. The geometry consists of a central prism with a decagonal cross-section (10 sides) and two decagonal pyramids attached to the top and bottom ends. The total height of the central body is 4.8mm, and the height of each capping pyramid is 1.2mm. The dice is designed to b...
Dice_Length = 20; pyramid_shape = 6; body_height_ratio = 240; pyramid_height = 60; Font = "Ubuntu"; font_size = 4; print_quality = 100; text_1 = "1"; text_2 = "2"; text_3 = "3"; text_4 = "4"; text_5 = "5"; text_6 = "6."; text_7 = "7"; text_8 = "8"; text_9 = "9."; text_10 = "10"; text_11 = "11"; text_12 = "12"; t...
glb/cad_055edea8d709.glb
Create a Lego Mad Scientist Lab piece consisting of a conical coil topped with a sphere. Start with a base block that is 2 units wide and 2 units long. Above this base, construct a conical coil with a total height of 48mm (6 Lego heights). The coil is formed by a series of stacked tori with a radius of 2.11mm. The inne...
DUPLOHEIGHT=9.6; LEGOHEIGHT = DUPLOHEIGHT / 2; DUPLOWIDTH = 31.66; LEGOWIDTH = DUPLOWIDTH / 2; NS = 8.4; NO = 6.53; NBO = 16; DECORATION_DEPTH = 0.5; INDICATOR_HEIGHT = 3; lego_indicator_height = INDICATOR_HEIGHT / 2; duplo_diagradius = DUPLOWIDTH / sqrt(2); use <duplo_nosupport.scad>; use <LEGO_wtolerance.scad>; le...
glb/cad_96d864cb7d85.glb
Create a Lego-style construction brick with a width of 2 studs and a length of 6 studs. The main body is a rectangular prism with a height of 9.6mm. On the top surface, place 12 solid cylindrical studs arranged in a 2 by 6 grid. Each stud should have a diameter of 4.85mm and a height of 1.8mm. The studs are spaced 8mm ...
block_width = 2; block_length = 6; block_height_ratio = 1; block_type = "brick"; block_brand = "lego"; block_stud_tolerance = -0.2; block_wall_tolerance = 0.2; block_post_tolerance = 0.1; stud_type = "solid"; technic_holes = "no"; vertical_axle_holes = "no"; wing_type = "full"; wing_end_width = 2; wing_bas...
glb/cad_946c82b6dc66.glb
Create an extruder adaptor by starting with a central rectangular plate measuring 42mm in depth, 42mm in height, and 14.5mm in width. Center a large vertical hole with a 23mm diameter through the plate. Position two smaller vertical screw holes with 4mm diameters, spaced 31.5mm apart, centered on the plate's width. For...
$fn = 0; $fs = 0.1; $fa = 4; block_width = 15 - 0.5; block_height = 10; arm_width = 12; plate_depth = 42; plate_height = 42; plate_width = block_width - arm_width; rotor_hole = 23; motor_screw_hole = 3.5 + 0.5; motor_screw_head_depth = 2 - 0.5; motor_screw_head = 6; motor_screw_hole_spacing = 31.5; spring_holder_...
glb/cad_d3bf0cf62e2e.glb
Create a Material Interconnect consisting of a rectangular base with a grid of interlocking protrusions. Start by creating a solid rectangular base measuring 20mm by 20mm with a height of 2mm. On top of this base, construct a grid of interlocking cubes. The grid should be 10 units long and 10 units wide, where each uni...
part = 1; unit_length_width = 1; interlock_height = 1; grid_length = 10; grid_width = 10; backing_height = 2; interSurfaces([unit_length_width, interlock_height], [grid_length, grid_width], backing_height, part); module interSurfaces(unit_size=[1,1], grid_size=[10,10], backing=2, only_part=0) { total_size = ...
glb/cad_42170139a101.glb
Create a circular table for a Sardauscan calibration tool with a diameter of 160mm and a thickness of 5mm. In the exact center of the table, create a narrow vertical hole with a diameter of 1mm passing completely through the thickness. Additionally, create three identical screw holes spaced equally at 120-degree interv...
tableDiam = 160; tableHeigth = 5; screwHoleDiam = 3.4; screwHeadDiam = 7; screwHeadHeight = 3; $fn=240; module _screwHole() { cylinder(d=screwHoleDiam, h=tableHeigth+0.2); translate([0, 0, tableHeigth-screwHeadHeight+0.1]) cylinder(d=screwHeadDiam, h=screwHeadHeight+0.1); } difference() { cylinder(d=tabl...
glb/cad_28d814a40019.glb
Create a DIY Clamp consisting of three separate components: a base, a bolt, and a tap. First, construct the base as a rectangular plate with rounded corners. The main body is 54mm long, 20mm wide, and 20mm high, with a thickness of 6mm. All exterior edges and corners must be rounded with a 2mm radius. Centered along t...
include <polyScrewThread.scad> include <knurledFinishLib.scad> rounding=2; width=20; height=20; thickness=10-rounding*2; length=50+rounding*2; radius=1.7; diameter=14; diameter_ball=8; base(); translate([30,50,0])tap(); translate([0,50,0])bolt(); module corner(tr){ intersection(){ difference(){ cylinder(...
glb/cad_30def31f595c.glb
Create a hanged spray can holder consisting of a cylindrical support and a mounting bracket. Start by creating a cylindrical shell with an outer diameter of 90mm and an inner diameter of 80mm, with a thickness of 10mm and a height of 10mm. Cut a 30-degree wedge out of the side of this cylinder to create an open-faced c...
include <fillet.scad> sprayCanDiam = 80; sprayHolderTickness = 5; sprayHolderAngle = 30; angleCorrection = 2.5; bracketWidth = 10; bracketTickness = 10; bracketHeight = sprayCanDiam*1.5; screwHoleDiam = 3.4; nutHeight = 2.5; nutSize = 6; nutDiam = 2*nutSize/sqrt(3); slack = 0.4; $fn = 120; ep = 0.001; module _spr...
glb/cad_0d3bb7125e93.glb
Create a hanging spray can holder bracket by starting with a solid rectangular block measuring 10mm in thickness, 20mm in height, and 10mm in width. On the front face of the block, center a circular hole with a diameter of 3.6mm that passes completely through the 10mm thickness. Within this same hole, create a wider ...
include <fillet.scad> bracketWidth = 10; bracketTickness = 10; bracketHeight = 20; screwHoleDiam = 3.4; nutHeight = 2.5; nutSize = 6; nutDiam = 2*nutSize/sqrt(3); fixingScrewHoleDiam = 3.6; fixingScrewHeadDiam = 7; fixingScrewHeadHeight = 5; slack = 0.4; $fn = 120; ep = 0.001; module holderFixing() { differen...
glb/cad_1833c8eb8aaf.glb
Create a hanged spray can holder bracket. Start with a main vertical block that is 10mm wide, 20mm high, and 10mm deep. Attach a horizontal arm to the left side of this block, extending 30mm outward, with a thickness of 10mm and a depth of 10mm. Create a horizontal hole passing through the main block and the arm at a ...
include <fillet.scad> tickness = 10; hollowTickness = 1.8; hollowLength = 19; bracketLength = 30; bracketWidth = 10; bracketHeight = 20; screwHoleDiam = 3.4; nutHeight = 2.5; nutSize = 6; nutDiam = 2*nutSize/sqrt(3); fixingScrewHoleDiam = 3.6; fixingScrewHeadDiam = 7; fixingScrewHeadHeight = 5; fixingScrewEdgeDistan...
glb/cad_1c8c1a57925e.glb
Create a set of eight counting and addition manipulative blocks arranged in a row. Each block is a cube measuring 16mm on all sides with rounded corners of 2mm radius. On the top face of each block, center a hemispherical bump with a radius of 5mm. The blocks are numbered 1 through 8. For blocks 1 through 7, engrave ...
use <write_scad/write.scad> DIGITS = "0123456789"; MARGIN = 4; RODW = 16; N = 8; BUMPR = 5; BUMPOFF = 6; TEXTH = 2; TOLERANCE = 0.3; ROUNDING_RADIUS = 2; if (N > 1) { for ( i = [1 : N - 1] ) { translate([ (i-1) * RODW, 0, 0 ]) decoratedUnit(RODW, BUMPR, BUMPOFF, ROUNDING_RADIUS, i, TEXTH, MARGIN, TOLERANCE);...
glb/cad_af84ebc50c73.glb
Create a Mini Candle-box by starting with a central cube measuring 80mm on all sides. Hollow out the center of this cube by removing a smaller rectangular block measuring 60mm wide, 70mm deep, and 80mm high, positioned 10mm above the base. Additionally, remove a cylinder with a radius of 16mm and a height of 81mm, orie...
thetaStep = 10; rad = 4; height = 40; bubbleSize = 2; bubbleRes = 1; a = 14; b = 20; N = 20; function cylToCar(a,b, theta, z) = [(a-b)*cos(theta) + b*cos(theta*((a/b) -1)),z, (a-b)*sin(theta)-b*sin(theta*((a/b) - 1)) ]; union() { difference() { cube(size=[height*2,height*2,height*2],center=true); translate(v=...
glb/cad_465fac3af50e.glb
Create an Arcade Button consisting of a plunger and a housing. For the plunger, create a central cylinder with a radius of 10.5mm and a height of 3mm. Add a wider base cylinder beneath it with a radius of 12mm and a height of 3mm, and a further base cylinder with a radius of 13mm and a height of 3mm. On the top surface...
$fn= (60); module button() { difference() { union() { rotate_extrude(convexity = 10) translate([10.5, 0, 0]) circle(r = 1.5); translate ([0,0,-1.5]) cylinder (r=10.5, h=3); translate ([0,0,-3]) cylinder (r=12, h=3); translate ([0,0,-4.5]) cylinder (r=13, h=3); } translate ([0,0,5.1]) scale ([1,1,0.25]) sphere...
glb/cad_53525a02f801.glb
Create a Nucleo Case by starting with a solid rectangular block measuring 75mm wide, 87.5mm long, and 13.5mm high. Hollow out the center to create an enclosure with a wall thickness of 2.5mm. The interior opening should be 70.6mm wide and 83.1mm long, with an additional cutout section for a bump measuring 33.5mm wide a...
$fn = 50; nucleo_width = 70; nucleo_length = 82.5; nucleo_bump_width = 33.5; nucleo_bump_angle_width = 2; nucleo_bump_length = 2; nucleo_height = 10; screw_id = 3; screw_od = screw_id + 2; screw_bottom_x = 43.89; screw_bottom_y = 0.5; screw_top_right_x = 59.13; screw_top_right_y = 50.8; screw_top_left_x = 10.87; scre...
glb/cad_d2b5965649b7.glb
Create a filament spool roller consisting of two carriage arms and two spreader plates. For each carriage arm, create a rectangular block 130mm long, 10.7mm wide, and 9mm thick. At each end of the block, integrate a circular pillow block housing to hold a 608 bearing. The housing should have an outer diameter of 22mm...
$fn=120*1; gap = 0.3*1; spacing = 3.0*1; cornerDepth = 1.5*1; axleDiameter = 8.0*1; pbThickness = 9.0*1; pbGap = 0.5*1; pbAngleOuter = 0.0*1; pbAngleInner = 30.0*1; pbOD = axleDiameter + (pbGap+pbThickness) * 2; pbID = pbOD - pbThickn...
glb/cad_dbd329cacfbd.glb
Create a PanelMax control panel housing consisting of a front plate and a back plate. For the front plate, create a rounded rectangular base with dimensions 98.11mm wide, 60.12mm high, and 12.77mm thick. Cut a central rectangular opening for the LCD screen measuring 95.77mm wide by 39.96mm high with a depth of 8.27mm...
include <../config/configuration.scad> %translate([0,0,-10]) cube([200,200,20], center=true); lcd_scrn_w=95.77; lcd_scrn_h=39.96; lcd_scrn_t=8.27; lcd_scrn_offset_x=1.18; lcd_scrn_offset_y=9.95; lcd_board_w=98.11; lcd_board_h=60.12; lcd_board_t=12.77-lcd_scrn_t; lcd_hole_d=3.2; lcd_hole_offset=1; lcd_holespace_w=...
glb/cad_f0ff5a87645e.glb
Create a parametric vape tank bumper with a total height of 25mm. The main body is a hollow cylinder with an inner diameter of 22.3mm (including a 0.3mm clearance) and a wall thickness of 2mm. The structure features a solid cylindrical cap at both the top and bottom, each with a height of 6.25mm. Between these caps, ...
bumper_height=25; inner_diameter=22; wall_thickness=2; bar_width=3; clearance=.3; bars=12; edge_width=bumper_height/4; A=6; R=360/bars; intersection() { difference() { make(); translate([0,0,-5]) cylinder(bumper_height+10,d=inner_diameter+clearance,$fa=A); } translate([0,0,-5]) cylinder(bumper_height+10,d=in...
glb/cad_4becbfb6ba40.glb
Create a phone stand by constructing a main vertical support and a flat base. Start with a rectangular slab 70mm wide, 100mm long, and 3mm thick. At the top of this slab, remove a semi-circular section with a radius of 35mm to create a rounded arch. To form the base, add a rectangular strip 70mm wide, 10mm long, and 3m...
rotate ([60,0,0]) cube ([70,7.5,3]); cube ([70,10,3]); intersection () { translate ([0,10,0]) rotate ([45,0,0]) cube ([70,110,3]); translate ([35,10,0]) rotate ([45,0,0]) translate ([0,75,0]) linear_extrude (height = 3) circle (r=35); } translate ([0,10,0]) rotate ([45,0,0]) cube ([70,75,3]); translate ([34,11,0]) ro...
glb/cad_40ae3e3b7036.glb
Create a phone stand by constructing a flat, rectangular base and a supporting backrest. Start with a rectangular base measuring 70mm wide, 20mm deep, and 3mm thick. Attached to this base, create a backrest that is 70mm wide and 3mm thick, angled backward at 45 degrees. The backrest should extend 110mm in length from t...
$fn = 100; rotate ([60,0,0]) cube ([70,7.5,3]); cube ([70,20,3]); intersection () { translate ([0,20,0]) rotate ([45,0,0]) cube ([70,110,3]); translate ([35,20,0]) rotate ([45,0,0]) translate ([0,75,0]) linear_extrude (height = 3) circle (r=35); } translate ([0,20,0]) rotate ([45,0,0]) cube ([70,75,3]); translate ([3...
glb/cad_3dc9a6cedc01.glb
Create a Christmas Ornament Cross consisting of a hollow main body and a removable cover. For the main body, construct a cross shape with a total length of 73mm, width of 47mm, and thickness of 25mm. The cross is formed by a central 10mm cube and four extending arms: two vertical arms (one extending 42.5mm and anothe...
render_quality = 200; $fn = render_quality+0; length = 73; width = 47; thickness = 25; celtic_circle = 0; tree_hook = 0; num_of_holes = 4; view = 1; rotate([0, 45, -45]) scale([length/73, width/47, thickness/25]){ color("lime") difference(){ union(){ cube([10, 10, 25], center = t...
glb/cad_413d9a5a3b39.glb
Create a Longworth Chuck disk by starting with a cylinder 254mm in diameter and 3.175mm thick. Remove a small center hole with a diameter of 6.35mm. Cut four identical curved slots into the disk, spaced equally every 90 degrees around the center. Each slot is formed by a circular path with a diameter of 6.35mm. The p...
chuckdia=10; chuckthick=.125; adapterdia=3; offsetedge=.75; centerholedia=.25; washerthick=1/16; boltdia=.25; numberarcs=4; arcangle=75; numberholes=numberarcs; fingerholedia=.75; fingerrotate=60; res=100; chuckdiain=chuckdia*25.4; chuckthickin=chuckthick*25.4; adapterdiain=adapterdia*25.4; offsetedgein=offseted...
glb/cad_f75a51c40c40.glb
Create a Longworth Chuck as a thin cylindrical disc with a diameter of 254mm and a thickness of 3.175mm. Start by centering a small circular hole with a diameter of 6.35mm through the middle of the disc. Around the center, create four adapter mounting holes, each 6.35mm in diameter, positioned 25.4mm from the center....
chuckdia=10; chuckthick=.125; adapterdia=2.5; adapterhole=.25; adapterholenum=4; adapterholedist=1; adapterholeangle=45; offsetedge=.75; centerholedia=.25; washerthick=1/16; boltdia=.25; numberarcs=4; arcangle=75; numberholes=numberarcs; fingerholedia=.75; fingerrotate=60; res=100; chuckdiain=chuckdia*25.4; chu...
glb/cad_1152d3fdfbab.glb
Create a Longworth Chuck, which is a thin circular disc with a diameter of 254mm and a thickness of 5.08mm. At the center of the disc, create a circular hole with a diameter of 6.35mm. Around this center, place 4 adapter holes, each 6.35mm in diameter. These holes should be positioned 12.7mm from the center, spaced e...
s=(1+sin(360*$t))/2; chuckdia=10; chuckthick=.2; adapterdia=2.5; adapterhole=.25; adapterholenum=4; adapterholedist=.5; adapterholeangle=45; offsetedge=.75; centerholedia=.25; washerthick=1/16; boltdia=.25; numberarcs=4; arcangle=75; numberholes=numberarcs; fingerholedia=.75; fingerrotate=60; res=180; chuckdia...
glb/cad_3f08c75ca30c.glb
Create a mounting bracket for cylindrical items. Start with a rectangular base 44mm wide, 20mm long, and 8mm thick. Centered on this base, create a cylindrical cutout with an outer diameter of 21mm and an inner diameter of 15mm to form a tube wall 3mm thick. This cylindrical section should be partially open; remove a w...
length = 20; width = 44; base = 8; elev = 2; wall = 3; inner = 15; angle = 320; hole = 4; distance = 30; flap = 8; little = 0+0.01; $fn = 0+100; outer = inner + 2*wall; peri = (inner+wall)/2; a1 = angle/2; bracket(); module pie(r, a) { extra = 5; module halfcircle(r) { difference() { circle(r); translate([...
glb/cad_04a2f3239ef1.glb
Create a Bike Speedometer Reed Switch Mount. Start with a main rectangular block measuring 25mm wide, 10mm deep, and 20mm high. Carve a horizontal cylindrical tunnel through the center of the block along its width; this tunnel should have a radius of 2mm and be positioned 19mm up from the base. At the bottom of the bl...
module foot() { union() { difference() { rotate([0,90,0]) cylinder(r=2, h=2, $fn=100); translate([-1,0,0]) rotate([0,90,0]) cylinder(r=1, h=4, $fn=100); translate([-1,-1,0]) cube([4,3,2]); } translate([0,0,-2]) cube([2,2,1]); } } module mount() { union() { difference() { ...
glb/cad_b0af72065a33.glb
Create a Yagi Uda element holder starting with a main rectangular body 60mm long, 60mm wide, and 30mm high. Round the vertical edges of this body with a 7mm radius. Remove a vertical cylindrical hole with a 20mm diameter through the center of the body, offset along the length by 10mm from the center. Perpendicular to ...
EleJoinMode=0; Main_body_lenght=60; Main_body_width=60; Main_body_height=30; Boom_diameter=20; Element_diameter=8; Element_window_spacing=20; Element_bolt_hole_diameter=4; bolt_hole_diameter=4; Add_split=true; Split_spacing=1; Your_text= "YAPYH"; Text_spacing = 1.2; Text_size = 5; Boom_Shape=64; Elem_Shape=...
glb/cad_c1b1b865d3b5.glb
Create a garbage can model consisting of a main cylindrical bin and a separate lid. For the bin, construct a hollow cylinder with an outer radius of 30mm, an inner radius of 28mm, and a total height of 60mm. The walls of this bin should be reinforced by 20 vertical ribs spaced evenly every 18 degrees around the circumf...
$fn = 20; startX = 0; incrementX = 18; endX = 360; radius = 30; heightCilinder = 60; radiusCilinder = 1; delta = 0; deltaZ = 10; innerRadius = 28; union() { translate([0, 0, deltaZ]) { difference() { cylinder(heightCilinder, radius - delta, radius + delta, false); cylinder(heightCilin...
glb/cad_68f3cf0b450c.glb
Create a Dremel Respooler consisting of two stacked coaxial cylinders with a square cutout at the base. First, create a wide, flat base cylinder with a diameter of 25mm and a height of 5mm. Centered on top of this base, add a second, narrower cylinder with a diameter of 20mm and a height of 10mm. To finish the part, cr...
carriage_sqr = 9; drill_hole = 9; difference() { color("lightblue") { cylinder(5, 25, 25, false, $fn=150); cylinder(20, 10, 10, false, $fn=150); }; translate([0,0,-0.5]) { cylinder(21, drill_hole/2, drill_hole/2, false, $fn=150); }; offset = (carriage_sqr/2) * -1; trans...
glb/cad_e58a9fd2d72f.glb
Create a "Slatoon Inspired Backpack" topper component. Start by creating a central ring with an outer diameter of 113.4mm (based on a 110mm assembly diameter plus a 1.7mm wall thickness and 1mm tolerance). This ring should have a height of 20mm. Within this ring, integrate three equidistant "legs" or support struts ex...
include<threads.scad> smoothing = 150; pilot_hole = 2.74; module bottle_cap () { wall_thx = 3; color("lightblue") difference () { tolerance = 1.085; thread_outer_dia = 27.4 + tolerance; pitch = 3.0; outer_cap_rad = (wall_thx + thread_outer_dia) / 2; thread_height = ...
glb/cad_398081a22a14.glb
Create a Lathe Spindle Adapter consisting of three stacked coaxial discs. The bottom and top discs are identical plates with a thickness of 5.08mm (0.2 inches). Each of these plates is a cylinder with a diameter of 76.2mm (3 inches) and a central hole with a diameter of 6.35mm (0.25 inches). Additionally, each plate ha...
s=(1+sin(360*$t))/2; spindle=.75; chuck=3; nutsize=1.26; nutthick=.62; materialthick=.2; centerbolt=.25; mountholenum=4; mountholedia=.25; res=60; module nut(){ difference(){ cylinder(h=nutthick, d=nutsize, center=true, $fn=6); cylinder(h=nutthick, d=spindle, center=true, $fn=res); } } module solidnut(){ diffe...
glb/cad_8801c9da2522.glb
Create a Lathe Spindle Adapter consisting of three stacked coaxial layers. All dimensions are in millimeters and scaled by a factor of 25.4. First, create a bottom circular mount plate with a diameter of 76.2mm (3 inches) and a thickness of 5.08mm (0.2 inches). Remove a center hole with a diameter of 6.35mm (0.25 inch...
spindle=.75; chuck=3; nutsize=1.26; nutthick=.62; materialthick=.2; centerbolt=.25; mountholenum=4; mountholedia=.25; res=30; module nut(){ difference(){ cylinder(h=nutthick, d=nutsize, center=true, $fn=6); cylinder(h=nutthick, d=spindle, center=true, $fn=res); } } module solidnut(){ difference(){ cylinder(...
glb/cad_9b4e26df9315.glb
Create a Lathe Spindle Adapter consisting of four stacked circular components centered on a vertical axis. All dimensions are scaled by 25.4mm. First, create a base mounting plate as a cylinder with a diameter of 76.2mm and a thickness of 3.175mm. Remove a center hole with a diameter of 6.35mm. Additionally, remove fi...
spindle=.75; chuck=3; nutsurround=.25; nutsize=1.26; nutthick=.62; materialthick=.125; centerbolt=.25; mountholenum=4; mountholedia=.25; res=60; module nut(){ difference(){ cylinder(h=nutthick, d=nutsize, center=true, $fn=6); cylinder(h=nutthick, d=spindle, center=true, $fn=res); } } module solidnut(){ differen...
glb/cad_625c168d428a.glb
Create a Parametric Jig for Music Staff. Start by creating a handle that is 40mm long, 20mm high, and 7mm thick. The top two corners of the handle should be rounded with a radius of 10mm. Extend a central rectangular base from the handle with a thickness of 8mm and a length of 15mm. Along this base, create 5 pen clamp...
numberOfLines = 5; distanceApart = 30; penDiameter = 17; clampHeight = 50; clampThickness = 2; gripLength = 2.5; frameThickness = 8; frameLength = 15; handleHeight = 20; handleThickness = 7; handleLength = 40; handleRadius = 10; rotation = 0; endBarThickness = 7; hookLength =...
glb/cad_2cfd67d63d40.glb
Create a Prusa cable holder with a total thickness of 3mm. Start by creating a main cylindrical body with an outer radius of 7mm and a height of 3mm, centered on the Z-axis. Subtract a smaller concentric cylinder from the center with a radius of 4mm and a height slightly greater than 3mm to create a ring. To the left...
length = 3; cable_diameter = 8; bar_diameter = 8; wall_thickness = 3; stability_factor = 2; overlap = 0.3; inner_cable_radius = cable_diameter / 2; outer_cable_radius = inner_cable_radius + wall_thickness; inner_bar_radius = bar_diameter / 2; outer_bar_radius = inner_bar_radius + wall_thickness; cable_x_position = in...
glb/cad_6f926cbaafbf.glb
Create a Hue remote holder by constructing a main body and carving out a central cavity. Start with a solid block formed by the union of two rectangular prisms: one measuring 86mm by 20mm by 23mm and another measuring 86mm by 20mm by 23mm, offset to create a combined base. Apply a 2mm fillet or rounding to all exterior...
$fn=90; rotate([-90,0]) difference(){ minkowski(){ sphere(2); union(){ translate([-43,-20,0])cube([86,20,20+3]); translate([-43,-20,21])cube([86,20,22+1]); }; } union(){ intersection(){ ...
glb/cad_85182d0101cf.glb
Create a hall-o tester for magnet distance. Start by constructing a main body that is the convex hull of two rectangular slabs: one measuring 24mm by 23mm by 2mm centered at [8, 0, 20] and another measuring 35.5mm by 23mm by 2mm centered at [-7.75, 0, 1.01]. From this body, remove several geometric shapes. First, subtr...
difference() { hopper(); board_shape(); } module hopper() { difference() { hull() { translate([8,0,5+15])cube([24,23,2],center=true); translate([-7.75,0,1.01])cube([35.5,23,2],center=true); } translate([0,-8.25,0])cylinder(r=1.55, h=30, $fn=20); translate([0,8.25,0])cylinder(r=1.55, h=30, $fn=20); translate([15.3,0,5]...
glb/cad_27a2215c71c6.glb
Create a parametric vase by revolving a specific 2D profile around a central vertical axis. Start by defining a 2D shape that consists of a square with a side length of 30mm, but modify it by removing a circular cutout from the top center with a radius of 7mm. To this profile, add a circle with a radius of 10mm centere...
radio_body = 0; resize = 10; neck = 0; union(){ translate([0,0,15])rotate([90,0,0])rotate_extrude(convexity = 10) translate([resize, 0, 0]) circle(r = 1); rotate_extrude(convexity = 10) union(){ union() { difference() { difference() { square([resize,resize+resize*2]); translate([re...
glb/cad_90d831384f31.glb
Create a curtain rod holder by starting with a rectangular base measuring 60mm in length, 30mm in width, and 5mm in height. Centered on top of this base, add a second rectangular block measuring 30mm in length, 20mm in width, and 5mm in height, positioned 15mm from the left edge and 10mm from the front edge. To finish ...
difference() { union() { cube( [60, 30, 5] ); translate( [15, 10, 5] ) cube( [30, 20, 5] ); } translate ( [8 ,15, -15]) cylinder( h=30, r=3); translate ( [52 ,15, -15]) cylinder( h=30, r=3); translate ([30, 30, -15]) cylinder ( h=30, r=12); }
glb/cad_51af26631703.glb
Create a curtain rod holder starting with a rectangular base measuring 60mm in length, 30mm in width, and 5mm in height. Centered on top of this base, add a smaller rectangular block that is 30mm long, 20mm wide, and 10mm high, positioned 15mm from the left edge and 10mm from the front edge. To finish the part, remove ...
difference() { union() { cube( [60, 30, 5] ); translate( [15, 10, 5] ) cube( [30, 20, 10] ); } translate ( [8 ,15, -15]) cylinder( h=30, r=3); translate ( [52 ,15, -15]) cylinder( h=30, r=3); translate ([30, 30, -15]) cylinder ( h=35, r=12); }
glb/cad_2b49ab2af8bf.glb
Create a shower curtain hook by forming a toroidal ring with a circular cross-section of 3.75mm radius. The ring should be centered on the origin with a major radius of 15mm. To create the opening for the curtain, remove a rectangular section from the inner half of the ring using a box that measures 30mm in width, 45mm...
x = 15; radius = 3.75; difference () { union() { translate ([ -x, 0, 0] ) rotate_extrude(convexity = 10, $fn = 40 ) translate( [x, 0, 0] ) circle(r = radius, $fn = 40); translate ([ x, 0, 0] ) rotate_extrude(convexity = 10, $fn = 40 ) translat...
glb/cad_17d5bb2064cf.glb
Create a 3Dator Bowden Extruder base mod. Start with the base extruder body and add a cylindrical extension with a diameter of 4.6mm and a depth of 5mm. This extension should have a central longitudinal hole with a diameter of 2mm. On the output end of the extruder, create a rectangular housing with a width of 15mm, a...
use <threads.scad>; $fn = 60; eps = 0.05; d_fit = 0.25; mm_per_inch = 25.4; model_filename = "extruder_base.STL"; model_rotate = [0,0,0]; model_translate = [0,0,0]; model_scale = 1.0; nut_3o8_hei...
glb/cad_d673df9019c0.glb
Create a soda can lid by starting with a main cylinder that has an outer diameter of 57.75 mm and a total height of 5.5 mm. Hollow out the center of this cylinder to create a rim; the inner cavity should start 1 mm from the bottom, with a base diameter of 54 mm that tapers slightly to 52.5 mm over a height of 4.6 mm. T...
can_diameter=54; diameter=can_diameter+0.75; radius=diameter/2; difference () { cylinder (r=radius+1.5,h=5.5,$fn=100); translate ([0,0,1]) cylinder (r1=radius,r2=radius-0.75,h=4.6,$fn=100); translate ([0,0,4]) cylinder (r1=radius-0.75,r2=radius+0.2,h=1.6,$fn=100); translate ([0,0,4]) for (i=[0,120,240]) { r...
glb/cad_750d523cba1f.glb
Create a Christmas tree ornament. The main body is formed by 8 identical vertical fins that radiate from the center. Each fin is a thin profile with a width of 0.5mm, starting from a base radius of 20mm and tapering to a radius of 2mm at the top. Extrude these profiles to a total height of 50mm, applying a counter-cloc...
number=8; base_diameter=40; height=50; wall=0.5; twist=90; direction=-1; hanger=2; baseplate=1; difference () { tree(number=number,radius=base_diameter/2,height=height,wall=wall,twist=twist,dir=direction); if (hanger==1) { for (i=[0,90]) { translate ([0,0,height*0.94]) rotate ([90,0,i]) scale ([1,...
glb/cad_92dafbb45540.glb
Create a DIY Mini Drill Press consisting of a base, a vertical sliding mechanism, and an adjustable arm. Start with a drill base and a fixed slide that holds a vertical 4mm radius cylinder (8mm diameter) with a height of 100mm. Construct a sliding wedge that fits within the fixed slide, allowing for vertical movement...
include <drill_base_smuk.scad> include <fixed_slide.scad> include <sliding_wedge_rack_mod.scad> include <rotacraft_rc18_drill_collar_mount.scad> include <rotacraft_rc18_drill_body_mount.scad> include <rack_gear_mod.scad> include <arm_mount.scad> include <arm_knob.scad> include <thumb_wheel.scad> base(); color("light...
glb/cad_3d7297bce20e.glb
Create a set of four holiday ornaments based on epicycloid geometries. For each ornament, create a thin 3D shell by extruding a 2D epicycloid profile to a height of 1mm. Ornament 1 consists of six cardioids (single-cusp epicycloids) with parameters m=8 and b=4, scaled by a factor of 3 and rotated in 60-degree incremen...
epi_ornament_2(); module epi_ornament_1() { difference() { union() { scale(3) for (j = [0:60:350]) { rotate([90,0,j]) linear_extrude(height=1) epi(0,360,2,1,8,4,.9); } translate([0,0,26]) coin(4.5,10,3); translate([0,0,-28.5]) cylinder(r=2.5,h=2,center=true,$fn=24); } translate([0,0,...
glb/cad_5e74ee840efc.glb
Create a replacement boot heel cap consisting of a base plate and three vertical pegs. Start with a base that is a combination of a cylinder with a radius of 10.5mm and a height of 5.7mm, merged with a rectangular block measuring 21mm wide, 14.2mm deep, and 5.7mm high, centered so the cylinder forms a rounded front. ...
union(){ cylinder(5.7,10.5,10.5,$fn=100); translate([-10.5,0,0]) { cube([21.0,14.2,5.7],0); } translate([-6.1,8.0,5.7]){ union(){ translate([0,0,0]){ cylinder(8.0,d1=3.5,d2=3.5,$fn=100); } translate([0,0,8.0]){ cylinder(2.5,d1=2.7,d2=2.7,$fn=100); } translate([0,0,10.5]){ cylinder(1.0,d1=2.7,d2=1.0,$...
glb/cad_85ebe56562ae.glb
Create a Stepper Turntable consisting of a top tray and a supporting base. For the tray, create a main circular platform 120mm in diameter and 3mm thick. Centered on this platform, add a conical coupler that transitions from a 30mm base diameter down to 20mm over a height of 26mm. Bore a 5.5mm diameter hole verticall...
table_dia = 120; table_thick = 3; base_thick = 5; base_edge = table_dia/2; race_dia = table_dia*2/3; race_width = 4; race_depth = 3; race_structure = 8; motor_size=42; motor_height=32; motor_screw_size = 3.5; motor_screw_spacing = 31; motor_hole = 22+5; shaft_dia = 5.5; shaft_length = 23; clearance = 3; base_clearan...
glb/cad_b789253c3c40.glb
Create a drone frame called "Schroomy" consisting of two identical arms crossing at a 90-degree angle. Each arm is a hull created between two cylinders with a diameter of 20mm and a height of 3mm, spaced 110mm apart center-to-center. From each arm, remove a central cylindrical hole with a diameter of 8.5mm and a heig...
q = 5; th = 3; wi = 20; wb = 110; md = 8.4; frame(); translate([ 0, 0, th*7+1]) rotate([0,0,45]) scisky(); translate([ 0, 0,th*2+5.6]) rotate([0,0,0]) batt1s260(); module laser() { translate([ 0, 0, 0]) rotate([0,0, 0]) difference() { arm(); pins(); } translate([wb+wi, 0, 0]) difference() ...
glb/cad_c23aad70e5c9.glb
Create a two-part protective case for an iCEstick Eval Board. The main body is a hollow rectangular shell with outer dimensions of 93.4mm in length, 28.4mm in width, and 11.4mm in height. The interior cavity is 91.4mm long, 27.4mm wide, and 9.4mm high. On the left end of the shell, create a centered rectangular cutout...
$Wall = 1.2; $Clearance = 0.5; $Length = 90; $Width = 26; $Height = 8; $PrintSplit = 5; $AlignWidth = 1.3; $AlignHeight = 1.6; module MainShell() { difference() { cube([$Length + $Wall + $Clearance + $Wall + $Clearance, $Width + $Wall + $Clearance + $Wall + $Clearance, $Height + $Wall + $Clearance + $Wall + $...
glb/cad_772d20519d73.glb
Create a universal phone wall dock called Hippo. Start by constructing a base plate with a width of 91mm (inner width 85mm plus two 3mm walls), a depth of 41mm (inner depth 35mm plus two 3mm walls), and a thickness of 7mm. Add a back wall that is 5mm thick and 52mm high (45mm height plus 7mm base thickness), with roun...
$fn=50; wall_t = 3; back_wall_t = 5; bottom_t = 7; inner_w = 85; inner_d = 35; back_h = 45; front_h = 15; rcorner_r = 7.5; front_slot_w = 20; outer_w = inner_w + 2*wall_t; outer_d = inner_d + 2*wall_t; total_h = back_h+bottom_t; screwhole_r = 5/2; head_r = 12/2; head_t = 3; screw_space_from_wall = 10; back_slot_w ...
glb/cad_0c9c0ac2664d.glb
Create a Card Holder consisting of a rectangular frame and an attached ring. The main frame has outer dimensions of 58mm by 91.4mm with a total thickness of 3.9mm. The interior is hollowed out by a rectangular cutout of 55mm by 87.2mm, leaving a wall thickness of 1.5mm on all sides. The bottom edge of the frame is not ...
card_height = 87.2; card_width = 55; card_thickness = 1.5; frame_out_thickness = 1.5; frame_in_thickness = 1.5; holder_thickness = 1.2; corner_size = 6; key_ring_radius = 9.5; key_ring_thickness = card_thickness+holder_thickness; key_ring_circle_thickness = 2; key_ring_separation = key_ring_radius*4/3; round...
glb/cad_b9f2949b6953.glb
Create a spool holder base consisting of a flat plate and a vertical rod. Start with a plate 2mm thick, shaped as a hull encompassing a circle of radius 8.5mm centered at (0, 40) and two smaller circles of radius 5.3mm centered at (0, 0) and (35.5, 49). Cut through this plate two holes with a diameter of 3.6mm at those...
side = "left"; rod_diameter = 7; rod_base = 18; reinforcement_rod_enable = true; reinforcement_rod_length = 43; plate_height = 2; hole_diameter = 3.6; rod = [0,40]; holes = [ [0,0], [35.5,49] ]; border = 5; $fn=32; rod_length = reinforcement_rod_length-plate_height+3; module rod() { cylinder(r=rod_diamet...
glb/cad_6406d72f61d6.glb
Create a filament guide and mounting base. Start with a flat rectangular plate 2.5mm thick. In this plate, create two countersunk mounting holes with a base diameter of 3.6mm, positioned at [0, 0] and [0, 52] mm. Attached to this plate, create a guide assembly. The guide consists of a cylindrical ring with an outer d...
side = "left"; plate_height = 2.5; plate_holes = [ [0,0], [0,52] ]; plate_hole_dia = 3.6; guide_pos = [-3,39,16]; guide_stand_width = 16; guide_inner_dia = 10; guide_outer_dia = 20; guide_height = 8; guide_smooth_r = 5; right_button_pos = [4,21.5]; right_button_dia = 10; slot_width = 2.1; slot_angle = [0,35,0]...
glb/cad_a43cfbf454b4.glb
Create a spool holder base by constructing a hollow cylinder with an outer diameter of 55.5mm, an inner diameter of 52.5mm, and a total height of 16mm. To form the walls of this ring, integrate 11 equally spaced rectangular slots around the circumference. Each slot should be 6mm wide and span the full height of the cyl...
inner_dia = 52.5; outer_dia = 55.5; height = 16; r_height = 4; width = 6; stands = 11; $fn=64; intersection() { difference() { union() { cylinder(r=outer_dia/2, h=r_height); translate([0,0,height-r_height]) cylinder(r=outer_dia/2, h=r_height); intersecti...
glb/cad_ba4defa59e14.glb
Create a minimal protective case for an iPhone 4. Start by constructing a main body that is 12mm wide, 125mm long, and 10mm deep. This body consists of two identical rectangular slabs, each 12mm by 125mm by 10mm, centered on the same axis but rotated 25 degrees in opposite directions relative to each other to form an X...
roundness = 9.2; length = 115.2; width = 58.6; depth = 9.3; glass = 1.4; bezel = 1; seamwidth = 1; seamleft = 10; seambottom = 43.5; protrusion = 0.6; switchposition = 44.5; switchheight = 6; switchdepth = 0.5; switchwidth = 3; switchthick = 1.7; plusbuttonposition = 33; minusbuttonposition = 23; buttonr = 2.25; headph...
glb/cad_4f6d4063ffd9.glb
Create a dust collector adapter consisting of a series of concentric cylindrical shells. Start by creating a main outer cylinder with a radius of 21.5mm and a height of 26mm. Remove a coaxial inner cylinder from this base with a radius of 19.393mm and the same height of 26mm to create a thin-walled tube. On top of this...
union(){ difference () { cylinder(h=26, r=43/2); cylinder(h=26, r=38.786/2); } difference () { translate(v=[0,0,24])cylinder(h=24, r=43/2); translate(v=[0,0,24])cylinder(h=24, r=38.659/2); } difference() { translate(v=[0,0,24])cylinder(h=5, r=39/2); translate(v=[0,0,24])cylinder(h=5, r=36/2); } }
glb/cad_ece956fa30cd.glb
Create a spice shelf bracket that is 3mm thick, 70mm high, and roughly 20mm deep. The main body is formed by a hull of several geometric primitives: a 3mm wide rectangular base at the back, and two 2mm radius cylinders positioned at the top and bottom edges of the front face to create rounded corners. The front profile...
$fn=50; sr = 25; sh = 140; ww = 6; wl = 31; cr = 2; t = 3; h = 70; ext = 4; module spice() { cylinder(r=sr,h=sh); } module leiste() { color([1,0.8,0.5]) translate([0,-wl/2,-ww/2]) cube([230,wl,ww]); } module hole() { cylinder(r=1.5,h=20); cylinder(r1=8,r2=0,h=6); } module shelf() { ...
glb/cad_c281c131901c.glb
Create a parametric periscope consisting of a central rectangular tube and two mirrored end caps. The main body is a hollow rectangular tube with an outer cross-section of 24.152mm by 24.152mm and a wall thickness of 2mm, extending to a total height of 60mm. At each end of this tube, attach an end cap assembly. Each ...
sqr = 28.5; pyth = 20.152; thick = 2; module wedge(r,l){ difference(){ cube([l+1,r,r],center=true); rotate([45,0,0]) translate([0,r,0]) cube([2*r,2*r,2*r],center=true); } } module shell(r,l){ difference(){ cube([l+thick+1,r+thick+1,r+thick+1],center=true); cube([l+1,r+1,r+1],center=true); translate([0,0,...
glb/cad_54bc83d0e56f.glb
Create a kitchen set consisting of a cup, a spoon, and a plate. For the cup, create a main cylinder 20mm high with a 10mm radius. Hollow it out by removing a cylinder of 9mm radius starting 3mm from the base, and create a thin 0.5mm rim at the top. Attach a handle to the side of the cup by creating a hollowed-out curve...
$fn = 200; cup_height = 20; plate_bottom = 15; plate_top = 20; spoon_handler_length = 15; module main() { difference() { cylinder(cup_height,10,10); translate([0,0,3]) cylinder(cup_height-3,9,9); linear_extrude(height=0.5) translate([0,0,19])circle(9); } } module handler() { difference() { translate([0,30,...
glb/cad_2bb6e954ee44.glb
Create a cable storage management hive consisting of a grid of hexagonal cells. The overall structure should be 4 cells wide (X direction) and 5 cells deep (Y direction). Each cell is a hollow hexagonal prism with an outer diameter of 42mm and a wall thickness of 1.2mm. The height of the entire structure is 120mm. To...
$fn=6; nb_slots_X = 4; nb_slots_Y = 5; cable_slot_heigth = 120; cable_slot_diameter = 42; nozzle = 0.4; nb_of_outer_shell = 3; margin_to_have_correct_number_of_lines = 0.01; cable_slot_wall_thickness = (nozzle+margin_to_have_correct_number_of_lines)*nb_of_outer_shell; I_want_a_surronding_wall = 0; I_wish_to_combi...
glb/cad_9c5be81eb374.glb
Create a Mechanical Inverter consisting of a central enclosure, two sliding rods, and a gear. All components have a uniform thickness of 3.6mm. Construct the enclosure as a rectangular block measuring 14.4mm by 43.2mm by 3.6mm. Center a cylindrical hole through the block with a radius of 7.45mm to accommodate the gear...
selection = 0; nozzleDiameter = 0.8; layerThickness = 0.6; thickness = 6*layerThickness; play = 0.25; $fn = 32; numGearTeeth = 12; toothSize = [4*layerThickness, 8*layerThickness, thickness]; toothSpacing = 2 * toothSize[0]; gearRadius = numGearTeeth * toothSpacing / (2*PI) - play; numRodTeeth = 24; rodDims ...
glb/cad_9a91f9e3fff6.glb
Create a flush handle siphon connector consisting of a main elongated body with a cylindrical base. Start by creating a 20-sided prism cylinder with a diameter of 24mm and a height of 15mm. Extend this shape with a rectangular block measuring 24mm wide, 70mm long, and 15mm high, centered on the cylinder's axis. At the ...
module flushHandleLink() { difference() { union() { cylinder(15,12,12,$fn=20); translate([0,70,0]) cylinder(5.5,8,8,$fn=20); translate([0,35,7.5]) cube([24,70,15],center=true); } translate([ 0 ,36.5,18]) rotate([-8.35,0, 0 ])...
glb/cad_ff5e1dc1d3af.glb
Create a Fast Screw Imprint consisting of a cylindrical shaft and a conical head. First, construct a vertical cylinder for the shaft with a diameter of 3mm and a total height of 20mm. Centered on top of this shaft, add a head shaped as a truncated cone with a height of 1.5mm. This head should taper from a base diameter...
diamScrew=3; diamScrewHead=6; heightScrew=20; heightScrewHead=1.5; screwHead = 30; color("yellow") translate([0,0,heightScrew/2]) cylinder( r1=diamScrew/2, r2=diamScrewHead/2, heightScrewHead, $fn=screwHead, center=true); color("yellow") cylinder(r=diamScrew/2, heightScrew, $fn=30, center=true);
glb/cad_15fc7ed86704.glb
Create a set of shims for a scythe costume accessory. Construct the object as a flat rectangular base measuring 22mm wide, 104mm long, and 2.2mm thick. On top of this base, add three thin rectangular strips running the full length of the 104mm side. The first strip should be 1mm wide and 2.2mm high, positioned at the e...
use </home/lance/Desktop/RepRap Parts/Scad Working Parts/pins.scad> module Shaft(){ cylinder(r=17/2, h=200); } module Topper(){ difference(){ union(){ color("silver"){ cylinder(r=30/2,h=54*2,$fn=100); ScrewTop(); BackFin(); } ...
glb/cad_f91edcd3531c.glb
Create a Customizable Spool Holder and Bracket consisting of two separate parts. First, create a wall support panel. Start with a rectangular base 4mm deep, with a total height of 25.5mm and a width of 25.5mm. Incorporate two mounting holes for #8 screws; these holes should have a diameter of 4.73mm, with the surround...
part = "Both"; SpoolDepth = 100.0; SpoolDiameter = 180.0; SpoolHoleDiameter = 17.5; print_part(); module print_part() { if (part == "Both") { WallSupport(); SpoolSupport(); } else if (part == "Wall") { WallSupport(); } else { SpoolSupport(); } } module RoundTopBox(pad, box_l, box_w, box_h, round_r, sm...
glb/cad_61bfb6aa39bc.glb
Create an improved bar clamp for a Prusa RepRap. Start with a central vertical cylinder with a radius of 7.3mm and a height of 14.6mm. Remove a central vertical hole with a radius of 4.1mm to accommodate a rod. Extend two rectangular arms from the cylinder, each 14.6mm wide and 21.9mm long, extending in opposite dire...
wedge_width = 7.6; m8_diam_tight = 8.2; m8_diameter = 8.6; wall_thickness = 3.3; wedge_outer_angle = 2; $fn=64; module teardrop (r=8, h=20) { render() rotate([-270, 0, 90]) { cylinder(r=r, h=h, $fn=64); translate([-(r * sqrt(2)) / 2, 0, 0]) cube([r * sqrt(2), r * sqrt(2) / 2, h]); dif...
glb/cad_edd2019a0fcd.glb
Create a lamp bracket by starting with a central rectangular block measuring 40mm wide, 50mm deep, and 30mm high. At the center of the two 30mm high side faces, attach two identical cylinders that are 15mm in diameter and 15mm long, oriented horizontally. Use a convex hull operation to bridge these two cylinders with t...
difference(){ union(){ hull(){ translate([22.5,0,0]) cylinder(3,15,15,center = true,$fn=24); translate([-22.5,0,0]) cylinder(3,15,15,center = true,$fn=24); translate([22.5,-40,0]) cylinder(3,10,10,center = true,$fn=24); translate([-22.5,-40,0]) cylinder(3,10,10,center = true,$fn=24); } translate([-10,-30,0]) rota...
glb/cad_3cd9f6165939.glb
Create a lamp bracket by first constructing a central body using a convex hull that connects three 36-sided cylinders, each with a radius of 7mm and a height of 7mm, positioned at [0, 0, 0], [-15, 20, 0], and [15, 36, 0]. To this body, add two 36-sided cylinders rotated 90 degrees along the X-axis: one with a radius of...
gaika = 3.6; gaika = 4.2; difference(){ union(){ hull(){ translate([-15, 20,0]) cylinder(18.4, 7, 7,$fn=36,center = true); translate([15, 16+20,0]) cylinder(18.4, 7, 7,$fn=36,center = true); cylinder(18.4, 4, 4,$fn=36,center = true); }; translate([0,10,0]...
glb/cad_7541f535be62.glb
Create a ladder support bracket consisting of a flat rectangular base and a protruding U-shaped holder. Start with a rectangular base plate measuring 30mm wide, 38mm high, and 3mm thick. In this base, create two countersunk holes for screws, each with a 3mm diameter and a 7.2mm wide head. Position these holes centrally...
base_hauteur=38; base_largeur=30; base_epaisseur=3; distance_trou=5; diametre_trou=3; diametre_tete_vis=7.2; support_hauteur=18; support_profondeur=15; support_epaisseur=3; difference(){ cube([base_largeur,base_hauteur,base_epaisseur]); translate([base_largeur/2,distance_trou,0]){ cylinder(base_epais...
glb/cad_140ff7a65114.glb
Create a ladder support bracket consisting of a rectangular base and a protruding retaining clip. Start with a rectangular base plate measuring 43mm wide, 38mm high, and 3mm thick. In this base, create two countersunk holes for screws, each with a 3mm diameter and a 7.2mm head diameter; position these holes centered al...
base_hauteur=38; base_largeur=43; base_epaisseur=3; distance_trou=5; diametre_trou=3; diametre_tete_vis=7.2; support_hauteur=18; support_profondeur=15; support_epaisseur=6; difference(){ cube([base_largeur,base_hauteur,base_epaisseur]); translate([base_largeur/2,distance_trou,0]){ cylinder(base_epais...
glb/cad_46f1204909c3.glb
Create a ladder support bracket consisting of a flat rectangular base and a protruding vertical holder. Start with a rectangular base plate measuring 32mm wide, 50mm high, and 2.5mm thick. Drill two holes through this base for mounting: one near the top edge and one near the bottom edge, both centered width-wise. Each ...
base_hauteur=50; base_largeur=32; base_epaisseur=2.5; distance_trou=5; diametre_trou=3; diametre_tete_vis=6; support_hauteur=18; support_profondeur=46; support_epaisseur=2.5; grand_axe=41; petit_axe=27; courbure=17; difference(){ cube([base_largeur,base_hauteur,base_epaisseur]); translate([base_largeur/2,d...
glb/cad_07a1f68f24c8.glb