Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a battle map space holder tile by starting with a square base that measures 50mm by 50mm with a thickness of 3mm. Centered on the top face of this base, add a raised capital letter "B" with a height of 25mm and a thickness of 4mm. Ensure the letter is positioned exactly in the center of the square surface.
use<Write.scad> cube(size = [50.0,50.0,3]); color=("red"); writecube("B",[25,25,0],t=4,h=25,face="top");
glb/cad_ac1fb091b9c3.glb
Create a battle map space holder tile by starting with a square base that measures 50mm by 50mm with a thickness of 3mm. Centered on the top face of this base, add a raised capital letter "C" with a height of 25mm and a thickness of 4mm. Ensure the letter is positioned exactly in the center of the square surface.
use<Write.scad> cube(size = [50.0,50.0,3]); color=("red"); writecube("C",[25,25,0],t=4,h=25,face="top");
glb/cad_70dac3218bdc.glb
Create a battle map space holder tile by starting with a square base that measures 25mm by 25mm with a height of 3mm. On the top face of this base, center the capital letter "D" so that it is embossed or engraved. The letter should have a thickness of 4mm and a height of 10mm. Ensure the final geometry is a single soli...
use<Write.scad> cube(size = [25.0,25.0,3]); color=("red"); writecube("D",[12,12,0],t=4,h=10,face="top");
glb/cad_1c68692ae645.glb
Create a Drill Jig consisting of a rectangular base and two angled guide rails. Start with a rectangular base block measuring 50mm in length, 30mm in width, and 6mm in height. On top of this base, add two mirrored right-angled triangular prisms that act as guides. Each prism should have a length of 50mm and a height ...
$fn=100; length=50; width=30; height=6; hole1=(3/8)*25.4*1.01; hole2=(9/64)*25.4*1.01; board=20; wall=(width-board)/2; crosshair=0.8; edge_offset=10; 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] ...
glb/cad_064e401b67d2.glb
Create a lipstick case by starting with a solid rectangular block that is 70mm wide, 92mm deep, and 30mm tall. Within this block, carve out a grid of 12 cylindrical holes arranged in 3 columns and 4 rows. Each hole must have a radius of 10.5mm and a depth of 28mm, leaving a solid base thickness of 2mm at the bottom of ...
num_x_holes = 3; num_y_holes = 4; box_height = 30; hole_width = 21; base_thickness = 2; hole_gap = 2; hole_radius = hole_width / 2; hole_height = box_height - base_thickness; half_hole_gap = hole_gap / 2; box_x = (num_x_holes * hole_width) + (hole_gap * num_x_holes) + hole_gap; box_y = (num_y_holes * hole_width)...
glb/cad_ccf3e857fca9.glb
Create a lipstick case by starting with a solid rectangular block that is 30mm tall, 68mm wide (X-axis), and 88mm deep (Y-axis). From the top face of this block, remove 12 cylindrical holes arranged in a 3 by 4 grid. Each hole must have a radius of 10.5mm and a depth of 28mm, leaving a 2mm thick base at the bottom of t...
num_x_holes = 3; num_y_holes = 4; box_height = 30; hole_width = 21; base_thickness = 2; hole_gap = 2; hole_radius = hole_width / 2; hole_height = box_height - base_thickness; box_x = (num_x_holes * hole_width) + (hole_gap * num_x_holes) + hole_gap; box_y = (num_y_holes * hole_width) + (hole_gap * num_y_holes) + ...
glb/cad_cc6ebb9eb0c9.glb
Create an Ikea SUNDVIK Extender bracket by starting with a base shape extruded to a depth of 25mm. The profile of this base is a stepped polygon with the following vertices: (0,0), (0, 39), (16, 39), (16, 55), (20, 55), (20, 35), and (4, 35), returning to (4,0) and closing the loop. From this solid, remove two cylindri...
thickness = 4; height = 16; width = 35; depth = 25; screw = 3; difference() { linear_extrude(height = depth) polygon([[0,0], [0, width + thickness], [height, width + thickness], [height, width + thickness + width], [height + thickness, width + thickness + width], [height + thickness, wi...
glb/cad_fc24dd90b787.glb
Create an Anti Elephant-Foot Test Cube by stacking a series of rectangular prisms to form a total volume of 15mm x 15mm x 15mm. Start by creating three thin base layers, each with a height of 0.2mm. The first base layer should be a centered prism measuring 14.4mm x 14.4mm x 0.2mm. The second base layer, positioned dire...
eps1 = 0.01 + 0; cube_dx = 15; cube_dy = 15; cube_dz = 15; layer_height = 0.2; insets = [0.3, 0.2, 0.1]; insets_height = len(insets) * layer_height; module box(z, dx, dy, dz) { translate([-dx/2, -dy/2, z]) cube([dx, dy, dz+eps1]); } box(insets_height, cube_dx, cube_dy, cube_dz-insets_height); for (i= [0:len...
glb/cad_394640dcaf15.glb
Create a Brillo Holder by constructing a thick-walled cylindrical container. Start with a solid outer cylinder that has a radius of 34mm and a height of 21mm. From the center of this volume, remove two concentric cylindrical sections to create the interior cavity. First, remove a cylinder with a radius of 24mm that spa...
difference(){ cylinder(r=34, h=21); translate([0,0,2]) { cylinder(r=31, h=15); cylinder(r=24, h=21); } }
glb/cad_888ac5ac51e9.glb
Create a Trash Can sidebox container. Start by creating a main rectangular block with dimensions 120mm in width, 170mm in depth, and 20mm in height. Hollow out the center of this block to create a thin-walled shell with a wall thickness of 1mm, leaving the bottom and sides intact. At the bottom of the container, inte...
window_border_width=5; thick_plan_width=1; thin_plan_width=0.5; box_plan_size=[120,170,thick_plan_width]; box_height=20; hange_width=15; module round_bottom(plan_size,height) { difference() { cube(size=[plan_size[0],height,height]); rotate(a=90,v=[0,1,0]) translate(v=[-height/2,height-3,-10]) ...
glb/cad_6deeb9f3f5ab.glb
Create a Circular guide for T64000 by constructing a series of concentric circular rails. Start by creating a primary circular ring with an outer radius of 187mm (185mm plus half of a 4mm screw diameter) and an inner radius of 183mm, with a height of 10mm. Add a second, larger concentric ring around the first, with a...
width = 192; length =192; thickness = 2.5; height = 35; radius = 185; minor_radius = radius - 70; base_radius = 190; stem_height = 10; screw_diameter = 4; knot_diameter = 8; module circular_gap(){ union() { difference() { cylinder(h = stem_height, r = radius + screw_diameter/2, center = true, $fn = 64); ...
glb/cad_535b0638c54a.glb
Create a Circular guide for T64000 by constructing a complex geometric assembly based on a central panel and surrounding rails. Start with a central panel that is 9mm thick, 101mm long, and 70mm high. Hollow out this panel by removing a central rectangular volume of 2.5mm by 95mm by 71mm, and further remove a smaller r...
thickness = 2; height = 70; width = 140; rail_thickness = 3; panel_thickness = 3; length = 95 + 2*panel_thickness ; gap_thickness = 2.5; difference() { union() { panel(); translate ([0, -(length)/2, 0]) prism_z(width, 15, height); translate ([3/2*panel_thickness, -(length)/2, 0]) rotat...
glb/cad_e33ce1c0fad2.glb
Create a spool holder arm consisting of a central cylinder and a conical base. Start by creating a truncated cone with a height of 30mm, a bottom diameter of 60mm, and a top diameter of 35mm. Directly on top of this conical section, add a cylinder with a diameter of 35mm and a height of 113mm. Finally, add a small coni...
render = "arm"; d1 = 35; d2 = 60; spool_width = 110; spool_width = 110; width = 90; height = 90; screw_head = 10; screw_width = 4; module added_mount(){ hull(){ translate([0,0,-10]) cube([width,height,20+10], center=true); cylinder(d=60, h=20); } } module taken_mount(){ hull(){ cylinder(d=60, d2=35, h=30); ...
glb/cad_a57e3c0101f7.glb
Create a cookie cutter based on the "text" icon character . The model consists of a thin base and vertical cutting walls. First, generate the 2D profile of the character with a font size of 20mm. Extrude this profile upward to create a solid base that is 1mm thick. Around the perimeter of this shape, add vertical wall...
type = "text"; text = ""; xdf = "/Users/benjamin/Desktop/kokapelli cookie cutter.dxf"; resolution = 2; font = "fontawesome"; wall_thickness = 1; wall_height = 5; icon_height = 3; font_size = 20; top_thickness = 1; $fn= resolution; module cutter(){ linear_extrude(height = wall_thickness) { if (type=="text"){ te...
glb/cad_9520ffc1eb16.glb
Create two identical jewelry plugs. For each plug, start with a main cylindrical body that has a diameter of 27.5mm and a thickness of 9mm. From this cylinder, remove a central octagonal prism with a diameter of 20mm and a height of 9mm to create a hollow center. To create the outer flair, remove a torus-shaped volum...
thickness = 9; diamiter = 25; hollow = true; number = 2; resolution = 50; inside_size = 20; sides = 8; wall_thickeness = .8; middle = "shape"; flair_depth = 2.5; flair_offset_z = 1.4; module icon(){ translate([0,0,-thickness]) linear_extrude(height = thickness*2) { text(icon, font =...
glb/cad_25c795ff0601.glb
Create a VR headset faceplate. Start with a main body block measuring 130mm in width (phone_height + 2*wall_thickness), 50mm in depth (focal_length), and 75.27mm in height (phone_width + 2*wall_thickness). From this block, remove a central rectangular volume of 126mm by 50mm by 71mm to create the phone cavity. Carve ...
make_this = "face"; make_printable = true; phone_height = 126; phone_width = 71; phone_thickness = 8.636; face_curve = phone_height/2; eye_gap = 70; nose_width = 33; nose_depth = 20; nose_height = phone_width/2; wall_thickness = 2; layer_height=.5; stretch_strength = 3; lense_diamiter = 50; lense_thickness = 10; ...
glb/cad_4411d2017d59.glb
Create a Coffee Straw Connector by constructing a central hub composed of six identical rectangular prisms. Each prism must be 10mm long, 3mm wide, and 2mm thick. Arrange these six prisms so they all intersect at a single central point, with each one rotated equally around the Z-axis at 60-degree intervals. Once this s...
number_of_spokes = 6; length = 10; width =3; thickness = 2; connecting = "yes"; connect_length = 5; little_extra = .2; module basic(){ intersection(){ for(a=[1:number_of_spokes]){ rotate([0,0,(360/number_of_spokes)*a]) translate([length/2,0,0]) cube([length,width,thickness], center=true); } translate([-length*2...
glb/cad_9fb708134ccc.glb
Create a wall whiteboard mount by starting with a solid rectangular block measuring 20mm wide, 20mm high, and 6mm thick. From this block, remove a smaller rectangular section to create an L-shaped profile; this cutout should be 20mm wide and 14mm high, leaving a base thickness of 6mm and a vertical wall thickness of 6m...
thickness = 3.175; wall_thickness = 6; screw_size = 3; width = 20; height = 20; translate([-height/2,-width/2,0]) difference(){ cube([height,width,wall_thickness]); translate([wall_thickness,-1,wall_thickness-thickness]) cube([100,100,thickness]); translate([screw_size,width/2,0]) cylinder(d=screw_size,...
glb/cad_9aa76199232b.glb
Create a maintenance building for a mini train set consisting of a circular base and a roof. The base is a ring with an outer radius of 90mm and a height of 40mm. The ring features a central circular cutout with a radius of 44mm. Around the perimeter of the base, create 9 equally spaced parking slots. Each slot is de...
include <base.scad> printing_gap = 0.1; TRAIN_LENGTH=35; BASE_R = 90; NR_BOX = 9; WALL = 1.2; WALL_HEIGHT=40; PIN = 1.9; PIN_HEIGHT = 1.9; HOLE = 2; HOLE_DEEP = 2; ROOF=30; ROOF_HEIGHT=15; CHIMNEY = 10; A = 45; B = (360-2*A)/NR_BOX; module hole(){ translate([0,0,-HOLE_DEEP]) cylinder(2*HOLE_DEEP,r=HOLE/...
glb/cad_95b9e3665a32.glb
Create a Y-axis bearing mount corner for a 3D printer. Start with a rectangular base block measuring 18mm wide, 22mm deep, and 55.2mm high. Remove several cylindrical holes from this block: two horizontal holes with a radius of 4.4mm passing through the center of the block at heights of 10mm and 30mm, and one vertica...
module corner_base(){ translate([-9,-11,0])cube([18,22,49+4+2.2]); } module corner_holes(){ translate([-11,-11,0]){ translate([0,11,10]) rotate([0,90,0]) translate([0,0,-5]) cylinder(h = 270, r=4.4, $fn=30); translate([0,11,30]) rotate([0,90,0]) translate([0,0,-5]) cylinder(h = 270, r=4.4, $fn=30); transla...
glb/cad_1c053c3d8f5f.glb
Create a can handle with a total height of 128mm and a thickness of 25mm. The main body is a curved grip formed by the intersection of a block and a large cylinder with a radius of 150mm, with a smaller concentric cylinder of 135mm radius removed from the center to create a curved wall. At the top and bottom of the gr...
use <write/Write.scad>; text = "Your Text Here"; bold = "No"; canh = 125; raise="No"; cand = 66; height=canh+3; thick=25; $fa=1; intersection () { cube([height,50,thick]); difference () { translate([height/2,-120,0])cylinder(r=150,h=thick); translate([height/2,-120,-1]) cylinder(r=150-15,h=thick+2); if (...
glb/cad_ed9cdf631808.glb
Create a quadcopter frame with a central rectangular body and four extending arms. The central body is a flat plate 152mm long, 50mm wide, and 3mm thick. At each end of the central body, create two arm bars. Each arm bar is formed by the hull of two cylinders with a diameter of 15mm, tilted 10 degrees relative to the...
prop_size = 152; screw_distance_one = 7; screw_distance_two = 5; screw_diamiter = 3; motor_tilt = 10; frame_thickness = 3; frame_width = 50; arm_width = 15; slot_width = 12; slot_spacing = 25; difference(){ basic_added(); basic_taken(); } module arm_slots(){ for (z = [((-prop_size/slot_spacing)/2)+1 : ((prop_size/...
glb/cad_9baad90695db.glb
Create a handle for a heated chamber. Start with a central rectangular block that is 30mm high, 6mm wide, and 6mm deep, centered on the origin. At each end of this block, add a vertical cylinder with a radius of 1.75mm and a height of 20mm, positioned so that the cylinders are centered on the block's 6mm width and 30mm...
vent = "left_side"; door_width = 200; door_height = 150; handle_height = 30; handle_width = 6; air_vent_diamiter = 20; box_height = 200; box_width = 300; box_depth = 400; power_hole_diamiter= 7; head_depth = 2; head_diamiter = 6; screw_size = 3.5; wall_thickness = 5; corn...
glb/cad_5abbda3e0c6a.glb
Create a Maps of Pluto model by constructing a very thin, wide disc. Start with a cylinder that has a diameter of 25.4mm and a height of 1mm, using a 50-facet resolution to maintain a smooth circular edge. Scale this base shape non-uniformly to create a flattened, elliptical profile that is significantly wider than it ...
scale(.45){ intersection(){ scale([.1, .1, 0.02]) surface(file = "pluto.png", center = true, invert = false); cylinder(r=28, h=10); } } translate([0,0,-1]) cylinder(d=25.4, h=1, $fn=50 );
glb/cad_2e111402f490.glb
Create an IC3D spool by constructing a central cylindrical core and two outer flanges. Start with a solid central cylinder that has a diameter of 94mm and a total height of 71mm. Add two flat, circular flanges to the top and bottom of this core; each flange must be 5mm thick with a diameter of 202mm, positioned so they...
$fn =100; wall_width = 5; spool_hole = 52; solid_core_width = 94; spool_width = 71; outer_diamiter =202; center_middle =18; module added(){ translate([0,0,spool_width/2-(wall_width/2)]) cylinder(h=wall_width, r=outer_diamiter/2, center=true); translate([0,0,-spool_width/2+(wall_width/2)]) cylinder(h=wall_width, r=ou...
glb/cad_e0942d09117f.glb
Create a fridge magnet featuring a house icon. Start by creating the main icon shape with a height of 5mm and a font size of 20mm. Beneath this icon, add a flat backing plate that follows the exact contour of the icon with a thickness of 2mm. To accommodate the magnet, create a cylindrical hole centered within the desi...
resolution = 100; icon = ""; inverse = "false"; size = 20; thickness = 5; magnet_size = 10.8; magnet_thickness = 1.5; spacing = 15; rows = 1; columes = 1; magnet_shape = "circle"; flat_plate_behind = "true"; flat_plate_thickness = 2; magnet_width = 4; magnet_heig...
glb/cad_1417fe046d77.glb
Create a pair of glasses consisting of a front frame and two temple arms. For the front frame, create two symmetrical lens openings. Each lens shape is a rounded rectangle formed by the hull of four cylinders: the top two have a radius of 8mm, the bottom two have a radius of 8mm, and the inner two have a radius of 5m...
ear_difference = 0; bridge_width = 20; bridge_position = 0; thickness = 4; frame_thickness = 10; frame_depth = thickness+3; groove_depth = 1; name = "Ben Engel"; lense_thickness = 3; lense_height = 20; lense_width = 45; a =[8,8,8,5]; rotate =[0,0,0]; make = "frame"; module lense(){ hull(){ tr...
glb/cad_70acc4735df5.glb
Create an Arduino and RAMPS mounting bracket with a total height of 11mm. The base is a rectangular plate measuring 85mm by 52mm. At each of the four corners of this plate, create a mounting hole. Each hole consists of an outer cylinder with a radius of 3.75mm and a concentric inner bore with a radius of 1.75mm, both e...
holes_size = 1.75; holes_size_outter = 3.75; holes_support = 11; translate([70.5,0,0]) { translate([0,-17,0]) { translate([17,0,0])rotate([0,0,180])t_slot(); cube([10,62,1.3]); } translate([6.8,-18,0])rotate([0,0,3.5])cube([3,63,holes_support*.65]); } translate([-3,0,0]) { translate([0,-17,0]) { translate([...
glb/cad_eb98a8460b58.glb
Create a SBM19 Geiger Counter Housing by constructing two mirrored halves of a rectangular box with rounded corners and edges. The overall external dimensions of the full assembly are 95mm wide, 208mm long, and 30mm high. In the interior of the bottom half, create a recessed compartment for a PCB measuring 38mm by 100...
include <regular_shapes.scad> module flat_triangle(h, w, b) translate([0,0,h/2]) linear_extrude(height = h, center = true, convexity = 10, twist = 0) polygon(points=[[0,0],[w,0],[0,b]], paths=[[0,1,2]]); module trapezoid(thickness, top, bottom, height) translate([0,0,thickness/2]) linear_extrude(height = th...
glb/cad_ce736407ee0c.glb
Create a SBM19 Geiger Counter Housing consisting of two symmetrical halves (top and bottom) that fit together to form a rounded rectangular enclosure with overall dimensions of 95mm width, 208mm length, and 30mm height. For the bottom half, create a base with rounded corners (12mm radius). Inside this base, carve out...
include <regular_shapes.scad> module flat_triangle(h, w, b) translate([0,0,h/2]) linear_extrude(height = h, center = true, convexity = 10, twist = 0) polygon(points=[[0,0],[w,0],[0,b]], paths=[[0,1,2]]); module trapezoid(thickness, top, bottom, height) translate([0,0,thickness/2]) linear_extrude(height = th...
glb/cad_34a604dba844.glb
Create a SBM20 Geiger Counter Housing consisting of two mirrored halves (top and bottom) that fit together to form a box with overall dimensions of 100mm width, 150mm length, and 25mm height. For the bottom half, create a base with rounded corners. Inside, incorporate a rectangular cavity for a PCB measuring 38mm by ...
include <regular_shapes.scad> module flat_triangle(h, w, b) translate([0,0,h/2]) linear_extrude(height = h, center = true, convexity = 10, twist = 0) polygon(points=[[0,0],[w,0],[0,b]], paths=[[0,1,2]]); module trapezoid(thickness, top, bottom, height) translate([0,0,thickness/2]) linear_extrude(height = th...
glb/cad_f13f09e20ca5.glb
Create a GoGer clip with a total height of 18.67mm and an overall maximum width of 26mm. The object is a vertically oriented cylindrical shell with a central flange and two open arms. Start with a main body that is a cylinder of 26mm diameter and 18.67mm height, but modify the top and bottom edges with a large spheri...
overall_width=26; bottom_height=6.223; bottom_width=19.812; top_height=6.223; top_width=13.335; flange_height=6.223; flange_width=22.733; arm_thickness=1.27; arm_angle=25; radius_scale=1.1; radius_offset=2.2; min=0.01; $fn=128; overall_height=top_height+flange_height+bottom_height; top_radius=top_width/2; ...
glb/cad_36bd59c7157f.glb
Create an antenna protector for an FPV camera by constructing a symmetrical, mirrored clip with a total thickness of 4mm. The main body consists of two mirrored halves. Each half starts with a rectangular side section measuring 6mm wide and 21mm long, positioned 10mm from the center line. The top of each side transitio...
$fn=100; difference() { linear_extrude(4) for (i=[0,1]) mirror([i, 0, 0]) difference() { union() { translate([10, -4, 0]) square([6, 21]); translate([0, 42 - 15, 0]) difference() { circle(d=30 + 6); translate([0, -31, 0]) square([40, 40], center=true); } } translate([12, 0,...
glb/cad_7efc56bb29cb.glb
Create a Plug Guard designed to cover a switch. Start with a base plate that is 62mm wide, 80mm deep, and 1mm thick, featuring rounded corners with a 5mm radius. Within this base, create a central rectangular cutout measuring 62mm by 60mm, leaving a 10mm border on the top and bottom edges. On the right side of the mo...
title_text = "Internet"; text_size = 12; text_offset = 4; text_height = 4; switch_left_or_right = "Right"; switch_cover_height = 6; module rounded_cube(x,y,z,r){ sides=50; hull(){ translate([r,r,0]) cylinder(r=r,h=z,$fn=sides); translate([x-r,r,0]) cylinder(r=r,h=z,$fn=sides); translate([r,y-r,0]) cyli...
glb/cad_66574e3ae423.glb
Create an LCD Panel Face Plate and Bracket assembly for a Folger Tech Kossel 2020. First, create a rectangular face plate with a length of 169.3mm, a width of 50mm, and a thickness of 4mm. In this plate, center a large rectangular cutout to accommodate the LCD screen. Add four M3 screw holes at the corners (offset 3....
Ht = 12; E_Ht=5; FP_Len = 169.3; FP_LenShort = 153.3; FP_Ht = 4; FP_HoleLen = 145; FP_HoleWid = 50; FP_Long = 1; FP_Test_Ht = .6; M3 = 3.6; M3Head = 6.0; M3_Res = 16; SP_OD = 7.6; SP_Ht = 4; SP_OD_Res = 34; StopSwitch_X = 138; StopSwitch_Y = 8.5; ControlKnob_X = 138; ControlKnob_Y = 26; SpeakerHole_X = 137.15; Speake...
glb/cad_f04eb3e72c00.glb
Create a Kahr PM9 Pistol Stand starting with a rectangular base plate measuring 100mm in length, 65mm in width, and 4mm in height. Centered on this base, construct a hollow rectangular enclosure that is 30mm high, 100mm long, and 65mm wide. The walls of this enclosure should be 5mm thick. Within this enclosure, create ...
height=30; width=65; length=100; baseheight=4; wallthickness=5; maglength=32; magwidth=13; fuzz=.4; translate([0,0,baseheight/2]) cube([length,width,baseheight], center=true); difference() { translate([0,width/2-wallthickness-magwidth/2,height/2+baseheight]) cube([length,wallthickness*2+magwidth,height], center=true);...
glb/cad_446febb28bc6.glb
Create a sign stand designed to hold a 6-inch wide by 0.25-inch thick acrylic sign. Start by constructing a central cylinder with a diameter of 100mm and a length of 150mm, then scale this main body by 0.8 in the X-axis, 1.0 in the Y-axis, and 0.6 in the Z-axis. At both ends of the main cylinder, add rounded end-caps c...
$fn=50; difference(){ scale([.8,1,.6]){ union(){ rotate([90,0,0]) cylinder(150,50,50,true,$fn); translate([0,-75,0]) scale([1,.3,1]){ intersection(){ rotate([90,0,0]) cylinder(1...
glb/cad_cd966e476d1f.glb
Create a sign stand by starting with a central cylinder that has a radius of 50mm and a height of 100mm, then scale this shape by 0.8 in the X-axis, 1.0 in the Y-axis, and 0.6 in the Z-axis to create a flattened, elliptical profile. Add two end pieces to the sides of this central body by creating two additional cylinde...
$fn=200; difference(){ scale([.8,1,.6]){ union(){ rotate([90,0,0]) cylinder(50,50,50,true,$fn); translate([0,-25,0]) scale([1,.3,1]){ intersection(){ rotate([90,0,0]) cylinder(1...
glb/cad_020aa5daf66e.glb
Create an ice drawer handle spacer. Start with a sphere of radius 177.8mm, centered at x=71.89mm, y=0, and z=50.8mm. Trim this sphere into a specific block by removing all material where y is less than -40.64mm or greater than 40.64mm, where z is greater than 50.8mm, and where z is less than -100mm. Additionally, remov...
fn=128; fn2=128; curveRadius=7.0; clipThickness=0.1; frontThickness=0.26; drawerFrontThickness=1.25; height=2.0; width=1.6; distToDoor=2.81; scale(25.4) { difference() { translate([distToDoor-curveRadius, 0, height * 0.66]) { sphere(r=curveRadius, $fn=fn); } translate([-100, -1...
glb/cad_5d7bdec5b255.glb
Create a placeholder for an Apple TV remote by starting with a rectangular block measuring 120mm in length, 30mm in width, and 3mm in height. Round all four vertical edges of this block with a radius of 3mm. From this main body, remove a large cylindrical section to create a channel. This cutout should be a hollow ring...
difference() { minkowski() { cube([120-6,30-6,3]); translate([3,3,0]) cylinder(h=3, r=3, center = false, $fs=.1, $fn=100); } color("green") translate([-1,15,-45.9]) rotate([0,90,0]) donut(122, 55, 3); color("cyan") translate([-1,-1,-1]) cube([122,32,3]); } module d...
glb/cad_eb43d6e7d994.glb
Create a customizable ID badge by starting with a rectangular base measuring 72mm wide, 30mm deep, and 2mm thick. On the top surface of this base, add three lines of extruded text, each 1.5mm high. Position the first line "PlasciLab" at the bottom, the second line "Jean-François" in the middle, and the third line "ROCC...
$fn=50; difference(){ union(){ translate([40,15,-2]) rotate([0,90,0]) cylinder (d=5,h=10); translate([62,15,-2]) rotate([0,90,0]) cylinder (d=5,h=10); color("black") translate([19,0,0]) cube([72,30,2]); translate([30,22,1.5]) color("white") linear_extrude(height=1.5, convexity=4) text("ROCCHINI",size=7, ...
glb/cad_ed8b03339246.glb
Create a customizable box and lid set. For the box, create a solid rectangular prism measuring 20mm in width, 20mm in depth, and 10mm in height. Hollow out the center of this prism by removing a smaller rectangular volume starting 1mm from the bottom and 1mm from each side wall, leaving a base and walls that are each 1...
boxX = 20; boxY = 20; boxZ = 10; wallT = 1; lidZ = 5; lidClearance = 0.24; printBox = 1; printLid = 1; t2 = wallT * 2; t4 = wallT * 4; union() { Box(); translate([-boxX-10,0,0]) Lid(); } module Box() { if (printBox==1) difference() { cube([boxX, boxY, boxZ]); translate([wallT, wallT, wallT]) cub...
glb/cad_d34ec1aa672a.glb
Create a pen holder for a plotter by combining a mounting bar and a pen sleeve. Start with a rectangular mounting bar measuring 70mm wide, 10mm high, and 8mm deep, centered on the origin. Subtract a 12-sided polygonal nut hole with a diameter of 4.8mm, positioned 20mm from the left end of the bar. Add a small rectangul...
nut_d = 4.8; nut_ofs = 20; bar_h = 10; bar_w = 70; bar_d = 8; tip_d = 5.0; tip_h = 10.0; box_d = 20.0; box_h = 57.0; hole_d = 14.0; hole_ofs = (bar_w-box_d)/2; pen_angle = 8; pen_tilt = 0; pen_yoffset = 51; union() { translate([bar_w/2-box_d/2,-bar_h,-bar_d/4]) cube([10,20,4], center=true); difference() { cube([...
glb/cad_58ecfa9afabf.glb
Create a Coaster Holder by constructing a partial hollow cylinder with a wall thickness of 2mm. The main body is formed by rotating a circular cross-section with a 10mm diameter around a central axis at a radius of 10mm. This rotation should cover an arc of 235 degrees rather than a full circle. To create the opening f...
use <../MCAD/regular_shapes.scad>; use <../MCAD/shapes.scad>; include <../3D-PCB/3D-PCB.scad>; partial_rotate_extrude(235, 20, 10) cross_section(10,2); module teardrop_flat(diameter) { union() { circle(r = diameter/2, $fn = 100, center=true); rotate(45) square(diameter/2); } } module cross_section(diameter, th...
glb/cad_334c1f5056c5.glb
Create a rotor head linkage consisting of a rectangular central bar with circular eyelets at each end. The main bar is 18.5mm long and 1mm thick. At one end of the bar, center a cylindrical ring with an outer diameter of 3.2mm and a thickness of 1mm. Drill a hole through the center of this ring with a diameter of 2mm...
laenge = 19.0-0.5; dicke = 1.0; loch_big = 2.0; rand_big = 1.0+1.2; all_big = loch_big+rand_big; loch_sml = 1.4; rand_sml = 1.0+1.2; all_sml = loch_sml+rand_sml; spacer = 1.0; module holder(){ difference() { union() { color("green") translate([0,-dicke/2,0]) rotate([0,0,0]) cube([la...
glb/cad_ed3ab4670280.glb
Create a Rotor Head Linkage consisting of a central rectangular bar with a cylindrical mounting eye at each end. The central bar must be 20.5mm long with a thickness of 1.2mm. At the first end of the bar, center a cylinder with a diameter of 3.5mm and a height of 1.2mm. Bore a hole through the center of this cylinder...
laenge = 19.0+1.5; dicke = 1.2; loch_big = 2.0; rand_big = 1.0+1.5; all_big = loch_big+rand_big; loch_sml = 1.4; rand_sml = 1.0+1.5; all_sml = loch_sml+rand_sml; spacer = 1.0; module holder(){ difference() { union() { color("green") translate([0,-dicke/2,0]) rotate([0,0,0]) cube([la...
glb/cad_3a9ec7f0011c.glb
Create a square cover for a wooden post. Start by creating a solid cube with a length and width of 72mm and a height of 13mm. From this base, remove a smaller central cube measuring 70mm by 70mm with a height of 13mm, positioned 1mm from the front and side edges, to create a thin-walled tray with a 1mm thick rim. Final...
laenge = 70.0+1.5; hoehe = 12.0; dicke = 1.0; loch = 5.0; spacer = 1.0; module abdeckung(){ difference() { union() { color("green") translate([0,0,0]) rotate([0,0,0]) cube([laenge+dicke*2,laenge+dicke*2,hoehe+dicke]); } translate([laenge/2+dicke, laenge/2+d...
glb/cad_50f1f3db7c6b.glb
Create a Parametric Mendel90 Filament Spool Holder consisting of a main tube, a mounting plate, and two bearing end caps. The main tube is a hollow cylinder with an outer diameter of 24mm and a length of 60mm. The interior is hollowed out to accommodate bearings. The tube's profile is modified into a teardrop shape t...
max_spool_width=50; bearing_od=13; bearing_id=4; bearing_thickness=5; min_spool_id=25; spool_id_clearance=1; bearing_washer_thickness=0.5; bearing_washer_radius=9/2; bearing_clearance=1; bearing_stack_thickness=(2*bearing_thickness)+(2*bearing_washer_thickness); bearing_stack_wall_thickness=2; bearing_stack_bol...
glb/cad_7aae700fdb36.glb
Create a Modular Marble Maze consisting of four distinct geometric components, all with a uniform thickness of 2mm. First, create a base piece by arranging three identical L-shaped sections. Each section consists of a rectangular block measuring 12.6mm by 6mm by 2mm, paired with a 20-sided polygonal cylinder that has...
md = 17; mc = 4; pd = 6; xw = 0.4; pt = 2; module base(){ for(i = [0:90:270]){ rotate([0,0,i]) translate([0.5*(md+mc+pd),0.5*(md+mc+pd),0]) { translate([-(pd/2+md+mc+xw),-pd/2,0]) cube([md+mc+pd/2+xw,pd/2,pt]); translate([0,0,pt-xw]) intersection() { cylinder(r=pd/2-xw, h=md+mc+xw, $fn = 20); ...
glb/cad_b6f3430e437b.glb
Create a Printrbot LC v1 Replacement Foot. Start by constructing a base that combines a rectangular block measuring 100mm in length, 20mm in width, and 5mm in height with a right-triangular prism that extends from the top of this base. This prism should have a length of 100mm, a width of 20mm, and a height that slopes ...
module prism(l, w, h) { translate([0, l, 0]) rotate( a= [90, 0, 0]) linear_extrude(height = l) polygon(points = [ [0, 0], [w, 0], [0, h] ], paths=[[0,1,2,0]]); } difference() { union() { translate([3,2.5,0]) { prism(20,100,25); cube([100,20,5]); } } translate([0,0,20]) { cube([100,25,5]); }...
glb/cad_09175839eea4.glb
Create a Kraken holder frame profile with a total height of 5mm. Start with a solid square base that has rounded corners with a radius of 5.7mm and an overall width of 27.9mm. From this base, remove material to create a series of concentric stepped cutouts on all four sides. First, create a central square cutout on e...
frame_profile(h = 5); module frame_profile(h) { $fn = 100; p_width = 27.5 + 0.2; p_corner_r = 5.7; p_first_step_width = 16.3 - 0.2; p_first_step_height = 1.15; p_second_step_width = 12.35 - 0.2; p_second_step_height = 1.2; p_third_step_width = 5.05 - 0.2; p_third_step_height = 1.5; difference() { hull()...
glb/cad_418235e77f0c.glb
Create a Powerpoint Template tool consisting of a tiered rectangular base with rounded corners. Start with a bottom rounded rectangular plate measuring 87.3mm by 52mm with a height of 4mm and a corner radius of 14.5mm. Centered on top of this plate, add a second, smaller rounded rectangular block measuring 73.3mm by 29...
res = 30; difference() { union() { roundedRect([87.3, 52, 4], 14.5, res); translate([0, 0, 4]) roundedRect([73.3, 29, 18], 14.5, res); } union() { linear_extrude(4 + 18) circle(r=9, $fn=res); translate([18 + 8, 0, 8]) linear_extrude(14) circle(r=9, $fn=res); translate([-18 - 8, 0, 8]) ...
glb/cad_919b443e9d5b.glb
Create a 3D model of a stepper motor driver carrier. Start with a rectangular base board measuring 36mm in length, 18mm in width, and 1.3mm in thickness. On the top surface of the board, place a cylindrical capacitor with a radius of 3.2mm and a height of 6.5mm, centered at X=12.5mm and Y=7.5mm. Add several small rect...
ShowPins = 1; PinsUp = 0; BoardXLen = 36; BoardYWidth = 18; BoardZThick = 1.3; PinHoleYOffsetL = 1.2; PinHoleYOffsetR = BoardYWidth - 1.1; NumPinsL = 14; NumPinsR = 8; PinInitXOffsetL = 1; PinInitXOffsetR = 16.7; BoardXLen = 36; PinXSpacing = 1.045 * (...
glb/cad_de6e276e4f95.glb
Create a customizable knob. Start with a primary tapered cylinder that has a base diameter of 18mm and a top diameter of 14.48mm (calculated from a 16% taper), with a total height of 16mm. Around the outer circumference of this cylinder, add knurled ridges. These ridges are created by placing small 2mm x 2mm x 16mm c...
HoleDiameter = 6.2; HoleDepth = 12; HoleFlatThickness = 1; HoleFlatDepth = 6; KnobHeight = 16; KnobDiameter = 18; CapType = 0; TimerKnob=false; Pointer1 = false; Pointer2 = false; Knurled = true; TaperPercentage = 16; RingWidth = 0; RingMarkings = 20; ScrewHoleDiameter = 3; ShaftLength = 0; ShaftDiamete...
glb/cad_61622dbcc1f3.glb
Create a Pokedex Aimer Phone Case consisting of a main protective body and a hinged lid. Construct the main case body to fit a phone with dimensions 139.1mm in length, 68.5mm in width, and 7.8mm in thickness. The walls should be 3mm thick with 2mm rounded corners. On the back, create a camera cutout 22mm wide and 8mm...
phone_l = 139.1; phone_w = 68.5; phone_d = 7.8; camera_x = 10.2; camera_y = 2.6; camera_w = 22; camera_l = 8; aimer_w = 15; custom_text = "iPhone 6"; part = "button"; if(part == "assembly") { assembly(); } else if(part == "aimer_hinge") { aimer_hinge(is_open = true); } else if(part == "case_top") { ...
glb/cad_3a183dd50119.glb
Create a holder for a Pololu stepper driver controller consisting of a base and a top cover. Start with a rectangular base block measuring 41mm in length, 23mm in width, and 10mm in height. Carve out a central rectangular cavity for the board that is 36mm long and 18mm wide, starting 2mm from the bottom. Within this ...
use <./Pololu_driver.scad> ShowBoard = 1; ShowBase = 1; ShowTop = 1; DriverHolder(ShowBoard, ShowBase, ShowTop); module DriverHolder(ShowBoard = 1, ShowBase = 1, ShowTop = 1) { BoardXLen = 36; BoardYWidth = 18; BoardZThick = 1.3; WallWidth = 2; PrintToleran...
glb/cad_d40bc014577e.glb
Create a set of Montessori number markers consisting of ten individual numeric figures and ten accompanying small cylinders. For each number from 1 to 10, create a 3D text character with a height of 40mm and a thickness of 2mm. Arrange these numbers in two rows of five; the first row contains numbers 1 through 5, and t...
use <write/write.scad> $fn=30; police="orbitron.dxf"; taille=40; epaisseur=2; rayon=2.3; hauteur=6; write("1",t=epaisseur,h=taille,font=police); translate([16.4,19.8,epaisseur]) cylinder(r=rayon,h=hauteur); translate([30,0,0]) write("2",t=epaisseur,h=taille,font=police); translate([43,19.8,epaisseur]) cylinder(r=rayon...
glb/cad_204ff6955012.glb
Create a set of five identical cylinders for a Montessori number activity. Each cylinder must have a radius of 2.3mm and a height of 6mm. Position the cylinders in a linear row along the x-axis, with the first cylinder centered at x=16.4, y=19.8, z=2. Subsequent cylinders should be placed at x=43, 73, 103, and 133, all...
use <write/write.scad> $fn=30; police="orbitron.dxf"; taille=40; epaisseur=2; rayon=2.3; hauteur=6; write("1",t=epaisseur,h=taille,font=police); translate([16.4,19.8,epaisseur]) cylinder(r=rayon,h=hauteur); translate([30,0,0]) write("2",t=epaisseur,h=taille,font=police); translate([43,19.8,epaisseur]) cylinder(r=rayon...
glb/cad_ea7a34051010.glb
Create an X carriage for a Prusa Mendel printer. Start with a rectangular base measuring 82mm by 72mm (calculated from rod separation and clearance) with a thickness of 4mm. In the center, add a raised cylindrical mounting area with a radius of 27mm and a height of 4mm to accommodate a groovemount extruder. Cut a cent...
m3_nut_diameter = 6.4; m3_diameter = 3.5; belt_width = 6.5; belt_height = 2; belt_clamp_width = 12; belt_clamp_height = 6; belt_to_screw_space = 2; belt_teeth_size = 2; x_rod_separation = 50; belt_offset_from_center = 42; belt_clamp_spacing = 40; groovemount_screw_spacing = 50; groovemount_center_hole_size...
glb/cad_6e8143508b28.glb
Create a Shower Rail Wall Mount Holder starting with a main cylinder 52mm in diameter and 15mm high. Slice this cylinder in half along its length and remove the top half, leaving a semi-cylindrical base. From the flat top surface of this base, remove a concentric inner cylinder that is 42mm in diameter (leaving a 5mm w...
outer_diameter=52; thickness=10; overall_depth=15; base_plate_thickness=5; screw_hole_depth=base_plate_thickness; screw_hole_diameter=4.25; screw_countersink_depth=3; screw_countersink_diameter=8.25; screw_hole_offset_from_center=10; screw_hole_type = "Inset"; $fn=100; module screw_hole(screw_hole_diameter,s...
glb/cad_08da7b841d72.glb
Create a Simple Scalpel Blade Cover by constructing a hollow rectangular sleeve with rounded exterior corners. Start with an internal cavity measuring 10mm in height, 3mm in width, and 40mm in length. Surround this cavity with walls that are 1mm thick. The top of the cover should be closed with a rounded, semi-cylindri...
blade_height = 10; blade_width = 3; blade_length = 40; wall = 1; inside_dim = [blade_height, blade_width, blade_length]; $fn=50; module footprint() { cube(inside_dim); translate([inside_dim[0]/2, 0, inside_dim[2]]) rotate([-90,0,0]) cylinder(h=inside_dim[1], r=inside_dim[0]/2); } difference() { minkowski...
glb/cad_1f42cebe2b85.glb
Create a Parametric Device Mount consisting of a flexible C-shaped clip and screw attachment points. The main body is a clip with a width of 15mm and a material thickness of 3mm. The interior gap of the clip is 11.3mm wide and 72.6mm long to accommodate a device. The clip's side walls extend from the base, curving at...
device_thickness = 11.3; device_width = 72.6; clip_thickness = 3; clip_width = 15; clip_grip_length = 5; gripping_tolerance = 0; screw_attachment_thickness = 6; screw_width = 15; back_screw = "TRUE"; back_screw_location = "CENTER"; bottom_screw = "TRUE"; conversion = 25.4; diameter_major = 0.25; pitch = 0.0...
glb/cad_d74dade52e3a.glb
Create a power supply mount consisting of a hollow rectangular bracket with integrated mounting tabs. Start with a solid rectangular base measuring 81.8764mm wide, 61.15mm deep, and 15mm high. Remove a central rectangular volume of 73.8764mm by 53.15mm and 15mm deep to create a U-shaped channel with walls 4mm thick. E...
xbox_width = 77.8764; xbox_height = 57.15; xbox_length = 215.9; mount_thickness = 4; mount_length = 15; tab_width = 20; module xbox() { color("Gray",0.5) cube([xbox_width, xbox_height, xbox_length]); } module mount() { color("Blue") translate([-mount_thickness/2,-mount_thickness/2, -mount_thickness/2]) cube([xbox...
glb/cad_6995d628c7fd.glb
Create a 3D printer drill kit holder consisting of a main storage box and a separate cover. Construct the main box as a solid rectangular block 100mm long, 74mm wide, and 15mm deep. Carve a rectangular storage cavity into the top center of this block, measuring 90mm long, 54mm wide, and 6mm deep. Within this box, cre...
nut_size = 16.5; barrel_length = 90; barrel_size = 12; begin_cone = 6; barrel_depth_offset = 3; box_length = 100; storage_case_length = 90; storage_case_width = 54; storage_case_depth = 6; part_depth = 15; separated_space = 10; part_Y = storage_case_width + nut_size + separated_space; cover_extra_height=5; cover_...
glb/cad_c68b781c4e08.glb
Create a Skateboard Truck Drill Guide. Start with a rectangular base block that is 53.28mm wide (41.28mm truck width plus 6mm borders on each side) and 75.5mm long (63.5mm old school length plus 6mm borders on each side), with a total height of 8mm. Round all four outer corners with a 6mm radius. On the top face, carv...
Hole_dia = 5; Border_width = 6; Rounding = 6; Guide_height = 8; centerline_width = 1; Truck_width = 41.28; New_school = 53.98; Old_school = 63.5; thin = 0.001; Delta = 0.1; cyl_res = 80; module border() { linear_extrude(height=Guide_height, convexity=4) { minkowski() { circle(d=Rounding, $fn=cyl_res); s...
glb/cad_f8eeabdeae27.glb
Create a Ukulele Fretboard consisting of a central rectangular base and raised fret elements. Start with a rectangular base measuring 142mm in length, 40mm in width, and 3mm in thickness. At one end of the base, add a nut: a rectangular block 5mm wide and 2.4mm high. This nut should feature four semi-cylindrical stri...
Scale_length = 280; Num_Frets = 12; FB_length = 142; FB_width = 40; FB_thickness = 3; Fret_thickness = 1.25; Fret_height = 1.05; Nut_size = 5; Nut_height = 2.4; Groove_depth = .5; Groove_thickness = 1; color("yellow")cube([FB_length, FB_width, FB_thickness], center=true); translate([FB_length/2-((Nut_size/2...
glb/cad_2c0926372383.glb
Create a Customizable Card Stand by constructing a rectangular base and carving out a central void. Start with a solid block measuring 63mm in width, 14.6mm in depth, and 40mm in height. Inside this block, create a rectangular cutout centered on the X-axis. This hole should be 61mm wide and 12.6mm deep, starting from...
card_width = 57; card_thickness = 0.3; card_height = 80; number_of_cards = 40; front_lip = 4; back_lip = 4; wall_thickness = 2; gap = 2; showCards = false; t=card_thickness; stackSizeX = card_width; stackSizeY = card_thickness * number_of_cards; stackSizeZ = card_height; standSizeX = stackSizeX + (t * 2) + (...
glb/cad_acbf0456ef23.glb
Create a Makerfront i3ProXL Extended YStop Bracket with a thickness of 3mm. Start with a base rectangular block measuring 48mm in length (X) and 40mm in width (Y). At the front edge, create a central tab that is 3mm deep (X) and 6mm wide (Y). Within this tab area, carve out a rectangular slot for a nut that is 5.741m...
$fn=50; thick = 3.00; tx=3.00; ty=6.00; nutwidthgap=5.741; nutheightgap=4; tscrewgap=3.2; arb=10; wl=2.5; wd=1; x_length = 48; y_length = 40; xdfbtcsc = 5.14+ty/2+21.2/2; shl = 15; shd = 3.5; shdfbe = 8; shcdfb = 32; fillet_radius = 4; xAmountToRemove = 28; yAmountToRemove = 23; module fillet_BottomLeft(r, h) { ...
glb/cad_46788c9d11bd.glb
Create a Dragonborn Fighter sword by combining a blade and a hilt. For the blade, construct a long hexagonal prism with a height of 38.1mm and a radius of 1.5875mm, then add a smaller hexagonal prism on top of it with a height of 6.35mm and a radius tapering from 1.5875mm down to 0.05mm to form a pointed tip. Scale the...
scale(v = [0.5, 0.5, 0.5]) { union() { color("Silver", 1) { union() { translate(v = [0, 0, 12.7]) { scale(v = [0.5, 2, 1]) { cylinder(center = true, r1 = 1.5875, r2 = 1.5875, h...
glb/cad_bcfece4c752e.glb
Create a voxel-style greatsword composed of small cubic units. The sword consists of a blade, a crossguard, and a hilt. Construct the blade as a wide, flat rectangular slab approximately 145mm in length and 7mm in thickness. The blade should have a slightly irregular, stepped edge along its length to give it a rugged ...
translate(v = [0, 257, 0]) { scale(v = [1, -1, 1]) { union() { color([1, 1, 1], 1) { translate(v = [26, 3, -3.5]) { cube(size = [1, 1, 7], center = false); } } color([0.61960784313...
glb/cad_68b99f72e6ea.glb
Create a Square Gutter Scoop consisting of a flat rectangular base and a raised handle. Start with a base plate measuring 70mm in length, 71mm in width, and 1.5mm in thickness. On the left and right sides of this base, add two symmetrical walls. Each wall begins at the base edge with a thickness of 2mm and rises to a h...
$fn=30; module wall(l,t,h1,h2,tr,e=0) { hull() { translate([0,t-tr/2, h1]) rotate([0,90,0]) cylinder(r=tr/2, h=0.1); translate([l,t-tr/2, h2]) rotate([0,90,0]) cylinder(r=tr/2, h=0.1); hull() { cube([0.1,t,h1]); translate([l,0,0])cube([0.1,t,h2]); } translate([l+tr/2-t,t-tr/2,h2]) sphere(tr/2); ...
glb/cad_d520bed1acd6.glb
Create a replacement walker leg with a total thickness of 2mm. Start with a base shape formed by the convex hull of two circles: one with a radius of 4.35mm centered at the origin, and another with a radius of 5.4mm centered at [0, 11.45, 0]. Integrate a rectangular section into this hull, measuring 6.2mm wide by 18.2m...
cl = 0.2; pt = 1; fn = 32; msd = 6.1; msr = msd/2; lt = 2; lh = 17.5; wsd = 8.3; wsr = wsd/2; dmw = 15.6; hth = 1.25; gl = 9.5; gw = 6.2; module leg() { difference() { union() { linear_extrude(height=lt) { hull() { circle(r=msr+hth); translate([0,dmw-msr-wsr,0]) circle(r=wsr+h...
glb/cad_8cbd06a5de90.glb
Create a Zero Height LM8UU Bearing Holder. Start with a central block that is 24.2mm long to accommodate the bearing. Cut a cylindrical hole through the center of the block with a radius of 5mm (10mm diameter) to house the rod. Create a larger cylindrical cutout for the bearing with a diameter of 15.3mm and a length ...
include <ISOThread.scad>; b_length=24.2 ; b_dia= 15.3; dx=24; dy=18; angle=60; b_angle=30; bolt=3.6; nut=3.6; rod=8+2; zcutoff=0; boltlength=20-6-4-1-1; module holder(){ intersection(){ difference(){ translate([b_dia/2+3,0,0.5]) rotate([90,0,0])cube ([b_dia,b_dia+1,b_length+8-3],center=true); #rotate([90...
glb/cad_9ab262f026c4.glb
Create a birthday cake jewelry box consisting of a tiered base and a matching lid. For the base, create a cylinder with a diameter of 80mm and a height of 43mm. Hollow out the center to create a chamber 70mm in diameter and 40mm deep, leaving a bottom floor thickness of 4mm and a top rim width of 5mm. For the lid, con...
num_candles = 9; chamber_height = 40; chamber_diameter = 70; shelf_width = 2; shelf_height = 3; rim_width = 5; floor_thickness = 4; shelf_margin = 1.0; layer_width_scale = 0.7; layer_height_scale = 0.6; layer_height = chamber_height + shelf_height; bottom_diameter = chamber_diameter + 2 * rim_width; $fa = 2; $fs = ...
glb/cad_97bef835aef1.glb
Create a customizable nameplate plaque by starting with a rectangular base measuring 89mm wide, 32mm high, and 2mm deep. Carve a shallow rectangular recess into the top face of the base, leaving a 1mm border around the edges and reducing the depth of the center area to 1mm. Drill two circular holes with a radius of 2mm...
use <write/Write.scad> build_plate_selector = 1; line_1 = "John Doe"; line_2 = "2005-2006"; line_3 = "2005-2006"; plate_height = 32; plate_width = 89; plate_depth = 2; text_size1 = 8; text_size2 = 8; text_size3 = 6; intend = plate_width/2; rad1 = plate_height-(plate_height/3.45) ; rad2 = plate_height/2; rad3 = plate...
glb/cad_c2cf33b50e9f.glb
Create a smartphone clamp with a total height of 20mm and a wall thickness of 2.5mm. First, construct a U-shaped bracket to hold the phone. The main back piece is a rectangular slab 70mm wide and 20mm high. Attach two perpendicular side arms to the ends of this slab; each arm should be 9mm deep (matching the phone th...
smartphone_width=70; smartphone_thickness=9; bracket_height=20; thickness=2.5; clamp_rotation=0; clamp_gap=0.5; clamp_length=23; bracket_small_ends=5; clamp_angle1=20; clamp_angle2=30; clamp_centering_length=5; clamp_width=calc_wc(); clamp_height=calc_hc(); clamp_width_rotated=calc_wc_rotated(); clamp_height...
glb/cad_d48fd25e8935.glb
Create a Threaded Tube by constructing a hollow cylinder with an outer diameter of 19mm and a height of 100mm. The wall thickness is defined by an inner bore of 18.2mm. Add internal ISO metric threads to both the top and bottom openings of the cylinder. The threads should be female, with a root diameter of 17.5mm and...
render() { tube_ff(18,100,64); } module tube_mf(mdia, fdia, hi, sides) { $fn = sides; mp = get_coarse_pitch(mdia); mh = (cos(30)*mp)/8; mRmin = (mdia/2) - (5*mh); ms = 360/sides; mt = (hi-mp)/mp; mn = mt*sides; fp = get_coarse_pitch(fdia); fh = (cos(30)*fp)/8; fRmin = (fdia/2) - (5*fh); fs =...
glb/cad_c3550b3611d4.glb
Create a set of six pegboard hex driver adaptors. Each adaptor is a low-profile cylindrical disc with a total height of 6mm and an outer diameter of 25mm, using a 30-facet resolution. Centered through the entire height of each disc is a vertical cylindrical hole. For each of the six adaptors, the diameter of this centr...
Size1 = 6.5; Size2 = 5.5; Size3 = 4; Size4 = 3.5; Size5 = 3; Size6 = 2; InsideD = 19.5; OutsideD = 25; Thick = 3; Spacer(Size1); translate([OutsideD+2,0,0]) Spacer(Size2); translate([(OutsideD+2)*2,0,0]) Spacer(Size3); translate([0,OutsideD+2,0]) Spacer(Size4); translate([OutsideD+2,OutsideD+2,0]) Spacer(Size5); trans...
glb/cad_91d48849b2c7.glb
Create a Parameterized Propeller consisting of four identical blades radiating from a central hub. Each blade is a twisted, helical wing generated by rotating a profile around a central axis. For each blade, create a shape that extends 20mm radially from the center. The blades should be positioned every 90 degrees arou...
include <screwprop.scad>; screwprop(12, 2, 20, 3); rotate(a=[0,90,0]) {screwprop(12, 2, 20, 3);}; rotate(a=[0,180,0]) {screwprop(12, 2, 20, 3);}; rotate(a=[0,270,0]) {screwprop(12, 2, 20, 3);}; translate([0,1,0])rotate(a=[90,0,0]) cylinder(h = 3, r=2.1, $fn=60);
glb/cad_bfd8bfd190aa.glb
Create a Parameterized Propeller consisting of a central hub and attached blades. First, construct the hub as a cylinder with a radius of 2.5mm and a height of 3.3mm, centered on the origin. From this cylinder, remove four identical slots arranged every 90 degrees. Each slot is formed by a triangle with a base of 0.7...
include <screwprop.scad>; include <arc_seg.scad> module a_triangle(tan_angle, base, zdepth) { translate ([0,0,-zdepth/2]) linear_extrude(height=zdepth) { polygon(points=[[-base,0],[base,0],[0,base*tan(tan_angle) ]], paths=[[0,1,2]]); } } module capped_triangle(tan_angle, base, zdepth, h...
glb/cad_1659fc09b172.glb
Create a stone egg or sphere display stand by constructing a twisted heptagonal ring. Start with a heptagonal prism that has an outer diameter of 38.1mm and a height of 25.4mm. Apply a 33-degree twist to this prism along its vertical axis. From the center of this shape, remove a cylindrical core with a diameter of 31.7...
IN=25.4*1; sphere_diameter = 3; sd = IN*sphere_diameter; inside_diameter = 1.25; id=IN*inside_diameter; outside_diameter = 0.5; od=id+IN*outside_diameter; height = 1; h=IN*height; difference() { linear_extrude(height=h, twist=33) circle(d=od,$fn=7); translate([0, 0, -1]) cylinder(d=id, h=h+2); translat...
glb/cad_d3b5c87d7c63.glb
Create a PiCam camera mount consisting of a rectangular back plate with a thickness of 2.4mm, a width of 120mm, and a height of 70mm. At the top center of the plate, create a mounting area for the camera. This area is defined by two mounting holes spaced 45mm apart, each with a diameter of 3.8mm. In the center of the ...
$fn=100; plate_width = 120; plate_height = 70; plate_thickness = 2.4; mount_hole_distance = 45; camera_hole_distance = 20; bottom_cutout_distance = 100; back_plate_mount(); module back_plate_mount() { difference() { union() { hull() { translate([0,0,plate_thickness/2]) cube(size=[plate_...
glb/cad_b3cc3d49db0f.glb
Create a Circular Rainbow Loom consisting of a central ring and four vertical pins. Start by constructing a hollow cylindrical ring with an outer radius of 15mm, an inner radius of 7mm, and a height of 5mm. Position four identical vertical pins equally spaced around the ring at 90-degree intervals. Each pin is a holl...
include <utils/build_plate.scad> size = 15; inner_size = 7; pins = 4; notches = 1; notch_depth = 1.5; notch_height = 8; ring_height = 5; pin_height = 18; pin_radius = 4; pin_wall_thickness = 2; build_plate_selector = 0; build_plate_manual_x = 100; build_plate_manual_y = 100; build_plate(build_plate_select...
glb/cad_aa04de5f740b.glb
Create a Makerfront i3Pro Glass Bed Corner Bracket. Start by constructing a base plate with a thickness of 3.5mm. The overall footprint is formed by the union of two intersecting rectangular sections: one measuring 40mm by 13mm and another measuring 6.5mm by 35mm, meeting at a shared 6.5mm by 13mm corner block. Round...
$fn=50; platen_thick = 3.5; y_length = 35; y_thickness = 6.5; x_length = 40; x_thickness = 13; washer_diameter = 7.5; screw_diameter = 3.5; screw_radius_distance_from_glass_y = 7.6; screw_radius_distance_from_glass_x = 1.5; corner_round_diameter = 8; screw_suppport_thickness = 1; module xPartSmoothCylinder() { transl...
glb/cad_a5e3eacbdae9.glb
Create a Flashforge Creator Pro Super Duper Spool Hanger consisting of a main base, five spacers, and an end stopper. First, construct the base. Create a rectangular block 47mm wide and 65mm high. On one side, carve out a vertical slot 8mm wide and 15mm high to fit the printer wall. Add a small 6mm alignment bump to t...
hanger_width = 47; inner_tab_height = 15; slot_thickness = 8; hanger_height = 65; rod_tilt_angle = 3; nut_cavity_depth = 5; nut_cavity_diameter = 12.5; rod_pitch_angle = 1.0; hanger_wall1 = 3; hanger_wall2 = 5; hanger_wall3 = 6; spacer_lengths = [ 9, 9, 9, 9, 9 ]; spacer_id = 6.5; spacer_od = 11; spacer_c...
glb/cad_79a3c1a78f6e.glb
Create a TP-Link Mounting Plate by starting with a rectangular base measuring 66mm wide, 98mm deep, and 4mm thick. Carve a rectangular notch out of the bottom center of the base that is 20mm wide, 21mm deep, and 6mm high. Along the edge of this notch, add a small retaining lip consisting of two connected rectangular se...
translate([66,2,0]) mirror(0,1,0) union() { difference() { cube([66,98,4]); translate([23,-1,-1]) cube([20,21,6]); } translate([24,-2,3.2]) union() { cube([18,23,.8]); cube([18,2,2.8]); } $fn=16; translate([7,42,1]) peg(); translate([59,42,1]) peg(); } modul...
glb/cad_ba0fff3908e0.glb
Create a Raspberry Pi2 Mount starting with a rectangular base plate measuring 80mm by 85mm with a thickness of 4mm. Remove a rectangular section from the base measuring 16mm by 40mm starting at coordinates (8, 13.5) and another rectangular section measuring 65mm by 13mm starting at (8, 68). Additionally, remove four ci...
difference() { cube([80,85,4]); { translate([8,13.5,-1]) cube([16,40,6]); translate([8,68,-1]) cube([65,13,6]); translate([40,20,-1]) cylinder(r=10, h=6, $fa=1, $fs=0.5); translate([40,45,-1]) cylinder(r=10, h=6, $fa=1, $fs=0.5); translate([64,20,-1]) cylinder(r=10, h=6, $fa=1, $fs=0.5); translate([64...
glb/cad_fef3f071bc07.glb
Create a Var Bro Tire Lever tool. The main body is a curved arm with a thickness of 5mm and a height of 20mm. This arm is based on a ring with an outer radius of 205mm and an inner radius of 200mm, but only a partial arc is used, with the other half of the ring removed. At one end of the arc, integrate a hook feature....
$fa=.08; $fs=.08; difference() { cylinder(h = 20, r1 = 15/2, r2 = 15/2, center = true); #translate(v = [0, 0, -.1]) cylinder(h = 21, r1 = 6/2, r2 = 6/2, center = true); #translate([-4,0,-1])cube([8,4,24], center=true); } thickness=5; radius=200+thickness; height=20; degrees=25; step=20; translate([-45,(...
glb/cad_1c7c31db054a.glb
Create a Var Bro Tire Lever by constructing a curved, flat-profile tool with a total thickness of 5mm and a height of 18mm. The main body is a semi-circular arc with an outer radius of 305mm and an inner radius of 300mm. At one end of the arc, create a reinforced head by adding a cylinder with a 12mm diameter and 18m...
$fa=.04; $fs=.04; thickness=5; radius=300+thickness; height=18; step=18; degrees2=12.5; translate([0,-(radius+thickness/2),9]) cylinder(h = 18, r1 = 5/2, r2 = 5/2, center = true); translate([10,-(radius+thickness/2+1),9]) cylinder(h = 18, r1 = 5.5/2, r2 = 5.5/2, center = true); translate([4,-(radius+thicknes...
glb/cad_06b99da8035a.glb
Create a tessellating triangle mesh contained within a circular disk with a diameter of 140mm and a thickness of 1mm. The mesh is composed of repeating equilateral triangle units, each with an edge length of 5mm. Each triangle unit consists of a central equilateral triangle with a radius of approximately 2.887mm, wit...
triangle_edge_length = 5; hollow = false; spacing = 0.8; joint_width = 0.8; height = 1; diameter = 140; nudge = 0.0001; precision = 200; n_x = ceil(diameter / triangle_edge_length); n_y = ceil(diameter / triangle_edge_length); disc(); module disc() { linear_extrude(height = height, twist = 0, $fn = 1000) ...
glb/cad_6acd88de0168.glb
Create a Kossel Mini Cross Brace mount. Start with a rectangular base measuring 28mm in width, 15mm in height, and 5mm in thickness. In the center of this base, add a raised cylindrical section with a total diameter of 11mm and a height of 15mm. This cylinder should be centered at the 15mm height mark and oriented such...
use <nutsnbolts/cyl_head_bolt.scad>; frame_size = 15; block_width = 8; block_height = frame_size; flange_width = 10; flange_thickness = 5; block_thickness = 5; rod_diameter = 5; wall_thickness = 3; mount_hole_inner_diameter = 2.5; mount_hole_outer_diameter = 6.5; mount_countersink_depth = 3; frame_raw_height ...
glb/cad_8b277d5e14d7.glb
Create a rotating text bracelet consisting of a decorative outer ring and a supporting inner ring. First, construct the text ring. Create two concentric circular bands, each 2.5mm thick, positioned 10mm apart along the Z-axis. Between these bands, arrange the characters of the string "|PI|3.14159265358979323846264338...
chars = "|PI|3.141592653589793238462643383279502884197169399375105820974944592307816406286"; inner_radius = 35; font_size = 10; ch_thickness = 2.5; spacing = 0.8; seperated = "TRUE"; module text_ring(chars, radius, font_size, thickness) { ch_number = ceil(2 * 3.14159 * radius / font_size); angle_step = 360 / ch_numb...
glb/cad_7b6fd304de7e.glb
Create a cookie cutter in the shape of an F-117 Nighthawk aircraft. The model consists of a thin vertical wall that follows the aircraft's faceted silhouette, extruded to a total height of 10mm. The main cutting edge should have a thickness of 0.7mm. To provide stability and ease of handling, add a wider base rim at th...
h=10; t=0.7; h1=2; t1=3; cutter(); %translate([0,0,-1])cube(size=[100,100,1],center=true); module base(h){ translate([-10,-63,0])mirror([1,0,0])scale([0.6,0.6,1])rotate([0,0,45]) linear_extrude(file="nighthawk.dxf",height=h); } module cutter(){ difference(){ union(){ edge(height=h,thickness=t); edge(height=...
glb/cad_20221a6918fb.glb
Create a Sphere in Cube model. Start by constructing a solid cube with a side length of 50mm. Carve out three square prisms from the center of each face to create a wireframe cage. Each prism should have a cross-section of 41mm by 41mm and extend completely through the cube, leaving a frame thickness of 9mm for the edg...
include <shapes.scad>; $fn=50; maxSize=50; frameT=9; innerCubeSize=maxSize-frameT; union() { translate([-maxSize/2,-maxSize/2,-maxSize/2]) difference() { cube([maxSize,maxSize,maxSize]); translate([frameT/2,frameT/2,-e]) cube([innerCubeSize,innerCubeSize,maxSize+ee]); trans...
glb/cad_2c2d595f2962.glb
Create a "Sphere in cube" model by combining a hollowed-out cube and a central sphere. Start with a solid cube measuring 50mm on all sides. To create the wireframe effect, remove material from the center of each face using a smaller 45mm cube centered on each axis, but leave the 5mm thick edges intact. Additionally, re...
include <shapes.scad>; $fn=150; maxSize=50; frameT=5; innerCubeSize=maxSize-frameT; skewCubeSize=maxSize*0.6; union() { translate([-maxSize/2,-maxSize/2,-maxSize/2]) difference() { cube([maxSize,maxSize,maxSize]); translate([frameT/2,frameT/2,-e]) cube([innerCubeSize,innerCubeSize...
glb/cad_2aa7f81f7606.glb
Create a "Sphere in Cube" model. Start by creating a solid cube with a side length of 50mm. Inside this cube, remove material to create a hollow wireframe structure. The frame thickness for the edges of the cube should be 5mm. To create the open faces, remove a central square prism from each of the six faces; each cuto...
include <shapes.scad>; $fn=150; maxSize=50; frameT=5; innerCubeSize=maxSize-frameT; skewCubeSize=maxSize*0.6; union() { translate([-maxSize/2,-maxSize/2,-maxSize/2]) difference() { cube([maxSize,maxSize,maxSize]); translate([maxSize/2,maxSize/2,-e]) rotate([0,0,45]) ...
glb/cad_2c0f5c7161a4.glb
Create a "Sphere in Cube" model. Start by creating a solid cube with a side length of 50mm. Inside this cube, center a sphere with a diameter of 50mm. To create the wireframe effect of the outer cube, remove material from the center of each of the six faces. On each face, center a square cutout with a side length of ...
include <shapes.scad>; $fn=150; maxSize=50; frameT=5; innerCubeSize=maxSize-frameT; skewCubeSize=maxSize*0.6; supportLength=maxSize*0.78; union() { translate([-maxSize/2,-maxSize/2,-maxSize/2]) union(){ difference() { cube([maxSize,maxSize,maxSize]); translate([maxSize/2,maxSi...
glb/cad_0abd600388ae.glb
Create a Mega Battery Bike Light mount. Start by constructing a central rectangular base plate measuring 105mm in length, 8mm in width, and 4mm in height. At each end of this base plate, add a vertical rectangular bracket that is 10mm wide, 75mm tall, and 4mm thick. These brackets should be centered along the width of ...
$fn = 50; include <BarMount.scad> translate([0,0,0.5]){ } difference(){ union(){ color("Yellow"){ rotate([180,0,0]){ translate([-35,0,15]){ BarMount(); } translate([35,0,15]){ BarMount(); } } } translate([-35,0,-13]){ cube([10,75,4],center=true); translate([0,-38,14]){ ...
glb/cad_8abe9796d1c8.glb
Create a servo horn tester consisting of a rectangular bar measuring 10mm wide, 60mm long, and 5mm thick. Along the center length of the bar, create a series of seven circular holes, each centered within its own 10mm by 10mm segment of the bar. The holes should be drilled completely through the 5mm thickness. Starting ...
module servoholdertesterelement(step, radius) { echo(radius); translate([0, 10 * step, 0]) { difference() { cube([10, 10, 5]); translate([5, 5, -5]) cylinder(h = 15, r = radius); } } } module servoholdertester(startradius, steps, stepsize) { for (i = [0 : steps]) { servoholdertesterelement(i, startradi...
glb/cad_94fce10bd87e.glb
Create a heavy iPhone dock by starting with a base shape formed from a sphere scaled to 85mm wide, 70mm deep, and 140mm high. Flatten the bottom of this shape to create a stable base. Carve a central vertical slot to hold the phone, measuring 65mm wide and 13.5mm deep, extending from the top surface down into the body...
BuildDock(); $fn=50; ccs=200; cz = 200; cgy = 200; cy = 13.5; cx = 65; sz = 70; sy = 70; sx = 85; cdid = 15; fst = 4; ctab = 3; dz = 33 + cdid; lchd = 5.53; lchw = 10.5; lcwd = 4.55; lchrd = 13; lchz = 40; lcwz = 40; cd = 3.75; cp = 3.25; module SphereBase(){ scale([1,1.5,2.0]){ translate([0,0,0]){ sphere(d=sx...
glb/cad_78c670041da2.glb