Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Printrbot Simple Acme rod coupling and a matching nut. For the coupling, start with a base cylinder 18mm in diameter and 15mm high. Add a tapered section on top that transitions from a 18mm diameter to a 10mm diameter over a height of 5mm, then place a final cylinder 10mm in diameter and 10mm high on top of th...
use <Thread_Library.scad> coupler(); translate([20,20,0]) nut(); module coupler() { difference() { union() { cylinder(r=9, h=15); translate([0,0,15]) cylinder(r1=9, r2=5, h=5); translate([0,0,20]) cylinder(r=5, h=10); } cylinder(r=2.6, h=15, $fn=20); rotate([90,0,0]) translate([0,4,0]) cylinder(r=1.8, h=...
glb/cad_e349f428db0d.glb
Create a Z axis support bracket by starting with a base rectangular block measuring 92mm in length, 20mm in width, and 3mm in height. At one end of this block, integrate a cylinder with a radius of 12.9375mm and a height of 8.5mm, centered such that the cylinder's edge aligns with the block's side. Drill a central vert...
difference() { union() { cylinder(r=12.9375, h=5.5+3); translate(v=[-12.9375,0,0]) { difference() { cube(size=[92,20,3]); translate(v=[92-5, 10, 0])cylinder(r=2.9,h=3); translate(v=[92-25, 10, 0])cylinder(r=2.9,h=3); } } } translate(v=[0,0,3])cylinder(r=7.9375, h=5.5); cylinder(r=5, h=...
glb/cad_12a89fcb83b3.glb
Create a Sony TV riser by starting with a solid rectangular block that is 3.2mm wide, 3.2mm deep, and 1.2mm high. Carve out a rectangular slot from the top face to create a hollow channel, leaving walls that are 0.295mm thick on the sides and a base that is 0.3mm thick. The interior cutout should be 2.915mm wide and 2....
supportlength = 3.2; supportheight = 0.9; lidheight = 0.3; supporttotalheight = supportheight + lidheight; cylinderdepth = supportheight - 0.5; cylindermid = supportlength / 2.0; rotate([0.0, 90.0, 0.0]) translate([-supportlength, 0.0, 0.0]) difference() { difference() { cube([supportlength, 3.2,sup...
glb/cad_0f3de1260797.glb
Create a pencil rack by extruding a specific 2D profile to a width of 100mm. The profile is based on a rectangle 140mm long and 19mm high. The bottom and two side edges of this profile are straight, but the top edge is modified into a wave pattern to create grooves. Starting from the top-left corner at a height of 14mm...
length=140; width=100; height=19; pencils=9; depth=5; pitch = length/pencils; x_start=0; y_start=height-depth; pnts=concat( [[length,height],[length,0],[0,0],[0,height-depth]], [ for (deg=[0:10:360*pencils]) [x_start +(deg/360)*pitch, y_start + cos(deg)*depth] ], [[length,height-dept...
glb/cad_6ef470537376.glb
Create a Canon BP-511 Battery Cover by constructing a shallow rectangular tray. Start with a base plate that is 58.3mm long, 38.7mm wide, and 4mm deep. The tray is formed by walls that are 1.5mm thick. Build the outer perimeter using four wall sections. The two long side walls should be 55.3mm long and 1.5mm thick, w...
length = 55.3; width = 35.7; depth = 4; wall = 1.5; $fs=0.1; translate([wall,wall,0]) cube([length, width, wall/2]); translate([wall/2,0,0]) { cube([length+wall,wall,depth+wall/2]); translate([0,wall/2,0]) cylinder(d=wall, h=wall/2+depth); translate([length+wall,wall/2,0]) cylinder(d=...
glb/cad_111b8c4b4f8e.glb
Create a curved track for the OS Railway System with a curve radius of 300mm and a curve angle of 30 degrees. The model consists of two parallel rails following the curve. The inner rail is positioned at a radius of 284mm and the outer rail at 316mm. Each rail has a profile consisting of a 6mm wide, 1mm high base and...
track_type = 1; track_length = 100; curve_angle = 30; curve_radius = 300; gauge = 32; tie_length = 50; tie_width = 6; tie_width_connector = 9; tie_height = 2; tie_height_connector = 3; tie_spacing_default = 15; rail_foot = 6; rail_foot_height = 1; rail_head = 2; rail_height = 7; rail_shift = gauge*.5+rail_head*.5...
glb/cad_6b6a91de50ee.glb
Create a Shower Door Guide consisting of a flat base platform and several vertical walls. Start by creating a rectangular base platform with a length of 25.4mm, a width of 43mm, and a height of 1.6mm. On top of this platform, place four vertical rectangular walls, each with a length of 25.4mm and a height of 21mm. Po...
wallthickness=3.2; elength=25.4; union() { translate([0,0,0]) lipgrip(); translate([0,0,(21-wallthickness)]) lipcap(); translate([0,wallthickness+2.1,0]) lipinside(); translate([0,wallthickness+2.1,0]) platform(); translate([0,wallthickness+2.1+43+2-wallthickness,0]) bathwall(); translate([0,wallthickness+2.1+43,-2]) ...
glb/cad_f84c770a6547.glb
Create a watch band keeper by constructing a rectangular hollow sleeve. The overall outer dimensions of the sleeve should be 9mm in length, 6.8mm in width, and 6.8mm in height. The walls of the sleeve must be 2mm thick on all sides. This results in an internal rectangular opening that is 9mm long, 2.8mm wide, and 2.8mm...
$spacer = 0.4; $ringw = 13.8; $ringh = 4.8; $ringl = 9.0; $thickness = 2.; translate([0,0,0]) edge1(); translate([0,0,0]) edge2(); translate([0,0,0]) edge3(); translate([0,0,0]) edge4(); module edge1() { translate([0,0,0]) cube ([$ringl,$thickness+$spacer+$ringw+$spacer+$thickness,$thickness]); } module edge2() { ...
glb/cad_cc95b1be9aeb.glb
Create a Mini-Hakkero elemental cannon by constructing a primary octagonal body with a width of 100mm and a height of 30mm. The body is an 8-sided prism with a hollowed-out center, created by removing a smaller octagon of 90mm width and 6mm height from the middle. At the center of the top face, integrate a series of ...
hakkero_width = 100; hakkero_height=30; $fn=40; hakkero_body(hakkero_width,hakkero_height); hakkero_inlay(); module hakkero_body(width,height){ color("DimGrey")render()rotate([0,0,22.5]){ difference(){ octagon(width,height); translate([0,0,height-1])octagon(width-10,6); translate([0,0,height-2])ring(width...
glb/cad_9d9a718f799c.glb
Create a pi symbol cookie cutter. The model consists of a thin-walled vertical shell based on the Greek letter pi, mirrored along the X-axis. First, generate the pi symbol using a bold serif font, scaled so the height is 60mm. Create the main cutting wall by extruding the symbol's outline to a height of 15mm. This wa...
echo ("Copyright 2017 Nevit Dilmen"); echo ("Creative Commons Attribution Share Alike"); Letter = "π"; Extrude = 15; Size = 60; Select_Font = "Playfair Display"; mirror ([1,0,0]) { linear_extrude (Extrude){ difference () { offset (0.3) resize([0,Size,0], auto=true) text (Letter, font=Select_Font, ":style=bold"); r...
glb/cad_2aee451360af.glb
Create an Arm-Mounted Nuclear Channeling Rod by constructing a tall, hollow octagonal prism. The overall height of the object should be 600mm. The outer shape is a regular octagon with a diameter of 60mm (a radius of 30mm). From the center of this prism, remove a smaller octagonal column with a diameter of 40mm (a radi...
InnerRadius=20; Thickness=10; Height=600; use <Trefoil.scad> Outerradius=Thickness+InnerRadius; difference() { octagon(Outerradius*2,Height); %cylinder(h = Height, r1 = InnerRadius, r2 = InnerRadius, center = true); octagon(InnerRadius*2,Height+1); } module hexagon(radius, height) { union(){ cube(size=[radiu...
glb/cad_658ccae28038.glb
Create an XL650 Toolhead stand consisting of a rectangular base with a tiered central peg and various cutouts. Start with a base plate measuring 109.5mm by 188.5mm with a height of 12mm. Centered on this base, add a tiered cylindrical post: the bottom section is a cylinder with a 26.1mm diameter and 30mm height, topped...
durp=" .308 Winchester"; WIDE=110; union(){ rotate([0,0,90]) translate ([-120,-45, 12]) rotate([20,0,0]) linear_extrude(height = 3) text(durp,size=10, font="Liberation Sans"); difference() { union () { translate([0,-30,0]) linear_extrude(height = 12, scale ...
glb/cad_bc823fee018b.glb
Create a set of four voxel-based tools, each constructed from cubes with a side length of 2.5mm. For the pickaxe, create a handle by placing a sequence of 2x2 cube clusters extending 12 units long. At the end of the handle, attach a head consisting of two symmetrical blades; each blade is 3 units wide and 7 units lon...
PART = "All"; BLOCK_SIZE = 2.5; STYLE = "Fancy"; tools(); module tools() { if (PART == "Pickaxe") pickaxe(); else if (PART == "Sword") sword(); else if (PART == "Axe") axe(); else if (PART == "Shovel") shovel(); else all(); } module all() { translate([b(1), b(1), 0]) pickaxe(); rotate([...
glb/cad_d54834e1f098.glb
Create a Triple Joint Holder consisting of three intersecting hollow cylinders. Start by creating a central main cylinder with an outer diameter of 5.5mm, an inner diameter of 2.5mm, and a total length of 50mm. Position this main cylinder along the Y-axis. Add two additional identical hollow cylinders, each with an out...
$fn = 100; oD = 5.5; iD = 2.5; length = 50; module cyl(){ difference(){ rotate([90,0,0])cylinder(length/2,oD,oD,false); rotate([90,0,0])cylinder(length/2,iD,iD,false); translate([0,-length/3,0])rotate([90,0,0])cylinder(length/4,iD,iD*2,false); } } module shape(){ rotate([90,0,0])c...
glb/cad_73a7310fbe9f.glb
Create a Geometric Cuff by starting with a sphere of radius 40mm. Flatten this sphere by scaling it to 80% along its Y-axis. Constrain this shape by intersecting it with a cube that is 100mm wide, 100mm deep, and 40mm high, centered on the origin. From this resulting form, remove a central vertical cylinder with a ra...
difference() { scale(v=[1,0.8,1]) { difference() { intersection() { sphere(r = 40, center = true); cube(size = [100,100,40], center = true); } cylinder(h=50, r1=30, r2=30, center = true); rotate(a=45,v=[0,0,1]) { translate(v=[0,0,-50]) { cube(size = [100,100,100]); } } } } t...
glb/cad_f44c944f81a3.glb
Create a luggage tag consisting of a rectangular base and raised text. The base is a solid block measuring 75mm wide, 40mm high, and 3mm thick. On the left side of the base, create a vertical rectangular cutout 3mm wide and 15mm high, centered vertically, to serve as a slot for a tag holder. Within the main body of th...
tag_width = 75; tag_height = 40; tag_base = 1.5; tag_thick = 3; tag_holder = 10; border = 2; cut_w = 3; cut_h = 15; text_size = 6; invert = false; line_1 = "Salvador Richter"; line_2 = "Richentalstr. 8"; line_3 = "78462 Konstanz"; line_4 = "Germany"; all(); module all() { if(invert) ...
glb/cad_3937753c792e.glb
Create a stackable screw box with outer dimensions of 200mm length, 100mm width, and 30mm height. The box has a wall thickness of 2mm. The main body is a hollow rectangular prism, but the top edges are modified to allow for stacking. The interior is divided into sections by four thin walls, each 2mm thick, spaced even...
boxLen=200; boxWid=100; boxHgt=30; boxThick=2; numSections=5; mergeSections=2; slopeSections=100; straightSide=0; dividerCount=mergeSections?numSections-mergeSections:numSections-1; screwBox(); module screwBox() { echo("Number of dividers:",dividerCount); difference() { translate([0,0,boxHgt/2]) cube(...
glb/cad_6dce6499858c.glb
Create a Printrbot LC X Axis Stabilizer. Start with a rectangular base measuring 23mm wide, 50mm long, and 3mm thick. Center a hexagonal hole with a flat-to-flat diameter of 4.5mm and a depth of 10mm through the middle of the base. At each end of the center line, create a circular mounting feature. Each feature consi...
dist_M8=24.5; side_x=23; side_y=50; thickness=3; thick_high=thickness+3; thick_donut=3.5; central_nut=4.5; nut_precision=6; difference(){ union(){ translate([0, -1*side_y/2, 0]) main(); mirror([0, 1, 0]) translate([0, -1*side_y/2, 0]) main(); } translate([side_x/2, 0, 0]) cylinder(r=central...
glb/cad_6cc95ce3fc1c.glb
Create a probe spool consisting of multiple stackable base units and one end cap. Each base unit is centered around a flat plate 60mm wide and 95mm deep with a thickness of 2mm. The plate features a central oblong hole created by two 20mm diameter circles centered 65mm apart along the depth, connected by a 20mm wide ...
count = 4; wall = 2.0; wall_t = 2; oa_w = 60; oa_d = 95; height = 7.5; center_ratio = 3; probe_d = 4.75; probe_l = 25; probe_off = 7; probe_cut = 1.25; flat_has_holes = true; end_has_stub = true; center_w = oa_w / center_ratio; center_d = (oa_d - oa_w) + center_w; flat_hole_d = (oa_w - center_w) / 4 - 0....
glb/cad_bac00a965e2e.glb
Create a 3D model of the Deathly Hallows symbol. Start by constructing a square-based pyramid with a total height of 75mm and a wall angle of 60 degrees. The base corners should be positioned such that the distance from the center to each corner is approximately 43.3mm. Inside this pyramid, place a sphere with a radiu...
$fn=75; pyramidAngle = 60; totalHeight = 100; pyramidHeightPct = 75; sphereRadiusPct = 27; sparSidePct = 7; pyramidHeight = totalHeight * (pyramidHeightPct / 100); sphereRadius = pyramidHeight * (sphereRadiusPct / 100); sparSide = pyramidHeight * (sparSidePct / 100); cornerXY = pyramidHeight / tan(pyramidAngle); s...
glb/cad_256db909bd12.glb
Create a replacement leg for a toy microphone stand. Start by constructing a tapered cylinder that serves as the attachment plug, with a base diameter of 21.75mm and a top diameter of 21mm, extending to a height of 32mm. To this plug, add three rectangular wedges, each measuring 11.375mm by 2.5mm by 28mm, positioned ar...
d1 = 21.75; d2 = 21.0; length = 155; r1=d1/2; r2=d2/2; $fn=64; union() { difference() { union() { cylinder (h=32, r1=r1, r2=r2); translate ([0, 0, 3]) rotate ([0, -1, 0]) cube ([r1+0.5, 2.5, 28]); translate ([0, 0, 3]) rotate ([0, -1, 90]) cube ([r1+0.5, 2.5, 28]); translate ([0, 0, 3]) rotate (...
glb/cad_1f2806d95e0e.glb
Create a coin battery holder designed to hold four cells. The base is a rectangular block with a width of 20mm, a height of 1mm, and a length of 13.4mm. Along the length of the base, place five thin divider walls, each 1mm thick. Each divider consists of a semi-circular disc with a radius of 10mm and a height of 1mm,...
nr = 4; battery = "CR2032"; battery = "custom"; custom_radius = 10; custom_width = 3.1; sizedivider = 0.8; sizedivider = 1.0; module short_divider(radius) { translate([radius, 0,radius]) rotate([-90,0,0]) { intersection() { translate([0,5,0]) cylinder(r=radius, h=sizedivider,$fn=50); ...
glb/cad_d8dc837c7437.glb
Create a 4 Extruder test piece by constructing a base cube measuring 10mm x 10mm x 2mm, centered on the origin. From this base, remove a smaller square section to create a triangular prism. This is achieved by centering a 20mm x 20mm x 3mm cube, rotating it 45 degrees around the Z-axis, and shifting it 10mm along the X...
e=2; if(e==0) triangle(); if(e==1) rotate([0,0,180]) triangle(); if(e==2) translate([10,0,0]) triangle(); if(e==3) rotate([0,0,180]) translate([10,0,0]) triangle(); if(e==-1){ color("Blue") render() triangle(); rotate([0,0,180]) color("Red") render() triangle(); translate([10,0,0]) ...
glb/cad_f11e778f52b8.glb
Create a Trabant Sachsenring car logo as a 3D emblem with a total thickness of 5.25mm. Start by creating a flat ring with an outer diameter of 75mm and an inner diameter of 67.5mm. Inside this ring, place a stylized, thick geometric shape resembling a slanted "S" or a lightning bolt. This central element is formed by t...
scale(75/100) minkowski() { cylinder(2,1,4); linear_extrude(3) { difference() { circle(050,$fn=64); circle(45,$fn=64); } ss(); rotate(180)ss(); difference() { translate([-60,0])square([30,30],center=true); ...
glb/cad_acc8bfe6b968.glb
Create a Trabant Sachsenring car logo by constructing a complex circular base and removing specific geometric volumes. Start with a primary ring formed by rotating a circle with a 5mm radius around an axis 25mm from its center, creating a torus-like shape with a major radius of 25mm and a thickness of 10mm. Within this...
difference() { union() { difference() { hull() { rotate_extrude(convexity = 10) translate([25, 10]) circle(r = 5, $fn = 100); } for(n=[0:30:359]) { rotate([0,0,n])translate([31,0...
glb/cad_84bf99b18135.glb
Create a Trabant Sachsenring car logo consisting of a hexagonal base with a stylized emblem on top. Start by creating a hexagonal prism with a height of 20mm and a diameter of 23.3mm (measured from vertex to vertex). Hollow out the center of this prism with a smaller hexagonal hole that is 19.65mm wide and 10.2mm deep....
sw=19.65; height=20; wall=1.7; intersection() { union() { intersection() { difference() { union() { cylinder(h=2,d=sw+2*wall+4); cylinder(h=height,d=(sw+2*wall)/cos(30),$fn=6); } translate([0,0,-.1])cylinder(...
glb/cad_79e4e5b7bd87.glb
Create a MakerBeamXL beam with a length of 100mm. Start with a square base profile of 15mm by 15mm. Along the center axis of the beam, create a primary screw hole with a diameter of 2.55mm that runs the full length. Surrounding this central hole, add four smaller tap grooves with a diameter of 0.8mm, positioned at 45...
Beam_Lenght = 100; function MBXL_Width() = 15; function MBXL_BigHoleID() = 2.55; function MBXL_SmallHoleID() = 0.8; function MBXL_EdgeOR() = 0.25; function MBXL_HoleDist() = 10; module MakerBeamXL(Lenght, beautify= 0.1 , $fn = 90) { difference() { translate([ 0 , 0 , Lenght / 2 ]) { ...
glb/cad_81092725da45.glb
Create an Outer Ring for a combination safe. The ring is a decagonal torus composed of 10 identical segments arranged in a circle. Each segment is a 3D block with a width of approximately 12mm and a height of 5mm. The inner face of the ring is hollowed out by a circular cutout with a diameter of 2.43mm. The outer edge...
Text_0 = "0"; Text_1 = "1"; Text_2 = "2"; Text_3 = "3"; Text_4 = "4"; Text_5 = "5"; Text_6 = "6"; Text_7 = "7"; Text_8 = "8"; Text_9 = "9"; Image_0 = ""; Image_1 = ""; Image_2 = ""; Image_3 = ""; Image_4 = ""; Image_5 = ""; Image_6 = ""; Image_7 = ""; Image_8 = ""; Image_9 = ""; Font = "arile"; Bold = true; Ita...
glb/cad_9fa57858ca13.glb
Create a hard drive bracket with a base thickness of 3mm. The main body is a rectangular plate measuring 94mm in width and 23mm in height. The four corners of this main plate are rounded with a radius of 3mm. Add two smaller rectangular extensions to the top edge of the main plate. The first extension is positioned on...
$width=94; $height=23; $radius=3; $thickness=3; module main_shape() { hull(){ translate([$radius/2,$radius/2,0])rotate([0,0,90])cylinder(d=$radius,h=$thickness,$fn=15); translate([$width-$radius/2,$radius/2,0])rotate([0,0,90])cylinder(d=$radius,h=$thickness,$fn=15); translate([$radius/2,$height-$radius/2,0])rotate([0,...
glb/cad_970d3d1eec4f.glb
Create a Maker Coin Container consisting of a main body and a threaded lid. For the body, create a base cylinder with a radius of 25mm and a height of 8mm. Add a bevel to the outer edge by creating a hull between the base cylinder and a second cylinder with a radius of 27mm and a height of 4mm, positioned 2mm above the...
$fn = 96; include <sine_thread.scad> radius = 25; height = 8; bevel = 2; inset = 4; depth = 1; scallops = 20; thread_margin = 0.4; debug = false; lid(); coin(); module coin() { difference() { hull() { cylinder(r = radius, h = height); translate([0,0,bevel]) cyli...
glb/cad_1e5f0fd277a8.glb
Create a customizable USB cover by constructing a hollow rectangular shell. Start with a solid outer rectangular prism that is 14.5mm wide, 6.5mm thick, and 30mm high. From the center of this volume, remove a smaller rectangular prism to create the internal cavity. This inner cutout must be 12.6mm wide, 4.6mm thick, an...
module usbCover(usbWidth, usbThickness, coverThickness, coverHeight) { flushness = 0.1; difference() { color(blue) cube([usbWidth + coverThickness * 2, usbThickness + coverThickness * 2, coverHeight ], center = true); translate([0,0,-coverThickness -1]) #cube([usbWidth + flushness, usbThickness +...
glb/cad_951ea59de04e.glb
Create a customizable horseshoe with a height of 12mm. Start by creating a primary ring shape using a cylinder with a radius of 50mm and a resolution of 100 facets. Scale this cylinder by 1.5 along the Y-axis to create an oval profile. Remove a section of the ring by placing a cube with a side length of 100mm, rotated ...
r= 50; n=100; h=12; x=2.3; s=1.5; t=0.7; u=1.1; module main(){ difference(){ difference(){ scale([1.0,s,1.0])cylinder(h = h, r1 = r, r2 = r, center = true, $fn=n); scale([t,u,1.0])cylinder(h = h+1, r1 = r, r2 = r, center = true, $fn=n);} rotate([0,0,45])translate([-r,-r,0])cube([2*r,2*r,h+1], center = true);} ...
glb/cad_400e588cd89e.glb
Create a fan duct adapter that connects a 40mm fan plate to a rectangular blower plug. Start by creating a rectangular blower plug with outer dimensions of 20mm width, 15.3mm length, and 5mm height. Hollow out the center of this plug, leaving a wall thickness of 1.2mm. Position a circular fan plate with a diameter o...
$fn=60; thickness=1.2; fan_angle=43; duct_m_w=20; duct_m_l=15.3; duct_m_h=5; fanplate_d=40; fanplate_ds=2.5; fanplate_ls=32; fanplate_fh=37; distance=45; lower_edge=15; rotate([fan_angle,180,0]) fan_duct_to_40mm(); module FanPlateToBlowerPlug(lw,ll,lh,uw,ul,lower_edge,angle,distance) { hull() { translate([-lw/2,...
glb/cad_101bf8d73b14.glb
Create a Pocket Hose Knob by starting with a rectangular block measuring 14mm wide, 25mm long, and 8mm high, with all corners rounded to a 1mm radius. At the top center of the block, create a recessed hole for a screw. This hole begins with a wide cylindrical opening with a radius of 4.5mm and a depth of 2.8mm. Withi...
module roundCornersCube(x,y,z,r) { ix=x-2*r; iy=y-2*r; iz=z-2*r; union() { cube([ix,iy,z], center=true); cube([x,iy,iz], center=true); cube([ix,y,iz], center=true); translate([ix/2,iy/2,0]) rotate([0,0,0]) cylinder(r=r, h=iz, center=true); translate([-ix/2,iy/2,0]) rotate...
glb/cad_6c05e5df1a23.glb
Create a 3D corner bracket with a total outer dimension of 25mm x 25mm x 25mm. The main body is formed by three intersecting rectangular slabs, each 4mm thick, that meet at a central corner to create a three-sided shell. Remove a cylindrical core from the center of the bracket where the three slabs meet; this void co...
$fn=50; a=25; d=4; r=1.6; base(a=a,d=d,r=r); module base(a,d,r) { difference() { kose(a=a,d=d); union() { delik(r=r,a=a,d=d); pah(r=r,a=a,d=d); } color([0.4,0.5,0.8,1.0]) union() { w=a*0.8; translate([a,0,a]) rotate([90,0,0]) rotate...
glb/cad_9ba5d5601d19.glb
Create a corner bracket with a thickness of 5mm. Start with a cube that is 20mm wide, 20mm deep, and 15mm high. Modify this cube by removing a smaller interior volume to create an L-shaped profile; specifically, remove a section starting 10mm from the inner edges, using a 5mm radius for the interior corner fillet. Wi...
Width=15; Length=20; HoleDiameter=3.2; Thickness=5; $fn=100; a=Width; b=Length; r=HoleDiameter/2; d=Thickness; color([.4,.5,.7,1]) intersection () { difference () { cube(size=[b,b,a]); translate([2*d,2*d,-a/2]) minkowski() { cube(size=[2*b,2*b,a]); cylinder(r=d,h=a); } union() { ...
glb/cad_180a2a9f7008.glb
Create a Fliptrix dot matrix display consisting of a grid of 2 rows and 2 columns of flippable plates. First, construct the outer frame. The frame is a flat base with a thickness of 3.2mm. It features a perimeter wall and internal dividers that create cells for the plates. The internal dividers are spaced to allow fo...
rows = 2; cols = 2; plate_height = 10; plate_width = 10; thickness = 3.2; row_space = 2.2; col_space = 2.2; hole_gap=0.4; hole_size=1.2; horizontal_gap=0.6; plates_type="rounded"; plate_holders="two"; plate_holders_size=1; plate_holders_pin_size=0.8; $fs = hole_gap; print_part(); module print_part() { ...
glb/cad_7ea4f54ce4a1.glb
Create a printable electric motor bracket consisting of two mirrored components. For the first part, create a rectangular block 10mm wide, 31.66mm long, and 25mm high. Cut a semi-circular hole with a radius of 9.1mm through the center of the 31.66mm side, centered at a height of 22.5mm. Drill two perpendicular screw ho...
include <duplo_bracket.scad> house_diam=18.2; house_length=10; axis_height=25; screw_diam=3; screw_depth=16; bracket_width=31.66; bracket_height=axis_height; bracket(); bracket_top(); duplo(.5,2,1); module bracket(){ translate([-0.5*house_length,-0.5*bracket_width,.5*9.6+.001]){ rotate(a=[90,0,90]){ difference(){ li...
glb/cad_74b14f4bd0ef.glb
Create a bracket for a printable electric motor consisting of two rectangular blocks. First, create a base block measuring 10mm wide, 31.66mm long, and 5mm high. Cut a rectangular slot through the center of this base block that is 4.4mm wide, 22.46mm long, and 5mm deep, leaving a 4.6mm margin at the ends. Position a ...
include <duplo_bracket.scad> house_diam=18.2; house_length=10; axis_height=25; screw_diam=3; screw_depth=16; bracket_width=31.66; bracket_height=axis_height; bracket(); duplo(.5,1,1); module bracket(){ translate([-5,-31.66/2,.5*9.6+.001]){ difference(){ cube(size = [10,31.66,5], center = false); translate([(10-4.4)...
glb/cad_b0c6b93bb835.glb
Create a printable electric motor component by starting with a main cylinder that has a height of 6mm and a radius of 13.5mm. Remove a rectangular section from the bottom of this cylinder using a block that is 50mm wide, 50mm deep, and 5mm high, positioned 15mm away from the center along the y-axis. Inside this main bo...
difference(){ cylinder(h=6, r=13.5, $fn=100); translate ([0,-15,0]) cube (50,50,5); cylinder(h=6, r=4, $fn=20); } difference(){ cylinder(h=6, r=8); cylinder(h=6, r=4.25, $fn=20); translate ([0,0,2.5]) rotate ([0,90,0]) cylinder (h=20, r=1.5); }
glb/cad_836c49ce42b4.glb
Create a printable electric motor component with a thickness of 4mm. Start by designing a base shape that is a combination of a circle and a tapered arm. On one end, create a ring with an outer diameter of 20.2mm and an inner diameter of 18.3mm, using a 20-facet resolution for the circles. Cut a rectangular notch out o...
bearing_diam=18.3; plunjer_side_diam=4; shaft_length=45; shaft_thickness=4; linear_extrude(height=shaft_thickness){ difference(){ polygon(points=[[shaft_length,(plunjer_side_diam/2*1.3)], [0,bearing_diam/2+1.1], [0,-bearing_diam/2-1.1], [shaft_length,(-plunjer_side_diam/2*1.3)]]); circle(r=bearing_diam/2,$fn=20); tran...
glb/cad_28ba0ab15807.glb
Create a bobbin flange for an electric motor. Start by creating a thin disk with a diameter of 25mm and a height of 1mm. In the center of this disk, remove a cylindrical hole with a diameter of 10.5mm. Around the inner edge of this hole, add a small raised collar that is 2mm high with an outer diameter of 5.7mm and an ...
plunjer_diam=10; plunjer_length=28.5+18; core_diam=8; core_length=26.5; connector_axis_diam=3; connector_axis_heigth=7; connector_heigth=11; plunjer_inner_diam=core_diam+.2; plunjer_outer_diam=plunjer_diam-0.2; bobbin_length=28.5; bobbin_inner_diam=10.5; bobbin_outer_diam=bobbin_inner_diam+.9; flange_thickness=1; fl...
glb/cad_75ea19136261.glb
Create a simple parameterised bracket for holding a transformer. The bracket is constructed from a material with a uniform thickness of 2.2mm and a total width of 14mm. Form the main body as a U-shaped channel. The base of the bracket is a rectangular plate with a length of 7.75mm (calculated as 1.5 times the screw d...
thickness=2.2; top=42; height=20; width=14; twoscrews=false; screw=3.5; matlabs=false; t_abspads=0.5; r_abspads=4; flange=1.5*screw+thickness+2; module frame() { cube([flange,thickness,width]); translate ([flange-thickness,0,0]) cube([thickness,height+thickness,width]); translate ([flange-thickness,height,0]) cube([t...
glb/cad_085509f1ab30.glb
Create a Knob Insert by starting with a solid cylinder 12.5mm high with an outside diameter of 8mm. To create the knurled exterior, add two sets of small pyramid-like protrusions around the circumference. The first set consists of six pyramids spaced every 60 degrees, and the second set consists of five pyramids offset...
$fn=100; height=12.5; outside_diameter=8.0; depth=10.0; hole_diameter=6.5; splines=24; spline_height=7.0; module knurl1() { for(i=[0:1:5]) { translate([outside_diameter/2+height/24,0,i*height/6+height/12]) rotate([0,90,0]) cylinder(h=height/12,r1=height/12,r2=0,center=true,$fn=4); } } module knurl2...
glb/cad_ee63b020ecd4.glb
Create a Fuzzy Washer by constructing a thin, flat annular disc. Start with a solid cylinder that has an outside diameter of 36 mm and a thickness of 1 mm. Center a cylindrical hole through the middle of this disc with an inside diameter of 22.05 mm, ensuring the hole passes completely through the thickness of the part...
shape=1; $fn=100; rows=7; columns=5; separation=40; outside_diameter=36.0; inside_diameter=22.05; thickness=1.0; module outside_rim() { if(shape==0) { circle(r=outside_diameter/2,center=true); } if(shape==1) { cylinder(h=thickness,r=outside_diameter/2,center=true); } } module inside_rim() { if(shape...
glb/cad_3680bfb71a94.glb
Create a Bukobot Fly glider consisting of a fuselage, main wings, and a tail assembly. Start with the fuselage beam, a long thin structure centered on the X-axis extending from X= -116mm to X= -10mm with a radius of 1.5mm. At the front (X= 42mm), add a rounded nose created by a sphere with a radius of 8mm, scaled to ...
$fn= 60; wing_front_thickness = 0.4; wing_back_thickness = 0.4; wing_span = 160/2; wing_rib_angle = 25.5; nose_distance = 42; nose_size = 8; for ( i = [-1 , 1 ] ) { hull() { cylinder(r=1,h=wing_front_thickness,center=0); translate([-60,i*wing_span,0])scale([1,2,1])cylinder(r=17,h=wing_front_thickness,center=0); ...
glb/cad_f1bcc8a59047.glb
Create a parametric L-bracket consisting of two perpendicular walls, each 22mm long, 16mm wide, and 2mm thick. First, create a horizontal rectangular plate 22mm by 16mm with a thickness of 2mm. Centered within this plate, remove a stadium-shaped slot that is 4mm wide and 12mm long, with semi-circular ends. The slot s...
wall_thickness = 2; internal_width = 12; slot_width = 4; side_length = 20; head_annulus = (internal_width/2) - (slot_width/2); abit = 0.0001 * 1; module stadium3d(a, r, z, center = false){ offset_x = center ? -(r + (a / 2)) : 0; offset_y = center ? -(r) : 0; offset_z = center ? -(z / 2) : 0; translate([offset_x...
glb/cad_fee6d2d71c77.glb
Create a parametric L-bracket consisting of two perpendicular walls joined at a right angle, with a thickness of 2mm for all walls and braces. The horizontal wall is a rectangular slab 22mm wide (internal width of 12mm plus 2mm walls on each side) and 22mm long (side length of 20mm plus 2mm wall thickness), with a th...
wall_thickness = 2; internal_width = 12; slot_width = 4; side_length_v = 30; side_length_h = 20; head_annulus = (internal_width/2) - (slot_width/2); abit = 0.0001 * 1; $fn = 24; module stadium3d(a, r, z, center = false){ offset_x = center ? -(r + (a / 2)) : 0; offset_y = center ? -(r) : 0; offset_z = center ? -(...
glb/cad_ee4f965033fa.glb
Create a 3D printer camholder hinge consisting of two intersecting rectangular plates. First, construct a primary L-shaped base by joining a 40x4x40mm vertical plate with a 4x40x40mm vertical plate meeting at a right angle. Within this structure, create a horizontal cylindrical tunnel with a diameter of 8.5mm that pass...
$fn = 48; s = 0.6; ds = 7.9; difference() { union() { cube([40,4,40]); cube([4,40,40]); translate([-1,-1,32]) cylinder(d=ds-s, h=8); translate([-1,-1,16]) cylinder(d=ds-s, h=8); translate([-1,-1,0]) cylinder(d=ds-s, h=8); } translate([-1,-1,8]) cylinder(d=ds+s,h=...
glb/cad_eadfe4ee883a.glb
Create an M10 holder for a Hall-effect endstop. Start with a rectangular block measuring 32mm in length, 15.5mm in width, and 12mm in height. Carve out a central U-shaped channel from the top and side, starting 17mm from the front edge, with a width of 9mm and a depth of 14mm. At the interior front wall of this channel...
intersection() { difference() { cube([32,15.5,12]); union() { translate([17,3,-1]) cube([16,9,14]); translate([16,7.8,-1]) cylinder (h=14, r=5, $fn=100); translate([7,7,6]) rotate([90,0,0]) holes(); } } scale([2,1,1]) translate([8,7.8,6]) cylinder(h=12, r=10, center = true, $fn=100); } ...
glb/cad_d7e187dc6e8a.glb
Create a Ghost Drone 360Cam Mount by starting with a rectangular base plate measuring 50mm wide, 35mm deep, and 3mm high. Center a cylindrical protrusion on the top surface of this plate with a diameter of 24mm and a height of 6mm. Drill a vertical hole through the center of this cylinder and the base plate with a diam...
h=3; w=50; d=35; ch=6; cd=24; w_spacing=40; d_spacing=25; y_off=5; x_off=5; hole_length=2.75; cam_screw_diam=6.1; mount_screw_diam=2.3; delta=0.4; difference() { translate([0,0,h/2]) cylinder(ch, d=cd,center = false,$fn=100); translate([0,0,h/2]) cylinder(ch,d=cam_screw_diam+delta,center = false,$fn=50); } ...
glb/cad_cbb8a21c2c38.glb
Create a shampoo caddy starting with a main rectangular block 78mm deep, 84mm wide, and 30mm high. Attach a right-triangular prism to the side of this block; the triangle's base should align with the block's 84mm width, its height should be 30mm, and it should extend 30mm outward from the block. Carve two identical bo...
CUBOID_WIDTH = 84; CUBOID_HEIGHT = 30; CUBOID_DEPTH = 78; TRIANGLE_LENGTH = 30; HOLE_DIAMETER = 28; HOLE_DEPTH = 24; DRAINAGE_HOLE_DIAMETER = 8; DRAINAGE_SPOUT_DIAMETER = 8; DETAIL = 50; HOLE_OFFSET = CUBOID_WIDTH / 4; module hole(offset_multiplier) { union() { translate(v = [CUBOID_DEPTH / 2, HOLE_...
glb/cad_8993600c388a.glb
Create a parametric phone stand starting with a rectangular base measuring 70mm wide, 50mm deep, and 3mm thick. Attach a second rectangular plate of the same width and thickness to the base, rotated 60 degrees upward along the x-axis to create the backrest. To support the structure, add a cylindrical rod with a 3mm dia...
inner = 3; standHeight = 35; standWidth = 70; difference(){ union () { cube([standWidth, 50, inner]); rotate([60, 0, 0]) { cube([standWidth, 120, inner]); }; translate([0, inner, inner]) { rotate([0, 90, 0]) { cylinder(70, inner, inner); ...
glb/cad_e3fda2a1d3d2.glb
Create a two-part electronics enclosure consisting of a base and a lid. For the base, create a rectangular block measuring 110mm x 70mm x 60mm. Hollow out the center by removing a block of 105mm x 55mm x 65mm starting from a height of 5mm and offset by 7mm from the sides. Cut two longitudinal slots for cables, each 1...
union() { difference() { translate([0,0,0])cube([110,70,60]); translate([5,7,5])cube([105,55,65]); translate([0,62,50])cube([110,3.5,6]); translate([0,5,50])cube([110,3.5,6]); translate([0,7,50])cube([5,55,10]); translate([2.5,12,51])rotate(a=[180,0,0]){cylinder(h=9,r=1.85);} translate([2.5,58,51])rotate(a=[180,0,0...
glb/cad_90cd81f13167.glb
Create an Arduino Uno enclosure consisting of a base and a lid. For the base, start with a solid block measuring 76mm in length, 70mm in width, and 40mm in height. Hollow out the center by removing a block of 71mm by 55mm by 65mm, starting from a height of 5mm and offset by 7mm from the sides. Cut two slots into the ba...
union() { difference() { translate([0,0,0])cube([76,70,40]); translate([5,7,5])cube([71,55,65]); translate([0,62,30])cube([110,3.5,6]); translate([0,5,30])cube([110,3.5,6]); translate([0,7,30])cube([5,55,10]); translate([2.5,12,31])rotate(a=[180,0,0]){cylinder(h=9,r=1.85);} translate([2.5,58,31])rotate(a=[180,0,0]...
glb/cad_f944c18eeff8.glb
Create an Arduino Mega and Uno enclosure consisting of a base and a lid. Construct the base as a rectangular block measuring 145mm in length, 97mm in width, and 60mm in height. Hollow out the interior to create walls 5mm thick, leaving a 65mm high interior cavity. Cut two rectangular slots measuring 145mm by 3.5mm by...
union() { difference() { translate([64,0,0])cube([76,70,20]); translate([69,7,5])cube([71,55,25]); } translate([69,5,11])rotate(a=[0,0,0]){cube([2,65,2]);} translate([64,6.2,11])rotate(a=[0,0,0]){cube([76,2,2]);} translate([64,60.8,11])rotate(a=[0,0,0]){cube([76,2,2]);} difference() { translate([0,0,0])cube([145,9...
glb/cad_20dbec0184b4.glb
Create an Arduino Mega and Uno enclosure consisting of a base and a lid. Construct the base as a rectangular block measuring 145mm in length, 97mm in width, and 60mm in height. Hollow out the interior by removing a central block of 140mm by 82mm by 65mm, leaving a 5mm wall thickness. Cut two slots into the side walls, ...
union() { difference() { translate([64,0,0])cube([76,70,20]); translate([69,7,5])cube([71,55,25]); } translate([69,5,11])rotate(a=[0,0,0]){cube([2,65,2]);} translate([64,6.2,11])rotate(a=[0,0,0]){cube([76,2,2]);} translate([64,60.8,11])rotate(a=[0,0,0]){cube([76,2,2]);} difference() { translate([0,0,0])cube([145,9...
glb/cad_3171b287f311.glb
Create a Dual 608 bearing Y idler. Start with a main rectangular body 30mm wide, 33mm deep, and 17mm high. Center a horizontal cylindrical tunnel 8.5mm in radius through the depth of the body, positioned 8.5mm from the bottom. Within this body, create a central bearing cavity by removing a 16mm wide by 21mm deep rect...
difference() { union () { difference() { union() { cube([30,33,17]); translate([0,0,8.5]) rotate([0,90,0]) cylinder(h=30,r=8.5,$fn=100); translate([-1.5,33,8.5]) rotate([0,90,0]) cylinder(h=33,r=8.5,$fn=100); translate([0,-8.5,0]) cube([30,8.5,8.5]); translate([-1.5,33,0]) cube([33,8.5,8.5]);...
glb/cad_1c687386500d.glb
Create a muzzle brake consisting of a main cylindrical body 66mm long with an outer diameter of 18mm. Drill a central bore 6mm in diameter through the entire length of the cylinder. At the tip of the muzzle, create a conical indentation 2mm deep that tapers from the 6mm bore to a diameter of 16mm. Starting 6mm from th...
length = 66; dia = 18; bore = 6; indentionDepth = 2; brakeRows = 7; brakeDia = 4; brakeSpacing = 2; brakeStart = 6; threaded = "no"; threadDia = 15; threadPitch = 1; threadLength = 20; slideDiaBase = 14.4; slideDiaStop = 14.1; slideGap = 7.9; slideGapStart = 4; slideLength = 20; fudge = 0.001; include...
glb/cad_f74cc79a4953.glb
Create a fuselage section for a Project Modular Aircraft. Start by creating a hollow rectangular tube centered on the origin, with an outer dimension of 60mm by 60mm and a length of 120mm along the Y-axis. The walls of this tube should be 4mm thick. At the top of the structure, centered at Z=30, add a solid rectangul...
$fn=90; $fa=1; $fs = 0.1; difference() { translate([0,0,0]) rotate([90,0,0]) linear_extrude(height = 120.0, center=true) { offset(4) { square(52, center = true); } } translate([0,0,0]) rotate([90,0,0]) linear_extrude(height = 122.0, center=true) { offset(3) { square(52, center = true); } } translate(...
glb/cad_b5c1df3c8d16.glb
Create a servo mount for a modular aircraft. Start with a central body created by extruding a symmetrical polygon to a height of 36mm. The polygon profile should be defined by the points [-20, 0], [-20, 1], [-7.5, 18], [-6.5, 18], [-6.5, 16], [6.5, 16], [6.5, 18], [7.5, 18], [20, 1], and [20, 0]. From this main body, ...
$fa=5; $fs = 0.05; difference() { union() { translate([0,0,0]) rotate([90,0,0]) linear_extrude(height = 36, center=true) polygon(points=[ [-20, 0], [-20, 1], [-7.5, 18], [-6.5, 18], [-6.5, 16], [6.5, 16], [6.5, 18], [7.5, 18], [20, 1], [20, 0] ]); } cube([13,23.3,50], center=true); translate([0,0,4]) cube([13,3...
glb/cad_740ece65253f.glb
Create a Project Modular Aircraft cover by starting with a central rectangular plate measuring 39mm wide, 120mm long, and 1mm thick, centered at the origin and elevated 0.5mm on the Z-axis. Remove two small rectangular slots measuring 5mm by 5mm by 2mm, positioned symmetrically at X coordinates -12.5mm and 12.5mm and Y...
$fa = 1; $fs=0.05; difference() { translate([0,0,0.5]) cube([39,120,1],center=true); translate([-12.5,51.5,0.5]) cube([5,5,2],center=true); translate([12.5,51.5,0.5]) cube([5,5,2],center=true); translate([0,-55,0]) cylinder(r=1.6,h=3,center=true); } translate([-12.5,0,0]) rotate([90,0,90]) linear_extrude(height = ...
glb/cad_eea7feada271.glb
Create a Project Modular Aircraft component consisting of a main body and two symmetrical base attachments. Start by creating the main body as a rectangular block measuring 8mm wide, 32mm long, and 11mm high, centered at [0, 0, 5.5]. Carve out a smaller rectangular void from the center of this body measuring 8mm wide, ...
$fa = 1; $fs = 0.05; difference() { translate([0,0,5.5]) cube([8,32,11],center=true); translate([0,0,4.5]) cube([8,28,9],center=true); } difference() { translate([0,20,1.5]) cube([8,8,3],center=true); translate([0,20,7]) cylinder($fn=6, r=3.3,h=10,center=true); translate([0,20,5]) cylinder(r=1.6,h=10,center=true);...
glb/cad_6b393fd102ad.glb
Create a mounting bracket for a Project Modular Aircraft nose gear. Start by constructing a central vertical cylinder with a radius of 5mm and a height of 8mm, centered at the origin. Extend two flat arms horizontally from the center; each arm is 20mm long, 2mm thick, and 2mm wide. In the center of the assembly, add a ...
$fa=1; $fs = 0.05; difference() { union() { translate([0,0,3]) cylinder(r=5,h=8,center=true); translate([-20,0,0]) cylinder(r=2,h=2,center=true); translate([20,0,0]) cylinder(r=2,h=2,center=true); translate([0,0,0]) rotate([0,0,90]) linear_extrude(height = 2, center=true) polygon(points=[ [2, -20], [4, 0], [2, 20...
glb/cad_7f08636e6513.glb
Create a thin, circular washer for the Project Modular Aircraft. Start by creating a solid cylinder with a radius of 4.146235mm and a height of 0.8mm, centered on the origin. From the center of this cylinder, remove a smaller coaxial cylindrical hole with a radius of 1.25mm and a height of 0.8mm to accommodate a 2.5mm ...
$fa=1; $fs=0.05; spar_diam = 2.5; difference() { translate([0,0,0]) cylinder(r=4.146235, h=0.8, center=true); translate([0,0,0]) cylinder(r=spar_diam/2, h=0.8, center=true); }
glb/cad_532fc7608d4a.glb
Create a rectangular frame with an outer dimension of 53mm by 53mm and a thickness of 10mm. The frame should have a hollow center measuring 49mm by 49mm, but with a wall thickness of 2mm. Within this frame, create two identical cylindrical pillars positioned symmetrically along the center axis. Each pillar should hav...
$fa=1; $fs = 0.1; difference() { translate([0,0,0]) rotate([90,0,0]) linear_extrude(height = 10.0) { offset(2.0) { square(49.0, center = true); } } translate([0,0,0]) rotate([90,0,0]) linear_extrude(height = 12.0) { offset(2.0) { square(45.0, center = true); } } translate([0,-5,20]) rotate([0,90,0])...
glb/cad_cda5395ac6ef.glb
Create a wing segment for a Project Modular Aircraft. Start with a central rectangular base plate measuring 40mm in length, 44.5mm in width, and 1mm in height, centered on the origin. On the top surface of this base, add four small rectangular side supports, each measuring 9.5mm by 4mm by 6mm. Position two supports a...
$fa=5; $fs=0.05; segment = 40.0; thickness = 0.6; shell = 0.4; difference() { union() { translate([0,0,-3.03390+0.5]) cube([segment,44.5,1],center=true); translate([-5,11+2.75,-3.03390+3]) cube([9.5,4.0,6],center=true); translate([-5,-11-2.75,-3.03390+3]) cube([9.5,4.0,6],center=true); translate([-5+12.5,11+2.75,...
glb/cad_cc360fbe5a0c.glb
Create a rectangular frame for the Project Modular Aircraft. Start by creating a solid rectangular block with a width of 22mm, a depth of 11mm, and a height of 2mm, ensuring the corners are rounded with a radius of 2mm. From the center of this block, remove a smaller rectangular section to create a hollow opening. This...
$fa=1; $fs = 0.05; difference() { translate([0,0,0]) linear_extrude(height = 2.0) { offset(2.0) { square([18,7], center = true); } } translate([0,0,0]) linear_extrude(height = 4.0) { offset(0) { square([18,7], center = true); } } }
glb/cad_dc4c3f354a29.glb
Create a wing segment for a Project Modular Aircraft with a thickness of 120mm. The main body is based on a NACA 0010 airfoil profile, extruded to a height of 120mm, with the chord tapering from 120mm at the root to 80mm at the tip. Within this geometry, create four vertical holes for structural spars. Position two cy...
$fa = 1; $fs = 0.05; segment = 120.0; spar_diam1 = 3.5; spar_diam2 = 3.5; thickness = 1.0; shell=0.4; washer = 0; servo_wire = 0; chord1 = 120; chord2 = 80; difference() { translate([0,-120,0]) rotate([0,0,-90]) vtail(naca = 0010, L = 120, N=100, h = segment, open = false); translate([0,-96,0]) rotate([90,0,-90]) l...
glb/cad_ae3800be0f4d.glb
Create a wing segment for a Project Modular Aircraft with a length of 120mm. The main body is based on a NACA0010 airfoil profile with a chord length of 120mm, linearly extruded to the segment length. The profile should taper from a chord of 120mm at the root to 80mm at the tip. Within this geometry, create a longitud...
$fa = 1; $fs = 0.05; segment = 120.0; spar_diam1 = 3.2; spar_diam2 = 3.2; thickness = 1.0; shell=0.4; washer = 0; servo_wire = 0; chord1 = 120; chord2 = 80; difference() { translate([0,-120,0]) rotate([0,0,-90]) vtail(naca = 0010, L = 120, N=100, h = segment, open = false); translate([0,-96,0]) rotate([90,0,-90]) l...
glb/cad_1dc11a57338d.glb
Create a Project Modular Aircraft cover and hook assembly. Start with a central rectangular cover plate measuring 39mm wide, 180mm long, and 1mm thick, centered at the origin. Remove two small rectangular notches from the top surface, each measuring 5mm by 5mm by 2mm, positioned symmetrically at x = ±12.5mm and y = 81....
$fa = 1; $fs=0.05; difference() { translate([0,0,0.5]) cube([39,180,1],center=true); translate([-12.5,81.5,0.5]) cube([5,5,2],center=true); translate([12.5,81.5,0.5]) cube([5,5,2],center=true); translate([0,-85,0]) cylinder(r=1.6,h=3,center=true); } translate([-12.5,0,0]) rotate([90,0,90]) linear_extrude(height = ...
glb/cad_6f3daf300e4f.glb
Create a cover for a Project Modular Aircraft. Start with a main rectangular base measuring 39mm wide, 180mm long, and 1mm thick, centered at the origin. From this base, remove several rectangular sections: a central slot measuring 12mm by 19mm positioned at [0, -80.5, 0.5], a central strip measuring 8mm by 80mm at [0,...
$fa = 1; $fs=0.05; difference() { translate([0,0,0.5]) cube([39,180,1],center=true); translate([0,-80.5,0.5]) cube([12,19,1],center=true); translate([0,45,0.7]) cube([8,80,0.6],center=true); translate([0,-37.5,0.7]) cube([8,65,0.6],center=true); translate([-12,-45,0.7]) cube([7,80,0.6],center=true); translate([1...
glb/cad_e09eb41af64b.glb
Create a wing segment for a Project Modular Aircraft with a length of 119mm and a thickness of 1mm. The main body should follow a NACA 0010 airfoil profile with a chord length of 120mm. Cut a rectangular slot out of the center of the airfoil, measuring 119.2mm in length and 96mm in width, with a depth of 12mm. At the...
$fa=1; $fs=0.05; segment = 119.0; spar_diam = 2.5; thickness = 1.0; shell=0.4; washer = 0; difference() { translate([segment/2,0,0]) rotate([90,0,-90]) airfoil(naca = 0010, L = 120, N=100, h = segment, open = false); translate([0,-48,0.0]) cube([segment+0.2,96,12],center=true); translate([0,-96,0.0]) rotate([0,90...
glb/cad_ae981c652449.glb
Create a wing segment for a Project Modular Aircraft with a length of 119mm and a thickness of 1mm. The main body should follow a NACA 0010 airfoil profile with a chord length of 120mm. At the trailing edge, centered along the length, remove a rectangular section measuring 119.2mm by 96mm with a height of 12mm. Pos...
$fa=1; $fs=0.05; segment = 119.0; spar_diam = 2.5; thickness = 1.0; shell=0.4; washer = 0; difference() { translate([segment/2,0,0]) rotate([90,0,-90]) airfoil(naca = 0010, L = 120, N=100, h = segment, open = false); translate([0,-48,0.0]) cube([segment+0.2,96,12],center=true); translate([0,-96,0.0]) rotate([0,90...
glb/cad_71bb0991dc58.glb
Create a hollow rectangular frame for the Project Modular Aircraft. Start by creating a solid rectangular block centered at the origin, measuring 57mm in width, 57mm in height, and 20mm in depth. From this main body, remove a central rectangular core measuring 53mm in width, 53mm in height, and 22mm in depth to create ...
$fa=1; $fs = 0.1; difference() { translate([0,0,0]) rotate([90,0,0]) linear_extrude(height = 20.0, center = true) { offset(3.5) { square(50.5, center = true); } } translate([0,0,0]) rotate([90,0,0]) linear_extrude(height = 22.0, center = true) { offset(2.5) { square(48.5, center = true); } } translat...
glb/cad_b3c97fd5e835.glb
Create a wing segment for a Project Modular Aircraft with a total length of 149mm. The main body is a linear extrusion of a Clark Y airfoil profile with a chord of 160mm. The profile's upper surface is defined by a series of points starting from [128, 7.02] and peaking at [160, 0.1], while the lower surface mirrors thi...
$fa=1; $fs=0.05; segment = 150.0-1; spar_diam1 = 4.5; spar_diam2 = 4.5; thickness = 0.6; shell = 0.4; spar1 = 1; spar2 = 1; washer = 0; servo_wire = 1; difference() { union() { translate([segment/2,0,0]) rotate([90,0,-90]) linear_extrude(height = segment) { polygon(points=[ [128.00000, 7.02138], [131.20000, 6....
glb/cad_0b7482a54993.glb
Create a wing segment for a Project Modular Aircraft with a length of 140mm and a thickness of 1mm. The main body should follow a NACA 0010 airfoil profile with a chord length of 120mm. At the center of the segment, create a rectangular cutout measuring 140.2mm by 96mm with a depth of 12mm. Additionally, create a cyl...
$fa=1; $fs=0.05; segment = 140.0; spar_diam = 2.5; thickness = 1.0; shell=0.4; washer = 0; difference() { translate([segment/2,0,0]) rotate([90,0,-90]) airfoil(naca = 0010, L = 120, N=100, h = segment, open = false); translate([0,-48,0.0]) cube([segment+0.2,96,12],center=true); translate([0,-96,0.0]) rotate([0,90,...
glb/cad_ded6956e9472.glb
Create a wing segment for a modular aircraft with a length of 109mm. The main body is a linear extrusion of a Clark Y airfoil profile with a chord of 160mm. The profile is defined by a series of points starting from a maximum thickness of 7.02mm at the leading edge, tapering down to 0.1mm at the trailing edge. Within ...
$fa=1; $fs=0.05; segment = 110.0-1; spar_diam1 = 4.5; spar_diam2 = 4.5; thickness = 0.6; shell = 0.4; spar1 = 1; spar2 = 1; washer = 0; servo_wire = 1; difference() { union() { translate([segment/2,0,0]) rotate([90,0,-90]) linear_extrude(height = segment) { polygon(points=[ [128.00000, 7.02138], [131.20000, 6....
glb/cad_07e3aee22d2c.glb
Create a Project Modular Aircraft wing segment by starting with a 60mm long extruded airfoil shape. The airfoil profile is defined by a complex spline that reaches a maximum thickness of approximately 14.66mm and a maximum chord of 160mm. The main body is a linear extrusion of this profile to a length of 60mm. Within ...
$fn = 90; $fa = 1; $fs = 0.1; segment = 60.0; spar_diam1 = 6.5; spar_diam2 = 6.5; thickness = 0.6; spar1 = 1; spar2 = 1; washer = 0; servo_wire = 1; difference() { union() { translate([segment/2,0,0]) rotate([90,3,-90]) linear_extrude(height = segment) { polygon(points=[ [0.00000, 0.00000], [0.08000, 0.37424], ...
glb/cad_b24cfeea3dd9.glb
Create a tail section for a Project Modular Aircraft. Start by creating a hollowed-out pyramid shape. The outer shell is formed by linearly extruding a square with a side length of 50.5mm and rounded corners (offset by 3.5mm), extending it to a height of 50mm while scaling the end down to 33% of its original size. Crea...
$fa=1; $fs = 0.1; difference() { translate([0,0,0]) rotate([90,0,0]) linear_extrude(height = 50.0, scale=0.33) { offset(3.5) { translate([0,-28.75,0]) square(50.5, center = true); } } translate([0,0.01,-2]) rotate([90,0,0]) linear_extrude(height = 50.02, scale=0.3) { offset(2.5) { translate([0,-26.75,0]) ...
glb/cad_5404d6c2a528.glb
Create a Project Modular Aircraft component by starting with a main body block and removing a central section. First, create a rectangular prism measuring 10mm wide, 38mm long, and 17mm high, centered at a height of 8.5mm. From this body, remove a smaller internal rectangular volume measuring 38mm wide, 34mm long, and ...
$fa = 1; $fs = 0.05; difference() { translate([0,0,8.5]) cube([10,38,17],center=true); translate([0,0,7.5]) cube([38,34,15],center=true); } difference() { translate([0,23,1.5]) cube([10,10,3],center=true); translate([0,24,7]) cylinder($fn=6, r=3.3,h=10,center=true); translate([0,24,5]) cylinder(r=1.6,h=10,center=t...
glb/cad_94b341ebc1f3.glb
Create a small cylindrical washer for a Project Modular Aircraft spar. Start by creating a solid cylinder with a radius of 2.565mm and a height of 0.8mm, centered on the origin. Then, remove a smaller concentric cylindrical hole from the center with a radius of 1.25mm and a height of 0.8mm, also centered on the origin,...
$fa=1; $fs=0.05; spar_diam = 2.5; difference() { translate([0,0,0]) cylinder(r=2.565, h=0.8, center=true); translate([0,0,0]) cylinder(r=spar_diam/2, h=0.8, center=true); }
glb/cad_7814697b5769.glb
Create a wing segment for a modular aircraft based on a NACA 0010 airfoil profile with a chord length of 120mm and a total segment length of 140mm. The segment should have a top and bottom shell thickness of 0.6mm. Within this geometry, incorporate the following internal features: First, create a circular hole for a f...
$fa = 1; $fs = 0.05; segment = 140.0; spar_diam1 = 4.5; spar_diam2 = 2.5; thickness = 0.6; shell=0.4; washer = 0; servo_wire = 0; difference() { translate([segment/2,0,0]) rotate([90,0,-90]) airfoil(naca = 0010, L = 120, N=100, h = segment, open = false); translate([0,-15,-shell*1.25]) cube([segment-thickness*2,0.0...
glb/cad_34d9ca4ecab2.glb
Create a wing segment for a Project Modular Aircraft with a length of 110mm. The main body is formed by extruding a Clark Y airfoil profile along the length of the segment. The profile's cross-section is defined by a series of coordinates that create a curved upper surface and a flatter lower surface, with a maximum th...
$fn=72; $fs=0.05; segment = 110.0; spar_diam1 = 4.5; spar_diam2 = 4.5; thickness = 0.6; shell = 0.4; spar1 = 1; spar2 = 1; washer = 0; servo_wire = 1; difference() { translate([segment/2,0,0]) rotate([90,0,-90]) linear_extrude(height = segment) { polygon(points=[ [0.00000, 0.00000], [0.08000, 0.37424], [0.16000...
glb/cad_712274483210.glb
Create a wing segment for a Project Modular Aircraft with a length of 120mm. The main body is based on a Clark Y airfoil profile with a chord of 160mm. The shape is formed by extruding this profile across the 120mm segment length. Within this volume, create two longitudinal holes for carbon spars: the first spar hole ...
$fn=72; $fs=0.05; segment = 120.0; spar_diam1 = 4.5; spar_diam2 = 4.5; thickness = 0.6; shell = 0.4; spar1 = 1; spar2 = 1; washer = 0; servo_wire = 1; difference() { translate([segment/2,0,0]) rotate([90,0,-90]) linear_extrude(height = segment) { polygon(points=[ [0.00000, 0.00000], [0.08000, 0.37424], [0.16000...
glb/cad_f18159ea38bf.glb
Create a fuselage section for a Project Modular Aircraft. Start by creating a main body that is a hollowed-out rectangular prism with a length of 180mm, a width of 52mm, and a height of 52mm. The walls of this main body should be 4mm thick, but create a slightly larger outer shell of 182mm in length with a wall thickne...
$fn=90; $fa=1; $fs = 0.1; difference() { translate([0,90,0]) rotate([90,0,0]) linear_extrude(height = 180.0) { offset(4) { square(52, center = true); } } translate([0,90,0]) rotate([90,0,0]) linear_extrude(height = 182.0) { offset(3) { square(52, center = true); } } translate([0,0,30]) cube([40,182,1...
glb/cad_9e1888032381.glb
Create a wing segment for the Project Modular Aircraft with a length of 120mm and a chord of 160mm. The main body is formed by extruding a Clark Y airfoil profile along the 120mm length. The shell thickness of the wing is 0.6mm. Within this volume, create two transverse holes for carbon spars. The first spar hole has ...
$fn=72; $fs=0.05; segment = 120.0; spar_diam1 = 6.5; spar_diam2 = 6.5; thickness = 0.6; shell = 0.4; spar1 = 1; spar2 = 1; washer = 0; servo_wire = 1; difference() { translate([segment/2,0,0]) rotate([90,0,-90]) linear_extrude(height = segment) { polygon(points=[ [0.00000, 0.00000], [0.08000, 0.37424], [0.16000...
glb/cad_efcb215ef5ff.glb
Create a wing segment for a Project Modular Aircraft with a length of 150mm and a chord of 160mm, based on a Clark Y airfoil profile. The main body is a linear extrusion of the airfoil shape. Within this volume, create several internal structural features. First, add two longitudinal spar holes: one at 25% of the chor...
$fn=72; $fs=0.05; segment = 150.0; spar_diam1 = 4.5; spar_diam2 = 4.5; thickness = 0.6; shell = 0.4; spar1 = 1; spar2 = 1; washer = 0; servo_wire = 1; difference() { translate([segment/2,0,0]) rotate([90,0,-90]) linear_extrude(height = segment) { polygon(points=[ [0.00000, 0.00000], [0.08000, 0.37424], [0.16000...
glb/cad_051a331818b0.glb
Create a hollow rectangular sleeve for the Project Modular Aircraft. Start by creating a solid rectangular block centered at the origin, measuring 57.5mm in width, 57.5mm in height, and 20mm in depth. From this main body, remove a central rectangular core measuring 53.5mm in width, 53.5mm in height, and 22mm in depth t...
$fa=1; $fs = 0.1; difference() { translate([0,0,0]) rotate([90,0,0]) linear_extrude(height = 20.0, center = true) { offset(3.5) { square(50.5, center = true); } } translate([0,0,0]) rotate([90,0,0]) linear_extrude(height = 22.0, center = true) { offset(2.5) { square(48.5, center = true); } } translat...
glb/cad_b81d31519358.glb
Create a wing segment for a Project Modular Aircraft with a length of 120mm. The main body is a linear extrusion of a NACA 0010 airfoil profile, starting with a chord length of 120mm and scaling down to a chord length of 80mm over the segment's length. Within this geometry, create four vertical holes for structural su...
$fa = 1; $fs = 0.05; segment = 120.0; spar_diam1 = 3.5; spar_diam2 = 3.5; thickness = 1.0; shell=0.4; washer = 0; servo_wire = 0; chord1 = 120; chord2 = 80; difference() { translate([0,-120,0]) rotate([0,0,-90]) vtail(naca = 0010, L = 120, N=100, h = segment, open = false); translate([0,-30,3.0]) cylinder(r=spar_di...
glb/cad_441cfe3a90fa.glb
Create a wing segment for a modular aircraft. Start with a central rectangular base plate measuring 40mm in length, 44.5mm in width, and 1mm in thickness, centered on the origin. On the top surface of this base, add four rectangular side supports. Each support must measure 9.5mm by 4mm by 6mm. Position two supports a...
$fa=5; $fs=0.05; segment = 40.0; thickness = 0.6; shell = 0.4; difference() { union() { translate([0,0,-3.03390+0.5]) cube([segment,44.5,1],center=true); translate([-5,11+2.75,-3.03390+3]) cube([9.5,4.0,6],center=true); translate([-5,-11-2.75,-3.03390+3]) cube([9.5,4.0,6],center=true); translate([-5+12.5,11+2.75,...
glb/cad_caccf2fd6b77.glb
Create a wing segment for a Project Modular Aircraft with a length of 180mm. The main body is formed by extruding a Clark Y airfoil profile with a chord of 160mm. The profile is defined by a series of coordinates that create a curved upper surface and a flatter lower surface, with a total thickness of 0.6mm for the top...
$fn=72; $fs=0.05; segment = 180.0; spar_diam1 = 4.5; spar_diam2 = 4.5; thickness = 0.6; shell = 0.4; spar1 = 1; spar2 = 1; washer = 0; servo_wire = 1; difference() { translate([segment/2,0,0]) rotate([90,0,-90]) linear_extrude(height = segment) { polygon(points=[ [0.00000, 0.00000], [0.08000, 0.37424], [0.16000...
glb/cad_ca1f4dd5d276.glb
Create a wing segment for a Project Modular Aircraft with a length of 40mm. The main body is formed by linearly extruding a Clark Y airfoil profile. The profile's cross-section is defined by a series of coordinates starting from a leading edge at [0,0] and extending to a trailing edge at [128,0], with a maximum thickne...
$fn=72; $fs=0.05; segment = 40.0; spar_diam1 = 4.5; spar_diam2 = 4.5; thickness = 0.6; shell = 0.4; spar1 = 1; spar2 = 1; washer = 0; servo_wire = 0; difference() { translate([segment/2,0,0]) rotate([90,0,-90]) linear_extrude(height = segment) { polygon(points=[ [0.00000, 0.00000], [0.08000, 0.37424], [0.16000,...
glb/cad_86b93f311d04.glb
Create a wing segment for a Project Modular Aircraft with a length of 120mm. The main body is formed by linearly extruding a Clark Y airfoil profile along the 120mm length. The profile's cross-section is defined by a series of coordinates starting from a leading edge at [0,0] and curving up to a maximum thickness of ap...
$fn=72; $fs=0.05; segment = 120.0; spar_diam1 = 4.5; spar_diam2 = 4.5; thickness = 0.6; shell = 0.4; spar1 = 1; spar2 = 1; washer = 0; servo_wire = 1; difference() { translate([segment/2,0,0]) rotate([90,0,-90]) linear_extrude(height = segment) { polygon(points=[ [0.00000, 0.00000], [0.08000, 0.37424], [0.16000...
glb/cad_de14b6d0b6cf.glb
Create a wing segment for a Project Modular Aircraft with a length of 40mm. The main body is formed by extruding a Clark Y airfoil profile with a chord of 160mm. The shell thickness of the top and bottom surfaces is 0.6mm, with internal walls of 0.4mm. Inside the segment, create several internal ribs of varying height...
$fn=72; $fs=0.05; segment = 40.0; spar_diam1 = 6.5; spar_diam2 = 6.5; thickness = 0.6; shell = 0.4; spar1 = 1; spar2 = 1; washer = 0; servo_wire = 1; difference() { translate([segment/2,0,0]) rotate([90,0,-90]) linear_extrude(height = segment) { polygon(points=[ [0.00000, 0.00000], [0.08000, 0.37424], [0.16000,...
glb/cad_5be3741898bf.glb
Create a wing segment for a Project Modular Aircraft with a total length of 120mm and a chord length of 120mm, based on a NACA 0010 airfoil profile. The segment should have a thickness of 0.6mm for the top and bottom shells. Within this geometry, incorporate the following features: First, create a circular hole for a ...
$fa = 1; $fs = 0.05; segment = 120.0; spar_diam1 = 4.5; spar_diam2 = 2.5; thickness = 0.6; shell=0.4; washer = 0; servo_wire = 0; difference() { translate([segment/2,0,0]) rotate([90,0,-90]) airfoil(naca = 0010, L = 120, N=100, h = segment, open = false); translate([0,-15,-shell*1.25]) cube([segment-thickness*2,0.0...
glb/cad_0638aa2c3e00.glb
Create a hollow rectangular sleeve for the Project Modular Aircraft. Start by creating a solid rectangular block 57.5mm wide, 57.5mm high, and 15mm deep. From this block, remove a smaller centered rectangular volume that is 53.5mm wide, 53.5mm high, and 22mm deep to create a hollow shell. To create the mounting apertu...
$fa=1; $fs = 0.1; difference() { translate([0,0,0]) rotate([90,0,0]) linear_extrude(height = 15.0) { offset(3.5) { square(50.5, center = true); } } translate([0,0,0]) rotate([90,0,0]) linear_extrude(height = 22.0) { offset(2.5) { square(48.5, center = true); } } translate([0,0,0]) rotate([0,45,0]) cy...
glb/cad_2979f061f296.glb
Create a tail section for a Project Modular Aircraft. Start by forming a central body using a sphere resized to 35mm x 100mm x 35mm, centered at [0, 0, -10]. Add a tapered, pyramid-like structure extending from the top, created by linearly extruding a square of 52mm (with a 4mm offset) to a height of 50mm, scaled down ...
$fa = 5; $fs = 0.1; difference() { union() { difference() { translate([0,50,0]) rotate([90,0,0]) linear_extrude(height = 50.0, scale=0.33) { offset(4) { translate([0,-30,0]) square(52, center = true); } } translate([0,50.01,-1]) rotate([90,0,0]) linear_extrude(height = 50.02, scale=0.3) { offset(3) { tran...
glb/cad_2f6656cfbf6c.glb
Create a Project Modular Aircraft battery mount by starting with a base shape formed by extruding a polygon 42mm along the Z-axis. This polygon has vertices at [-25, 0], [-25, 4], [-15, 10], [15, 10], [25, 4], and [25, 0]. From this main body, remove three specific volumes to create the mounting cavities. First, center...
$fa=5; $fs = 0.05; difference() { union() { translate([0,0,0]) rotate([90,0,90]) linear_extrude(height = 42, center=true) polygon(points=[ [-25, 0], [-25, 4], [-15, 10], [15, 10], [25, 4], [25, 0] ]); } translate([0,0,1.5]) cube([42,27,3], center=true); translate([0,0,5]) cube([36,27,10], center=true); transla...
glb/cad_6e176b75cb51.glb
Create a wing segment for a Project Modular Aircraft with a length of 30mm. The main body is based on a Clark Y airfoil profile with a chord of 160mm. Extrude this profile to the 30mm segment length, rotating the overall shape by 3 degrees. Within this volume, create two longitudinal holes for carbon spars: the first ...
$fa=5; $fs=0.05; segment = 30.0; spar_diam1 = 4.5; spar_diam2 = 4.5; thickness = 0.6; shell = 0.4; spar1 = 1; spar2 = 1; washer = 0; servo_wire = 1; difference() { union() { rotate([3,0,0]) difference() { translate([segment/2,0,0]) rotate([90,0,-90]) linear_extrude(height = segment) { polygon(points=[ [0.0000...
glb/cad_dba262d440c6.glb