Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a motor mount support consisting of a rectangular plate with rounded edges. Start with a base plate measuring 38mm in width, 50mm in length, and 0.1mm in height, ensuring all corners and edges are rounded with a radius of 1.5mm. In this plate, create four circular holes, each with a radius of 1.5mm and a depth o...
$fn=50; difference() { minkowski () { sphere (1.5, $fn=50); translate([-19,-2,0])cube([38,50,0.1]); } translate([-8,8,-2])cylinder(h=6,r=1.5); translate([8,8,-2])cylinder(h=6,r=1.5); translate([-27/2,42,-2])cylinder(h=6,r=1.5); translate([27/2,42,-2])cylinder(h=6,r=1.5); }
glb/cad_3d90b3e37587.glb
Create a PCB Mill mount for a Vertical X-axis. The model consists of three primary components: two linear bearing mounts and one motor mount. First, create the linear bearing mounts. Each mount is based on a cylinder with a radius of 10mm and a height of 65mm. Subtract a central vertical cylinder with a radius of 7.7m...
bearing_dia=22; motor_mount_holes_distance=20; motor_shaft_clearance=14; luu_height=45; uu_height=24; module bearing_mount() { difference() { union() { linear_extrude (height=10) polygon ([[12.5,0],[46,0],[0,46],[0,12.5]],[[0,1,2,3,0]]); translate ([12.5,12.5,0]) cylinder (h=10, r=12.5, $fa=10); } transl...
glb/cad_7c317f53bd1f.glb
Create an inductive car mount case with a total length of 143mm, a width of 80mm, and a depth of 14.5mm. Start with a back plate that is 143mm long, 80mm wide, and 14.5mm deep. In the center of this plate, create a large circular cutout with a diameter of 70mm. Around this central hole, place four smaller circular cu...
length = 138; width=69; depth=9; module case(length,width,depth) { real_length = length + 5; real_width = width < 70 ? 80 : width + 10; real_depth = depth + 5.5; back(real_length, real_width, real_depth); side(real_width, real_depth); translate([real_length,0,0]) mirror([1,0,0]) side(real_wid...
glb/cad_778debf68e8a.glb
Create a Playstation Eye to X Carriage Mount consisting of two main rectangular blocks connected by a central support pillar. First, create a belt clamp mounting block measuring 41mm wide, 8mm deep, and 5mm high. Center two 3mm diameter holes through this block, spaced 36mm apart along the width. Second, create a ca...
clamp_hole_diam = 3; clamp_hole_spacing = 36.0; clamp_hole_buffer = 2.5; clamp_body_width = clamp_hole_spacing + clamp_hole_diam + 2 * clamp_hole_buffer; clamp_body_depth = clamp_hole_diam + 2*clamp_hole_buffer; clamp_body_height = 5; eye_hole_diam = 2.5; eye_hole_spacing = 59; eye_hole_buffer = 3; eye_body_width = ...
glb/cad_8d8a8420b7a8.glb
Create a Tapered Fan Shroud for a Hexagon Hotend. Start by creating a base plate 3mm thick with a complex outer profile and a large central cutout to accommodate a fan. Include two M3 diameter mounting holes positioned at the edges of the base. Construct the duct walls extending upwards from the base to a total height...
Ht = 1; BotHt = 3; TotHt = 23; M3 = 3.2; HtBot = 3; TaperDuct = 1; EarsOn = 0; EarsHt = .5; module Bot1() { linear_extrude(height = Ht, center = false, convexity = 10)polygon(points = [[-6.02,-19.57],[-0.39,-19.57],[-0.39,-17.57],[-5.91,-17.57]]); } module Top1() { linear_extrude(height = Ht, center = fals...
glb/cad_9bfa19498bf2.glb
Create a rad1o case by starting with a flat, circular base 9.5mm in diameter and 0.4mm thick. Centered on this base, add a vertical cylinder with a radius of 1.9mm and a height of 4mm. Cap this vertical cylinder with a hemisphere of the same 1.9mm radius, positioned so the dome's peak reaches a total height of 5.9mm fr...
r = 1.9; x = 2.1; h = 4; d = 1.8; $fn=90; difference(){ cylinder(h, r1 = r, r2 = r); translate([-x/2,-x/2,0])cube([x,x,d ]); } difference(){ translate([0,0,h])sphere(r); cylinder(h, r1 = r, r2 = r); } difference(){ cylinder(h = 0.4, r = 5); translate([-x/2, -x/2, 0])cube([x,x,0.4]); }
glb/cad_858845ae8bcc.glb
Create a pie slice by generating a cylinder with a radius of 10mm and a height of 5mm. Cut this cylinder to isolate a wedge defined by an angle of -260 degrees, effectively removing a 100-degree section from the circle. Rotate the resulting shape around the Z-axis by 0 degrees to set its final orientation. Ensure the f...
module pie(radius, angle, height, spin=0) { ang = angle % 360; absAng = abs(ang); halfAng = absAng % 180; negAng = min(ang, 0); module pieCube() { translate([-radius - 1, 0, -1]) { cube([2*(radius + 1), radius + 1, height + 2]); } } module rotPieCube() { rotate([0, 0, halfAng]) { pieCube(); } }...
glb/cad_63889cd5e161.glb
Create a turkey wine charm by combining a stylized bird figure with a mounting ring. Start with a flat, semi-circular tail fan that is 21mm in radius and 2.1mm thick, spanning an arc of 100 degrees. Position a spherical body with a 7mm radius at the center of the tail's straight edge. Attach a smaller spherical head wi...
$fn = 100; bodyrad = 7; tailrad = 3 * bodyrad; tailwidth = 0.3 * bodyrad; tailangle = 100; headrad = 0.7 * bodyrad; beakrad = 0.2 * bodyrad; beaklen = 0.3 * bodyrad; ringrad = 2.25; ringthick = 1.5; module turkeyfoot(len) { linear_extrude(height = 0.2 * len) { polygon ( points = len * [ [0,0],[0.4,0.8],[...
glb/cad_999cd2317710.glb
Create a pilgrim hat wine charm consisting of a wide brim, a tapered crown, a small buckle, and an attachment ring. Start by creating a flat circular brim with a radius of 9mm and a thickness of 2.7mm. Centered on top of this brim, add a tapered cylindrical crown that narrows from a base radius of 5.85mm to a top radiu...
$fn = 100; brimrad = 9; brimthick = 0.3 * brimrad; crownrad1 = 0.65 * brimrad; crownrad2 = 0.50 * brimrad; crownthick = 5 * brimthick; bondthick = 2 * brimthick; bucklewidth = 1 * brimthick; ringrad = 2.25; ringthick = 1.5; translate([ringrad+0.85*brimrad,0.5*ringthick,ringrad]) rotate([90,0,0]) difference() { cyli...
glb/cad_e254d2eef7fc.glb
Create a wine charm in the shape of a pie slice. Start by creating a wedge-shaped disk with a radius of 20mm and a thickness of 6.6mm. This wedge should have a central angle of 40 degrees. On the flat top surface of the wedge, center a circular indentation with a radius of 18mm and a depth of 6.6mm, leaving a raised ou...
$fn = 100; pielength = 20; piethick = 0.33 * pielength; piearc = 40; ringrad = 2.25; ringthick = 1.5; translate([-0.5*ringrad,0.5*ringthick,ringrad]) rotate([90,0,0]) difference() { cylinder(r=ringrad,h=ringthick); cylinder(r=0.7*ringrad,h=ringthick); } difference() { cylinder(r=pielength,h=piethick); rot...
glb/cad_c231245926a2.glb
Create a wine glass charm featuring a maple leaf attached to a small ring. Start by creating a flat, 2D maple leaf shape with a thickness of 1.5mm. The leaf should be approximately 25mm in length, defined by a jagged, multi-pointed perimeter. At the base of the leaf's stem, attach a circular ring with an outer radius o...
$fn = 100; leaflen = 25; ringrad = 2.25; ringthick = 1.5; translate([0,-0.7*ringrad,0]) difference() { cylinder(r=ringrad,h=ringthick); cylinder(r=0.7*ringrad,h=ringthick); } linear_extrude(height = ringthick) { polygon ( points = leaflen * [ [0.05,0], [0.05,0.23], [0.27,0.23], [0.23,0.3],[0.45,0.47],[0.4,0.5...
glb/cad_09e7609533e1.glb
Create a VR 3D glasses headset designed to hold a phone with a height of 115.5mm, width of 59mm, and depth of 9.5mm, featuring corners with a 15.5mm diameter curve. Construct the main body as a rounded rectangular box with dimensions of 125.5mm by 64mm by 67mm and a corner radius of 5mm. Hollow out the center of the ...
phone_height = 115.5; phone_width = 59.0; phone_depth = 9.5; corner_diameter = 15.5; lens_diamenter = 25; ribbon_width = 20; glasses_piece = 1; px = phone_height; py = phone_width; pz = phone_depth; pr = corner_diameter / 2; ld = lens_diamenter; rw = ribbon_width; nx = 25; ny = 60; nz = 70; hx = 180; hy...
glb/cad_45412a98ce05.glb
Create a bike handlebar post latch consisting of a main ring and two protruding tabs. Start with a spherical body 47mm in diameter. Flatten the top and bottom of this sphere by removing the sections above z=6 and below z=-52. Hollow out the center by removing a cylinder with a 40.5mm diameter and a height of 14mm, posi...
module MainBody(){ difference() { sphere(d=47,$fn=100); translate([-23,-23,6]) { cube(46,center=false); } translate([-23,-23,-52]) { cube(46,center=false); } translate([0,-1,-7]){ cylinder(d=40.5,h=14,$fn=100); } translate([-1.5,18,-7]) { cube([3,7,14],center=false); } } } m...
glb/cad_bee4e5719aa8.glb
Create a Euro power strip clip for a chair back. Start with a solid rectangular base measuring 60mm wide, 70mm deep, and 20mm thick. From this base, remove a central rectangular slot measuring 30mm wide and 20mm deep, centered along the depth, to create a gap for the power strip. Additionally, remove a rectangular sect...
$fn = 64; width = 55; height = 42; heightRadius = 60; bracketThickness = 20; powerStripOpeningWidth = 30; clipOpeningWidth = 17; module powerStripCrossSection(thickness) { intersection() { translate([width / 2 - heightRadius, 0, 0]) cylinder(r=heightRadius, h=thickness, center=true); translate([heightRadius -...
glb/cad_d8d5faf75a9f.glb
Create a customizable storage module for mountain bike accessories. Start with a solid rectangular block that has a total depth of 100mm. The overall outer dimensions are determined by a grid of 30mm units, resulting in a total width of 90mm (3 units) and a total height of 60mm (2 units). Inside this block, create a g...
part = "module"; settingMode = "both"; requestedHorzUnitNb = 3; requestedVertUnitNb = 2; requestedModuleDepth = 100; requestedInnerWidth = 23; requestedInnerHeight = 15; requestedInnerDepth = 100; divType = "circle with punch"; divHorzNb = 2; divVertNb = 1; intWallsDepth = 0.75; extWallsDepth = 1; divForce...
glb/cad_31da030cbf35.glb
Create a bell with an integral clapper. The main body is a hollow bell shape with an outer radius of 30mm and a wall thickness of 4mm. The bell's profile consists of a curved top that transitions into a straight vertical section 15mm in height, ending in a flared circular rim. The overall height of the bell body is 60m...
module belltop(size=10,thickness=1,ratio=1,scalez=1) { thicknessRatio=1+((((thickness*scalez)/(size*ratio))-(thickness/(size*ratio)))/2); union() { intersection() { difference() { sphere((size*ratio)/2,$fn=quality); scale([1,1,thicknessRatio])sphere(((size*ratio)-thickness)/2,$fn=quality); } transl...
glb/cad_99790074afb2.glb
Create a 3D model of a Chinese E3Dv5 hotend. Start by constructing the main radiator as a cylinder with a diameter of 25mm and a height of 32mm. Inside this radiator, place a concentric vertical hole with a diameter of 11mm running through the full 32mm height. Above the main radiator, build a tiered upper radiator se...
l_after=5; module up_radiator(flag=true){ if (flag) { translate([0,0,25]) cylinder(d=16.1,h=18,$fn=40,center=true); } else { translate([0,0,14]) cylinder(d=11,h=2,$fn=40,center=true); translate([0,0,15.25]) cylinder(d=16.1,h=1.5,$fn=40,center=true); translate([0,0,16.5])...
glb/cad_cd7625b7a8c3.glb
Create a Diamond Hotend keyhanger by constructing a flat, stylized geometric shape with a thickness of 1.2mm. The main body is formed by a profile that begins as a cone with a base radius of 1mm and a top radius of 13.5mm over a height of 22mm, topped with a cylinder of radius 13.5mm and height 2.35mm, and finished wit...
part = 1; hole = 4.4; height = 1.2; seam = 1.001; difference() { union() { if (part == 1) color("red") red(); if (part == 2) color("orange") orange(); if (part == 3) color("yellow") yellow(); if (part == 4) color("green") green(); if (part == 5) color("blue") blue(); } union() { translate([0, 10, 0])...
glb/cad_6877e8e2d126.glb
Create a Home brewed extruder LED ring by starting with a cylinder 8mm tall with a diameter of 64mm. Hollow out the center of this cylinder by removing a second cylinder with a diameter of 61mm and a height of 10mm, positioned 1.2mm above the base to create a thin-walled ring with a solid bottom floor. Finally, cut a l...
master_d = 61; difference() { difference() { cylinder(8, d = master_d + 3); translate([0, 0, 1.2]) cylinder(10, d = master_d); } translate([12.7 - 5.8 - 2.5, 0, -5]) cylinder(30, d=40); }
glb/cad_0475374a9875.glb
Create a Y Block Construction Set consisting of a main structural beam with integrated mounting holes. The main body is a rectangular block with a width of 24mm and a height of 12mm. Along the center of the block, create a trapezoidal slot that is 8mm high, with a base width of 5mm and a top width of 7mm. This slot i...
box_width = 24; box_height = 12; slot_base_width = 5; slot_top_width = 7; slot_height=8; slot_sub_ratio = 1.15; snap_gap = 1; scha_count = 4; scha_interval = 25; scha_offset = (50)-(100/8); hscha_offset = 62; module slot_poly(base_width,top_width,height) { polygon([[-base_width/2,0],[-top_width/2,height],[top_wid...
glb/cad_0feb658aca2a.glb
Create a rear suspension mount for a Mini-Z Overland vehicle. Start with a base rectangular plate measuring 29.4mm in length, 1.18mm in thickness, and 11.6mm in width. Add a vertical support structure on the right side by creating a hull between two cylinders of 1.18mm diameter: one positioned at the bottom edge and ...
include <../../includes/jshapes.scad>; include <../../includes/OpenSCAD_Triangles/Triangles.scad>; module rear_suspension_mount() { $fn=75; l=29.4; t=1.18; w=6.14; back_h=14.75; bendstr=11.6; raxled=8.6; tranmount_d=2; tranmount_d2=4.2; tranmount_do=6.25; tranmount_h=1.9; ...
glb/cad_c28baec7f46e.glb
Create a personalized napkin ring by constructing a flat, circular band with a height of 5mm. The band is formed by a large cylinder with a radius of 25mm and a centered hole with a radius of 20mm. On the top surface of this ring, add a series of 3D letters to spell out a custom word. Each letter should be 12mm in size...
Text = "TEXT"; Degrees = 15; module L_0(char = "A", Degrees = 15, i = 0) { rotate([0,0,-Degrees*i]) translate([0,24,0]) linear_extrude(height = 5) text(size = 12, text = char, font = "Chewy:style=bold", halign = "center", valign= "bottom", $fn = 32); } union() { difference() { cylinder(h ...
glb/cad_fe267ad87869.glb
Create a rear shock mount for a radio-control vehicle. Start with a base plate 4mm thick. The main body is a hull formed by a circle with a 13mm radius, a smaller circle with a 3.535mm radius centered at [13.72, 11.6], and another circle with a 3.37mm radius centered at [23.63, 11.6]. Cut a central cylindrical hole t...
draft = false; $fs = draft ? 1 : 0.1; $fa = 2; clearance = 0.15; q = 0.02; stock = false; main_outer_radius = (stock ? 24.59 : 26.0) / 2; main_thickness = stock ? 2.60 : 4.0; main_inner_radius = 16.22 / 2; recess_radius = 2.60 / 2; longest_interior_distance = 21.26; mount_shaft_outer_radius = 7.07 / 2; mount_shaft_...
glb/cad_a8d7eaa5e36f.glb
Create a Prusa I3 Bed Leveling Caliper Jig. Start with a main rectangular body measuring 70mm in length, 20.3mm in width, and 20.3mm in height. From this body, remove two cylindrical sections to create holes for rods; each cylinder must have a radius of 4.15mm and a height of 20.3mm. Position these holes so their cente...
seperation = 45; diameter = 8.3; height = 70; caliper_width = 16.3; tool_width = caliper_width+4; caliper_thickness = 4.3; minimum_belt_distance = 5; mount_width=4; center=height/2; rotate_body=1; module body() { difference() { cube([height,diameter+mount_width,tool_width]); translate([center-seperation/2, diamet...
glb/cad_f059b3fb9077.glb
Create a set of belt tensioner bushings consisting of three stacked concentric rings with a common central hole. Start by creating a base cylinder with an outer diameter of 25mm, a height of 1.8mm, and a central hole with a diameter of 8.1mm. Directly on top of this base, add a second cylinder with an outer diameter of...
DefaultSides=45; module Tube(Length,Dout,Din,Sides) { NSides = (Sides < 3 || Sides==undef) ? DefaultSides : Sides; rotate_extrude(convexity=2, $fn=NSides) translate([Din/2,0,0]) square([(Dout-Din)/2,Length]); } module MyWashers() { D1=14; H1=0.8; D2=21.8; H2=1.2; D3=25; H3=1.8; Din=8.1; NSides=90; ...
glb/cad_073b3ff510ab.glb
Create a customizable pompom maker consisting of a flat, circular ring with a thickness of 3mm. The outer diameter of the ring is 65mm, and the inner diameter is 32.5mm. Cut a wedge-shaped opening out of the ring to create a gap for inserting yarn. This gap should be defined by a trapezoidal profile that is 12mm wide a...
pompom_diameter = 65; fluffiness = 3; MAX_FLUFFINESS = 5*1; THICKNESS=3*1; TRAPEZOID_A=20*1; TRAPEZOID_B=12*1; pompom(pompom_diameter, fluffiness); module pompom(od, fluffiness_factor) { _ff = fluffiness_factor % (MAX_FLUFFINESS+1); id = (_ff / (MAX_FLUFFINESS+1)) * od; or = od/2; ir = id/2; linear_extrud...
glb/cad_169732d48d5f.glb
Create a customizable wheel for a motor hub. Start with a main cylindrical body with a diameter of 35mm and a width of 20mm. Apply a 1mm chamfer to both the top and bottom edges of the cylinder. On the outer circumference, add a tread pattern consisting of 4 rows of studs. Each row should contain 20 studs, with every ...
Polygon_Count = 128; $fn = Polygon_Count*1; Wheel_Diameter = 35; wheelR = Wheel_Diameter/2; Num_holes = 6; numSides = Polygon_Count; holeR = Num_holes==6 ? 9.5 : (Num_holes==4 ? 6.35:6.2); smallHubR = Num_holes==6 ? 6.5 : (Num_holes==4 ? 1:19/2); screwOffset = Num_holes==6 ? 0 : 20; hubOD = Num_holes==6 ? 26.5 : (N...
glb/cad_19e9dbc565f2.glb
Create a Small Voronoi Style Lamp by starting with a solid cube measuring 50mm x 50mm x 75mm. Subtract a 3D Voronoi pattern from this volume, generated from a 3x3x5 grid of points with random offsets, using a cell thickness of 0.5mm and a rounding radius of 0.5mm for the gaps. Inside the cube, create a hollow cavity ...
use <voronoi3d.scad> function grid(n, m, h, s, d=0) = [ for (i = [0 : 1 : n-1]) for (j = [0 : 1 : m-1]) for (k = [0 : 1 : h-1]) s*[i, j, k] ]; function offsets(c, d, seed=42) = [ for (i = [0 : 1 : c]) rands(0, d, 3, seed+i) ]; function random_points(n, m, h, s, d, seed) = grid(n, m, h, s, d...
glb/cad_9347d426a051.glb
Create a Small Voronoi Style Lamp by starting with a solid cube measuring 50mm on each side, centered at the origin so its boundaries extend from -25mm to 25mm on all axes. Generate a 3D Voronoi pattern based on a 3x3x3 grid of points that have been randomly offset. From the solid cube, remove the Voronoi cells to cr...
point_set=random_points(3, 3, 3, 13, 12, seed=42); CubicSection(point_set); function grid(n, m, h, s, d=0) = [ for (i = [0 : 1 : n-1]) for (j = [0 : 1 : m-1]) for (k = [0 : 1 : h-1]) s*[i, j, k] ]; function offsets(c, d, seed=42) = [ for (i = [0 : 1 : c]) rands(0, d, 3, seed+i) ]; function...
glb/cad_70cc7bc358f8.glb
Create a bicycle chainguard as a flat circular disc with an outer diameter of 188mm and a thickness of 4mm. Remove a concentric circular hole from the center with a diameter of 89mm (radius 44.5mm) and a height of 6mm to pierce through the disc. Position four bolt holes around the center on a bolt circle diameter of 1...
outer_diameter = 188; bcd = 104; bolt_count = 4; bolt_clearance_angle_before = 18; bolt_clearance_angle_after = 15; bolt_angle = 360/bolt_count; difference(){ cylinder(r=outer_diameter/2, h=4); translate([0,0,-1])cylinder(r=44.5, h=6); for(i=[0:bolt_angle:359]){ rotate([0,0,i])translate([0,bcd/2,-1])cylinder...
glb/cad_330df990d0ad.glb
Create a brushless motor coupling by starting with a main cylinder that has a radius of 14mm and a height of 8mm. Remove a central vertical cylinder with a radius of 8.75mm and a height of 7mm from the bottom of the main body. Around the perimeter of this central void, remove four rectangular notches, each measuring 2m...
difference() { union() { difference() { cylinder(r=14,h=8); difference() { translate([0,0,-1])cylinder(r=17.5/2,h=7); rotate([0,0,0])translate([7,-0.75,-1])cube([2,1.5,20]); rotate([0,0,90])translate([7,-0.75,-1])cube([2,1.5,20]); rotate([0,0,180])translate([7,-0.75,-1])cube([2,1.5,20]); rotate([0,0,270])translate([7,-...
glb/cad_eaad4f88c5bb.glb
Create an enclosure for a DC-DC boost converter by starting with a solid rectangular box measuring 42.2mm wide, 69.9mm long, and 32.8mm high. Hollow out the center of this box to create a cavity measuring 37.5mm wide, 65.5mm long, and 28mm high, leaving a wall thickness of 2.4mm on all sides. The floor of this cavity s...
heatsink_length=46+0.5; heatsink_height=20.5+0.5; inside_width=37+0.5; inside_length=65+0.5; inside_height=28; wall_thickness=2.4; wire_thickness=4; outside_width=inside_width+(wall_thickness*2); outside_length=inside_length+(wall_thickness*2); outside_height=inside_height+(wall_thickness*2); difference() { transl...
glb/cad_8b4a2c0ce7ec.glb
Create a cable clip for a 2020 extrusion frame. The main body is a cylindrical holder with a length of 7mm, an outer diameter of 8.5mm, and a wall thickness of 1.2mm. The holder features a central circular void with a diameter of 4mm to accommodate a cable. To allow the clip to snap onto the extrusion, create a gap i...
length = 7; diameter = 4; thickness = 1.2; gap = 1; gap_size = 3.5; gap_angle = 0; reduce = 0.3; show_2020_extrusion = 0; eps = 0.05; $fn=128; module rounded_rect(size = [1, 1, 1], r = 1, center = false) { translate(center ? [0, 0, 0] : (size / 2)) hull() { for (x = [-size[0] / 2 + r, size[0] / 2 - r]) ...
glb/cad_6c4f5c39ef98.glb
Create a ventless gas can cap by constructing a tiered cylindrical assembly. Start with a base cylinder that has a radius of 11mm and a height of 22mm. On top of this base, add a second cylinder with a radius of 19.15mm and a height of 3.5mm. Above that, place a third cylinder with a radius of 17.15mm and a height of 3...
difference () { union () { translate([0,0,0]) cylinder(3.5,36/2,38.3/2,$fn=50); translate([0,0,3.5]) cylinder(1.5,38.3/2,34.3/2,$fn=50); translate([0,0,5]) cylinder(19,34/2,32.3/2,$fn=50); } translate([0,0,-.01]) cylinder(22,22/2,21.5/2,$fn=50); translate([17.5,-15,0]) cube([5,30,10]); }
glb/cad_5e2ebad0f902.glb
Create a hand cultivator consisting of a handle and three radiating prongs. Start with the handle: create a cylindrical grip with a radius of 15mm and a total length of 130mm. Along the top of this grip, add four finger-grip indentations, each with a radius of 10mm. At the base of the handle, integrate a hub that is ...
prong_height = 60; prong_width = 15; prong_depth = 6; prong_length = 75; support_distance = 20; hub_radius = 20; total_length =50; end_width = 30; hub_height = 6; num_prongs = 3; grip_radius = 15; finger_depth = 10; grip_length = 130; finger_radius= 10; num_fingers = 4; for (i = [1:num_prongs]){ rotate(i*(180/n...
glb/cad_b170fe60b821.glb
Create an iPad Pro stand with integrated storage. Start by constructing the main body as a wedge-shaped block with a total length of 150mm and a total width of 190mm. The profile of this wedge should slope from a rear height of 65mm down to a front height of 20mm over a distance of 150mm. Within this main body, carve...
totalLength = 150; totalWidth = 190; rearHeight = 65; frontHeight = 20; frontWidth = 90; middleWidth = 20; rearLength = 20; frontLength = 20; penLength = 180; accessoriesLength = 60; penDiameter = 10; module snubbedWedgePolygon(rearHeight,frontHeight,length) { polygon([[0,rearHeight],[0,0],[length,0],[length,fron...
glb/cad_537da4b0bd7c.glb
Create a BLTouch Auto Leveling Sensor mounting flange with a thickness of 4.5mm. The main body is formed by the convex hull of a central rectangular block measuring 8mm wide by 11.53mm deep, and two cylinders with a radius of 4mm positioned at the left and right edges (centered at x=9 and x=-9). From this solid shape...
flange_h=4.5; rec_flange=0; back_bracket=0; bracket_w=10; bracket_h=5; bracket_pos="center"; $fn=75; BLTouch(); if (back_bracket==1){ bracket(); } flange_c_d= 11.53; flange_c_w= 8.0; module bracket(){ if (bracket_pos == "center") { translate([-bracket_w/2,flange_c_d/2,0]) cube(...
glb/cad_7b46529f57e4.glb
Create a WebCam Holder consisting of a main rectangular body and a cylindrical attachment. Start by creating a rectangular block 60mm wide, 5mm thick, and 50mm high. At one end of this block, integrate a vertical cylinder with a radius of 12mm and a height of 50mm, so that the cylinder is partially merged with the bloc...
$fn=100; module gelenk1(){ module stabil(){ cube([20,40,5],center=true); translate([30,-15,0]) cube([40,10,5],center=true); rotate([90,0,0]) translate([50,4.5,5]) cylinder(r=7,h=30,center=true); } difference(){ stabil(); translate([0,10,0]) cylinder(r=2,h=20,center=t...
glb/cad_9e8de0a6ed31.glb
Create a Proma EG2 electronics enclosure consisting of two side profiles, two flat plates, and two end plates. Construct the two side profiles by extruding a complex 2D polygon to a length of 164mm. The polygon profile should be 56mm wide and feature a notched, interlocking edge designed to receive plates, with a spe...
Length=164; Width=56; Height=89; EXPLODED= true ; module sideprof(W=56){ module profile_corner(){ polygon([[0,0],[0, 9], [10, 9], [10, 8], [7, 8], [7, 7], [10, 7], [10, 4], [9, 4], [9, 5], [7, 5], [7, 4], [6.5, 4], [6.5, 4.5], [6, 4.5], [5.5, 5], [5.5, 6], [3, 6], [3, 4], [4, 4], [5, 3], [5, 2], [1.5, 2]...
glb/cad_9c106f195b2b.glb
Create a Graco MetroSport Bag Hook consisting of two C-shaped clips of the same height and wall thickness. Both clips are 20mm tall with a wall thickness of 5mm. The first clip is a large circular mount with an outer radius of 26.5mm and an inner radius of 21.5mm. Create this by taking a cylinder of the specified dim...
quality = 100; sm_handle_r = 7.5; sm_handle_depth = 10; lg_handle_r = 21.5; lg_handle_depth = 30; handle_h = 20; wall_t = 5; difference() { cylinder(handle_h,lg_handle_r+wall_t,lg_handle_r+wall_t,center=true,$fn=quality); union() { cylinder(handle_h,lg_handle_r,lg_handle_r,center=true,$fn=quali...
glb/cad_9cd284ee53b8.glb
Create a filament guide for a MendelMax printer. Start with a main body that is 20mm wide, 29mm deep, and 15mm high, with rounded corners of 3mm radius. Remove a central rectangular block measuring 20mm by 20mm by 22mm to create a channel for an aluminum extrusion. On the side of the body, add a protruding section th...
width = 15; outer_hole_dia = 7; expanded_part_width = 15; module hexagon(size, height) { boxWidth = size/1.75; for (r = [-60, 0, 60]) rotate([0,0,r]) cube([boxWidth, size, height], true); } module holder() { difference() { union() { translate([0, -9, 0]) minkowski() { cube([20,29,width-1]); cylinder(r=3,...
glb/cad_b9a9a654493d.glb
Create an Everspin spinning top consisting of a main body and a removable spinning point. For the body, create a central vertical shaft 30mm tall. The shaft should be a hollowed cone with a base diameter of 10mm and a top diameter of 6mm, capped with a 6mm sphere. The walls of this shaft should be 1mm thick, and the ...
ringCount = 5; ringDiameter = 30; ringInnerDepth = 2; ringOutterDepth = 4; ringHeightInner = 2; ringHeightOutter = 6; shaftHeight = 30; shaftDiameterTop = 6; shaftDiameterBase = 10; pointInsertClearance = 0.05; pointHeight = 8; pointBallDiameter = 2; shaftHoleWallThickness = 1; shaftHoleHeight = 10; quali...
glb/cad_06417efa9aa4.glb
Create a parametric inflater nozzle consisting of a hollow base and a tapered upper section. Start with a hollow cylinder for the inlet that has an outer diameter of 31mm, an inner diameter of 25mm, and a height of 13.5mm, creating a wall thickness of 3mm. At the center of this inlet, create a horizontal cylindrical cu...
inlet_diam=25; inlet_height=13.5; wall=3; pin_diam=4.25; pin_height=7.3; pin_angle=25; extra=0.1; inlet(); translate([0,0,inlet_height]) outlet(diameter=30-wall*2, height=14, taper=3); module outlet(diameter=40, height=10, taper=0) { transition_height=abs(diameter-inlet_diam); difference() { cylinder(r1=inlet_di...
glb/cad_e2ee0a0a1eaa.glb
Create a DJI F550 Pan Tilt camera mount plate. Start with a base square plate measuring 48mm by 48mm with a thickness of 2.8mm. Round the four corners of this plate with a radius of 4mm. At each of the four corners, create a vertical hole with a radius of 1.5mm that passes completely through the plate. Centered on top...
$fn=50; fudge=0.1; DJI_PlateThickness=1.62; DJI_DistanceBetweenPlates=36.90; Plate_Height=2.8; Plate_Corner_Radi=4; Plate_X_Size=48; Plate_Y_Size=48; Plate_Hole_Radi=3/2; Spacer_Length=52.8; Spacer_Width=26; Spacer_Height=5; Screw_Offset=9; Screw_radi=3.45/2; Screw_head_radi=6.5/2; Screw_head_height=4; LowerAttach...
glb/cad_9fba53c0728e.glb
Create a DJI F550 Pan Tilt camera mount consisting of a central plate and two symmetrical brackets. The central mount plate is a rectangular block measuring 26mm wide, 26mm deep, and 10mm thick. Construct two identical brackets that flank the central plate. Each bracket is composed of two tabs connected by a board. Th...
$fn=50; fudge=.1; bracket_width=26; bracket_upper_length=33; bracket_screw_bottom_offset=23; bracket_lower_length=29.5; bracket_screw_top_offset=23; bracket_screw_spacing=14.5; bracket_tab_thickness=6; bracket_radi=.5; bracket_board_thickness=1.95; bracket_board_spacing=36.90; bracket_plate_thickness=10; bracket_...
glb/cad_a791c661aa72.glb
Create a DJI F550 Pan Tilt camera mount consisting of a base plate and a vertical support arm. Start with a rectangular base plate measuring 48mm by 48mm with a thickness of 4mm and rounded corners with a 4mm radius. Drill four vertical holes with a radius of 1.6mm, positioned at each of the four corners. Construct ...
use <fillets.scad> $fn=50; fudge=0.1; servo_arm_hub_radi=9/2; servo_arm_hub_height=4.30; servo_arm_hub_center_hole_radi=3/2; servo_arm_hub_center_countersink_radi=6/2; servo_arm_hub_center_countersink_height=.45; servo_arm_tip_radi=6/2; servo_arm_tip_height=1.80; servo_arm_length=26.42; servo_arm_centerhubtooutterpi...
glb/cad_3cdb61ccd9a8.glb
Create a Cochlea House, a spiral-shaped building inspired by a cochlea. The structure is composed of a series of segments that expand in radius and height as they wind outward from a central point. Start with a central core and build outward in 12 repeating segments. Each segment's floor and outer wall follow a logari...
module slakkenhuis() { module part(m, n, flr, halfwall, wall, window, rad, beam) { r1 = radius_o * pow(radius_f, n / num_parts); r2 = radius_o * pow(radius_f, (n + 1) / num_parts); x1 = r1; y1 = 0; x2 = r2 * cos(deg); y2 = r2 * sin(deg); z1 = (r1 - radius_o) / (radius_o * radius_f - radius_o) * height_...
glb/cad_6b35f700c9d5.glb
Create a Cochlea Bungalow, a spiral-shaped house. The structure is based on a logarithmic spiral divided into 12 equal angular segments. Start with a floor that follows this spiral path, with a thickness of 30mm. The spiral begins at an inner radius of 800mm and expands outward. Construct the exterior walls along the...
module slakkenhuis() { module part(m, n, flr, halfwall, wall, window, rad, beam) { r1 = radius_o * pow(radius_f, n / num_parts); r2 = radius_o * pow(radius_f, (n + 1) / num_parts); x1 = r1; y1 = 0; x2 = r2 * cos(deg); y2 = r2 * sin(deg); z1 = (r1 - radius_o) / (radius_o * radius_f - radius_o) * height...
glb/cad_212956c447ec.glb
Create a hardware cleat with a total thickness of 5.5mm. Start by forming a central body that combines a truncated cone and a rectangular block. The truncated cone should have a bottom diameter of 31.5mm and a top diameter of 25.5mm, both centered. Merge this with a rectangular block measuring 47.5mm in length and 16.5...
$fn=45; cx=47.5; cy=16.5; z=5.5; difference() { union() { cylinder(h = z, d1 = 31.5, d2 = 25.5, center = true); inset = (31.5 - 25.5)/2+2; hull() { translate([0,0,-z/2+0.05]) cube([cx,cy,0.1],center = true); translate([0,0,z/2-0.05]) cube([cx-inset,cy-inset,0.1],center = true); } } hull() ...
glb/cad_40fa732591e9.glb
Create a sugar bowl by revolving a specific profile around a central vertical axis. The profile begins at the base with a flat bottom extending from the center to 20mm at a height of 1mm. From 20mm to 27mm, the base remains flat at 0mm height. From 27mm to 35.3mm, the outer wall curves upward following a parabolic path...
$fn = 360; thickness = 2.0; resolution = 0.1; module main() { outsidePoints = concat ( [for (x = [0 : resolution : 20]) [x, thickness / 2.0]], [for (x = [20: resolution : 27]) [x, 0.0]], [for (x = [28: resolution : 35.3]) [x, (x - 28) * (x - 28)]] ); topPoints = [ ...
glb/cad_6bcd93bbf675.glb
Create a clip for a printer enclosure. Start with a base block that is 25mm wide, 2.8mm thick, and 24.5mm long. From this base, extend a vertical section upwards by 25mm (total width 25mm) that is 2.8mm thick. Add a second vertical section on the opposite side that is also 2.8mm thick and 25mm wide, but only 19.5mm tal...
raise = 4.2; sheet_thk = 2.175; thick = 2.8; width = 25; length = 24.5 - thick; length_front = 19.5 - thick; magnet_h = 25.4/4 + .2; magnet_r = 25.4/8 + .06; hole_v_ofs = 1; fillet_r = 0.8*thick; module fillet(r, h) { difference() { cube([r, h, r]); translate([r, h+1, r]) rotate([90, 0, 0]) cylinder(h=h+2,...
glb/cad_f5c03b6989c9.glb
Create a bracket for a printer enclosure with a height of 26.5mm. The main body is a block with a width of 26.5mm and a depth of 26.5mm. The block's top surface is not flat; it is carved out by a wedge-shaped void. This void starts from the top and extends down to a thickness of 3mm, with its profile defined by a slo...
part = "lf"; test_print = false; module wedge (x, y, h) { linear_extrude(height=h, convexity=2) polygon([[0, 0], [0, y], [x, 0]]); } corner_front = 26.5; middle_front = 16.5; side = 26.5; overhang = 4; overhang_cutoff = false; height = 26.5; inset = 18.5; thick = 3; magnet_r = 25.4/8 + .15; magnet_h = 25.4/8;...
glb/cad_8992cb6b541c.glb
Create an adjustable spool mount consisting of an outer shaft and a sliding inner shaft. Construct the outer shaft as a square prism with a width and depth of 20mm and a height of 80mm. Create a square base at the bottom of this shaft measuring 40mm by 40mm with a thickness of 5mm. Centered within the base, remove a ...
bar_r = 2.6; mount_h = 80; outshaft_w = 20; inshaft_w = 14; hole_num = 5; hole_sep = (mount_h-10)/hole_num; screw_r = 1.8; inshaft_err = 1; base_w = 40; base_t = 5; basescrew_r = 1.8; qual = 20; wall_t = outshaft_w-inshaft_w; difference() { color([1,1,1]) union() { cube([outshaft_w,outshaft_w,...
glb/cad_46cb4152566a.glb
Create an adjustable spool mount bracket. Start with a main body that is 10mm thick. The overall footprint is an irregular polygon defined by the vertices [-28, 43], [-5, 40], [-2, 39.5], [0, 40], [4, 40], [4, 0], [0, 0], [-4, 5], [-4, 5], [-5, 0], [0, -5], [5, -5], [10, 0], [10, 40], [8, 67], [0, 70], [-28, 65], [-28,...
difference() { minkowski() { linear_extrude(height=10,twist=0,convexity=10,center=true){polygon([[-28,43],[-5,40],[-2,39.5],[0,40],[4,40],[4,0],[0,0],[-4,5],[-4,5],[-5,0],[0,-5],[5,-5],[10,0],[10,40],[8,67],[0,70],[-28,65],[-28,62],[0,62],[0,45],[-28,45]]);} cylinder(2,1,1,center=true,$fn=10); ...
glb/cad_4666e90b53e1.glb
Create a Linear Bearing Y Axis Carriage for ToM. Start with a rectangular base platform 84mm long, 68mm wide, and 5mm thick. At each end of the platform, create a bearing mount. Each mount is a block 29mm long, 22mm wide, and 15.5mm high. Within each mount, center a horizontal hole 23mm long with a diameter of 16.2mm...
platformLength=84; platformThickness=5; platformWidth=68; rodSpacing=49.5; mountLength=29; mountWidth=22; mountHeight=15.5+6; mountSpan=65; mountSpacing=87-mountLength; cableTieWidth=5; bearingLength=23; bearingDiameter=16.2; rodClearance=12; holeSpan=58.6; holeSpacing=37.5; holeDiameter=4; nutDiameter=6.5; nutThicknes...
glb/cad_0ea5418c3fcc.glb
Create a CNC tool holder by starting with a solid block 90mm wide, 90mm deep, and 60mm high. Center a vertical cylindrical hole with a radius of 32.5mm through the entire height to accommodate a 65mm tool. Remove a rectangular section 100mm wide and 10mm thick from the center of the block, spanning the full height, to ...
use <MCAD/nuts_and_bolts.scad>; toolsize = 65; $fn=256; module pipe(thesize,height) { outer = thesize + 20; inner = thesize; difference() { cylinder(r=outer,h=height); translate([0,0,-.1]) cylinder(r=inner,h=height+.2); } } module boltholes(xpos) { translate([xpos,-20,16]) rot...
glb/cad_5468bb45df95.glb
Create a battery holder frame for a BP-511 type camera battery. The frame consists of a base plate and two side rails that act as sliding guides. Start with a base plate that is 60mm long and 38.4mm wide (35.4mm inner width plus 1.5mm walls on each side). The plate should be 3.5mm thick. On each long edge of the base...
ew = 0.56; eh = 0.25; module bp511( w0 = 32.2, w1 = 35.4, l = 56, s = 8, l1 = 14.5, g1 = 6.5, l2 = 12.5, g2 = 10.5, l3 = 7, bh = 2, th = 5, wall = [4*ew,6*ew,3.5], screws = [[20,0],[45,-12.5],[45,12.5]], skip = [0,0], ){ wz = wall[2]; np = [[0,0,wz-0.1,11,1.5*ew,1], ...
glb/cad_d936d26d57ca.glb
Create a landscape iPhone 5 car dock designed for vent or CD slot mounting. Construct the main holder body as a rectangular sleeve with a total height of approximately 40mm and a depth of 12.5mm. The interior should be hollowed to accommodate a phone with a slim case, adding 1.3mm of extra thickness to the back and 0...
part = "case"; cable = "rnd"; low_front = 1; case_back_thickness = 1.3; case_front_thickness = 0; case_top_and_bottom_thickness = 0.3; case_left_and_right_thickness = 1.3; clip_first_tooth_distance = 5.5; clip_teeth_distance = 15; clip_top_tooth_len = 3.5; clip_tooth_and_arm_gap = 0.75; spacer_length = 12; ...
glb/cad_3ac96a47791f.glb
Create an Arducopter Motor Mount consisting of a base plate and a vertical arm pocket. First, create a motor plate with a thickness of 4mm. The plate is a complex shape formed by the intersection of a cylinder with a radius of 17.5mm (motor diameter 25mm plus a 5mm border) and a polygon. In this plate, center a verti...
arm_width=13.25; arm_height=arm_width; arm_pocket_wall_thickness=2; screw_pattern_x=19; screw_pattern_y=16; motor_diameter=25; motor_shaft_diameter=11; motor_shaft_clearance=1.5; motor_plate_border=5; arm_pocket_length=motor_diameter+motor_plate_border*2+5; screw_size=3.3; screw_head_size=6; plate_thickness=4; ex...
glb/cad_2602d5efdc31.glb
Create a Game Base consisting of ten hexagonal prisms arranged in a tight honeycomb grid. Each prism has a flat-to-flat width of 30mm. The prisms are organized in four columns with varying heights to create a terrain effect. In the first column, place three prisms at coordinates (0, 0), (0, 30), and (0, 60) with heigh...
a= 30; h1 = 10; h2 = 20; h3 = 10; h4 = 18; h5 = 30; h6 = 10; h7 = 15; h8 = 10; h9 = 25; h10 = 10; l = a*tan(30); translate([0,0,h1/2]){ esagono(h1,a); } translate([0,a,h2/2]){ esagono(h2,a); } translate([0,a*2,h3/2]){ esagono(h3,a); } translate([l/2 + l,a/2,0]){ translate([0,0,h4/2]){ esagono(h4,a); } ...
glb/cad_ba001d5f3a2f.glb
Create a Hubsan Battery Tray designed to hold ten batteries, each measuring 20mm wide by 31.5mm high and 8mm thick. First, construct a rectangular box with a base and four walls. The outer dimensions of the box should be 39.6mm by 88mm (calculated as 2 walls of 1.6mm plus the battery height and ten battery thicknesse...
ew = 0.4; layer = 0.3; batt_width = 20; batt_height = 31.5; batt_thickness = 8; batt_count = 10; box_height = batt_width - 5; wall = 4 * ew; 2wall = 2 * wall; assembly(); module assembly() { box(); color("green") translate([0, batt_thickness / 2, 0]) divider(); color("red") translate([0, -batt_thickness ...
glb/cad_2d0a3f6df353.glb
Create a Gem Ring consisting of a circular band and an embedded triangular gem. First, construct the ring band with a height of 5mm. The band's cross-section is a square with rounded outer corners; the inner radius is 11.5mm and the outer radius is 13mm. Next, create a triangular gem. The gem is formed by the inter...
r1=11.5; r2=13; h=5; gem_size=3; gem_sides = 3; gem_offset=0.8; gem_angle = 0; safty_gap=0; material_toggle=1; translate([0,0,h/2]) if (material_toggle==1) { difference() { ring(r1,r2,h,$fn=32); if(gem_size>0) { translate([r2+gem_size*2*sin(30)+gem_offset,0,0])gem(h,gem_size); %translate([r2+gem_size*2*...
glb/cad_ded3abf98683.glb
Create a replacement yoke for a shaving mirror by constructing a semi-circular hoop and an attached boss. Start by creating a hollow cylindrical shell with an inner radius of 92.5mm, an outer radius of 94.5mm, and a depth of 13mm. Cut this shell so it forms a C-shape, removing a section to leave a gap. At one end of ...
$fn=100; cylinder_in_r=185/2; thickness=2; depth=13; hole_r=3; drill_r=2.5; boss_h=18; union() { hoop(); boss(); } module hoop() { difference(){ translate([-thickness*2,0,0]) cylinder(h=depth, r1=cylinder_in_r+thickness, r2=cylinder_in_r+thickness, center=true); cylinder(h=depth*2, r1=cylinder_in_r, r2=cylinder_...
glb/cad_e7852f6e0e2e.glb
Create a Toothbrush Organizer consisting of a flat rectangular base plate with several specialized holders. First, create a charger holder: a block 62mm wide, 69mm deep, and 2mm high. Within this block, carve out a central ovoid cavity 10mm deep. This cavity is formed by removing a scaled cylinder (radius 23.5mm, sca...
chargers = 1; toothpastes = 1; toothpaste_d = 27; brushes = 2; interdentals = 2; module ovoid() { scale([1,1.32,1]) cylinder(h=10, r=23.5, center=false); translate([0,-6,0]) scale([1,1.1,1]) cylinder(h=10, r=22.8, center=false); translate([0,-3,0]) scale([1,1.21,1]) cylinder(h=10, r=23.3, center=false); transl...
glb/cad_b60285f4f395.glb
Create a Cordless Drill Battery Adapter. Start with a main rectangular body measuring 40mm by 60mm with a height of 49.9mm. Centered within this body, remove a cylindrical core with a radius of 13.5mm and a height of 50mm. Additionally, remove a second centered cylinder with a radius of 13.5mm and a height of 50mm, but...
llength = 49; slength = 27; polkey_depth = 2; polkey_width = 11; halfway = (llength - slength) / 2; spring_diam = 4; spring_radius = spring_diam / 2; spring_radius_clearance = spring_radius + 0.5; wire_radius = 1.5; translate([0, 0, 49.9]) rotate([180, 0, 0]) difference() { union() { translate([-20, -20, 0.05]...
glb/cad_50490bd2604a.glb
Create a Parametized Container designed as a shallow octagonal vessel. Start by constructing an outer octagonal prism with a height of 8mm. The top and bottom faces are octagons defined by 8 facets, with a radius of 98mm at the widest point and 80mm at the narrowest. Hollow out the center by removing an inner octagon...
topThickness=3; objectSide=98; objectTopSide=80; objectHeight=8; fn=8; module buildIt(){ fudge = (1+1/cos(180/fn))/2; union(){ difference(){ cylinder(objectHeight + ( topThickness * 1 ),(objectSide + ( topThickness * 1 ))*fudge,(objectTopSide + ( topThickness * 1 ))*fudge,$fn=fn); ...
glb/cad_58dedf12df50.glb
Create a Spool Helper by constructing a base consisting of two intersecting rectangular plates, each 2mm thick; one plate measures 60mm by 20mm and the other 20mm by 60mm, both centered on the same axis to form a cross shape. At the center of this cross, add a cylinder with a radius of 20mm and a height of 2mm, which b...
difference() { union() { translate([-30,-10,0]) cube([60,20,2]); translate([-10,-30,0]) cube([20,60,2]); cylinder(h = 2, r=20, $fd=100); cylinder(h = 9, r=16, $fd=100); } translate([0,0,2]) cylinder(h = 7, r=11.6, $fd=100); translate([0,0,-10]) cylinder(h = 20, r=6.6, $fd=100); translate([-2.5,-30.5,1]) cube([5,5...
glb/cad_77d09576ccc8.glb
Create a Spool Holder for Prusa Air 2 by constructing a flat plate with a thickness of 6mm. The overall footprint is composed of several joined rectangular sections. Start with a central rectangular body of 116mm by 15mm. Attach a 30mm by 45mm rectangle to the left side and a 25mm by 60mm rectangle extending further le...
difference(){ union(){ translate([-55,-11,-3]) cube(size = [116,15,6]); translate([55,3,-3]) cube(size = [6,15,6]); translate([39,10.5,-3]) cube(size = [18,7.5,6]); translate([-55,-50,-3]) cube(size = [30,45,6]); translate([-89,-110,-3]) cube(size = [25,60,6]); translate([-90,-51,-3]) rotate(a=[0,0,-61]) cube(size...
glb/cad_703fdc55cdda.glb
Create a centrifuge rack by starting with a solid rectangular block measuring 133mm in length, 90mm in width, and 81mm in height. From this base, remove a grid of six cylindrical holes to create space for tubes. Each cylindrical hole must have a diameter of 29mm and a depth of 80mm, leaving a 1mm thick floor at the bot...
_shape = 1; _diameter = 29; cap_diameter = 34.16; _base = 1; _height = 80 + _base; _length = 133; _width = 90; _columns = 3; _rows = 2; module tube(shape, diameter, height) { if(shape == 1) { cylinder(height, diameter/2, diameter/2); } if(shape == 2) { cube([diameter,diameter,height]); } if(shape ==...
glb/cad_4afd795adc20.glb
Create a beam height standard consisting of a rectangular base and a vertical pillar. Start with a base block measuring 30mm in length, 25mm in width, and 8mm in height. Center two cylindrical holes for magnets in the base, each with a diameter of 6.9mm and a depth that leaves a 0.8mm thick floor at the bottom. From t...
beam_height = 100; aperture_diameter = 2; crosshair_width = 0.8; crosshair_depth = 0.8; thick=3; width=25; base_thick = 8; base_length = 30; magnet_hole = "yes"; magnet_hole_diameter = 6.9; magnet_hole_bottom = 0.8; $fa=1; $fs=0.5; module beam_target() { difference() { cylinder(r=width/2, h=thick+crossh...
glb/cad_faeae0249ed6.glb
Create a servo mount and arm for an auto bed leveling system. The main body is a flat plate 2.5mm thick. Start with a circular base of radius 7mm at the origin. Attach a rectangular section 30mm wide and 8mm deep, 2.5mm thick, extending from the center. Add a rounded rectangular arm extending 56mm in length and 8mm in ...
$fn=30; difference(){ union(){ translate([0,0,0]) cylinder(h=2.5, r=7); translate([0,-4,0]) cube([30,8,2.5]); minkowski(){ translate([24,-15,0]) cube([10,18,1.5]); cylinder(r=1); } minkowski(){ translate([-5,12,0]) cube([56,8,2.5]); ...
glb/cad_406e27ec70b2.glb
Create a Smart Funnel consisting of two stacked conical sections with a wall thickness of 3mm. The top section is a frustum with a height of 60mm, tapering from a top radius of 30mm down to a middle radius of 12mm. The bottom section is a frustum with a height of 45mm, tapering from the 12mm middle radius down to a bot...
top_radius = 30; middle_radius = 12; bottom_radius = 8; thickness = 3; breather_radius = 2.5; top_height = 60; bottom_height = 45; smooth = 100; top_deltaY = 0 - top_height; top_deltaX = middle_radius - top_radius; top_breather_angle = atan(top_deltaY / top_deltaX); bottom_deltaY = 0 - bottom_height; bottom_deltaX = ...
glb/cad_cea13fa25486.glb
Create a Personal Ornament consisting of a spherical base with a decorative cap and personalized text. Start with a sphere of radius 40mm centered at (0, 30, 30). Cut away the bottom section of the sphere using a cube of 75x15x75mm positioned at (-40, -40, -40) and remove a cylindrical core of radius 28mm and height ...
line1_Text = "Your"; line1_Font="Rock Salt"; line1_fontSize = 5; line1_verticalSpacing = 4; line2_Text = "Name"; line2_Font="Rock Salt"; line2_fontSize = 5; line2_verticalSpacing = 7; line3_Text = "Here"; line3_Font="Rock Salt"; line3_fontSize = 5; line3_verticalSpacing = 7; line4_Text = "Happy"; line4_Font="Rock Sa...
glb/cad_e18954ef64a1.glb
Create a Bowden Tube Clip with a total thickness of 2.5mm. Start by creating a main cylindrical ring with an outer radius of 4.635mm and an inner hole with a radius of 2.135mm to accommodate a 4.27mm diameter tube. Cut a rectangular slot out of this ring that is 4.27mm wide and 2.5mm deep, centered on the ring, to crea...
$fn=75; tube_d=4.27; tube_cut=4.27; strap_t=2.05; strap_w = 9.0; clip_t = 2.5; difference(){ cylinder(r=tube_d/2+clip_t, h=clip_t, center = true); cylinder(r=tube_d/2, h=clip_t, center=true); translate([0,-tube_cut/2,-clip_t/2]) cube([7,tube_cut, clip_t]); } translate([0,tube_d+clip_t-1,0]){ ...
glb/cad_6f1791d3340f.glb
Create two identical bench vise jaw plates. Each plate is a rectangular block measuring 66mm in width, 16.5mm in height, and 7mm in depth. On the top face of each block, carve a grid of grooves to create a textured gripping surface. These grooves are 1.5mm wide and are spaced 4mm apart. Create a series of parallel ho...
bar_width = 66; bar_depth = 7; bar_height = 16.5; rill_distance=4; rill_width=1.5; rill_offset_x=0; rill_offset_y=0; screw_head_diameter = 8.2; screw_head_radius = screw_head_diameter/2; screw_head_heigth = 2.3; screw_diameter = 4.4; screw_radius = screw_diameter/2; screw_distance=47.5; screw_heigth = bar_depth - scr...
glb/cad_83ffdc7a0ac5.glb
Create a FoxBlock electrical terminal block. Start with a main rectangular block measuring 18.12mm in width (calculated as one wide I-beam width of 13.12mm plus two 3mm walls and one 2mm gap), 23.2mm in height (13.2mm I-beam height plus 10mm screw height), and 19mm in depth (two connections spaced 9.5mm apart). Within...
ConnectionCount = 2; RowCount = 1; ConnectionHoleRadius = 3.2; ConnectionHoleLowering = 1; DistanceBetweenConnections = 9.5; IBeamWidthWide = 13.12; IBeamWidthNarrow = 8.60; IBeamHeight = 13.2; IBeamLipThickness = 1; GapBetweenIBeams = 2; ScrewHoleRadius = 4; ScrewHeight = 10; WallThickness = 3; CylindarFaceNumber = 3...
glb/cad_89661f9be703.glb
Create a Parametrized Delta Rail Carriage gantry plate. Start with a rectangular base plate with rounded corners, measuring 34.5mm by 34.5mm with a thickness of 8mm. Position four primary bolt holes for the wheels. Two holes are placed at x=15.9mm, y=15mm and x=15.9mm, y=-15mm. For a four-wheel configuration, add two...
holeCreationOffset=0.05; createcarraigeassembly=0; enableFourWheels= 1; enableBearing=1; enableWheel=1; enableMisumiWheel= 0; enableFakeExtrusion= 1; enableGantryPlate=1; enableGantryPlateRecessedNuts=1; enableOffsetGantry=0; enableSpacers=1; enableSpacerBolts=1; enableEccentricSpacers=1; enableWheelSpacer...
glb/cad_b93c72d9dfb6.glb
Create a T-clip tripod clamp with a total height of 29mm and a wall thickness of 2mm. The model consists of a rectangular base section and a circular tube section. Start with a rectangular block 59mm wide, 54mm deep, and 29mm high. On one end, integrate a circular tube with an outer radius of 16.75mm and an inner rad...
tube_type = "circlular"; tubeWidth = 29.5; tubeDepth = 28; slotDepth = 5; slotWidth = 50; height = 29; wallThickness = 2; slotGap = 10; tubeGap = 18; numHoles = 0; holeDiameter = 4; module tripodclamp() { tubeRadius = tubeWidth/2; difference() { union(){ cube([slotDepth + (2*wallThickness) + 5 ...
glb/cad_bf1a6ce2cad1.glb
Create a ventilation cover consisting of a square base and a central cylindrical riser. Start with a square plate measuring 80mm by 80mm with a thickness of 2mm. At each of the four corners of this plate, create a small square protrusion measuring 3mm by 3mm and 2mm high, rotated 45 degrees relative to the plate edges....
include<polyScrewThread.scad>; m3d=3.3; m5d=5.3; m5s=7; m3nd=6.2+0.1; m3nh=2.6; di=78; do1=80; di1=38.5; x=80; y=80; h=2; h2=30; h3=15; w=3; bwo=71.5; do=44; drs1=2.2; $fn=64; module konu1() { difference() { union() { translate([0,0,h/2]) cube([x+w,y+w,h], true); for (mx=[0,1]) mirror([mx,0,0]) for (my=[0,1...
glb/cad_4315a008e009.glb
Create a ventilation cover consisting of a circular base and a raised central disk. Start with a flat circular base with a diameter of 60mm and a thickness of 1mm. Centered on this base, create a second circular disk with a diameter of 52mm and a height of 6.6mm. The side wall of this raised disk is not solid; it is ...
include<polyScrewThread.scad>; y=50; do1=60; di1=38.5; do=44; drs1=2.2; h1=2; h2=20; h=h2+h1+h1; h3=drs1*3; h4=10; zr=0.6; w=4; n=32; $fn=64; module muf1(){ difference() { union() { translate([0,0,h1/2]) cylinder(r=do1/2, h=h1/2); translate([0,0,0]) cylinder(h1/2, do1/2-1, do1/2); translate([0,0,0]) screw_threa...
glb/cad_0dcffd77070a.glb
Create a ventilation cover consisting of a shallow cylindrical disc with a total height of 6.6mm. The main body is a cylinder with a diameter of 56mm. At the center of the disc, create a recessed internal screw thread with an outer diameter of 47.6mm and a pitch of 2.2mm, extending through the bottom of the part. A...
include<polyScrewThread.scad>; y=50; do1=56; di1=40.5; do=47.6; drs1=2.2; h1=2; h2=20; h=h2+h1+h1; h3=drs1*3; h4=10; zr=0.6; w=4; n=32; $fn=64; module muf1(){ difference() { union() { translate([0,0,h1/2]) cylinder(r=do1/2, h=h1/2); translate([0,0,0]) cylinder(h1/2, do1/2-1, do1/2); translate([0,0,0]) screw_thr...
glb/cad_8f98e689dee9.glb
Create a ventilation cover frame with an outer footprint of 60mm by 120mm and a total height of 15mm. The main body is a hollow rectangular ring with a wall thickness of 2mm. At each of the four corners, integrate a cylindrical pillar with a diameter of 14mm. These pillars should be centered 23mm from the center of t...
m4d=4.5; m4s=9; x=60; y=120; h=15; dw=14; w=2; $fn=64; module skoba() { difference() { union() { hull() { for (my=[0:1]) mirror([0, my, 0]) for (mx=[0:1]) mirror([mx, 0, 0]) translate([-x/2+dw/2-w,-y/2+dw/2-w,h/2]) cylinder(r=dw/2, h=h, center=true); } translate([-x/2-w/2,y/2+w+h/2,h/2]) rotate([0,90...
glb/cad_80640d5d3d24.glb
Create a ventilation cover consisting of a rectangular duct that transitions into a circular outlet. Start by creating a rectangular box with outer dimensions of 60mm by 120mm and a wall thickness of 15mm. The main body should be a hollow shell with a height of 100mm. At the base, integrate a circular outlet with an o...
di=97; d=100; do=104; dw=15; x=60; y=120; x1=x-3.5; y1=y-3.5; xi=x1-3; yi=y1-3; bw=150-2-30; hbw=100; hc1=10; hc2=10; hc=hc1+hc2; hb1=10; hb2=10; hb=hb1+hb2; hz0=1; hz1=2; hz2=5; hz3=5; hz=hz0+hz1+hz2+hz3; $fn=64; module korob1(){ translate([bw/2+do/2,0,hc1]) rotate([0,-4.05,0]) translate([-bw/2-do/2,0,-hc1])...
glb/cad_426c4a16f394.glb
Create a ventilation cover consisting of a hollowed cylindrical ring. Start by creating a solid cylinder with a diameter of 53.5mm and a total height of 10mm. From the center of this volume, remove a smaller concentric cylinder with a diameter of 47.5mm and a height of 10mm to create the basic ring shape. Within the ...
include<polyScrewThread.scad>; m4d=4.5; d1=95; d2=99.6; d3=d2+4; d4=d3+30; h1=5; h2=5; h=h1+h2; h3=12+4; drs1=2; zr=0.3; module vent1() { difference() { union() { translate([0,0,h1/2]) cylinder(h1, d3/2, d3/2, true, $fn=64); translate([0,0,h1]) screw_thread(d2,drs1,50,h2,PI,1); } translate([0,0,h/2]) cylinder...
glb/cad_97993fc4a044.glb
Create a 2.4GHz antenna socket for a Multiplex transmitter. The main body is a symmetrical frame consisting of two side walls connected by a central structure. Each side wall is defined by a polygon with vertices at [0,0], [0,11.5], [11.5,38], [18,36.5], [19.5,34], and [19.5,0], extruded to a thickness of 2.5mm. In th...
use <write/Write.scad> Use_Switch = 1; Text_Right = "J" ; Text_Left = "S" ; switch_plate_w = 24 ; switch_plate_h = 8 ; holedia = 1.2 ; holedist = 19 ; slider_width = 9.5 ; slider_height = 4.2 ; use_support = 1 ; framedata = [ [ [0 , 0 ], [0 , 11.5 ], [11.5 , 38 ], [18.0 , 36.5 ], [19.5 , 34.0 ], [19.5 , ...
glb/cad_8e3701a523cd.glb
Create a mold for a Tubing Adapter for Soft Robots by starting with a solid outer cylinder that has a radius of 18.5mm and a total height of 27mm. From the center of this cylinder, remove a series of concentric cylindrical volumes to create the internal cavity. First, remove a cylinder with a radius of 15mm and a heigh...
FlangeHeight = 7; FlangeRadius = 15; SleeveHeight = 15; TubingSize = 6.35; TubingRadius = TubingSize / 2; SleeveRadius = TubingRadius + 4; OuterRadius = FlangeRadius + 3.5; MoldHeight = FlangeHeight + SleeveHeight + 5; difference() { cylinder(MoldHeight,OuterRadius,OuterRadius,0); union() { translate([0,0,MoldHeight - ...
glb/cad_77028ae02099.glb
Create a clipless pedal cleat shim by starting with a rectangular base measuring 38mm in length, 26mm in width, and 1.2mm in thickness. Center the object on the origin. Remove two circular holes, each with a radius of 4.25mm, positioned along the center longitudinal axis; place the first hole at x = 7mm and the second ...
thickness = 1.2; difference() { cube([38,26,thickness], center=true); translate([14/2,0,0]) cylinder(r=4.25, h = thickness+1, center=true); translate([-14/2,0,0]) cylinder(r=4.25, h = thickness+1, center=true); translate([38/2, 26/2, 0]) corner(); translate([-38/2, 26/2, 0]) corner(); translate([-38/2, -26/2, 0])...
glb/cad_5b46b8436e31.glb
Create a rubber stamp handle by combining a rectangular base with a tiered vertical grip. Start with a centered rectangular block for the base that is 50mm wide, 25mm high, and 4mm thick. Centered on top of this base, construct the handle using three stacked geometric sections. The bottom section is a cylinder 18mm tal...
w_stamp = 50; h_stamp = 25; h_handle = 55; r_handle = 16; r_neck =8; h_neck = 18; t_stamp = 4; r_bot=(h_stamp/2)-1; module handle() { union() { translate([0,0,h_handle]) sphere(r=r_handle,center=true); cylinder(h=h_handle,r1=r_neck,r2=r_handle); cylinder(h=h_neck,r1=r_bot,r2=r_neck); } } module base()...
glb/cad_73956d330e53.glb
Create a sensor mount for a capacitive proximity sensor. Start with a base rectangular block measuring 52mm in length, 5mm in width, and 12mm in height. At one end of this block, attach a semi-cylindrical housing with an outer radius of 12.5mm and a height of 12mm. To form the sensor cavity, remove a central cylinder w...
$fn=50; difference(){ union(){ translate([0,0,0]) cube([52,5,12]); translate([52,-2,0]) cylinder(h=12, r=12.5); translate([48,-21,0]) cube([8,12,12]); } translate([6,-1,7]) rotate([-90,0,0]) cylinder(h=10, r=2.3); translate([12,-1,7]) rotate([-90,0,0]) cylinder(h=10, r=2.3); ...
glb/cad_b7ad3a33d226.glb
Create a Digital Microscope fast-clamp mount consisting of three separate components: a clip, a link, and a noose, designed to be assembled with an M4 screw. First, create the clip. The main body is a block 36.8mm wide and 10mm high. It features a central rectangular cutout to accommodate an aluminum profile (15.5mm x...
clmp_internal = 27.8; clmp_width = 4.5; clmp_extra = 11.5; clmp_noose = 4; clmp_external = clmp_internal + 2*clmp_width; clmp_clipaxes = clmp_external -1 + clmp_noose; module clip (height = 10, holes = 0, h_pos = 0 ){ adjust_01 = .8; adjust_02 = .4; translate([0, - clmp_internal-clmp_extra-.1,...
glb/cad_5d2c47fa625c.glb
Create a digital microscope fast-clamp mount. Start by constructing a main cylindrical body with an outer diameter of 82mm and a height of 35mm. This body should be hollowed out by a central vertical hole with a diameter of 72mm. Within the base of the cylinder, create a recessed shoulder that transitions from the 82...
use <MCAD/polyholes.scad>; use <fast-clamp06.scad>; hclamp = 35; d1 = 74; d2 = 72; ht = 35; hl = 15; al = 17; ah = 4.5; de = d1 +8; l45 = (d1-d2)/2; lb = hclamp+20; db = 24; module support() { difference(){ union() { cylinder (h=ht, r= de/2, $fn = 128); translate ([0,-lb/2,0])cube...
glb/cad_316d0712f78d.glb
Create a lego rack designed to hold a single brick width of 7.96mm and a length of 4 studs (31.84mm). The base is a rectangular plate 3.73mm thick with a wall thickness of 1.23mm. Along the length of the rack, create a series of 10 teeth. Each tooth is formed by a hull of two cylinders with a radius of 0.15mm at the ...
width_in_studs = 1; length_in_studs = 4; module tooth() { $fn = 20; brick_height = 9.64; brick_width = 7.96; stud_diameter = 4.88; stud_height = 1.82; plate_height = brick_height/3; wall_thickness = 1.23; height_in_plates = 1; tooth_base_width = 2.3; ...
glb/cad_75ae1d51ac56.glb
Create a digital camera fast-clamp mount. Start with a main rectangular body that is 35mm high. On one side, integrate a clip mechanism with a height of 35mm. Attach a rectangular block measuring 80mm in length, 15mm in width, and 35mm in height, positioned at coordinates [-43.2, 4, 0]. Add a rounded feature at [53, ...
use <MCAD/polyholes.scad>; use <fast-clamp06.scad>; hclamp = 35; module round_internal(radius,length, clearance = .1) { translate([-clearance,-length/2,-clearance]) difference(){ cube(size=[radius+clearance,length,radius+clearance]); translate([radius+clearance,-0.1,radius+clearance]) { ...
glb/cad_6cdc00940172.glb
Create a hook for a utensil bar consisting of two connected circular rings joined by a straight vertical segment. Both rings have an outer diameter of 22.9mm and a wall thickness of 3.9mm. Start with the top ring, which is a flat disc with a central hole of 15.1mm in diameter. Cut a small square gap 4.3mm wide throug...
thickness = 3.9; outerCircleDiameter = 22.9; innerCircleDiameter = outerCircleDiameter - thickness; circleGapWidth = 4.3; spacerLength = 12.8 * 2; $fs = 0.5; $fa = 0.1; module topCircleClosed() { difference() { cylinder(h = thickness, d = outerCircleDiameter); translate([0, 0, -thickness / 2]) ...
glb/cad_876a37c2b21f.glb
Create a rectangular storage box with a sliding lid. The main box body has interior dimensions of 70mm x 45mm x 38mm, with wall thicknesses of 0.6mm. The box is open at the top and features a recessed frame around the upper inner edge to guide the lid. The box walls are perforated with a grid of circular holes. On the...
w = 0.6; lidThickness = 0.9; lidFrameInset = 0.9; lidHGap = 0.35; lidVGap = 0.3; lidHandleRadius = 5; module createBar(length) { difference() { cube([length, lidFrameInset, lidFrameInset + w]); translate([-1, lidFrameInset, lidFrameInset]) rotate([-135, 0, 0]) cube([length+2, 20, 20]); } } module createBox(cont...
glb/cad_dfb42cfee6b3.glb
Create a crochet hook by combining a cylinder and a sphere, then carving out a notch. Start with a cylinder that has a radius of 3.05mm and a total height of 91.5mm, centered on the origin. Place a sphere with a radius of 3.05mm at the top center of the cylinder. To create the hook's head, carve a triangular prism out ...
hooksize = 6.1; d = hooksize; r = hooksize/2; h = hooksize * 15; module triangle(radius) { o=radius/2; a=radius*sqrt(3)/2; polygon(points=[[-a,-o],[0,radius],[a,-o]],paths=[[0,1,2]]); } module triangle_prism(height,radius) { linear_extrude(height=height, center = true) triangle(radius, center = true); } smal...
glb/cad_81a6d2a7f9b2.glb
Create a magic wand handle that is 100mm long with an outer diameter of 12.3mm. The handle is centered on the Z-axis and features a hollow vertical core with a diameter of 11.3mm running through its entire length. To create the exterior texture, add two intersecting square prisms, each with a width of 10.3mm, that are ...
$fn=(100 * 1); opening_diameter = 10.8; handle_length = 100; twist_factor = 2; endcap_thickness = 2; handle_od = (opening_diameter + 1.5); endcap_overhang = (2 * 1); buff = (.5 * 1); module vertical_cylinder(dia) { translate([0, 0, endcap_thickness]) cylinder(h=(handle_length + endcap_thickness), r=(dia ...
glb/cad_57cd285ffc9a.glb
Create a Text Ring by constructing a circular band with an inner radius of 12mm, an outer radius of 13.5mm, and a total height of 7.4mm. The cross-section of the band should be shaped such that the inner and outer edges are rounded. On the outer perimeter, embed a decorative gem. This gem is formed by the union of a 3...
include <OpenScadFont.scad>; r1=12; r2=13.5; h=7.4; gem_size=2.5; gem_sides = 3; gem_offset=0.8; gem_angle = 0; safty_gap=0; text_angle = 140; text=[7,"R","e","p","","R","a","p"]; text_offset=0.6; text_multiply=1; material_toggle=1; translate([0,0,h/2]) if(material_toggle==0) { minkowski() { difference() { r...
glb/cad_3f70e428dc33.glb
Create two pen caps shaped like lightsaber hilts. Each cap is based on a main cylinder with a diameter of 10.16mm and a height of 58.42mm. Both caps feature a central hollow bore to hold a pen, starting with an opening diameter of 8.76mm at the top and tapering slightly to 7.87mm at the bottom. For the first cap, add ...
in=25.4; ndia = 50; dmain = 0.4*in; hmain = 2.3*in; htop=3; phopen = .345*in; phend = .31*in; translate([10,0,0]) luke(); translate([-10,0,0]) rotate(180) vader(); module vader() { difference() { union() { color("silver") cylinder(d=dmain,h=hmain,...
glb/cad_1194f0362c66.glb
Create a smartphone microscope clip with a height of 15mm. The main body is a flat base with a thickness of 2mm. From this base, extend two curved, vertical walls that form a wave-like gripping profile. The first curve is a semi-circular shell with an inner radius of approximately 3.5mm and a wall thickness of 2mm. The...
lens_distance = 35.5; lens_radius = 2.5; phone_thinkness = 7; clip(lens_distance, lens_radius, phone_thinkness); module semi_circle_shell(radius, shell_thickness = 2, shell_height = 15) { difference() { rotate_extrude(convexity = 10, $fn=72) translate([radius, 0, 0]) square([sh...
glb/cad_9d9df8aa9c7b.glb