Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a stylized creature model with a total height of 12mm. Start by placing a cylinder for the body with a radius of 12mm and a height of 12mm. Position a second, smaller cylinder for the head with a radius of 10mm and a height of 12mm, centered at X=0 and Y=15. Construct two symmetrical ears as wedge-shaped polyh...
zh = 12; rbody = 12; rhead = 10; yhead = 15; xout = 9; xin = 1; xtip = 12; yout = 25; yin = 18; ytip = 40; xeye = rhead/2; yeye = 0.2*rhead + yhead; reye = 1.5; $fn=20; cylinder(r=rbody,h=zh); translate([0,yhead,0]) cylinder(r=rhead,h=zh); polyhedron( points=[ [-xout,yin,0],[-xin,yout,0], [-xtip,ytip,0], [-x...
glb/cad_9b74f0dacfd2.glb
Create an Afinia Dial Indicator Attachment by constructing a base block and removing specific volumes. Start with a solid shape formed by the convex hull of two rectangular prisms: one centered at 15mm width, 6.55mm depth, and 15mm height, and another measuring 26mm width, 6.55mm depth, and 15mm height positioned at th...
mount_width=20; mount_height=3; mount_hole=4; spacing=3; gauge_height=18; gauge_width=6.55; gauge_offset=7; height=15; width=mount_width+spacing*2; hole_gap = spacing; length=mount_height+spacing*2+hole_gap+gauge_height; difference() { hull() { translate([width/2-(gauge_width+spacing*2)/2,0,0]) cube([gauge_widt...
glb/cad_c7289b51948c.glb
Create four 8-bit style space invader ornaments. Each ornament is constructed from a grid of pixels, where each standard pixel is a rectangular prism measuring 4mm in width, 4mm in height, and 4mm in thickness. To ensure structural connectivity between adjacent pixels, use slightly oversized pixels measuring 5mm by 5mm...
x_scale = 4; y_scale = 4; z_scale = 4; d_hole = 3; overlap = 1; $fn = 32; X_scale = x_scale + overlap; Y_scale = y_scale + overlap; x_max = 15; y_max = 7; inv_max = 3; invader = [ [ [ " xx ", " xxxx ", " xxxxxx ", ...
glb/cad_79eed19650ee.glb
Create a spherical container with an outer diameter of 70mm. The container is a hollow shell formed by subtracting a concentric inner sphere with a radius of 33.5mm from the outer sphere. To decorate the surface, create 200 small circular holes that penetrate through the shell. Position these holes based on the coord...
include <calls_to_plane_curves.scad> include <plane_curves_2.scad> rotate([0,-54.7356,0]) rotate([0,0,-135]) union() { difference() { decor_14 ( -0.5773503, 0.5773503,-0.5773503,2.2,1,0,26.2); decor_14 ( -0.5773503, 0.5773503,-0.5773503,2.1,18,0,29); } decor_10( 0.5773503,-0.5773503,-0.5773503,1.9,3,-2,32);...
glb/cad_283c02737edb.glb
Create a project box with external dimensions of 40mm width, 60mm length, and 20mm height. The box should have a uniform wall thickness of 2mm, creating a hollow interior cavity that is 36mm wide, 56mm long, and 18mm deep. In the base of the box, create a grid of small holes, each with a radius of 0.5mm and a depth of ...
width = 40; length = 60; height = 20; wall = 2; pitch = 5; module pbox(w,l,h,wall,pitch){ difference(){ cube([w,l,h]); union(){ translate([wall,wall,wall]) cube([w-2*wall,l-2*wall,h]); for (f=[0:l/pitch-2]){ for (i=[0:w/pitch-2]){ tran...
glb/cad_76960388d1da.glb
Create a U-bracket with a total width of 56mm, a depth of 7mm, and a uniform material thickness of 3mm. The bracket consists of a flat bottom section and two vertical side walls. The bottom section is a rectangular prism measuring 50mm wide, 7mm deep, and 3mm high. Attached to each end of this base are vertical colum...
width = 50; height= 20; thickness = 3; left_wing_width = 10; left_wing_height = thickness; left_column_width = thickness; left_column_height = height+thickness; right_wing_width = 10; right_wing_height = thickness; right_column_width = thickness; right_column_height = height+thickness; bottom_width = width; bottom...
glb/cad_1ad000c39abe.glb
Create a Castle Chess piece by combining several geometric primitives. Start with a base consisting of a sphere with a radius of 10mm, scaled by a factor of 2 along the X and Y axes and 1 along the Z axis, positioned 9mm above the origin. Directly below this, center a cylinder with a radius of 20mm and a height of 7mm....
translate([0,0,9]){ scale([2,2,1]){ sphere(r=10); } } translate([0,0,-3]){ #cylinder(7,20,20,center); } cylinder(45,20,10); translate([0,0,40]){ cylinder(10,10,15); } translate([0,0,50]){ difference(){ cylinder(10,15,15); cylinder(10,8,8); translate([5,-5,0]){ cube(10,10,10); } translate([-5,5,0]){ cube(10,10,10); } tr...
glb/cad_c8a4c6f12630.glb
Create a Ruled Hyperboloid consisting of a lattice of straight struts connecting two elliptical rings. The structure has a total height of 60mm. The bottom and top boundaries are elliptical rings with a major axis eccentricity of 1.5. Both the top and bottom ellipses have a radius of 20mm. Construct the main body usin...
Height = 60; Bottom_Radius = 20; Top_Radius = 20; Phase=120; Thickness=1.5; Eccentricity=1.5; Steps=18; Sides=10; Base_Height = 3; Base_Width = 3; Top_Height = 3; Top_Width = 3; Offset=1; function norm(v) = pow(v.x*v.x + v.y*v.y + v.z*v.z,0.5); module orient_to(origin, normal) { translate(origin...
glb/cad_ef5fc239744b.glb
Create a Universal Box consisting of a base and a cover. For the base, create a solid rectangular block 60mm wide, 62mm deep, and 19mm high. Hollow out the center of this block by removing a rectangular volume 58mm wide, 58mm deep, and 18mm high, leaving a wall thickness of 1mm on all four sides and a floor thickness o...
height=31; width=58; depth=18; wall=1; tollerance=1.2; render()base(); translate([-20,0,2*wall+wall*tollerance]) rotate([180,0,180]) render() cover(); module base() { difference() { union() { cube([height+2*wall,width+2*wall,depth+wall]); translate([-wall,-wall,depth]) cube([height+4*wall,widt...
glb/cad_5c8ceb786b28.glb
Create a fan duct for a 40mm fan and a heat sink. Start by creating a square fan mount base 40mm by 40mm with a height of 17mm. The base should have a central hole that tapers from a 40mm diameter at the fan face down to a smaller diameter at the heat sink end. At the four corners of the fan mount, add four cylindric...
dh=22.3; hh=26.0; hl=3.0; dfh=17.0; wt=2.0; hv=0; $fn=100; module LuefterTraeger() { difference() { union() { hull() { for(xy=[[1.5,1.5], [38.5,1.5], [1.5,38.5], [38.5,38.5]]) { translate([-40/2+xy[0], -40/2+xy[1], 0]) cylinder(d=3, h=2); } } translate([0, 0, 0])...
glb/cad_b24f51fb12db.glb
Create a Samsung S-Pen Tip Protector by designing a hollow shell with a 2mm wall thickness. Start by forming the inner cavity, which consists of a cylinder 9.35mm in diameter and 20mm high, capped with a conical section that tapers from that diameter down to a 1.5mm diameter circle over a height of 11mm, ending in a fl...
penProtector(); module penProtector(){ difference(){ union(){ minkowski(){ penModel(); sphere(d=2); } } penModel(); translate([-7,-7,-1.98]) cube([14,14,2]); } } module penModel(){ hull(){ difference(){ union(){...
glb/cad_0a477146ec4d.glb
Create a Router Circle Cutting Jig consisting of a main base plate and a removable inlay. First, construct the base plate. Start with a circle of 145mm diameter, but truncate the top and bottom to create a shape 110mm high. Cut a central rectangular opening 85mm wide by 30mm high. Drill four mounting holes of 5.6mm d...
$fs=0.5; $fa=6; BUILD_TYPE = "complex_circle"; M3_HEAD_HEIGHT = 2.6; M3_HEAD_DIA = 6; M3_HOLE_DIA = 3.8; M3_TAP_DIA = 2.8; CUTTING_DIA = 12; OUTER_DIA = 145; INNER_DIA = 30; INNER_WIDTH = 85; BASE_HEIGHT = 110; BASE_THICKNESS = 6; HOLES_X_DIST = 106; HOLES_Y_DIST = 56; HOLES_DIA = 5.6; INLAY_THICKNESS = ...
glb/cad_b9bc178cc858.glb
Create a Finger Wheel consisting of a central hub and a surrounding wheel. Start by creating a main wheel cylinder with a radius of 20mm and a height of 10mm, centered on the Z-axis. Add a central boss on top of the wheel, which is a cylinder with a radius of 4mm and a height of 10mm. Remove a central shaft hole with ...
shaft_size = 8; grub_size = 3; boss_height = 10; wheel_radius = 20; wheel_height = 10; finger_size = 7.5; grip_count = 7; grip_flatten = 0.7; cap_scale = 1.1; PI = 3.1415927; circum = 2*PI*wheel_radius; finger_remainder = circum - grip_count*finger_size*2; cap_size = (finger_remainder/(2*grip_count))*cap_scale; b...
glb/cad_bd6c3e240d24.glb
Create an Airtripper Jhead-Lite extruder block. Start with a base plate 42mm wide, 42mm deep, and 3mm thick. At the center of the base, create a vertical cylindrical cutout with a radius of 13mm at the bottom tapering to a radius of 5mm at the top over a height of 20mm to accommodate the stepper motor shaft. Surround...
show_extruder = true; show_idler = false; show_idler_with_flange = false; show_strut = false; show_axle = false; show_all = false; show_extruder_axle = false; show_idler_strut = false; if (show_extruder) { translate([0,0,0]) rotate([0,0,270]) extruder_block(); } if (show_idler) { extruder_idler_608z(); } if (show_id...
glb/cad_eadb046ceddd.glb
Create a Buckyball Pencil Holder by constructing a wireframe based on a C180 fullerene geometry. The structure is composed of 180 nodes connected by bonds. At each node, place a sphere with a radius of 1.6mm, using a low-facet resolution of 8. Connect these nodes with cylinders of radius 1.6mm and a 6-sided polygonal c...
mark = 3; if (mark==1) scale(1.75) difference() { wire_frame(c180_bonds,c180s_top,.8,.8,6); translate([0,0,-49.2]) cube([100,100,100],center=true); } else if (mark==2) rotate([0,180,0]) difference() { scale(1.75) wire_frame(c180_bonds,c180s_bottom,.8,.8,6); translate([0,0,48.8]) cube([100,100,100],center=true); } ...
glb/cad_fae42e5abd9e.glb
Create a set of Tetromino game pieces. Each piece is composed of one or more identical square blocks. Each block is a cube with a side length of 12mm and a height of 2mm. In the center of the bottom face of each block, create a cylindrical hole with a diameter of 4mm and a depth of 1mm. Construct the following shapes ...
module tetrisfirkant(xy=14,z=2,centerhole=false,holedia="auto",holedep="auto") { zz = z/2; xy=xy-z; translate([zz,zz,z]) { difference() { polyhedron( points=[ [0,0,0],[xy,0,0],[xy,xy,0],[0,xy,0], [0,-zz,-zz],[xy,-zz,-zz], ...
glb/cad_172205fc9226.glb
Create a dishwasher status indicator in the shape of a water drop with an overall width of 50mm. The main body is formed by combining a cylinder with a radius of 25mm and a triangle with a base of 45mm and a height of 45mm, both extruded to a total height of 1.58mm. Center a cylindrical hole for a magnet with a diame...
overall_width=50; layer_height=0.22; layer_count_min=3; magnet_height=1.58; magnet_depth=12.72; $fn=100; magnet_h_l=ceil((ceil(magnet_height/layer_height)+1)/2)*2; magnet_d_l=ceil((ceil(magnet_depth/layer_height)+1)/2)*2; magnet_h=magnet_h_l*layer_height; magnet_d=magnet_d_l*layer_height; black_h=layer_height*lay...
glb/cad_6f18c4c8d6a3.glb
Create a String Cannon cable pulling aid. Start with a solid base formed by the hull of a 16mm diameter cylinder at the bottom and a 25mm diameter cylinder positioned 25mm above it. Add a third cylinder with a 10mm diameter at a height of 36mm to create a tapered, conical upper section. Carve a central air path throug...
use <basic_fixings.scad> string_cannon($fn=50); translate([0,30,0]) pig(dia=22, $fn=50); translate([0,60,0]) pig(dia=17.5, $fn=50); module pig(dia) { difference() { translate([0,0,dia/2-2]) union() { hull() { sphere(d=dia); tran...
glb/cad_8b10e3988386.glb
Create two separate protective covers for a compact 12V 30A power supply measuring 222x69x40mm. For the AC cover, create a shell that houses a standard IEC320 C14 AC socket and a KCD1 rocker switch (either 15x10mm or 21x15mm). The shell should include air flow cavities on four sides and mounting points for four M3x10 ...
eh=0.24; ew=0.56; eps=0.2; m3=3.2; m3n=5.5+eps; m3nh=2.5; module iterate(array){ l=len(array); if(l)for($i=[0:len(array)-1]){$e=array[$i];children();} } module chamfered_cube(size, d=1, D=0, ){ function d(i)=(len(D)>i)?D[i]:d; hull(){ translate([d(0),d(1),0])cube(size-[d(0)+d(3),d(1)+d(4),0...
glb/cad_df7408b3efd0.glb
Create an OSHW Coin, a small cylindrical token with a total height of 20mm and a diameter of 50.8mm. The main body is a solid cylinder with a radius of 25.4mm. From the top face, remove a smaller concentric cylinder to create a hollow rim with a wall thickness of 8mm, leaving a flat base at the bottom. On the top s...
use_files=false; render_part=3; render_part=4; module gear_tooth_2d(scale=1.0) { scale([scale,scale]) polygon( points=[ [0,25.0], [90.0,12.0], [90.0,-12.0], [0,-25.0] ] , paths=[ [0,1,2,3] ] ); } if(render_part==1) { echo("Rendering gear_tooth_2d()..."); gear_tooth_2d(); } module oshw_logo_2d(sc...
glb/cad_42bcb360a223.glb
Create an OSHW RepRap LED Lantern Cube by constructing an unfolded cube map. The layout consists of five square faces, each with a side length of 20mm and a wall thickness of 0.8mm, extruded to a height of 0.75mm. Position one square at the center, with four squares attached to its edges and a fifth square attached to ...
use <OpenHardwareLogo.scad> use <RepRapLogo.scad> render_part="unfolded_cube_map"; render_part="unfolded_cube_w_led"; render_part="unfolded_oshw_cube_w_led"; render_part="unfolded_oshw_reprap_cube_w_led"; render_part="unfolded_oshw_reprap_cube_w_led_4x"; render_part="unfolded_oshw_reprap_cube_w_led_large"; module fra...
glb/cad_d8e458364a33.glb
Create a Kossel Pro endstop screw mount. Start with a base shape formed by the convex hull of a 23mm x 5mm x 8mm block and two cylinders with a 1mm radius and 8mm height, positioned at [1, 10, 0] and [22, 10, 0]. From this volume, remove a central section created by the convex hull of a 14mm x 3mm x 8.2mm block posit...
$fa=0.5; $fs=0.5; $fn=50; difference(){ hull(){ cube([23,5,8]); translate([1,10,0]) cylinder(r=1,h=8); translate([22,10,0]) cylinder(r=1,h=8); } hull(){ translate([4.5,-0.1,-0.1]) cube([14,3,8.2]); translate([5.5,4.5,-0.1]) cylinder(r=1,h=8.2); translate([17....
glb/cad_544e6237f4e9.glb
Create a spring endcap for an extruder by constructing a hollowed cylinder with an outer diameter of 22mm and a total height of 4mm. The main body is a thick-walled ring with a wall thickness of 1.5mm. To create the interior cavity, remove a central cylinder with a diameter of 19mm, starting from a height of 1.5mm abov...
$fn = 50; module end_cap( w, h, thickness, hole ) { difference() { cylinder(r=w/2+thickness, h=h); translate([0,0,thickness]) cylinder(r = w/2, h=h); cylinder(r=hole/2, h=h); } } end_cap( 19, 4, 1.5, 3 );
glb/cad_8d3c29d09721.glb
Create a storage location for bag rolls consisting of a base plate and a series of interlocking hooks. First, create a base plate 120mm wide (hdh=100mm plus 10mm margins on each side), 20mm deep, and 3mm thick. The base features two circular end-caps with a diameter of 20mm and a central rectangular section. Drill tw...
part=0; hdh=100.0; wdth=10; ws=3.0; vdh=50.0; idh=56.0; $fn=100; module Base(y=20) { difference() { union() { translate([-10, 0, 0]) cylinder(d=y, h=ws+1); translate([hdh+10, 0, 0]) cylinder(d=y, h=ws+1); translate([-10, -y/2, 0]) cube([hdh+20, y, ws+1]); } translate([-10, 0, -0.1...
glb/cad_2affcb542ded.glb
Create a Rostock motor end bracket. Start with a central bracket of height $h$. Add two diagonal fins by creating a cube of 7mm x 45mm x $h$ centered at x = -30 and x = 30, y = 43, and intersecting them with a rotated cube of 20mm x 100mm x 100mm. In the center, create a motor shaft housing using a cylinder with a 12...
include <configuration.scad> use <bracket.scad> h = motor_end_height; m = 29; module motor_end() { translate([0, 0, h/2]) difference() { union() { bracket(h); for (x = [-30, 30]) { translate([x, 43, 0]) intersection() { cube([7, 45, h], center=true); rotate([45, 0,...
glb/cad_591e7432e5fa.glb
Create a 3D model of the StrongPrint wire feed and nozzle assembly. Start by constructing a central vertical wire path using a thin cylinder with a radius of 0.3mm and a height of 100mm. Build the feed nozzle assembly around this path. This consists of a series of stacked cylinders: a bottom conical section (radius 2...
include <configuration.scad> use <Magnetic_Platform_Tool-V0.3.scad> use <Torch_Holder_V0.6.scad> use <Tool_HolderB_V0.4.scad> use <NozzleHolder_V0.6.scad> use <Torch-SR17.scad> l = 6; fposX = 4; fposZ = l-3.3; fangl = 45; lo = lateral_offset*0.65; module feedHolderHinge() { len = 25; color([ 255/255, 70/25...
glb/cad_780b2094b3f5.glb
Create a nozzle wiper assembly consisting of a central rod and four surrounding cleaning elements. The central rod is a hexagonal prism with a radius of 3.5mm and a length of 100mm minus 18mm (82mm), centered on the X-axis. At each end of this rod, attach a Y-shaped jaw structure. Position two small hollow cubes to ac...
include <configuration.scad> use <jaws.scad> l = rod_length; h = 7; r = h/2 / cos(30); module collar() { difference() { cube([4, 20, h], center=true); cube([2, 18, h+1], center=true); rotate([0, 90, 0]) rotate([0, 0, 30]) cylinder(r=5, h=5, center=true, $fn=6); } } module cubicle() { differ...
glb/cad_cf9c4f9af5c0.glb
Create a 3D model of a TIG torch assembly. Start by creating the tungsten electrode as a thin vertical rod with a radius of 0.8mm; the bottom 8mm is a cone tapering from the base to the radius, and the top 142mm is a cylinder. Surround the base of the electrode with a shielding gas cup. This cup is formed by a hull co...
include <configuration.scad> l = 6; module tungsten() { color([180/255, 180/255, 180/255]) { translate([0,0, 8]) cylinder(r =0.8, h=142, $fn=q); translate([0,0, 0]) cylinder(r2=0.8, r1=0, h= 8, $fn=q); } } module cup() { color([255/255, 180/255, 190/255]) translate([0,0, l]) difference() { union...
glb/cad_b9c7d10515ce.glb
Create a StrongPrint 3D printer model based on an enlarged Rostock kinematics layout. Construct three identical tower assemblies spaced 120 degrees apart around a central axis. Each tower consists of a vertical structure containing a NEMA 17 stepper motor positioned 17mm from the center, two smooth rods of length 250...
include <configuration.scad>; use <belt.scad>; use <bearing.scad>; use <nema.scad>; use <motor_end.scad>; use <idler_end_V1.2.scad>; use <Magnetic_Carriage-V0.3.scad>; use <Magnetic_Platform_Tool-V0.3.scad>; use <rod.scad>; use <plywood.scad>; use <Linear_Bearing.scad>; aluminum = [0.9, 0.9, 0.9]; steel = [0.8, 0....
glb/cad_1a8a9081ea45.glb
Create a clamp for a 3D printer component. Start with a central base consisting of a cylinder with a radius of 11mm and a height of 8mm, centered on the Z-axis. Attach a rectangular block to this base, measuring 46mm in length, 12mm in width, and 8mm in height, also centered on the Z-axis. Add two cylindrical shoulders...
module clamp(h, base){ difference(){ union() { cylinder(r1=4.5, r2=3.5, h=h); translate([0, 0, base]) cylinder(r1=10, r2=0, h=12, center=true); translate([0, 0, base/2]) { cylinder(r=11, h=base, center=true); cube([46, 12, base], center=true); } for (x = [-23, 23]) { translate...
glb/cad_c4647b5b7fae.glb
Create a Rostock Motor End bracket. Start with a central rectangular block that is 6mm wide, 2mm deep, and spans the total height of the part. Integrate a main bracket body of the same height, and add a cylindrical cutout with a radius of 4mm and a height of 40mm, centered and rotated 2 degrees from the vertical axis. ...
include <configuration.scad> use <bracket.scad> h = idler_end_height; tilt = 2; module bearing_mount() { translate([0, 0, 2.3]) cylinder(r1=12, r2= 9, h=1.1, center=true); translate([0, 0, -2.3]) cylinder(r1= 9, r2=12, h=1.1, center=true); } module stifener(l, w, z, a) { wz = sin(a)*w/2; wy = (1-cos(a))*w/...
glb/cad_af6ba2113b1a.glb
Create a belt tensioner for an Enlarged Rostock printer. Start by forming a central body from two joined rectangular prisms: one measuring 15mm x 5mm x 12mm and another measuring 15mm x 7mm x 12mm, both centered on the X and Z axes but offset slightly on the Y axis. Add a rectangular block measuring 17mm x 5mm x 15mm, ...
include <configuration.scad> use <belt_coupler_v6_Mod.scad> use <carriage-V1.2.scad> H = carriage_height; th = 4; difference() { union(){ translate([7.5, 5., 0]) cube([15, 5., 12], center=true); translate([7.5, 1, 0]) cube([15, 7, 12], center=true); } translate([8, 0, 7.5]) rotate([-45, 0, 0]) cube([17, 5, 15...
glb/cad_a05c500c86f1.glb
Create a linear bushing with a height of 24mm. Start by forming a hollow cylinder with an outer diameter of 15mm and a wall thickness of 0.9mm. To create the internal structural supports, add 16 equally spaced radial ribs that extend from the inner wall toward the center. Each rib should be a rectangular block oriented...
module linear_bushing(inside_diameter, inside_factor, outside_diameter, height, sides, angle, wall) { intersection() { union() { difference() { cylinder(r=outside_diameter/2, h=height, center=true, $fn=sides*2); cylinder(r=outside_diameter/2-wall, h=height+1, center=true, $fn=sides*2)...
glb/cad_9f7157135fb7.glb
Create two linear bearings of different sizes. First, create a small bearing with an inner diameter of 8mm, an outer diameter of 15mm, and a total length of 24mm. The main body is a cylinder of the outer diameter, but the center section is tapered to a diameter of 14.3mm. Remove a central hole of 8mm throughout the l...
module groove(d1, d2, w) { difference() { cylinder(r=d1/2+1, h=w, center=true); cylinder(r=d2/2 , h=w, center=true); } } module lb(D_Int=8, D_Ext=15, D_1=14.3, L=24, W=1.1, B=17.5) { chamf = D_Ext - D_1; color([0.8, 0.8, 0.9]) { difference() { hull() { cylinder(r=D_Ext/2, h=L-chamf, center=true); cyl...
glb/cad_49a7b0ef7b5c.glb
Create an Openbuilds End Motor Mount Cover by constructing a thin-walled, open-ended rectangular sleeve with rounded corners. The overall height of the cover is 49mm. The main body is defined by a complex organic outline approximately 60mm wide and 61mm deep, with a wall thickness of 2mm. On the top surface, centered ...
Ht = 49; Logo_Type = 3; Logo_Thk = 1; Add_Notch = 1; Notch_Wid = 13.0; Notch_Ht = 1.5; Y1 = 30.58; module SphinxLogo(S_Ht = 4) { difference() { linear_extrude(height = S_Ht, center = false, convexity = 10)polygon(points = [[-2.86,-18.83],[-1.75,-20.44],[1.75,-20.44],[2.86,-18.83],[7.47,-18.83]...
glb/cad_3ea2df6a4462.glb
Create a knob for a hexagonal bolt head. Start with a main cylinder that has a radius 1.5 times the radius of the bolt head and a total height 1.3 times the depth of the bolt head. Centered within this cylinder, create a hexagonal hole that extends through the top and slightly into the bottom, with a diameter equal to ...
module knob (dia, depth) { a = dia/2; rout = 1.5*a; height = 1.3*depth; difference() { cylinder(r= rout, h=height); translate([0,0,(height-depth)]) linear_extrude(height = 1.1* depth) polygon([ [a*sin(0),a*cos(0)], [a*sin(60),a*cos(60)], [a*sin(120),a*cos(120)], [a*sin(180),a*cos(180)], [a*sin(...
glb/cad_1020111325c2.glb
Create a Jonas Kuehling extruder for a BuddaschNozzle. Start by constructing the main extruder body as a rectangular block with a width of 24mm, a height of 55mm (plus a 4mm elevation), and a depth of 28mm. Add a base plate with a length of 70mm and a thickness of 7mm, extending from the block with a 25mm lead-out. Inc...
include<configuration.scad> include<jonaskuehling-default.scad> malcolm_hotend_mount=1; groovemount=2; peek_reprapsource_mount=4; arcol_mount=8; mendel_parts_v6_mount=16; grrf_peek_mount=32; wildseyed_mount=64; geared_extruder_nozzle=128; jhead_mount=256; reprapfaborg_mount=512; elevation=4; extra_gear_separation=2;...
glb/cad_0b566d050005.glb
Create a safety cutoff attachment part consisting of a top section and a bottom section. The top section is centered around a main rectangular block measuring 60mm x 7mm x 7mm. Attached to this is a smaller central block measuring 15mm x 5mm x 7mm. From this combined top mass, remove a central slot measuring 15mm x 2...
a_bit=3; top_part=1; bottom_part=1; c_supp_x=60; c_supp_y=7; c_supp_z=7; c_top_x= 15; c_top_y= 5; c_top_z=c_supp_z; c_height_x=c_top_x; c_height_y=4; c_height_z=52; c_bottom_x=c_top_x; c_bottom_y=17; c_bottom_z=c_height_y; radius_hole_top=2; L_betw_holes=44; pos_hole_bottom_y= 0 ; nuts_x=5; nuts_y=3; nuts_z=5;...
glb/cad_ad099d856fdb.glb
Create a filament cell joiner designed to hold 3mm diameter filament. The basic unit is a hollow cylindrical ring with an outer radius of 12mm and a wall thickness of 2mm, and a total height of 7mm. Around the perimeter of this ring, add four identical connector arms spaced equally at 90-degree intervals. Each arm co...
Tollerance = 0.2; WallWidth = 2; FilimentDiameter = 3; InsertDepth = 10; TokenCoreRadius = 10; ConnectorCount = 4; FilimentRadius = FilimentDiameter / 2; TokenRadius = InsertDepth + TokenCoreRadius; TokenHeight = WallWidth + FilimentDiameter + WallWidth; TeethHeight=0.5; Plate(); module Plate() { translate(v = [-1...
glb/cad_4f3c04d8d04c.glb
Create a geometric object composed of two identical mirrored halves. For one half, start with a sphere of radius 9mm. Remove a concentric inner sphere of radius 7.5mm to create a shell with a wall thickness of 1.5mm. To shape this shell, intersect it with a cylinder of radius 4.5mm centered on the Y-axis and a cube of ...
r=9; wall=1.5; largerPart(); translate([0,2*r-wall,0]) rotate([0,0,180]) largerPart(); snap=0.4; snapr=r/2; snapslack=0.5; module largerPart() { intersection() { difference(){ union() { sphere(r); intersection() { sphere(r+snap); rotate([0,90,0]) cylinder(r=snapr*snapslack, h=3*r,center=...
glb/cad_b8c280399628.glb
Create a Sennheiser Mic Cap by starting with a main cylinder 9mm high with an outer radius of 16.45mm. Hollow out the center with a concentric cylinder starting 1.65mm from the base, with a radius of 14.9mm and a height of 9mm. Add a retaining ridge inside the cap by creating a thin ring 0.4mm deep that extends the inn...
viewport = False; height = 9; invar = 29.8; wall = 1.65; ridgeht = 3.2; ridgedp = .4; ditdia = 1.7; ditht = 3.0; ditoff = 0.7; vhdia = 12; vhlen = 19.8; ledsz = 2; led1os = 9.0; led1ang = 155; led2os = 9.0; led2ang = 90; difference(){ difference(){ cylinder (h=height, r=invar/2 + wall, $fn=100); translate([0,0,...
glb/cad_cf20c31a3679.glb
Create a screw bit tool consisting of a hexagonal base and a specialized tip. Start by creating a hexagonal prism with a radius of 3.2mm and a total height of 6mm, centered on the Z-axis. At the top of this prism, centered at a height of 6mm, add a decorative and functional tip assembly. This assembly consists of two i...
width =1; length1 = 4*width; factor=1.5; length_holder=6; module top_thing() { rotate([45,0,0])cube([width,length1,length1], center = true); rotate([45,0,90])cube([width,length1,length1], center = true); } translate([0,0,length_holder])scale([1,1,factor])top_thing(); translate([0,0,length_holder/2])cylinder(r=length1*...
glb/cad_487f1d022e3f.glb
Create a screw bit tool consisting of a hexagonal base and a multi-winged head. Start by creating a hexagonal holder base with a width of 8mm and a height of 12mm. On top of this base, construct a head featuring 11 radial wings. Each wing is formed by a central rectangular block 1mm wide, 1.25mm long, and 3.5mm deep....
wing_width_quadro = 1.0; wing_width_tri = 1.0; wing_depth_tri = (8-1)/2; length1 = 4*wing_width_quadro; factor = 1.5; length_holder = 12; width_holder = 8; top_thing_height = 5; factor2 = 0.01; r2 = 75; length_straight_part = 1.25; offset = 0.01; amount_of_wings = 11; wing_r...
glb/cad_e9c35c1a19c0.glb
Create an Oval Key-ring by starting with a base sphere scaled to dimensions of 5.6mm in the X-axis, 11.2mm in the Y-axis, and 16.8mm in the Z-axis. Carve out a hollow center by subtracting a second sphere scaled to 3.85mm in X, 16.17mm in Y, and 11.55mm in Z, positioned 17.5mm along the Z-axis. Additionally, remove a s...
use <write/Write.scad> show_text="yes"; text_font="write/orbitron.dxf"; text_itself="DEBRAJ"; text_size = 3; scale([0.7,0.7,0.7]) union(){ keyringWithPic(); if (show_text=="yes") { translate([1.5,0,0]) rotate(90,[0,1,0]) color("salmon") write(text_itself,t=7,bold=1,h=text_size,font=text_font,space=1.3, center...
glb/cad_2a3ce3e1fcd9.glb
Create a Y carriage LM8UU bushing holder. Start with a central rectangular crossbar that is 118mm long, 8mm wide, and 1.5mm thick. Position three linear bearing holders along the length of this crossbar. Place two holders on one side, spaced 59mm apart from the center line, and one holder on the opposite side. Each h...
include <bushing_z_2cm_v7.scad>; holder_length = body_length; holder_width = body_width; rod_dist = 118; hole_dist_along_axis = 120 - holder_length; frame_height = 1.5; frame_width = 8; y_carriage(); module y_carriage(){ for(i=[-1,1]) translate([-(rod_dist/2), i*(hole_dist_along_axis/2), 0]) y_linear_bearings(); ...
glb/cad_b4d3c17d5b3c.glb
Create an LM8UU bushing holder for a Y carriage. Start by creating a central rectangular block that is 10mm wide, 20mm deep, and 28mm high. Subtract a central vertical cylinder with a radius of 7.9mm to create a housing for the bearing. To secure the bearing, add a rectangular extension to the side of the main block m...
include <lm8uu-holder-slim_v1-1.scad>; lm8uu_diameter = 15; lm8uu_length = 24; lm8uu_radius = lm8uu_diameter / 2; module linear_holder_base(length){ difference(){ translate(v=[-5,0,length/2]) cube(size = [10,20,length], center = true); translate(v=[-0.5,0,-2]) cylinder(h = length+4, r=(lm8uu_diameter+0.8)/2, $fn...
glb/cad_2c52e3da4ade.glb
Create a Swarf Sweeper magnet cage by constructing a hollow cylinder with an outer diameter of 22mm and a total height of 32mm. Remove a central cylindrical core with a diameter of 20mm, starting from a height of 5mm from the base and extending through the top, to create a deep internal cavity. Additionally, create a h...
magnetouter = 22; magnetcage = 32; medfn = 80; magnetinner = 20; shaft=6; nut=9; nutthickness = 3; difference () { cylinder (d=magnetouter,h=magnetcage,$fn=medfn); union () { translate ([0,0,5]) cylinder (d=magnetinner,h=magnetcage,$fn=medfn); translate ([0,0,2]) cylinder (d=nut,h=nutthickness,$fn=6); cylinder (d...
glb/cad_9af806b39ff2.glb
Create a Swarf Sweeper component by combining two concentric cylinders. First, create a base cylinder with a diameter of 25.4mm and a height of 1.4mm. Centered on top of this base, place a second cylinder with a diameter of 23mm and a height of 6mm. Ensure both shapes are perfectly aligned along their central vertical ...
d1 = 23; d2=25.4; h1 = 1.4; h2 = 6; medfn = 80; cylinder (d = d1,h=h2,$fn = medfn); cylinder (d = d2,h=h1,$fn = medfn);
glb/cad_39bd1d6a63d2.glb
Create a Swarf Sweeper tool consisting of a cylindrical base and a tall handle. Start by creating a wide, flat cylindrical base with a diameter of 50mm and a height of 5mm. Centered on top of this base, add a taller vertical cylinder with a diameter of 32mm and a total height of 108mm. Bore a hole through the center of...
od = 50; id=26; handle = id+6; h1 = 5; h2 = 6; medfn = 80; toph = 3; handleheight = 100+h1+toph; rod = 5.5; difference () { union() { cylinder (d = od,h=h1,$fn = medfn); cylinder (d = handle,h=handleheight,$fn = medfn); } union() { cylinder (d = id,h=handleheight-toph,$fn = medfn); translate ([0,0,handleheight-t...
glb/cad_aa3688feacf1.glb
Create a parametric toothed pulley for a GT2 belt. Start with a central cylindrical shaft hole with a diameter of 8.2mm. Build a main pulley body with a toothed section 6.2mm in length, featuring 60 teeth based on the GT2 2mm profile. The pulley should have an overall base diameter of 20mm and a base height of 0mm. Ad...
number_of_teeth = 60; profile = 12; motor_shaft_diameter = 8.2; toothed_part_length = 6.2; base_height = 0; base_diameter = 20; belt_retainer = 1; retainer_height_p = 1.0; belt_idler = 1; idler_height_p = 1.0; screws_disposition = 3; nut_shape = 1; screw_profile = 4; nut_shaft_distance = 1.2; idler_bolt_option = 0...
glb/cad_65b0e58052b0.glb
Create a wall-mounted Y-axis belt tensioner consisting of a main clamp body, mounting plates, and a ram. The main clamp body is a block with a central rectangular cutout for a belt of 11mm width and 2.7mm height. This body features a horizontal hole for an M3 screw, with a hexagonal recess of 5.9mm diameter and 2.5mm...
belt_pitch = 5; belt_width = 10+1; belt_height = 2.2+0.5; ram_length = 2.0; m3_diameter = 3 / cos(180 / 8) + 0.4; m3_radius = m3_diameter / 2; m3_nut_diameter = 5.5 / cos(180 / 6) + 0.4; m3_nut_radius = m3_nut_diameter / 2; m3_nut_depth = 2.5; wall = 3; extrusion_width = 0.4; clamp_height = 3.5; belt_depth = 2; ...
glb/cad_0986ac68b82d.glb
Create an oval key-ring by starting with a sphere of radius 8mm, scaled by 1.0 in X, 2.0 in Y, and 3.0 in Z to form a prolate ellipsoid. Carve out the interior by removing a second sphere of radius 5.5mm positioned 17.5mm along the Z-axis, and remove a third sphere of radius 4.5mm positioned 11mm along the X-axis, scal...
use <write/Write.scad> show_text="yes"; text_font="write/orbitron.dxf"; text_itself="RAY"; text_size = 3; scale([0.7,0.7,0.7]) union(){ keyringWithPic(); if (show_text=="yes") { translate([1,0,0]) rotate(90,[0,1,0]) rotate(90,[0,0,1]) color("salmon") write(text_itself,t=7,bold=1,h=text_size,font=text_font,s...
glb/cad_52418b1b55df.glb
Create a lamp shade vase by combining a central disc with a series of intersecting cylinders. Start by creating a thin circular disc with a radius of 50mm and a height of 1.5mm, positioned at a height of 90mm. In the center of this disc, remove a cylindrical hole with a radius of 10mm and a height of 18mm. To form the ...
module vase(){ intersection(){ cube(180,center=true); union(){ for(i=[0:10:350]){ rotate([40,0,i]) rotate([0,0,50]) translate([5,60,0]) cylinder(h=200,r=4,center=true); } } } } union(){ difference(){ translate([0,0,90]) linear_extrude(height=1.5) circle(50,center=true); translate([0,0,90]) cylinder...
glb/cad_9663680e91e3.glb
Create a golf tee consisting of a tapered main body and a flared head. Start with a central shaft that is 10mm long, transitioning from a circular base with a 1mm radius to a narrow tip with a 0.1mm radius over a length of 8mm. At the base of this shaft, add a spherical bulb with a radius of 1.5mm, centered 1mm below t...
use <write/Write.scad> show_text="yes"; text_font="knewave.dxf"; text_itself="MARCO"; text_size = 2; font_thickness = 3; rotate(90,[0,1,0]) rotate(-75,[0,0,1]) union(){ golfTea(); if (show_text=="yes") { rotate(180,[0,1,0]) color("salmon") writecylinder(text=text_itself,where=[0,7,-38.5],radius=7,height=66,...
glb/cad_b5ec02b77956.glb
Create a Replicator hood latch by combining three primary geometric volumes and removing a central vertical hole. First, create a 16-sided polygonal cylinder with a radius of 3mm and a height of 7mm. Attach a rectangular block measuring 6mm wide, 8mm deep, and 3mm high, centered such that it extends 3mm to the left of ...
$fn=16; difference() { union() { cylinder(r=3,h=7); translate([-3,0,0]) cube([6,8,3]); translate([0,8,0]) cylinder(r=3,h=3); } translate([0,0,-0.5]) cylinder(r=1.75,h=9); }
glb/cad_2fcc60783a27.glb
Create a parametric box and lid set. First, construct the main box as a cube with dimensions 20mm x 20mm x 20mm. Hollow out the center of this cube by removing a smaller 17mm x 17mm x 17mm cube from the inside, shifting the inner void upward by 2mm to leave a solid base at the bottom. Next, create a separate lid. Sta...
box_size = 20; inside_lw = box_size-3; lid_lw = 25; lid_h = 10; offset = 2; make_box = 1; lid_offset = -4; if(make_box == 1) { difference() { cube(box_size, center = true); translate(v = [0, 0, offset]) { cube(inside_lw, center = true); } } } if(make_box == 1) { translate(v = [30, 0, 0]) { difference() ...
glb/cad_5a9572840e7d.glb
Create a Michelson interferometer framework. Start with a central cylinder 20mm high with a radius of 8mm, centered on the origin. Hollow out this cylinder by removing a smaller concentric cylinder with a radius of 8.1mm and a height of 14mm. Add three identical cylindrical holes, each with a radius of 1.5mm and a he...
union(){ difference(){ difference(){ translate([0,0,0])cylinder(8,20,20, center=true); translate([0,0,0])cylinder(8.1,14,14, center=true); } translate([0, 12,0])rotate([90,0,0])cylinder(20,1.5,1.5, center=true); rotate([0,0,120])translate([0, 12,0])rotate([90,0,0])cylinder(20,1.5,1.5, center=true); rot...
glb/cad_04d80d78669c.glb
Create a customizable bottle and cap assembly with a total height of 90mm. The main body is a hollowed vessel with a width of 60mm and a 48-facet resolution. The bottom is rounded with a radius of 6mm. The body walls transition upward into shoulders with a 10mm radius, leading to a neck that is 26mm high with an openin...
resolution = 48; sides = 48; total_bottle_height = 90; shoulder_roundedness = 10; bottle_width = 60; bottom_weight = 0; rounded_bottom_radius = 6; neck_height = 26; opening_diameter = 40; threads = 9; ooblong_weight = 0; cap = 1; ooblong = 1-(ooblong_weight/20); radius1 = shoulder_roundedness; bottle_height...
glb/cad_a92ac7f8659f.glb
Create an Interstellar Ranger Descension Vessel consisting of a central plug, a lower pod base, and five symmetrical deployable doors. Start by creating the central plug: a composite shape featuring a 26mm high cylinder with a 17.25mm radius, topped with a 2.5mm radius sphere at z=107. Surround this with five identica...
displayPod = true; doorsOpen=true; printDoor=false; printWing=false; printPlug = false; printLower = false; if(doorsOpen && displayPod){ translate(v=[1,0,1.29]) adjustDoor(1); rotate(a=[0,0,72]) translate(v=[1,0,1.29]) adjustDoor(1); rotate(a=[0,0,144]) translate(v=[1,0,1.29]) adjustDoor(1); rotate(a=[0,0,21...
glb/cad_efd14645cdc4.glb
Create a 3D logo of the Druplicon, a stylized drop shape with a thickness of 4mm. Start by creating the main head as a flat, organic drop-like silhouette. The overall dimensions of the head should be approximately 68mm wide and 82mm tall. Within this head, create three cut-out features to form the face: 1. Create a...
linear_extrude(height = 4) { druplicon(); } module druplicon() { rotate([0,0,180]){ scale(v = [.2, .2, .2]) { difference(){ translate([17,0,0]) polygon(points=[[169.5880584716797,-243.76449584960938],[165.3200225830078,-246.368896484375],[161.0092315673828,-248.90194702148438],[156.6588592529297,-251.36639404296875]...
glb/cad_c2ac7ebafe0f.glb
Create an electronic board protection system consisting of a main base and locking clips. First, construct the main base as a rounded rectangular box. The outer dimensions are 28mm by 28mm with a total height of 8.3mm. The corners should have a radius of 2mm. Create a central rectangular cutout of 20.3mm by 20.3mm, s...
length=20; width=20; xy_clearance=0.3; board_clearance=2; top_clearance=0.5; board_tick = 1.4; pad_in_center = "yes"; $fn=64; ep=0.01; ep2=0.02; tick=4; tick_h=2; heigth=tick_h+board_clearance+board_tick+top_clearance; length_c=length+xy_clearance; width_c=width+xy_clearance; l=length_c+tick*2; w=width_c+tick*2;...
glb/cad_6b646bb3557b.glb
Create an RC servo to 1/10 wheel adapter by starting with a hexagonal base that is 13mm wide and 5mm thick. Centered on top of this base, add a cylinder with a diameter of 11mm and a height of 13mm. Drill a central hole with a diameter of 3.2mm through the entire length of the cylinder and the hexagonal base. Finally, ...
hex_thickness=5; hex_dia=13; arm_dia=11; arm_length=13; bolt_dia=3; servo_head_dia=5.5; servo_head_thickness=3; difference() { union() { cylinder(r=hex_dia/2,h=hex_thickness,$fn=6); translate([0,0,hex_thickness]) cylinder(r=arm_dia/2,h=arm_length,$fn=50); } cylinder(r=(bolt_dia+0.2)/2,h=arm_length+hex_t...
glb/cad_35bbb061f7c4.glb
Create a Tri-Wing Screw Bit consisting of a hexagonal base and a three-winged tip. Start by constructing a hexagonal prism with a flat top, measuring 2.5mm in radius and 12mm in height. Centered on top of this base, add a vertical cylinder with a radius of 0.5mm and a height of 5.2mm. Surrounding this central cylinder,...
width =1; length1 = 4*width; factor=1.5; length_holder=12; module blade() { difference() { rotate([45,0,0])cube([width,length1,length1], center = true); translate([0,-length1+width/4,0]) cube([width*2,length1*2,length1*2], center = true); } } module top_thing() { union() { blade(); rotate([0,0...
glb/cad_915aa856601c.glb
Create a Customizable Phone and Tablet Desktop Stand by extruding a specific side profile to a width of 50mm. The profile is a 3mm thick structure that forms a supportive cradle. Start with a base shelf that is 3mm thick and extends horizontally. At the front of this shelf, create a vertical lip that is 3mm thick and...
inch2mm = 0.3048/12*1000; mm2inch = 12/0.3048/1000; $fn=30; thickness = 3; holeOffset = 10; bendRadius = 10; holeFilletRadius = 10; deviceLength = 165; deviceWidth = 50; deviceThickness = 17; plugWidth = 30; plugLength = 30; leanAngle = 55; make(thickness, holeOffset, bendRadius, holeFilletRadius, deviceLeng...
glb/cad_45569e3a2c80.glb
Create a lampclam for an M8 rod. Start by creating a central hexagonal prism with a flat-to-flat width of 13mm and a height of 10mm. In the center of this hexagon, create a vertical cylindrical hole with a diameter of 4.25mm and a depth of 4mm. Around this central hub, add three identical circular arms spaced 120 deg...
nut_diameter=13; difference (){ union(){ difference(){ translate([0,0,-3.3])linear_extrude(height=10)circle(22/2); union(){ linear_extrude(height=7) polygon([[nut_diameter/2,nut_diameter*sqrt(3)/6],[0,nut_diameter*sqrt(3)/3],[-nut_diameter/2,nut_diameter*sqrt(3)/6],[-nut_diameter/2,-nut_diameter*sqrt(3)/6],[0,-nut_...
glb/cad_c21c9078c274.glb
Create a lampclam for an M8 rod by starting with a cylinder 20mm in diameter and 9mm high, using a 60-facet resolution. Merge this cylinder with a rectangular block measuring 25mm by 22.5mm and 9mm high, centered so the block extends 2.5mm beyond the cylinder's edges on each side. From this combined volume, remove a ce...
difference(){ union(){ cylinder(9,20,25/2, $fn=60); linear_extrude(height=9)translate([-25/2,0])square([25,22.5]); } cylinder(9,8.4/2,8.4/2, $fn=30); translate([-2.5,12.6])polyhedron( points=[ [-2,0,0],[7,0,0],[5,10,0],[0,10,0], [-4,-2,9],[9,-2,9],[7,10,9],[-2,10,9]], triangles=[ [0,1,4],[4,1,5],[1,2,5]...
glb/cad_7e035c622363.glb
Create a lampclam for an M8 rod by constructing a decagonal prism with a height of 12.5mm and a radius of 8mm. Centered within this prism, remove a hexagonal void that extends from the top surface down to a depth of 6mm. This hexagonal cutout must have a flat-to-flat diameter of 12.7mm. The resulting shape is a thick, ...
nut_diameter=12.7; difference(){ translate([0,0,-4])cylinder(8,12.5,10,$fn=10); linear_extrude(height=6) polygon([[nut_diameter/2,nut_diameter*sqrt(3)/6],[0,nut_diameter*sqrt(3)/3],[-nut_diameter/2,nut_diameter*sqrt(3)/6],[-nut_diameter/2,-nut_diameter*sqrt(3)/6],[0,-nut_diameter*sqrt(3)/3],[nut_diameter/2,-nut_diame...
glb/cad_de4b5f5cae09.glb
Create a full-sized UK traffic cone with a total height of 1000mm. Start by constructing a hollow conical body with a wall thickness of 20mm. The outer profile of the cone should taper from a base diameter of 500mm up to a top diameter of approximately 90mm. The top of the cone should feature a small circular hole. Fo...
wall=20; $fn=64; module sides() { offset(r=wall)offset(r=-wall)union() { polygon([ [ -25, 1000], [ 25, 1000], [ 25 + 1000*sin(10)/sin(80) , 0], [ -1*(25 + 1000*sin(10)/sin(80)) , 0], ]); polygon([ [ 0, 500 * sin(60) ], ...
glb/cad_3d8218c98887.glb
Create a tube light 45° support by starting with a solid wedge-shaped block. The main body is a right-triangular prism with a base length of 65mm, a width of 65mm, and a height of 30mm. From this main volume, remove a central rectangular profile to create a channel. This cutout consists of two intersecting rectangula...
epaisseur = 30; petite_largeur = 31; grande_largeur = 32.5; hauteur = 30; difference(){ color("red") support(); translate([hauteur*2/3,grande_largeur/4+grande_largeur/2,epaisseur/2]) rotate([0,0,90]) color("cyan") profile(); translate([-hauteur*1/3,grande_largeur/4-4,0]) color("green") cube([hauteur,2.5,epaisseur*2...
glb/cad_309a7b7bc42a.glb
Create a dual fan mount for a Kossel Mini effector. Start with a main circular base 3mm thick with a radius of 25mm. Centered in this base, create a vertical hole with a 1.5mm radius to allow for filament passage. Around the center, place three mounting holes with a 1.5mm radius, spaced 120 degrees apart at a radius of...
include <configuration.scad>; difference() { translate([-19.6,0,0]) union() { translate([20,0,0]) linear_extrude(height = 3) circle(25); fanmount(90,2*(hole_offset+m3_wide_radius)+2,2) { } translate([29.6, -17, 0]) rotate(a=120, v=[0,0,1]) fanmount(45,2*(hole_offset+m3_wide_radius),0) { } transla...
glb/cad_5ba8ddd9383b.glb
Create a parametric motor coupler consisting of two stepped cylindrical sections. The first section is a cylinder with a radius of 12.65mm and a height of 15mm. Atop this, add a conical transition 1mm high that tapers from the base radius down to a second cylinder with a radius of 11.15mm and a height of 12mm. From th...
csFudgeHole = 1; csFudgeNut = 1; main_shaft_size = 8.3; main_shaft_depth = 15; main_nut_max_width = 15; main_nut_height = 8; main_nut_z_position = 8; second_shaft_size = 5.3; second_shaft_depth = 12; support_grub_depth = 5; outside_thickness = 8.5; breakout_size = (main_shaft_size/2)+(outside_thickness/2); cone_he...
glb/cad_e9ae1dcac4f3.glb
Create a Sports Model Flying Saucer consisting of two symmetrical hull halves and two matching inserts. For each hull half, create a dome with a radius of 45mm and a height of 10mm. From the center of each dome, remove a cylindrical cutout with a radius of 34.5mm and a height of 10mm. Around this central cutout, remo...
$fn = 32; inset_offset = 2; inset_rad = 34.5; hull_height = 10; hull_rad = 45; hull_res = 128; gap = 0.05; num_turrets = 9; turret_rad = 4.75; turret_height = 3; num_legs = 3; cockpit_rad = 20.5; cockpit_height = 15; nozzle_rad = 15.5; cockpit_depth = 6; module dome(rad, height) { difference() { scale([1,1,he...
glb/cad_6edbefec522b.glb
Create a roller blind chain connector by starting with a rounded rectangular block. The main body should have a total length of 24.5mm, a width of 8mm, and a height of 4mm. Ensure the four long edges of the block are rounded with a radius of 2mm. Carve a continuous horizontal channel through the center of the block a...
d=4; d0=d-.25; dx=.5; w=2; d1=d/2; xs=4*d+3*dx+2*w; re=2; round_edges=true; $fa=.5; $fs=.5; difference() { if(round_edges) hull() for(x=[-xs/2+re,xs/2-re]) for(y=[-d/2-w+re,d/2+w-re]) { translate([x,y,-d/2-w]) cylinder(r=re,h=1); translate([x,y,d/2+w-re]) sphere(r=re); } else...
glb/cad_521c0cb5c774.glb
Create a Fujica X-mount to Sony E-mount lens adapter. The main body is a hollow cylinder with an outer radius of 31mm and an inner radius of 25mm, with a total height of 25mm. At the base, create the Sony E-mount section. This consists of a cylinder with a radius of 31mm and a height of 5mm. On top of this, add a cyli...
$fn = 300; ffdDelta = 43.5 - 18; eRingOuterRadius = 23; eRingInnerRadius = 22; eRingHeight = 2; eRingDropIn = 5; fxRingOuterRadius = 25; fxRingInnerRadius = 23.5; fxRingHeight = 2; fxRingZ = 3.5; outerRadius = 31; innerRadius = fxRingOuterRadius; module ringThread(rot, z, length, height, or, ir) { translate([0, 0...
glb/cad_d63dca63503f.glb
Create a traffic cone candle holder by starting with a square base measuring 16mm by 16mm with a thickness of 1.2mm. Centered on this base, construct a hollow truncated cone with a height of 20mm. The outer diameter of the cone should taper from 15mm at the bottom to 7mm at the top. To create the interior cavity, remov...
$fn=200; base_size=16; cone_base_size=15; cone_top_size=7; cone_height=20; wall_thickness=1.2; difference() { union() { translate([-base_size/2,-base_size/2,0]) cube([base_size,base_size,wall_thickness]); cylinder(r1=cone_base_size/2,r2=cone_top_size/2, h=cone_height); } translate([0,0,-0.01]) cylinder(r1=cone_...
glb/cad_a5ce9840d5f8.glb
Create a Customizable Glow Stick Wand handle by starting with a central cylinder 90mm long with an outer diameter of 15mm. Add a decorative twist to the main body by extruding a square profile of 13mm by 13mm along the length of the cylinder, rotating it 500 degrees in one direction and then again with a counter-rotati...
$fn=(100 * 1); handle_outer_diameter = 15; handle_length = 90; twist_factor = 5; endcap_thickness = 2; bore_diameter = 5.3; bore_length = 60; endcap_overhang = (2 * 1); module vertical_cylinder(dia) { translate([0, 0, endcap_thickness]) cylinder(h=(handle_length + endcap_thickness), r=(dia / 2), center...
glb/cad_ae6bc99d7037.glb
Create an LED Candle holder consisting of two main parts: a candle body and a circular base. For the candle body, create a flat profile 6mm thick. Center a cylindrical hole with a diameter of 21.2mm to accommodate the LED. Around this hole, add a thin circular wall 1mm thick with a diameter of 22mm. Within this wall, ...
RENDERCANDLE = true; RENDERBASE = true; BATWALLS = true; SHOWBAT = true; DEBUGY = false; DEBUGBAT = false; TEXTFONT = "Chewy:style=Regular"; TEXTSIZE = 5.0; TEXTDEPTH = 0.4; TXTA1 = "Joyeuses"; TXTA2 = "fêtes"; TXTB1 = "Felices"; TXTB2 = "fiestas"; PLUSFONT = "Arial:style=Bold"; PLUSSIZE = 8.0; $fn = 36*1; module...
glb/cad_86c80944b43b.glb
Create a fully rounded cube with overall dimensions of 10mm x 10mm x 10mm. Every edge and corner must be rounded with a consistent radius of 2mm. To achieve this geometry, construct a shape where the eight vertices are replaced by spheres of 2mm radius, and the edges are connected by cylindrical arcs of the same radius...
module fullyRoundedCube(size=[10,10,10], radius=2, center=false) { x=size[0]/2-radius; y=size[1]/2-radius; z=size[2]/2-radius; if(center) { hull() { translate([x,y,z]) sphere(r=radius); translate([x,y,-z]) sphere(r=radius); translate([x,-y,z]) sphere(r=radius); ...
glb/cad_a2b330d85502.glb
Create an Arduino DUE R3 case with overall dimensions of 112mm in length, 80mm in width, and 20mm in height. Construct the main body as a hollowed rectangular shell with a wall thickness of 1.5mm. The exterior corners must be rounded with a radius of 10mm. The bottom of the case is a solid base, while the top is open...
$fn=50; T=1.5; difference() { union() { difference() { union() { translate([16, 0, 0])body(92,60,8,10); translate([16, 0, 2*T]) body(92-T,60-T,8+2,10-T); } translate([16, 0, 3*T]) body(92-2*T,60-2*T,8-T,10-2*T)...
glb/cad_e1f668cf820e.glb
Create an Arduino DUE R3 protective case with overall dimensions of 112mm in length, 80mm in width, and 20mm in height. Construct the main body as a hollowed rectangular shell with a wall thickness of 1.5mm. The exterior corners must be rounded with a radius of 10mm. The interior of the case should feature mounting p...
$fn=50; T=1.5; difference() { union() { difference() { union() { translate([16, 0, 0])body(92,60,8,10); translate([16, 0, 2*T]) body(92-T,60-T,8+2,10-T); } translate([16, 0, 3*T]) body(92-2*T,60-2*T,8-T,10-2*T)...
glb/cad_17e30d35891d.glb
Create a protective electronics case for an Arduino DUE R3 with overall external dimensions of 112mm in length, 80mm in width, and 20mm in height. Construct the main body as a hollowed rectangular shell with a wall thickness of 1.5mm. The exterior corners should be rounded with a radius of 10mm. The interior of the c...
$fn=50; T=1.5; mirror(){ difference() { union() { difference() { union() { translate([16, 0, 0]) body(92,60,8,10); } translate([16, 0, 7]) body(92-T,60-T,8+2,10-T); translate([16, 0, 3*T]) body(92-2*T,60-2*T,8-T,10-2*T...
glb/cad_7cb53635b1e4.glb
Create a protective case for an Arduino DUE R3 with overall external dimensions of 112mm in length, 80mm in width, and 20mm in height. Construct the main body as a hollowed rectangular shell with a wall thickness of 1.5mm. The exterior corners should be rounded with a radius of 10mm. The interior of the case must fea...
$fn=50; T=1.5; mirror(){ difference() { union() { difference() { union() { translate([16, 0, 0]) body(92,60,8,10); } translate([16, 0, 7]) body(92-T,60-T,8+2,10-T); translate([16, 0, 3*T]) body(92-2*T,60-2*T,8-T,10-2*T...
glb/cad_5853068db4c8.glb
Create a cookie cutter in the shape of the square root of negative one symbol. The model consists of a thin vertical cutting wall and a flat base flange. First, generate the profile of the symbol using a path with a wall thickness of 2mm. Extrude this profile vertically to a total height of 12mm to create the cutting...
wallThick = 2; cutterMinimum = 1; baseHeight = 1.5; height = 12; flangeWidth = 4; stampDepth = 1; lineDepth = 1.5; fileName = "rootNegOne.dxf"; cookiecutter(); module stamp() { union(){ difference() { difference(){ baseShape(stampDepth + baseHeight); translate([0,0,baseHeight])linear_extrude(file = fileName,...
glb/cad_a84fd58ff895.glb
Create two identical sidetanks for a submarine. Each tank is a hollowed rectangular prism with rounded corners, measuring 455mm in length, 70mm in width, and 60mm in height. The corners should have a radius of 8mm. The walls of the tank are 5mm thick. To create the hollow interior, remove a smaller version of the tank...
Length = 455; Height = 60; Width = 70; roundiness = 8; RodDiameter = 6; RodSpacing = 138; RodHeight = 20; MotorHeight = 10; MotorWidth = 14; MotorLength = 25; PropellerShaftDiameter = 3; PropellershaftLength = 100; BasePartHeight = 35; BasePartWidth = 80; HullDiameter = 175; shift = 25; wallThickness = 5; wallFactor =...
glb/cad_a3ffa02d0eb1.glb
Create a screwdriver cap consisting of a flat circular head and a threaded base. The head is a solid cylinder with a diameter of 20mm and a height of 10.1mm, featuring a rounded top edge with a fillet radius of 4mm. Attached to the bottom of the head is a threaded section with an outer diameter of 19.15mm and a lengt...
use <../Libraries/Spiral_Extrude.scad> ThreadDiameter=19.15; ThreadLength=8; ThreadPitch=1.25; CapKnerlDiameter=22; CapKnerlHeight=5; CapKnerlNumber=35; CapDiameter=20; CapHeight=10.1; CapFilletRadius=4; HoleDiameter=12; WallThickness=(ThreadDiameter-HoleDiameter)/2; $fn=50; translate([0,0,ThreadLength+CapHeight])...
glb/cad_dc1ff8105af1.glb
Create a Rain Barrel Overflow Hose Adaptor consisting of two main components: a conical sleeve and a threaded connector. First, create a hollow truncated cone with a height of 25.4mm. The bottom opening has a diameter of 40.64mm and the top opening has a diameter of 31.75mm. The walls of this cone should be 5mm thick...
use <../Libraries/Spiral_Extrude.scad> WallThickness=5; Length=(1+5/8-3/8)*25.4; MinDiameter=(1+1/2)*25.4; MaxDiameter=(1+5/8)*25.4; PortLocation=(3/8+3/4/2)*25.4; EdgeRadius=(3/8)*25.4; FlatOffset=1/4*25.4; GardenHosePitch=1/11.5*25.4; GardenHoseOD=1.05*25.4; GardenHoseThreadAngle=30; GardenHoseThreadedLength=10; A...
glb/cad_57c39749b67b.glb
Create a Noodle Sword handle consisting of a grip, a guard, and a pommel. Start with the grip, which is a tapered hexagonal screw shape 108mm long. The screw has 10 facets and a double-helix thread. The outer radius starts at 34mm and tapers down to 21mm over its length. The screw is hollowed out by a central cylindr...
in = 25.4; noodle_rad = 2.5*in/2; noodle_hole_rad = (in*.9)/2; handle_len = 4.5*in; screw_len = 4.25*in; handle_rad = 15; pitch = 1.5*in; flat = 1; screw_rad = noodle_hole_rad*1.3; taper = 5; facets = 10; bumps = 4; %translate([0,20,0]) rotate([0,0,45]) cube([200,200,.1], center=true); difference(){ rotate(...
glb/cad_e9125fb42d65.glb
Create a pair of earrings by designing a thin, flat disc with a radius of 20mm and a height of 1.2mm. Centered within this disc, remove a smaller cylindrical section with a radius of 13mm and a height of 2mm, offset by 5.5mm along the y-axis to create a crescent-shaped cutout. Ensure the final geometry is a single flat...
translate( v=[0,0,0.6] ) { difference() { cylinder( r=20,h=1.2,center=true); translate( v=[0,5.5,0] ) { cylinder( r=13,h=2,center=true); } } }
glb/cad_5796474d1a25.glb
Create a Temp Probe House consisting of a top section, five identical middle sections, and one bottom section. For the top and middle sections, create a hollow dome with a radius of 30mm and a wall thickness of 1mm. The top section must be closed at the peak, while the middle sections remain open at the bottom. Each ...
$fn=200; Model = "bottom"; ConnectorRadius = 5; M3Length = 10; M3HeadRadius = 5.40/2 + 0.2; M3HeadHeight = 3.15; M3ShaftRadius = 2.85/2 + 0.2; NutRadius = 4.90/2 - 0.2; ProbeWidth = 27; if(Model == "top") { dome(Radius = 30, Top = "true"); Support(Radius = 30, Angle = 0, Shaft = "...
glb/cad_5dba66e1f705.glb
Create a cooling fan duct consisting of a square base plate and a tapered conical shroud. Start with a square base plate measuring 50mm by 50mm with a thickness of 5mm. In this plate, create four circular screw holes with a diameter of 4mm, each positioned 4mm from the adjacent edges. Center a large circular opening in...
width = 50; screw_diameter = 4; screw_offset = 4; cone_hight = 60; cone_opening_width = 5; cone_wall_width = 5; angled_cut = 1; cutting_angle = 30; plate_hight = 5; difference(){ cube([width,width,plate_hight]); union(){ translate([screw_offset,screw_offset,-1])cylinder(r=screw_diameter/2,h=plate_hight+2,$fn=20); ...
glb/cad_af0ebc369302.glb
Create a half-block construction toy by starting with a central cube that is 50.8mm on all sides. From this main cube, remove material using four smaller cubes, each 50.8mm per side. Position the first two cutout cubes at the front and back edges along the X-axis, offset by 10mm from the center, and rotate them 45 degr...
dim = 50.8; offset = 10; module block() { difference() { translate([0,0,dim/2]) cube([dim,dim,dim],center=true); translate([dim-offset,0,dim/2]) rotate([0,0,45]) cube([dim,dim,dim+1],center=true); translate([-(dim-offset),0,dim/2]) rotate([0,0,45]) cube([dim,dim,dim+1],center=true); translate([di...
glb/cad_21cfc7358283.glb
Create a Customizable Camera Arm consisting of a central rectangular body with cylindrical ends. The main body is a rectangular prism measuring 15mm in width and 15mm in height, with a total length of 75mm. At each end of the central body, create a cylindrical protrusion with a diameter of 15mm and a thickness of 5mm...
ArmLength = 75; ScrewAllowance = .1; FemaleSlotDepthAllowance = .5; MaleWidthAllowance = .05; MainBodyLength = ArmLength - 15; ScrewSize = 3; difference() { translate([5 + (MaleWidthAllowance/2),7.5,7.5]) rotate(a=[0,90,0]) linear_extrude(height = 5 - MaleWidthAllowance) circle(d=15,$fn=360, center = true); ...
glb/cad_b084ec160483.glb
Create a battery box for two AA cells. Start with a main body consisting of a central block 66mm long, 30mm wide, and 10mm high. Add two side walls that are 20mm high and 2mm thick, positioned at the far ends of the length. For each of the two battery slots, carve out a cylindrical cradle with a radius of 7.5mm and a ...
Cell_Count = 2; module edge(radius, height) { difference() { translate([radius/2-0.5, radius/2-0.5, 0]) cube([radius+1, radius+1, height], center = true); translate([radius, radius, 0]) cylinder(h = height+1, r1 = radius, r2 = radius, center = true, $fn = 100); } } module battery_box(cells) { differenc...
glb/cad_58d9abf1c139.glb
Create a Canon EF Body Cap by constructing a shallow cylindrical disc with a total height of 4.2mm and an outer diameter of 53.3mm. From this main body, remove a concentric cylindrical core with a diameter of 47.3mm and a height of 4.2mm to create a ring. To form the grip and locking mechanism, integrate two rectangula...
$fn = 32; de = 3; d = 50.3; u = 4.2; e = 1.4; u2 = 6; l1 = 23; l2 = 27; d2 = 65; e2 = 3; difference() { intersection() { union(){ cylinder(r=(d)/2,h=u); translate([0,-l1/2,0]) cube([(d+de)/2,l1,e]); rotate([0,0,112]) translate([0,-l1/2,0]) cube([(d+de)/2,l1,e]); ...
glb/cad_179b39180104.glb
Create a MendelMax Z End Stop Adjust plunger by starting with a main cylinder that has a diameter of 23mm and a height of 4mm. From the center of this cylinder, remove a vertical hole consisting of two combined parts. First, create a central cylindrical bore with a diameter of 3.6mm that passes completely through the...
plunger_dia =23; plunger_height =4; nut_height =2.54; nut_dia =6.5; screw_dia =3.6; $fn =25; module trapezoidNut( length =45, radius =25, pitch =10, pitchRadius =10, threadHeightToPitch =0.5, profileRatio =0.5, threadAngle...
glb/cad_bf443aa9fd5c.glb
Create a MendelMax Z End Stop Adjust mount. Start with a main clamp body consisting of a rectangular base 15mm wide, 11.2mm deep, and 7mm high. Attached to this base, extend a long rectangular arm 63mm long, 2.5mm wide, and 7mm high, protruding from the side. At the far end of this arm, place a small cylindrical mounti...
$fn=24; module tear(r, h) { union() { cylinder(r=r, h=h); rotate([0, 0, 135]) cube([r, r, h]); } } difference() { union() { translate([1,.5,0]) cube([15, 11.2, 7]); translate([-51, 17, 0]) cube([63, 2.5, 7]); translate([-50.5, 19.2, 0]) cylinder(r=.7, h=7); translate([-29,19.6, 4.5]) ...
glb/cad_c45bef0aebcb.glb
Create a Z End Stop Adjust clamp by starting with a solid rectangular block measuring 85mm in length, 15mm in depth, and 15mm in height. Carve out a central rectangular channel to create a C-clamp shape. This cutout should start 7mm from the left edge, leaving a 7mm thick vertical wall on the left. The cutout must be...
clamp_wall = 7; clamp_base = 4; clamp_length = 70; clamp_extention = 4; adj_height = 15; adj_depth = 15; adj_width = 12; nut_height =2.54; nut_dia =6.5; screw_dia =3.6; $fn =16; module clamp(){ difference() { cube([clamp_length+clamp_extention+cla...
glb/cad_467d200a12f3.glb
Create a K8200 electronics cover with an integrated 80mm fan mount. Start by constructing a rectangular outer enclosure with a width of 67.5mm and a length of 116.7mm, and a total depth of 48.6mm. Hollow out the center to create an inner cavity of 65.5mm by 114.7mm with a depth of 46.6mm. On the top surface, center a ...
extrude_width = 0.5051; pcb_width = 65.5; pcb_length = 114.7; pcb_depth = 1.6; pcb_clearance = 45; pcb_underhang = 2; pcb_clip_depth = 1.5; pcb_clip_length = 15; wall_extrude_widths = 4; fan_diam = 76; fan_bolt_centers = 72; fan_casing_width = 80.6; fan_depth = 25; fan_bolt_diam = 5; fan_bolt_length = 15; fan_bol...
glb/cad_53065f9164b2.glb
Create a twisty vase with a total height of 100mm. The vase is constructed by lofting a square cross-section along the vertical axis. The cross-section is a square centered on the origin with vertices at [-25, -25], [25, -25], [25, 25], and [-25, 25]. As the shape extends upward, rotate the cross-section by a total o...
rightHandProfile = [ [ [-35,-25],[-18,0],[-25,25] ], [[0,1,2]] ]; crossSection = [ [ [-25,-25], [25,-25], [25,25], [-25,25] ], [[0,1,2,3]] ]; twistAngle = 180; numberOfSections = 30; actualHeight = 100; forceDegreesOfRotationalSymmetry = 1; mirrorInXAxis = 0; module end_of_parameters_dummy() {} function _isString(v) ...
glb/cad_f80b8b5fa9dc.glb
Create a Cylinder Test model by constructing a right circular cylinder with a radius of 5mm and a total height of 5mm. The cylinder should be centered on the origin, extending 2.5mm above and 2.5mm below the XY plane. Ensure the geometry is rendered with a low facet count to maintain a faceted, polygonal appearance rat...
r=5; h=5; cylinder(r=r,h = h,center=true);
glb/cad_3a4048a9d216.glb