Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Hand Crank Marble Lifter base by starting with a flat, circular disc 40mm in diameter and 2.5mm thick. Centered within this disc, create a vertical cylindrical hole with a diameter of 3.6mm that passes through the entire thickness of the base. Attached to the top surface of the disc, position a solid vertical ...
smoothing=100; screw_diameter=3.6; circle_diameter=40; difference(){ union(){ cylinder(h=2.5, d=circle_diameter, $fn=smoothing); translate([(circle_diameter/2)-((9.25-2.5)/2), 0, 2.5]){ cylinder(h=(20), d=6.5, $fn=smoothing); }; }; cylinder(h=(9.25), d=screw_diameter, $fn...
glb/cad_87efb927aa56.glb
Create a Y-shaped hose connector consisting of three identical radial arms meeting at a central hub. Each arm is a revolved profile with an outer diameter of 4mm and a wall thickness of 1mm, creating an internal bore of 2mm. The profile of each arm includes a main cylindrical body 15mm long, a middle section 4mm long w...
$fn = 100*1; od = 4; wall_thick = 1; barb_size = 0.8; length = 15; mid_diam = 6; mid_length = 4; y_angle = 90; center_diam = 1; cross_section = false; module create_profile() { id = od - (wall_thick*2); polygon(points=[[id/2,length],[mid_diam/2,length],[mid_diam/2,length+mid_length],[id/2,length+mid_length]]...
glb/cad_f099e5ceda50.glb
Create a GrowFlow NEMA 17 Peristaltic Pump connector by revolving a specific profile around a central axis to create a symmetrical, ribbed tube. The object consists of three main sections. The bottom section is a hollow cylinder with an outer diameter of 4mm, a wall thickness of 0.5mm, and a length of 15mm. Along thi...
$fn = 100*1; outer_diameter_1 = 4; wall_thickness_1 = 0.5; barb_size_1 = 0.5; length_1 = 15; outer_diameter_2 = 4; wall_thickness_2 = 0.5; barb_size_2 = 0.8; length_2 = 15; mid_diameter = 6; mid_length = 5; inner_diameter_1 = outer_diameter_1 - (wall_thickness_1*2); inner_diameter_2 = outer_diameter_2 - (wal...
glb/cad_c294438b8a8e.glb
Create a Collectible Pokemon Card Storage Box consisting of a base box and a lid. For the base box, create a rectangular shell with a wall thickness of 0.96mm. The outer dimensions should be 64.46mm wide, 86.14mm deep, and 89.46mm high. Hollow out the center to create a cavity that is 62.5mm wide and 84.18mm deep, le...
cardWidth=63.5; cardHeight=88.5; cardThickness=0.34; cardPerBox=250; cardBlockLength=cardThickness*cardPerBox; spaceAroundCard=0.25; spaceAroundLid=0.5; wallthickness=0.96; fingerCutout=30; boxOrLidOrLogo=0; logoFile=""; if (boxOrLidOrLogo==0) { mainLid(); } if (boxOrLidOrLogo==1) { mainBox(); } if (boxOrL...
glb/cad_b635f9846b32.glb
Create a collectible card storage box base. Start by constructing a solid rectangular block with a width of 64.96mm, a length of 171.46mm, and a height of 89.76mm. Hollow out the center of this block by removing a smaller rectangular volume starting 0.96mm from each edge, leaving a wall thickness of 0.96mm on all sides...
cardWidth=63.5; cardHeight=88.5; cardThickness=0.34; cardPerBox=500; cardBlockLength=cardThickness*cardPerBox; spaceAroundCard=0.25; spaceAroundLid=0.5; wallthickness=0.96; fingerCutout=30; boxOrLid=0; if (boxOrLid) { mainBox(); } else { mainLid(); } module mainBox () { difference() { Box(); ...
glb/cad_f7ca113ca25c.glb
Create an IKEA Ivar Mount for Minifig Hexagons. Start by creating a hexagonal prism with a depth of 32mm and an interior height of 60mm. The main body is a hollowed-out hexagonal shell with a wall thickness of 1.6mm. On the back side of the hexagon, integrate a mounting hook designed to fit over standard Ivar metal ro...
hex_type = 1; total_interior_height = 60; hexagon_depth = 32; LEGO_base = 0; LEGO_base_location = 1; baseplate_hole = 1; back_type = 1; mount_type = 0; top_connector = 0; top_right_connector = 1; bottom_right_connector = -1; bottom_connector = 0; bottom_left_connector = -1; top_left_connector = 1; slot_ga...
glb/cad_9583c6990a18.glb
Create an x-end-motor mount for a 3D printer. Start with a main base block measuring 17mm by 44mm by 53mm, centered. Integrate a motor shaft cutout consisting of a hexagonal prism with a 17mm radius and a height of 70mm, modified by several rectangular cutouts and angled slots to save material. Add a motor mounting se...
use <mk3s-x-end.scad> module x_end_motor_base() { x_end_base(); translate(v=[-15,31,26.5]) cube(size = [17,44,53], center = true); } module x_end_motor_endstop_base(){ translate([-23.5,-28.5,58]){ difference(){ cube([17,18.2,4]); translate([-1,10,10])rotate([-45,0,0])cub...
glb/cad_2c2c7418b128.glb
Create a 3D model of an x-end-motor mount. Start by creating a vertical cylinder with a height of 62mm and a radius of 7.4mm (diameter of 14.8mm). At the base of this cylinder, integrate a vertical rectangular plate that stands perpendicular to the cylinder's flat face. This plate should have a thickness of 6mm (two ...
use <polyholes.scad> bearing_diameter = 14.95; module horizontal_bearing_base(bearings=1){ translate(v=[0,0,6]) cube(size = [24,8+bearings*25,12], center = true); } module horizontal_bearing_holes(bearings=1){ cutter_lenght = 10+bearings*25; one_holder_lenght = 8+25; holder_lenght = 8+bearings*25; difference()...
glb/cad_7a02add22016.glb
Create a wheel spinning lock consisting of a central clutch, a shaft, and a wheel flange. Start by creating a cylindrical clutch with a diameter of 100mm and a height of 28.6mm. Remove a central hexagonal hole with a diameter of 29.5mm and a height of 30mm. Within the clutch body, create five sets of holes spaced eve...
fn=180; color("lightgray") axle19(); translate([0,0, -3.5+5.5]) color("blue") shaft(); translate([0,0, -7+7]) color("red") clutch(); translate([0,0, 20+14]) rotate([180,0,0]) WheelAssembly(); color("lightgray") translate([0,0,-140+10]) { translate([110,0,0]) cube([40,40,280], center=true); translate([110,175,0]...
glb/cad_b414581b0fe3.glb
Create a Gearbox for Infento by constructing the following geometric components: First, create a central shaft consisting of a cylinder with a diameter of 25mm and a total height of 74mm. Add a larger hexagonal collar to this shaft with a diameter of 29mm and a height of 40mm. Construct two toothwheel flanges. The fi...
fn=180; StickAssembly(); color("lightgray") axle19(); color("red") shaft(); translate([0,0, -15-22-9]) assembly1(); translate([0,0, +15+22+9]) rotate([180,0,0]) assembly2(); color("lightgray") { translate([110,0,0]) cube([40,40,280], center=true); translate([110,175,0]) cube([40,350,40], center=true); tran...
glb/cad_4f9eea3413e7.glb
Create a train wagon for rainbow blocks. The main body is a rectangular tray with an outer length of 149.5mm, an outer width of 41mm, and a total height of 17mm. The tray has a hollow interior measuring 141.5mm by 33mm by 13mm, leaving a wall thickness of 4mm on all sides. All exterior edges of the body must be chamfer...
length = 141.5; width = 33; height = 13; wheelDia = 40; h = 4; L = 2*h+length; W = 2*h+width; c= 1.0; test(); module test() { color_body = "silver"; color_wheel = "black"; color(color_body) trainBody(); color(color_body) translate([2*h+length+30, 0, 0]) trainBody(); color(color_wheel) translat...
glb/cad_8f0d5593c2f3.glb
Create an Infento pulley designed for 608 bearings by constructing a complex profile and revolving it 360 degrees around the Z-axis with a resolution of 180 facets. The profile begins with a central core that accommodates the bearing, featuring a width of 7mm and a height of 22mm. The outer geometry transitions from a ...
B_W = 7; B_H = 22; P_W = 40; P_D = 40; rotate_extrude($fn = 180) rotate([0,0,90]) polygon( points=[ [B_W+2,9/2], [B_W,B_H/2-4], [B_W,B_H/2], [1,B_H/2], [0,B_H/2+1], [0,P_D/2-1], [1,P_D/2], [5,P_D/2], [P_W/2-2,8], [P_W/2+2,8], [P_W-5,P_D/2], [P_W-1,P_D/2], [P...
glb/cad_eaba0c535689.glb
Create an excavator bucket by starting with a large triangular prism that has a 200mm diameter and a height of 200mm, using only three facets for the cross-section. Hollow out the center of this prism with a smooth cylinder 80mm in diameter and 200mm in height. To refine the outer shell, remove a smaller three-sided pr...
fn = 90; translate([0,0,150]) rotate([90,30,0]) { translate([70,-87,0]) difference() { union() { difference() { translate([-20,0,0]) cylinder(d = 200, h= 200, $fn = 3); translate([21,-100,-5]) cube([200,200,300]); } cylinder(d = 80, h= 2...
glb/cad_899b6347910b.glb
Create an excavator bucket by starting with a large triangular prism that has a 200mm diameter and a height of 200mm, defined by only three sides. Hollow out the center of this prism by removing a cylinder with a diameter of 80mm and a height of 200mm. To refine the outer shell, remove a smaller triangular prism with...
fn = 90; translate([0,0,150]) rotate([90,30,0]) { translate([70,-87,0]) difference() { union() { difference() { translate([-20,0,0]) cylinder(d = 200, h= 200, $fn = 3); translate([21,-100,-5]) cube([200,200,300]); } cylinder(d = 80, h= 2...
glb/cad_4ed6a1d7252c.glb
Create a webcam mount for an Ender 3 printer. Start with a square base plate measuring 40mm by 40mm with a thickness of 3mm. Drill two vertical holes through this base, each with a diameter of 5.5mm; position the first hole centered at x=30mm, y=10mm and the second at x=10mm, y=30mm. Attached to one side of the base,...
difference() { cube([40,40,3]); translate([30,10,-1]) cylinder(d=5.5,h=6,$fn=30); translate([10,30,-1]) cylinder(d=5.5,h=6,$fn=30); } difference() { union() { translate([0,40,0]) cube([6.5,6,3]); intersection() { translate([0,41,0]) cube([6.5,12,10]); translate(...
glb/cad_2f5ba7fcd4d8.glb
Create a webcam mount consisting of two identical arms connected by a hinge. Each arm is a flat, structural beam 6mm thick. The main body of each arm features a series of triangular cutouts for weight reduction, forming a truss-like pattern along its length. At the end of each arm, create a camera mounting platform. T...
arm_vertical(); arm_horizontal(); module arm_horizontal () { translate([0,132,0]) cube([20,12,6]); translate([0,14,0]) cube([3,130,6]); translate([17,14,0]) cube([3,130,6]); translate([17,27,0]) rotate([0,0,45]) cube([3,24,6]); translate([0,27+16,0]) rotate([0,0,-45]) cube([3,24,6]); transla...
glb/cad_c22b0e2189ee.glb
Create an Ender 3 all-in-one rear electronics case consisting of two mirrored main box sections, a left box and a right box, each 125mm wide, 130mm deep, and 42mm high. For the left box, create a shell with a front panel featuring a rectangular cutout for a display and a U-shaped cable cutout. On the rear panel, crea...
right_box(); color([0.7,0.7,0.7]) left_box(cable_cutout = false); color([0,0.7,0.7]) right_lid(); color([0.7,0.0,0.7]) left_lid(); module left_lid() { difference() { translate([-131,0,42]) cube([130.5,130,1]); translate([-121,3.5,40]) cylinder(d=3.5,h=12,$fn=30); translate([-125,115,41]...
glb/cad_7d17132c1063.glb
Create a Night mode LCD cover by starting with a solid rectangular base measuring 106.4mm wide, 68mm deep, and 4mm thick. From this base, remove a central rectangular section to create a frame. This cutout should be 83mm wide and 49mm deep, positioned 18mm from the front edge and 22mm from the side edges. The interior ...
w = 2; r = 3; box_w = 102.4+2*0.1; LCD_w = 73; LCD_h = 39; difference() { cube([box_w + 2*w, 19+LCD_h+8+w, 4]); translate([w+16-5,w+19-5,1]) cube([LCD_w+2*5,LCD_h+2*5,4]); translate([w+16+r,w+19+r,-1]) minkowski() { cube([LCD_w-2*r,LCD_h-2*r,6]); cylinder(r=r,h=6, $fn = 50); } } t...
glb/cad_6f10d90c8909.glb
Create a lamp shade holder by starting with a main cylinder that has an outer radius of 17.8mm and a height of 12mm. Hollow out the center of this cylinder with a hole of radius 14.8mm and a height of 13mm. To create an opening for the bulb, remove a rectangular section from the center of the cylinder measuring 60mm in...
$fn = 120; difference() { union() { difference() { cylinder(r = 14.8+3,h= 12); cylinder(r = 14.8,h= 13); translate([-30,-20,0]) cube([60,13,13]); } translate([-6,14.8,0]) cube([12, 8.4, 12]); } translate([0,14,6]) rotate([-90,0,0]) cylinder(d = 4...
glb/cad_35bbc59bc4e9.glb
Create a lamp shade for a long tube LED bulb by constructing a hollow vertical cylinder with an outer radius of 25mm and a height of 250mm. The wall thickness of this cylinder should be 1.8mm. To create the opening for the bulb, remove a rectangular section from the cylinder's volume using a centered cube with dimensio...
$fn = 120; difference() { cylinder(r = 25,h= 250); cylinder(r = 25-3*0.6,h= 251); translate([-30,0,0]) cube([60,60,251]); }
glb/cad_c8454c9341af.glb
Create a nut test rig by starting with a rectangular block measuring 32mm wide, 66mm long, and 6mm thick. From this block, remove a series of holes arranged in three distinct columns to test different nut sizes. In the first column, centered at x=7.5mm, create five holes spaced 12mm apart starting at y=6mm. Each hole...
rotate([180,0,0]) difference() { cube([32,66,6]); for (i=[0:4]) { translate([7.5,6+12*i,0]) union() { cylinder(d=5.5, h=10, $fn=120); translate([0,0,-1]) cylinder(d=10+0.25*i, h=5, $fn=6); } } for (i=[0:4]) { translate([17,12+12*i,0]) un...
glb/cad_05513f084be5.glb
Create a Shaker-inspired peg by generating a revolved profile. Start with a 2D shape consisting of a 10mm by 10mm square with a circle of 10mm radius centered at coordinates (13, 5) removed from it. Rotate this profile 360 degrees around the Z-axis to create a solid of revolution. Scale the resulting object by a factor...
$fn=120; scale([2,2,2.5]){ difference(){ rotate_extrude(angle=360, convexity=2){ difference(){ square([10,10]); translate([13,5])circle(10); } } cylinder(d=1.73,h=10); } translate([0,0,10]) scale([1,1,.3]) sphere(5); }
glb/cad_c0fbba9eec54.glb
Create a Kindle grab bars accessory for a 6.8-inch Paperwhite. Start by creating a central rectangular frame with a thickness of 2mm and an inner cutout measuring 95mm by 60mm. On each side of the frame, add a grip bar. Each bar is formed by a hull of two spheres with 15mm radii, spaced 80mm apart along the Y-axis, a...
paperwhite_edge_profile_path=[ [-3.73,4.98], [-3.56,4.93], [-3.4,4.87], [-3.24,4.79], [-3.17,4.73], [-3.1,4.66], [-3.04,4.59], [-2.98,4.5], [-2.93,4.4], [-2.88,4.28], [-2.85,4.15], [-2.82,3.99], [-2.8,3.82], [-2.8,3.64], [-3.28,3.64], [-3.48,3.64], [-3.66,3.62], [-3.84,3.58], [-4,3.54], [-4.15,3.48], [-4.29,3.4], [-4.4...
glb/cad_02dc9e54de86.glb
Create a pusher support post replacement consisting of a main rod and a cap. First, construct the main post as a cylinder with a diameter of 5mm and a total length of 28.7mm. At the base of this cylinder, add two rectangular "wings" that extend outward to a total width of 13mm, each with a thickness of 5mm and a dept...
post_dia = 5; depth_below_track = 10; track_to_levertop = 13; levertop_to_tray = 2; tray_to_capend = 6; track_thickness = 1.4; trackgripper_wingspan = 13; cap_wall_thickness = 1.3; cap_dia = 13; clearance = 0.1; spacing = 1; $fn=360; module tray_edge(){ translate([post_dia/2,-500,depth_below_track+track_to_leve...
glb/cad_203d357c1593.glb
Create a wrench for planetary gears consisting of a handle and a geared head. Start by creating a rectangular handle 145mm long, 25mm wide, and 3mm thick, with rounded edges using a 2mm radius. At one end of the handle, centered at the 150mm mark along the length, add a circular ring with an outer diameter of 33mm and ...
$fn=100; for(deg = [0 : 24 : 336]) { rotate(deg) { translate ([12.2, 0, 0]) cylinder(30,r=4.0); } } cylinder(30, r=10); cylinder(10, r=20); difference(){ union() { translate([0, -12.5, 3]) { rotate([0,90,0]) { minkowski() { ...
glb/cad_3d73a7c8561c.glb
Create a Customizable Speaker Spacer. Start by creating a main hollow cylindrical body with an outer diameter of 49.9mm, an inner diameter of 40mm, and a height of 5mm, centered on the origin. At the bottom base of this cylinder, add a clamping ring that extends inward from the outer wall to a diameter of 37.3mm (cal...
$fn = 256; D1 = 40; D2 = 49.9; Z = 5; CLAMP = 1.3; CLAMP_Z = 0.6; PCB = 18; WALL = .88; PATTERN = "cylinder"; HOLES = 10; DIAMETER = 10; ROTATE = 30; ALIGN = 1; DEBUG = false; CUT = "x"; module driver( d1 = 40, d2 ...
glb/cad_e5768bdea289.glb
Create a Parametric Fused Anderson Powerpole Distributor consisting of a main housing and a removable lid. The housing is a rectangular block with rounded corners (radius 4mm). The interior is hollowed out with a wall thickness of 4mm. On the top surface, create a series of cutouts to accommodate four Anderson Powerp...
plugs = 4; PP_s = 8.0; PP_x_h = 0.75; PP_x_w = 4.2; PP_x_l = 12.2; PP_l = 24.6; PP_a = 11; FC_w = 3.5; FC_l = 8; FC_h = 16.7; FC_h1 = 5.8; FC_h2 = 8.4; FC_d = 3.3; wall = 4; h_inner = 12; w_section = PP_s+8; w=2*PP_s+8+30+2*wall; l=wall*2+w_section*(plugs+2)-2; splitter(); *translate([w*1.5,wall,0]) lid(); m...
glb/cad_6693b123f425.glb
Create a Jackpost Hook designed to fit into a circular post. Start by forming a U-shaped body with a total height of 18mm and a thickness of 5mm. The base of the hook is a semi-circular arc with an outer diameter of 35mm and an inner diameter of 25mm, and a height of 18mm. From this base, extend two vertical arms upwar...
$fn=60; size = 30; odPost = 63; lenSlit = 5; holeD = 18; thick = 5; wall = 3.5; difference(){ union(){ translate([-10,size,holeD/2]) rotate([0,90,0]) cylinder(d=holeD, h=15); cube([thick,size,holeD]); translate([size,0,0]) cube([thick,size,holeD]); translate([size,size,holeD/2...
glb/cad_cfe605400db7.glb
Create a cable guide consisting of a hollow cylindrical tube and a flat rectangular base. The tube should have an inner radius of 10mm, a wall thickness of 1.5mm, and a total height of 20mm. Cut a vertical insertion slit into the tube that is 4mm wide; this slit should start at the top edge and extend downward, rotated...
guide_radius=10; guide_length=20; guide_thickness=1.5; base_width=19; slit_width=4; slit_rotation=-65; slit_twist=-90; screwhole_enabled=true; screwhole_diameter=3; screwdriver_hole_diameter=5; screwhole_countersunk_enabled=true; screwhole_countersunk_diameter=4; screwhole_countersunk_depth=1; $fn= $previe...
glb/cad_19c7b3458c87.glb
Create a rear seat release handle with a base measuring 57mm in length, 62.5mm in width, and 6.5mm in height. The base features a central hollow channel running along its length, formed by two outer walls 3.25mm thick. At the front end, integrate a cylindrical axle with an outer diameter of 15.3mm and an inner diameter...
$fn=100; width = 62.5; height = 6.5; length = 57; axle_outer_diameter = 15.3; wall_thickness = height/2; stopper_outer_diameter = 5.8; stopper_inner_diameter = 4.6; stopper_height = 5.5; stopper_x = 12 + stopper_outer_diameter; stopper_y = 13.5; stopper_y2 = width - stopper_y; hook_width = 6.2; hook_hole_diameter = 6....
glb/cad_9c788069bee0.glb
Create a non-destructive exhaust adapter for an SLA printer. Start with a square base plate measuring 120mm by 120mm with a thickness of 3mm. In the center of this plate, create a circular hole with a diameter of 101.5mm that passes completely through the plate. Around this central opening, construct a concentric cylin...
$fn=100; hose_true_diameter=101.6; hose_tolerance=0.1; hose_diameter=hose_true_diameter-hose_tolerance; hose_height=20; wall_thickness=3; adapter_width=120; adapter_height=120; screw_hole_spacing=105; screw_hole_diameter=4.5; difference() { cube([adapter_width, adapter_height, wall_thickness]); translate([ada...
glb/cad_00344a2158a9.glb
Create a non-destructive exhaust adapter for an SLA printer. Start by constructing a hollow rectangular box with rounded corners of 8mm. The outer dimensions of the box should be 280.5mm wide, 240mm deep, and 140mm high, with a wall thickness of 3.8mm. On one of the larger vertical faces, center a circular cutout wit...
$fn=100; border_radius=8; original_width=279.5; original_depth=239; height=140; wall_thickness=3.8; box_tolerance=1; width=original_width+box_tolerance; depth=original_depth+box_tolerance; adapter_tolerance=2; adapter_height=5; vent_hole_diameter=115; vent_screw_hole_spacing=105; vent_screw_hole_diameter=4.5; modul...
glb/cad_ba91d2411f64.glb
Create a patio umbrella base glide consisting of an oval base plate and a centering pin. Start with an oval base plate 122mm wide, 61mm deep, and 7mm thick. In the center of this plate, create a vertical hole 61mm in diameter and 4mm deep. Within this central area, position a pin assembly. The pin consists of a cylin...
pin_diameter = 7; pin_length = 10; straight_length = 8; top_diameter= pin_diameter -2; taper_length = pin_length - straight_length; pinx = -120; piny = 0; head_diameter = 15; head_thickness = 2; ID = 61; wall_ht = 4; base_diameter = 2*ID; base_thickness = 7; clearance= 0.4; ID = 61; wall_ht = 4; hole1x = 45; hole...
glb/cad_68a2b563509d.glb
Create a patio umbrella base glide consisting of a quarter-circle mounting block and a small cylindrical boss. Start by creating a solid cylinder with a radius of 89mm and a height of 7mm. From this cylinder, remove a 90-degree quadrant to leave a quarter-circle base. At the inner corner of this quarter-circle, creat...
arc_radius = 89; pattern_height = 7; corner_edge_thickness = 5; corner_edge = 50; corner_height = 20; bossx = 24.7; bossy = 24.7; boss_ht = 5; boss_dia = 8.4; ID = 61; wall_ht = 4; gap = 7.5; trim_length = 200; trim_height = 40; L = arc_radius - gap - ID/2; pos_x = L*cos(45); pos_y = pos_x; echo("L = ",L," pos_x =...
glb/cad_db4b59f5d602.glb
Create a Bahtinov Mask for a telephoto lens. Start by constructing a hollow cylindrical ring with an outer diameter of 96mm, an inner diameter of 92mm, and a total height of 18mm. On the face of this ring, create a grating pattern with a thickness of 2mm. This pattern consists of three sets of parallel bars, each 0.8...
height = 18; inner_dia = 92; free_aperture = 77; thickness = 2.0; grating_width = 0.8; grating_gap = 1.6; min_wt = 3.0; $fn=300; outer_dia = inner_dia + 2*thickness; module mask() { number = outer_dia/(grating_width+grating_gap); number_diag = (outer_dia/cos(45))/(grating_width+grating_gap); translate...
glb/cad_905ecd7d6f1f.glb
Create a Nespresso Venting Adapter by starting with a truncated cone that has a base diameter of 21.5mm, a top diameter of 17.5mm, and a height of 20mm. Bore a vertical hole through the center of this cone with a diameter of 7mm. To create the syringe attachment, subtract a smaller cylinder with a diameter of 4.5mm and...
include <BOSL2/std.scad> $fn = 90; o = 0.01; lowerDia = 21.5; upperDia = 17.5; length = 20; syringeDia = 4.5; syringeLenght = 10; syringeOffset = 5.5; holeDia = 7; difference() { cylinder(d1=lowerDia, d2=upperDia, l=length); move([syringeOffset,0,-o]) cylinder(d=syringeDia, l=syringeLenght); up(syringeL...
glb/cad_30450bd79413.glb
Create a small desk nameplate by starting with a rectangular base measuring 130mm in length, 2mm in height, and 15mm in width. Centered atop this base, add the text "VIVIENNE" using a bold sans-serif font. The letters should be 20mm in size and extruded to a height of 5mm, positioned 1mm above the base surface. To refi...
include <./BOSL/masks.scad> difference() { union() { cube([130,2,15]); translate([1,1.999,5]) color("pink") linear_extrude(5) { text("VIVIENNE", font="Arial:style=Bold", size=20, direction="ltr", $fn=100); } } translate([65,2,0]) chamfer_mask_x(l=130,chamfer=1); translate([65,2,15]) cham...
glb/cad_e5ff32ca2a8f.glb
Create a vertical box for a 2.4" LCD with a main body and a separate lid. The main body is a rectangular shell with outer dimensions of 60mm x 86mm x 55mm and a wall thickness of 2.4mm. The corners of the body are rounded with a 5mm radius. The top edges of the body are sloped by 12mm. Inside the body, create four mo...
velikost_x = 60; velikost_y = 86; velikost_z = 55; material = 2.4; mezera = 0.2; zavit_prumer = 3; zavit_delka = 5; zaobleni = 5; sklon = 12; viko_sroub_t = 6.2; lcd_x = 40; lcd_y ...
glb/cad_6f2ca2cc5efe.glb
Create a set of three separate threaded components with a common diameter of 8mm. First, create a male screw thread with a diameter of 8mm and a total length of 15mm. Second, create a female nut thread with a diameter of 8mm and a length of 7mm. Third, create a threaded hole (a hollow cylinder with internal threa...
drawrod=1; drawnut=1; drawhole=1; diameter=8; lengthrod=15; lengthnut=7; if(drawrod==1)thread_for_screw(diameter=diameter, length=lengthrod); if(drawnut==1) translate([diameter,1.5*diameter,0]) thread_for_nut(diameter=3, length=5); translate([diameter,2.5*diameter,0]) thread_for_hole(diameter=3, length=5); stddiv...
glb/cad_ec0201371a06.glb
Create a drilling template consisting of a rectangular base with two raised side walls. Start with a solid rectangular block measuring 42mm in width, 50mm in length, and 5mm in total height. Remove a central rectangular section from the top to create the walls, leaving the outer walls 2mm thick and the interior floor 2...
Breite_Innenmass = 38; Laenge = 50; Wandstaerke = 02; Wandhoehe = 03; Bodendicke = 02; Lochdurchmesser = 04; Lochabstand = 40; Kreissegmente = 128; difference() { cube([Breite_Innenmass+2*Wandstaerke,Laenge,Wandhoehe+Bodendicke],center=true); translate([0,0,Bodendicke]) cube([Breite_Innenma...
glb/cad_4a63e24d2b83.glb
Create a drilling template by starting with a solid rectangular block measuring 42mm wide, 50mm long, and 5mm high. Hollow out the center of this block to create an open-topped tray with a flat floor and two side walls. The interior cavity should be 38mm wide, 50mm long, and 3mm deep, leaving a floor thickness of 2mm a...
Width_inner_dimension = 38; Length = 50; Wall_thickness = 02; Wall_height = 03; Floor_thickness = 02; Hole_diameter = 04; Hole_spacing = 40; Circle_segments = 128; difference() { cube([Width_inner_dimension+2*Wall_thickness,Length,Wall_height+Floor_thickness],center=true); translate([0,0,Floor_thick...
glb/cad_02022f6a9a8b.glb
Create a horizontal box for a 2.4" LCD with outer dimensions of 93mm x 60mm x 55mm. The box walls should be 2.4mm thick with 5mm rounded corners. The top edges of the box are not flat; they slope inward by 12mm along the Y-axis. Hollow out the center to create the main cavity, but leave a rectangular opening on the bo...
velikost_x = 93; velikost_y = 60; velikost_z = 55; material = 2.4; mezera = 0.2; zavit_prumer = 3; zavit_delka = 5; zaobleni = 5; sklon = 12; viko_sroub_t = 6.2; lcd_x = 54; lcd_y ...
glb/cad_12400730a68f.glb
Create a Customizable Phone Wireless Charger Stand. Start by constructing a phone holder that is 62.5mm wide, 15mm deep, and 95mm high. Tilt the main holder body backward by 20 degrees. Within this holder, create a central void to accommodate a phone of 78.6mm width, 150mm height, and 12mm depth, and a cylindrical cuto...
HAS_PHONE_STAND = true; HAS_WATCH_STAND = false; WATCH_STAND_POSITION = "Behind"; HAS_AIRPOD_CASE_ADAPTOR = false; CABLE_EXITS_BACK = true; CABLE_EXITS_LEFT = true; CABLE_EXITS_RIGHT = true; PHONE_WIDTH = 78.6; PHONE_HEIGHT = 150.; PHONE_DEPTH = 12; PHONE_CHARGER_WIDTH = 57.5; PHONE_CHARGER_DEPTH = 9.25; SOUNDBOX_HE...
glb/cad_da1aebf152ee.glb
Create a Ruler Marking Gauge by starting with a solid rectangular block measuring 8mm wide, 50mm deep, and 35mm high. Centered within this block, remove a vertical rectangular slot that is 0.7mm wide and 37mm high to accommodate a steel ruler, ensuring the slot is centered along the 8mm width. At the top of this slot, ...
$fn=50; ruler_width = 14.2; ruler_height = 0.7; difference() { cube([8, 50, 35], center=true); cube([ruler_height, ruler_width, 37], center=true); translate([0.25, 0, -18.5]) linear_extrude(37) polygon([ [0, (ruler_width / 2 - 4.5) * -1], [0, (ruler_width / 2 - 4.5)], ...
glb/cad_394da0c0c042.glb
Create a filament spool holder hatch box and spacer. Start by creating a main outer cylinder with a diameter of 60mm and a height of 1.5mm. From the center of this base, remove a smaller concentric cylinder with a diameter of 18.5mm and a height of 3mm. Around the inner wall of this central void, place eight small cyli...
$fn=100; module rahmen_aussen(); { difference() { cylinder(16, 26.4, 26.4); cylinder(17, 25.4, 25.4); } } module rahmen_innen(); { difference() { cylinder(7, 11.5, 11.5); cylinder(8, 9.1, 9.1); } } union() { difference() { cylinder(1.5, 30, 30); ...
glb/cad_d078ac7740d3.glb
Create a Verbatim hatch box and spacer for a filament spool holder. Construct a main outer cylinder with a diameter of 22mm and a height of 25mm. At the base of this cylinder, add a wider, thinner circular flange with a diameter of 26mm and a height of 3mm. Finally, create a hollow center by removing a cylindrical core...
$fn=50; difference() { union() { cylinder(25, 11, 11); cylinder(1.5, 13, 13); } translate([0, 0, -1]) cylinder(27, 9.5, 9.5); }
glb/cad_520dfe2d9daf.glb
Create a filament spool holder hatch box and spacer. Start by creating a main outer cylinder with a diameter of 60mm and a height of 1.5mm to serve as the base flange. Centered on this base, build a larger vertical cylinder with a diameter of 51.8mm and a height of 16mm. This vertical cylinder should be hollow, with an...
$fn=100; module rahmen_aussen(); { difference() { cylinder(16, 25.9, 25.9); cylinder(17, 24.9, 24.9); } } module rahmen_innen(); { difference() { cylinder(7, 11.5, 11.5); cylinder(8, 9.1, 9.1); } } union() { difference() { cylinder(1.5, 30, 30); ...
glb/cad_f28ff0d3a905.glb
Create a transceiver mount for an FTM-300 radio. Start with a rectangular base plate 109mm by 142mm with rounded corners of radius 7mm and a thickness of 7mm. On the top surface of the base, add two centered rectangular mounting studs. Each stud is a hull of two cylinders with a radius of 15mm and a height of 22mm, p...
battery_x=151; battery_y=64; battery_z=95; stud_position_x=61; side_cut_out_x=51; side_mount_width=50; side_cut_out_screw_distance=side_mount_width-10; bar_offset=4; transceiver_bottom(0,0); *transceiver_side(side_cut_out_x,4,90,0); *transceiver_side(side_cut_out_x,142-4,90,1); *transceiver_topbar(side_cut_out_x+6,0...
glb/cad_38fcaaf8ff6e.glb
Create a knife stand consisting of a main block and a supporting foot. The main block is a rectangular prism with a width of 100mm, a depth of 28.5mm, and a height of 114mm. The front face of the block is angled at 108 degrees. Within this block, create six identical slots for knives. Each slot is a tapered void star...
handlew=12; handled=21; bladew1=1.4; bladew2=0.3; bladed=18.5; bladel=104; sep=5; number=6; angle=108; blockd=bladed+10; blockh=bladel+10; blockw=number*handlew+(number+1)*sep+10; module blockstand(h=10,w=10,d=10){ an=atan(h/d); difference () { cube([w,d,h]); translate([-1,0,h]) rot...
glb/cad_2735d208d888.glb
Create a key model consisting of a circular bow and a linear shaft. Start by creating a circular bow with a diameter of 20mm and a thickness of 3mm. Center a 5mm diameter hole in the bottom half of the bow. From the top edge of the bow, extend a shaft 28mm long with a height of 3mm. The shaft's cross-section should be ...
SHAFT_LENGTH = 28; BOW_FLAT = 9; KEY_HEIGHT = 3; module keyShaftEnd(length){ difference(){ keyShaft(length); translate([-5,-5,length-4]) rotate([35,0,0]) cube([15,10,10]); } } module keyShaft(length){ linear_extrude(height=length) polygon([[-0.5,0],[-0.5,KEY_HEIGHT],[...
glb/cad_3be1f803b0c7.glb
Create a padlock consisting of three separate components, each with a thickness of 10mm. First, create the shackle bow as a semi-circular arc with an inner radius of 6.4mm and an outer radius of 15.6mm, spanning 180 degrees. Second, create a left shackle piece as a rectangular block measuring 9.2mm wide and 33mm long; ...
use <MCAD/2DShapes.scad> use <util.scad> use <bearing.scad> $fn=100; SNUGNESS = 0.4; SHACKLE_WIDTH=10-2*SNUGNESS; INNER_RADIUS = (6+6+coreDiameter())/2+SNUGNESS; OUTER_RADIUS = INNER_RADIUS + SHACKLE_WIDTH; CATCH_LENGTH = 32; module shackleBow(height){ linear_extrude(height = height){ donutSlice(INNER_RADIUS,...
glb/cad_1d8b11549b80.glb
Create a cylinder with a diameter of 9.8mm and a height of 10mm. On the top surface of this cylinder, add a rectangular block measuring 4mm in width, 2mm in depth, and 3mm in height, positioned so that it extends from the top edge.
BEARING_SIZE = 10-0.2; module bearing(){ cylinder(d=BEARING_SIZE,h=10,$fn=100); } bearing(); translate([1,-1,10]) cube([4,2,3]);
glb/cad_dd82440d394d.glb
Create a padlock body by starting with a rounded box that has a width of 30mm, a depth of 20mm, and a height of 20mm, with corner radii of 2mm. From this main body, remove several geometric voids to create the internal mechanism. First, create a cylindrical hole for the pins holder with a diameter of 2.2mm and a length...
include <MCAD/boxes.scad> use <util.scad> $fn = 100; PINS_HOLDER_DIAMETER = 2.2; SNUGNESS = 0.25; module bearingHole(){ space(SNUGNESS) hull(){ cylinder(d=10, h=padlockHeight()); translate([10+coreDiameter(),0,0]) cylinder(d=10, h=padlockHeight()); } } difference(){ translate([padlockW...
glb/cad_e7a753afa58d.glb
Create a padlock core consisting of two stacked cylindrical sections. First, create a base lip cylinder with a diameter of 22mm and a height of 2mm. Directly on top of this lip, center and place a second cylinder with a diameter of 20mm and a total height of 48mm. From this combined solid, remove several geometric fea...
$fn=100; CORE_HEIGHT = 15+6+25+2; LIP_HEIGHT = 2; SNUGNESS = 0.2; use <key.scad> use <bearing.scad> use <util.scad> module core(){ cylinder(d=coreLipDiameter(),h=LIP_HEIGHT,center=false); translate([0,0,LIP_HEIGHT]) cylinder(d=coreDiameter(),h=CORE_HEIGHT,center=false); } module cutCore(){ PIN_LENG...
glb/cad_ba6dc59bfa62.glb
Create a padlock model consisting of a main body and a shackle. For the body, construct a rounded box with a width of 20mm, depth of 10mm, and height of 2mm, using a corner radius of 2mm. Within this body, carve out a central shackle cavity that is 9.5mm wide, 17.5mm deep, and extends vertically. On the side of the b...
include <MCAD/boxes.scad> use <util.scad> $fn = 100; PINS_HOLDER_DIAMETER = 2.2; SNUGNESS = 0.5; module bearingHole(height){ difference(){ hull(){ cylinder(d=10-SNUGNESS, h=height); translate([10+coreDiameter(),0,0]) cylinder(d=10-SNUGNESS, h=height); } trans...
glb/cad_934afa85687c.glb
Create a lock cylinder cover by starting with a rectangular base block that is 40mm wide, 50mm deep, and 4mm high. Centered within this block, remove a vertical hole consisting of two connected cylinders to create a keyhole-shaped void. The first cylinder has a radius of 5.25mm and is positioned at the top of the void....
$fn=100; height = 4; radiusSmall = 5.25; radiusLarge = 8.75; diameterSmall = 10.5; diameterLarge = 17.5; maxInnerLength = 33; width = 40; depth = 50; module doorCylinder(innerHeight) { translate([0, radiusSmall, 0]) cylinder(h=innerHeight, r=radiusSmall, center=false); translate([-radiusSmall, radius...
glb/cad_2715deffe3b6.glb
Create a poop bag holder for a dog leash. The object is a flat, elongated body with a thickness of 5mm. The main body is formed by a hull connecting several cylinders: a 20mm diameter cylinder at the origin and a 30mm diameter cylinder positioned at x=18mm, extending to a final point at x=100mm where a 20mm diameter cy...
$fn=80; th=5; chamfer=1.5; keyhanger_r=12; slit_start = 39; slit_end = 100; difference(){ body(); translate([18,-11.2,0])rotate(-4)scale([0.7,1.1,1])latch2(0.3,3.5); } module latch2(s,rr){ render(){ rotate(-35)difference(){ translate([0,0,0])cylinder(d=rr,h=th+1,center=true); transla...
glb/cad_4ec6eeeb4514.glb
Create a Cullmann Clamp Magic Insert replacement part by constructing a hollow cylindrical tube with a thin base lip. Start by creating a main cylinder with an outer diameter of 69mm and a height of 30mm. Remove a concentric inner cylinder from this shape with a diameter of 55mm to create a tube wall, ensuring the hole...
radius_outer = 34.5; radius_lip = radius_outer + 5; radius_inner = 27.5; depth = 30; depth_lip = 2; $fn = radius_outer * 16; difference() { translate([0, 0, -depth_lip]) { cylinder(depth_lip, d = radius_lip); } translate([0, 0, -.5 * depth]) { cylinder(depth * 2, d = radius_inner); }...
glb/cad_6d6f0952d0d5.glb
Create a LiPo 18650 End Cap by constructing a solid block with rounded corners and four hollow cylindrical bores. Start by creating a convex hull that encompasses four cylinders, each with a diameter of 21mm and a height of 20mm. These four cylinders should be positioned at the corners of a square with a side length of...
$fn=60; outerD = 21; innerD = 19; height = 20; shift = 19; difference(){ hull(){ cylinder(d=outerD,h=height); translate([shift,0,0])cylinder(d=outerD,h=height); translate([0,shift,0])cylinder(d=outerD,h=height); translate([shift,shift,0])cylinder(d=outerD,h=height); } translate([0,0,2])cylinder(...
glb/cad_43bbf3f96c30.glb
Create a pull-out box insert by constructing a hollowed-out container with a height of 110mm. First, create the outer shell by forming a convex hull around four primary points: two thin vertical pillars located at the front-left and front-right corners (at coordinates [0,0] and [0,110] on the XY plane) and two cylinder...
$fn=80; difference() { union()hull(){ translate([0,0 ,0])rotate([ 4.2,0,0])cube([0.1,0.1,110]); translate([0,110,0])rotate([-4.2,0,0])cube([0.1,0.1,110]); translate([104,17,0])rotate([4.2,4.2,0])cylinder(r=17, h=110, center=false); translate([104,110-17,0])rotate([-4.2,4.2,0])cylin...
glb/cad_eb93aac81850.glb
Create a Scharfenberg coupling for H0 scale model trams. Start with a linkage arm consisting of a cylinder with a 4.5mm diameter and 1.5mm height, merged with a rectangular block measuring 16.5mm by 1.5mm by 1.5mm. Center a 2mm diameter hole through the cylinder. At the end of the arm, construct the coupling head. Thi...
$fn=100; difference() { union() { translate([0, -0.75, 0])cube([16.5, 1.5, 1.5]); cylinder(d=4.5, h=1.5); } translate([0,0,-0.25])cylinder(d=2.0, h=2.0); } translate([12.5, 0, -0.25])cylinder(d=2.5, h=0.25); translate([12.5, 0, 1.5])cylinder(d=2.5, h=0.25); translate([12.5, -1.25, -0.25])c...
glb/cad_0e6151b847d2.glb
Create a card tray and attached rear box for a deck of cards. The main tray should have an interior space of 89mm by 58mm, with walls 2mm thick and a total height of 26mm. The front of the tray should be rounded with a radius of 14mm. The floor of the tray should slope from 2mm thick at the back to 6mm thick at the fro...
wall_thickness = 2; card_width = 89; card_length = 58; card_length_margin = 1; tray_card_width_margin = 2.5; tray_depth = card_width + tray_card_width_margin + wall_thickness; tray_height = 26; tray_front_radius = 14; tray_rear_floor_height = 2; tray_front_floor_height = 6; create_front_finger_cutout = "Yes";...
glb/cad_d961769ab734.glb
Create a Customizable Pole Mounting Clamp. Start by creating a semi-circular strap with a thickness of 4mm and a width of 10mm, designed to wrap around a pole with a diameter of 30mm. The outer radius of this curved section is 19mm. Extend the strap into a flat front face that is 2mm thick. This face should be a recta...
pole_dia = 30; strap_thickness = 4; strap_width = 10; face_thickness = 2; clamp_gap = 1; clamp_thickness = 5; top_hole = 4.8; bottom_hole = 3.25; relief_slots = 1; slot_depth = 50; face_holes = 3; face_hole_size = 3.25; pole_rad = pole_dia/2; outer_rad = pole_rad + strap_thickness; clamp_outer = outer_rad +...
glb/cad_95f423f38046.glb
Create two parametric lens filter caps. Each cap starts with a base cylinder having an outer diameter of 69mm and a height of 4.5mm. The base is a truncated cone, tapering slightly from the outer diameter to a smaller bottom diameter. For the first cap, add a metric thread with a diameter of 62.4mm, a pitch of 0.75mm,...
use <threads.scad> filter_size = 62; outer_diameter = filter_size + 7; thread_pitch = 0.75; floor_thickness = 2; label = [str(filter_size), "VND"]; text_size = 14; $fs = 0.5; module multiLine(lines, size){ translate([0, ((len(lines)/2)-1)*(size + 2)+2,0]){ echo((len(lines)/2)); union(){ for (i = [0 ...
glb/cad_b6f5bb0ba9d7.glb
Create a Parametric Butt Hinge consisting of two leaves joined by a central knuckle joint. Each leaf should be 32.5mm wide, 60mm long, and 5mm thick. For the knuckle joint, create a central cylinder with a diameter of 10mm. Divide this cylinder into 3 alternating knuckles (male and female) to allow the leaves to inter...
C_CONSTANT = 0 + 0; C_NONE = C_CONSTANT + 0; C_FEMALE = C_CONSTANT + 0; C_MALE = C_CONSTANT + 1; SCG_OVERLAP = C_CONSTANT + 0.01; C_NEGATIVE = C_CONSTANT + 0; C_POSITIVE = C_CONSTANT + 1; C_CIRCULAR = C_CONSTANT + 0; C_SQUARE = C_CONSTANT + 1; C_HEXAGONAL = C_CONSTANT + 2; C_FUNCTION_LINEAR = C_C...
glb/cad_225b871a54ac.glb
Create a protective case for an HSE2 868 BS remote. Start with a rectangular block measuring 28mm wide, 54.5mm long, and 5.5mm high, ensuring all exterior corners and edges are rounded with a 5mm radius. Hollow out the center to create a shell, leaving a wall thickness of 2.5mm on the sides and a base thickness of 2mm....
$fn=50; difference() { minkowski() {cube([23,49.5,5.5]); cylinder(d=5,h=0.001);}; union() { minkowski() {translate([0.0,0.0,3.5]) cube([23,49.5,3.0]); cylinder(d=3,h=0.001);}; translate([-0.5,-0.5,1.5]) cube([24,50.5,16]); } translate([11.5,2.0,0.4]) cylinder(h=3,d=3); translate([9.5,10.5,-0.1]) ro...
glb/cad_97b00b68a354.glb
Create a protective case for an HSE2 868 BS remote. Start by constructing a rounded rectangular base with outer dimensions of 28mm by 54.5mm and a total height of 7mm. The corners of this base should be rounded with a 5mm radius. Create a hollow interior cavity by removing a rectangular block measuring 24mm by 50.5mm w...
$fn=50; difference() { union() { minkowski() {cube([23,49.5,5.0]); cylinder(d=5,h=0.001);}; minkowski() {translate([0.0,0.0,5.0]) cube([23,49.5,2.0]); cylinder(d=3,h=0.001);}; } translate([-0.5,-0.5,1.5]) cube([24,50.5,16]); } translate([3.25,3.0,1.5]) cylinder(d=4.5,h=1.5); translate([3.25,3.0,1.5]) ...
glb/cad_911511eb621f.glb
Create a 5-letter word lock dial consisting of a series of concentric rings and recessed characters. Start by creating a main outer ring with a diameter of 23.41mm and a width of 6.01mm. Hollow out the center with a cylinder of 20.41mm diameter. On the outer face of this ring, place ten equally spaced rectangular bloc...
Text = "KBCDEFGHIJ"; Rotate_Text = 90; Depth = 0.7; Font = "Arial: style=Bold"; Font_Size = 6; Ring_Diam = 20.41; Inner_Diam = 17.21; Inner_Ring_Diam = 19.11; Ring_Width = 6.01; Ring_Rad = Ring_Diam/2; Inner_Rad= Inner_Diam/2; Gaps = 3.31; Inner_Ring_Circum = ((Inner_Ring_Diam)*PI); Inner_Block_Width...
glb/cad_95f883596543.glb
Create a parametric battery dispenser designed for D-cell batteries. The main body is a rectangular box with a length of 80mm, a width of 66.4mm (calculated as the battery length of 60.5mm plus walls and tolerances), and a total height of 101.4mm. The walls are 2.4mm thick. The interior consists of a series of stacked...
AAALength = 44.5; AAADiam = 10; AALength = 50.5; AADiam = 14; CLength = 49.5; CDiam = 25; DLength = 60.5; DDiam = 33; cellLength = DLength; cellDiam = DDiam; boxLength = 80; boxMaxHeight = 100; wallThick = 2.4; backWallThick = 3.0; lengthTol = .5; diamTol = 1; rampAngle = 4.5; slotThick = cellDiam + diamTol; boxWid...
glb/cad_854729662e8e.glb
Create a park bench model at a 1:25 scale. Construct two identical side supports. Each support consists of a U-shaped frame made of cylinders with a radius of 2.4mm (60mm scaled). The frame features a semi-circular top arch with a radius of 10mm (250mm scaled) that connects two vertical legs, each 17.2mm (430mm scale...
sh = 430; st = 250; rd = 60; bd = 60; bt = 130; bl = 1800; masstab = 25; what = 1; toleranz = 1010; $fn=60; eps=0.01; if (what == 0) scale([1/masstab, 1/masstab, 1/masstab]) PrintElemente(); if (what == 1) rotate([90, 0, 0]) scale([1/masstab, 1/masstab, 1/masstab]) PrintParkbank(); if (what == 2) rotate([90,...
glb/cad_eb68964af4a0.glb
Create a magnet holder for a crane arm by constructing a composite geometric shape based on a 20mm diameter. Start with a sphere of 20mm diameter, but truncate it so only the bottom portion remains, specifically keeping the section from the bottom up to a height of 8mm. To this base, add a cylinder with a 20mm diameter...
include <MCAD/units.scad> $fa = 6; $fs = 0.25; dia = 20; cyl_height = 5; cyl_wall = 2; flat = 2; hole_dia = 2; knot_hole_dia = 4; knot_hole_depth = 4; difference() { union() { intersection() { translate([0, 0, dia/2-flat]) sphere(d=dia); translate([-dia/2, -dia/2, 0]...
glb/cad_bca03e1431ab.glb
Create a DC circuit breaker guard consisting of a flat base and a raised protective shell. Start with a base plate 1.5mm thick, shaped as a hexagon with vertices at [18.5, 2], [2, 12.85], [2, 42.85], [18.5, 53.7], [35, 42.85], and [35, 12.85], with all corners rounded by a 2mm radius. Drill two 5mm diameter holes throu...
$fa = 6; $fs = 0.25; hole_distance = 40; hole_diameter = 5; screw_head_diameter = 8; screw_y_pos = [7.85, 47.85]; base_thickness = 1.5; guard_height = 15; guard_thickness = 4; module cutout() { minkowski() { translate([3.00, 13.85]) square([31.0, 28.0]); circle(d=1); } } module base...
glb/cad_a00951dd44af.glb
Create a NeoPixel ring and toggle switch panel as a square plate measuring 80mm by 80mm with a thickness of 5mm. Center a circular cutout in the plate with an outer diameter of 66mm and an inner diameter of 52.3mm to form a ring. This ring should be recessed 1.7mm into the top surface. To allow for wiring, create a r...
include <MCAD/units.scad> ring_id = 52.3; ring_od = 66.0; switch_hole_dia = 12.2; switch_back_hole_dia = 16.0; switch_back_hole_depth = 3.0; switch_hole_offset = -7.0; thickness = 5.0; size = 80.0; ring_inset = 3.3; wire_slot_width = 25.0; wire_slot_thickness = 4.0; screw_hole_dia = 3.8; screw_head_dia = 5.8; screw_co...
glb/cad_7872e9742ab5.glb
Create a NeoPixel ring and toggle switch panel consisting of two perpendicular rectangular plates joined at a right angle. Each plate must be 15mm wide and 3mm thick. The first plate is 15mm long, and the second plate is also 15mm long. On the first plate, center a circular hole with a diameter of 3.8mm, positioned 1...
include <MCAD/units.scad> hole1_dia = 3.8; hole1_inset = 10.0; hole2_dia = 5.5; hole2_inset = 10.0; depth1 = 15.0; depth2 = 15.0; width = 15.0; brace_size = 3.0; thickness = 3.0; $fa = 6; $fs = 0.25; difference() { cube([depth1, width, thickness]); translate([hole1_inset, width/2, -epsilon]) cylinder(d=...
glb/cad_1a51416e5c9c.glb
Create a Trefoil jar ring holder by starting with a main cylindrical disk that has a radius of 38.86mm and a height of 8.5mm. Remove a smaller concentric cylinder from the center with a radius of 30mm and the same height to create a thick ring. To create the slots for the jar rings, carve out three identical ring-sha...
include <MCAD/units.scad> $fa = 3; $fs = 0.25; ring_distance = 33.86; ring_od = 89.73; thickness = 1.5; height = 7+thickness; bite_depth = 2*thickness; slot_thickness = 2; slot_inset = 5; inner_radius = 30; bite_distance = 3; bucket_id = 248.589; module ring() { translate([ring_od/2 + ring_distance, 0, thickness...
glb/cad_72d70a148ac0.glb
Create a hollow cylindrical cap for a peristaltic pump motor. Start by creating a solid cylinder with an outer diameter of 34.2mm and a total height of 21.5mm. From the bottom of this cylinder, remove a concentric inner cylinder with a diameter of 31.2mm and a height of 20mm, leaving a base thickness of 1.5mm at the bo...
include <MCAD/units.scad> inner_diameter = 31.2; height = 20.0; thickness = 1.5; $fa = 6; $fs = 0.25; difference() { cylinder(d=inner_diameter + 2*thickness, h=height + thickness); translate(thickness * Z) cylinder(d=inner_diameter, h=height + epsilon); }
glb/cad_b78a82a42dfb.glb
Create a Power Brick and Strip Mount consisting of a central U-shaped frame and two mounting plates. Start by creating the main frame as a rectangular block with a width of 63mm (59mm device width plus 2mm walls on each side), a depth of 45mm, and a total height of 19mm. Carve out a central rectangular cavity to fit ...
deviceWidth = 59; deviceHeight = 17; openingWidth = 0; openingHeight = 0; openingOffset = 0; screwPlateWidth = 15; screwPlateThickness = 4; screwShaftDiameter = 3.7; screwHeadDiameter1 = screwShaftDiameter; screwHeadDiameter2 = screwShaftDiameter; screwHea...
glb/cad_ba361107dd9c.glb
Create a protective phone case for a Pixel 6a with overall internal dimensions of 71.8mm width, 152.2mm height, and 8.9mm depth. The case walls should be 0.9mm thick, while the back panel is thinner at 0.5mm. The outer edges should have a corner radius of 3.5mm. The case must be slightly taller than the phone's depth,...
include <MCAD/boxes.scad> phone_h=152.2; phone_w=71.8; phone_d=8.9; case_thickness=0.90; back_thickness=0.50; cambar_thickness=1.25; cambar_ramplength=20; screen_cover_thickness=0.5; bezel=5; screen_h=phone_h-bezel; screen_w=phone_w-bezel; ch=17.6; CameraY=phone_h/2-19.0; cy=(phone_h/2)-9.7-ch; sw_y=phone_w/2; mic_x=-...
glb/cad_6ca900347572.glb
Create a back cover for a printer display box. Start with a base plate formed by the union of two rectangular blocks: one measuring 110mm by 55mm and another measuring 70mm by 59mm, both with a thickness of 1.5mm. Cut a circular hole with a diameter of 13mm, centered at coordinates (87.4, 8.5) relative to the origin....
$fn=100; UseFont="Liberation Sans:style=Bold"; txt_Deutsch =["Deutsch", "Mein", "PRUSA", "MINI+", "Lüftung"]; txt_English =["English", "My", "PRUSA", "MINI+", "Air"]; txt_Cestina =["Čeština", "Můj", "PRUSA", "MINI+", "Vzduch"]; txt_Espanol =["Español", "Mi", "PRUSA", "MINI+", "Aire"]; txt_Francais =["Fra...
glb/cad_4e91a9886c0d.glb
Create a set of Deep Sea Adventure treasure tokens. Each token is a flat disc or polygon with a height of 2.5mm and a base radius of 15mm. For the shaped tokens, create a regular polygon based on the level: Level 1 is a circle, Level 2 is a triangle, Level 3 is a square, Level 4 is a pentagon, and Level 5 is a hexago...
radius=15; height=2.5; imprint_score = 0.8; imprint_dots = 0.8; beveling = 4; $fn=60; show_all_levels = true; show_all_blanks = true; level = 4; score="12"; function get_angles(order)=[ for (i = [0:order-1]) i*(360/order) ]; function get_coords(angles, r)=[ for (th=angles) [r*cos(th), r*sin(th)] ]; module re...
glb/cad_98552c9945c0.glb
Create a flower stand consisting of a circular base and three angled hollow tubes. Start by creating a solid circular disk with a diameter of 49mm and a thickness of 2mm. Construct three hollow cylinders, each with an outer diameter of 12.2mm, an inner diameter of 10.2mm, and a height of 12mm. Each tube should have a...
flower_hole_dia = 10.2; flower_wall= 1; flower_angle= 12; tube_height = 12; y_seperation = 12; outside_angle = 7.2; disk_dia = 49; tubeset("hollow"); difference(){ translate([7, 0, -tube_height/2 -.4]) hull(){ cylinder(d=disk_dia, h=2, center=true, $fn=120); translate([0,0,4.5]) cylinder(d=2, h=...
glb/cad_15796bafe467.glb
Create a raised foot for an e-drum rack. Start with a cylindrical base plate 60mm in diameter and 5mm high. On top of this base, add a conical transition section 7mm high that tapers from the 60mm base diameter down to a diameter of 46mm. Above this transition, place a main outer cylinder 34mm high with a bottom diamet...
h_col_off = 0.0; h_inner_raise_off = 0.0; d_inner = 36; t_inner_support_ring = 3; model = "foot"; h_base_out = 5.0; h_base_in = 8; h_base_out_cone = 7.0; h_col = 34.0; h_top_notch = 3; t_wall_bot = 5.0; t_wall_top = 3.25; t_wall_top_notch = 1.7; d_base = 60.0; d_base_hole = 10.0; $fn = 75; if (model == ...
glb/cad_c17be9c4884b.glb
Create a TV Backlight Camera Bracket shaped as an L-bracket with a uniform material thickness of 2.4mm and rounded corners with a radius of 5.1mm. Construct the base part as a rectangular slab 72mm wide, 33mm long, and 2.4mm thick. Attach a standing part to the base, also 72mm wide and 2.4mm thick, but with a length ...
rad = 5.1; thickness = 2.4; width = 72; length1 = 33; length2 = 27; tri_ab = 5.1; tri_count = 5; $fn= 25; module LBracket() { dim1 = [width, length1, thickness]; dim2 = [width, length2, thickness]; union() { cube([dim1[0], rad, dim1[2]]); SoftCube(dim1, rad); translate([0, ...
glb/cad_c15e23185e5a.glb
Create a Repwinder Spacer by constructing a hollow cylindrical ring with an inner diameter of 52mm, an outer diameter of 62mm, and a total thickness of 6mm. On the top and bottom flat faces of the ring, create 16 evenly spaced radial notches. Each notch should be 2mm wide and 0.25mm deep, cutting inward from the outer ...
Inner_Diameter = 52.0; Outer_Diameter = 62.0; Thickness = 6.0; Notch_Depth = 0.25; Notch_Width = 2.0; Notches = 16; $fn = 128; module ellipse(dx, dy) { scale([dx, dy]) circle(d=1); } module ring(id, od, h) { difference() { cylinder(d=od, h=h, center=true); cylinder(d=id, h=h + 2, center=true); } } mo...
glb/cad_52b8f1c05bec.glb
Create a toroid mounting plate for a Euro Box enclosure. Start with a central rectangular block measuring 94mm by 66mm with a thickness of 11mm. In the center of this block, remove a large cylindrical hole with a diameter of 80mm. At each of the four corners of the rectangular block, create a set of two concentric ho...
module mount(){ difference(){ translate([0,0,5.5]) cube([94,66,11],center=true); translate([-42,28,-1]) cylinder (9,d=7,$fn=36) ; translate([-42,-28,-1]) cylinder (9,d=7,$fn=36) ; translate([42,28,-1]) cylinder (9,d=7,$fn=36) ; translate([42,-28,-1]) cylinder (9,d=7,$fn=36) ;...
glb/cad_10b6efd50f11.glb
Create a servo adapter by starting with a base volume formed by the union of two rectangular blocks: one measuring 29.5mm x 32mm x 17.2mm and a second measuring 2.8mm x 44mm x 17.2mm positioned at coordinates [23, -6, 0]. From this combined mass, remove several rectangular sections to create internal cavities and slots...
$fn=99; difference(){ union(){ translate([0,0,0]) cube([29.5,32,17.2]); translate([23,-6,0]) cube([2.8,44,17.2]); } translate([0,0,-2]){ translate([3,2.75,4]) cube([20,26.5,13.2]); translate([23,-2.25,4]) cube([2,36.5,13.2]); translate([13,2.75,4]) cube([20,26.5,13.2...
glb/cad_459c8e0363ed.glb
Create a drawer handle bar label clip with a total length of 55mm. Start by forming the main body as a cylinder with an outer diameter of 17mm and an inner diameter of 11.9mm. Cut a vertical slot through the cylinder to allow it to snap onto a bar. To create the label window, remove a rectangular section from the fro...
id = 11.9; od = 17; l = 55; $fn=100; clip(); window(); module clip(){ difference(){ body(); cylinder(l+10,d=id,center=true); translate([0,11,0])cylinder(l+10,d=od,center=true); translate([0,0,0])rotate([0,0,45])rotate([0,90,0])cylinder(10,d=10); label(); } } module win...
glb/cad_15cd29bde727.glb
Create a drawer handle bar label clip. Start by constructing a main cylindrical body with an outer diameter of 17mm, an inner diameter of 11.9mm, and a total length of 55mm. Remove a 45-degree angled section from the cylinder to create an opening for inserting labels. On one side of the cylinder, centered 7mm from th...
id = 11.9; od = 17; l = 55; $fn=100; b=11; clip(); window(); module clip(){ difference(){ body(); cylinder(l+10,d=id,center=true); translate([0,11,0])cylinder(l+10,d=od,center=true); translate([0,0,0])rotate([0,0,45])rotate([0,90,0])cylinder(10,d=10); label(); } } modu...
glb/cad_789f2073a94b.glb
Create a set of mounting parts for a 15-pin D-sub wing connector consisting of three distinct components: a fuselage mount, a wing mount, and a plate. For the fuselage mount, create a base composed of several joined rectangular blocks and cylinders. The main body is formed by combining blocks of approximately 66mm by ...
$fn=99; translate([-100,0,0])fuselage(); wing(); translate([50,0,0])plate(); module dsub2(){ minkowski(){ translate([0.75,1,0]) cube([26,9,7]); cylinder(1,r=1); } translate([-3,5.5,4]) cylinder(8,d=2.2,center=true); translate([30.5,5.5,4]) cylinder(8,d=2.2,center=true); } mod...
glb/cad_0b64ea6840f7.glb
Create a corona servo wing mount consisting of a central cassette and surrounding flanges. Start with a central rectangular body 52mm wide, 44mm deep, and 11.5mm high. Hollow out the center of this body with a smaller rectangular void 50mm wide, 42mm deep, and 10mm high. Add a top plate 55mm wide and 57mm high with a t...
flange_width=55; flange_height=57; $fn=99; difference(){ mount(); } translate([flange_width+10,0,0])hood(); translate([-flange_width-10,0,0])flange(); module hood(){ difference(){ cube([flange_width,flange_height,1],center=true); hull(){ translate([18.5,8.5+7.5,0])cylinder(10,...
glb/cad_4fb9e894c476.glb
Create a VMG3 DMM extended housing, which is a rectangular enclosure with rounded corners. The main body is a rounded box with overall dimensions of 100mm in length, 37.2mm in width, and 117mm in height. The corners of the base and the vertical edges should have a radius of 4mm. The top face of the housing is a flat p...
rad=4; $fn=100; difference(){ union(){ difference(){ hull(){ minkowski(){ cube([108-2*4,45.2-2*4,0.5],center=true); cylinder(0.5,d=8,center=true); } translate([0,0,117]) minkowski(){ cube([102-2*1.5,39.2-2*1.5,0.5],center=true); cylinder(0.5,r=1.5,center=true); } } ...
glb/cad_0f84830d7d7d.glb
Create a Reminder TODO Tracker consisting of five identical sliding switches arranged in a row. Each switch unit is built within a rectangular base measuring 20mm in height, 23mm in width, and 4.5mm in thickness. For each unit, carve a central vertical channel to house a slider. The slider is a rectangular block with...
$fn = 20; layerHeight = 0.30; NUMBER_OF_SWITCHES = 5; MODE_CONE_SLIDER = false; MODE_SWITCH_SLIDER = true; MODE_ADD_WINDOW = true; baseThickness = layerHeight*15; baseWidth = 23; baseHeight = 20; sliderRail = 10; sliderWidthThickness = 1.5; sliderHeightThickness = 2; sliderWidth = baseWidth-sliderWidthThickness*2;...
glb/cad_a09aad9f08f2.glb
Create a Notebook Template tool with a uniform thickness of 1.5mm. Start by constructing a large right-angled triangle with a height of 140mm along its vertical side and a base that extends to form a 15-degree angle at the top vertex. From the interior of this large triangle, remove a smaller right-angled triangle th...
$fn=12; paper_height=140; inner_triangle_height=22; thickness=1.5; font_size=4; font_spacing=1; font_direction="Ltr"; font="Iori:style=Regular"; o_angle_A = 90; o_angle_B = 15; o_angle_C = 180-(o_angle_A+o_angle_B); o_side_c = paper_height; o_side_a = o_side_c*sin(o_angle_A)/sin(o_angle_C); o_side_b = o_side_c*sin(o_a...
glb/cad_430e040f8c62.glb
Create a Customizable Engraved Ring by constructing a circular band with an inner diameter of 20mm, a width of 7mm, and a wall thickness of 2.5mm. Engrave text into the inner surface of the band using a font size of 3.5mm. Position the characters so they are evenly spaced around the inner circumference, with each let...
ring_size = 20.00; ring_width = 7; ring_thickness = 2.5; inner_text = "Inner Inner Inner"; inner_text_size = 3.5; inner_text_spacing = 1; inner_text_font_name = 1; inner_other_font = "New Rocker:style=Regular"; outer_text = "WWWinner WWWinner WWWinner "; outer_text_size = 3.5; outer_text_spacing = 1; outer...
glb/cad_aeadc9d7a128.glb
Create an engraved ring with an inner diameter of 20mm, a width of 7mm, and a wall thickness of 2.5mm. The main body is a circular band formed by rotating a circle with a diameter of 2.5mm around a central axis. Engrave text on both the interior and exterior surfaces of the band. The depth of the engravings should be ...
ring_size = 20.00; ring_width = 7; ring_thickness = 2.5; inner_text = "Inner Inner Inner"; inner_text_size = 3.5; inner_text_spacing = 1; inner_text_font_name = 1; inner_other_font = "New Rocker:style=Regular"; outer_text = "WWWinner WWWinner WWWinner "; outer_text_size = 3.5; outer_text_spacing = 1; outer...
glb/cad_2a1f3e77eec1.glb
Create a Cura Infill Patterns Display Model consisting of a base plate and a grid of small cubes. Start by creating a rounded rectangular base measuring 126mm wide, 78mm deep, and 2mm high. On top of this base, arrange 13 rounded cubes, each 18mm x 18mm x 8mm with a corner radius of 2mm. Position these cubes in a spe...
baseHeight = 2; baseX = 126; baseY = 78; infillCubeHgt = 8; infillCubeSize = 18; iSpacing = 24; textSize = 3.5; textHeight = 0.6; titleHeight = 0.8; densityLabelHeight = 0.8; fontName = "Roboto Condensed:style=Bold"; densityText = "15%"; infillText = ["Grid", "Lines", "Triangles", "Tri-Hexagon", "Cubic", "C...
glb/cad_de0836e6a2b2.glb
Create a "Customizable Tiny Secret Book" designed as a hollow cover to store a small card. The overall shape is a rectangular prism with a height of 20mm. The main body is a hollow shell with a thickness of approximately 0.8mm, leaving an open cavity for a microSD card or SD card to slide into. The front cover is a fl...
book_title_line_1_text = "Top"; book_title_line_2_text = "Secret"; book_title_line_3_text = "Photos"; book_title_line_4_text = ""; book_title_line_5_text = ""; book_title_spine_text = "Photos"; font_name = 4; other_font = "Stardos Stencil:style=Bold"; font_spacing = 1.15; book_title_line_1_font_size = 2.7; bo...
glb/cad_0572e030bea9.glb
To create a 3D-printable ornament based on the provided OpenSCAD code, you will need to define the variables used in the modules (like `flakeScale`, `h`, and `fudge`) and call the modules within a main execution block. Below is the complete, runnable OpenSCAD script. I have added a `main()` function that assembles the...
name = "Lyle"; details_thickness = 1.60; background_thickness = 0.40; thickness = background_thickness + details_thickness; line_under_name = "yes"; font_size = 15; font_name = 3; other_font = "Nunito Sans"; position_1_flake = 5; position_2_flake = 1; position_3_flake = 6; position_4_flake = 3; name_X_offse...
glb/cad_a8a754a6f7b1.glb
The provided OpenSCAD code defines a set of modules to create a personalized, snowflake-themed ornament. Here is a breakdown of the structure and the logic used in the script: ### 1. Global Parameters The script relies on several variables (though not explicitly defined in the snippet, they are used throughout): * `...
name = "Lyle"; details_thickness = 1.60; background_thickness = 0.40; thickness = background_thickness + details_thickness; line_under_name = "yes"; font_size = 15; font_name = 3; other_font = "Nunito Sans"; position_1_flake = 5; position_2_flake = 1; position_3_flake = 6; position_4_flake = 3; name_X_offse...
glb/cad_da7b287ca242.glb
Create a flexible Christmas tree ornament with a thickness of 3mm. The main body is a triangle 70mm wide and 90mm high. To make it flexible, remove horizontal rectangular strips 2mm high, spaced every 4mm apart, across the entire width of the triangle. Below the triangle, add a solid rectangular trunk 10mm wide and 12...
fudge = 0.01 + 0; bigfudge = 0.1 + 0; $fn = 50 +0; treeWidth = 70; treeHeight = 90; treeThickness = 3; trunkIsSolid = "yes"; trunkWidth = 10; trunkHeight = 12; lineWidth = 2; spineWidth = 0.8; starType = "outline"; starRadius = 10; numberPoints = 5; addCubicleStand = "no"; cubicleWalltopWidth = 50; cubi...
glb/cad_c81370939cce.glb