Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a customizable Lego-like brick with a length of 4 studs and a width of 2 studs. Start by creating the main body as a rectangular block with a height of 9.6mm (6 Lego Units). The outer walls should have a thickness of approximately 1.2mm. Hollow out the bottom of the brick to create a cavity, leaving a floor an...
length = 4; width = 2; nozzle_size = 0.4; wall_adjustment = 0.1; gap_factor = -0.1; height_adjustment = 0; stud_height_adjustment = 0.1; stud_radius_adjustment = -0.04; support_post_radius_adjustment = 0.022; block_type = "brick"; surface_type = "normal"; lego_unit = 1.6; LU = lego_unit; play_factor = 0.1; ...
glb/cad_deacc96521e8.glb
Create a Lincoln Log construction toy with a total length of 194mm. The main body is a cylinder with a diameter of 17mm, but it is modified with a flat section along its length to create a stable base. This flat section has a width of 7.5mm and a diameter of 17.7mm. Along the length of the log, create three rectangula...
$fs = 0.5; $fa = 0.5; length = 117; diameter = 17; flatDiameter = 17.7; flatWidth = 7.5; endLength = 11; holeLength = 18; holeDepth = 5; module LincolnLog2Slots() { translate([0,0,diameter/2]) rotate([90,0,0]) difference() { union() { rotate([0,90,0]) cylinder(h=length, r=diameter/2, center=true); cube...
glb/cad_92ad6597e136.glb
Create a Toy Wood Train Track consisting of several straight rail segments of varying lengths. Each segment is a rectangular slab with a width of 40mm and a height of 12mm. The top surface of each segment features two parallel longitudinal channels (wheel wells) that are 5.7mm wide and 9mm deep, separated by a centra...
difference() { mytrack(false); mytrack(true); } l1_1=216; l2_3=144; l1_3=72; l1_2=108; l_klein=60; l_mittel=150; l_lang=200; gerade(); module mytrack(neg=false) { } module auffahrt(neg=false, $fn=100) { right_connector = "male"; o = .1; bevel_width = 1; bevel = o + bevel_width; well_width = wood_we...
glb/cad_845319eb60d5.glb
Create a toy train track library consisting of several geometric components. First, create a wooden track section: a rectangular block 40mm wide and 12mm high. Carve two parallel wheel wells into the top surface, each 5.7mm wide and 9mm deep, spaced 19.25mm apart. Add 45-degree bevels to the inner edges of these well...
o = .1; function wood_width() = 40; function wood_height() = 12; function wood_well_height() = 9; function wood_well_width() = 5.7; function wood_well_spacing() = 19.25; function wood_plug_radius() = 6; function wood_plug_neck_length() = 12; function trackmaster_width() ...
glb/cad_b2af53e6dda3.glb
Create a 3D model consisting of a sphere and two wedge-shaped components. Start by creating a sphere with a radius of 25mm centered at the origin. First, add a flat, pie-shaped wedge with a radius of 40mm, a thickness of 5mm, and an arc angle of 45 degrees. Position this wedge so it is centered on the Z-axis and alig...
module pie(radius, angle, height, spin=0) { clockwise = (angle < 0) ? true : false; normalized_angle = abs((angle % 360 != 0) ? angle % 360 : angle % 360 + 360); rotation = clockwise ? [0, 180 - normalized_angle] : [180, normalized_angle]; if (angle != 0) { rotate([0,0,spin]) linear_extrude(...
glb/cad_8a8e1e137bee.glb
Create a Planter Bracket with a total height of 25.4mm. The object is a symmetrical mounting piece designed to grip both a partition and a planter. First, create the main body. The central section features a vertical cutout for a partition that is 28.5mm wide and 76.2mm deep. The top of this cutout is a semi-circle wi...
bracketZ = 25.4; planterFinger = 33.02; planterWidth = 101.6; planterPadding = 2; bracketStyle = "simple"; supportStyle = "circle"; partitionWidth = 28.5; partitionFinger = 76.2; wallThick = 10; bottomWallThick = 10; chamferRadius = 5; epsilon = 0.01; planterTotalWidth = planterWidth + planterPadding; modu...
glb/cad_07a108c55342.glb
Create a Magnetic Label Plate consisting of a rounded rectangular faceplate and a central magnet housing. First, create the faceplate as a rectangular prism with a length of 50.8mm, a height of 12.7mm, and a thickness of 2mm. Apply a corner radius of 1.5mm to all four vertical corners. In the center of the faceplate...
plate_length = 50.8; plate_height = 12.7; plate_thickness = 2; corner_radius = 1.5; magnet_diameter = 6; magnet_thickness = 3; hole_tolerance = 0.25; $fn = 64; inset = (plate_thickness-1)>magnet_thickness ? plate_thickness-magnet_thickness : 1; difference(){ translate([-plate_length/2, -plate_height/2, 0]...
glb/cad_e13ca0319573.glb
Create a parametric linkage consisting of two cylindrical ends connected by a rectangular central bar. For the first instance, create a cylinder at one end with an outer diameter of 10mm and a height of 3mm, with a concentric inner bore of 3.2mm diameter passing through it. At the opposite end, create a cylinder with a...
translate([0,0,0]) linkage(id1 = 3.2, od1 = 10, h1 = 3, id2 = 3.2, od2 = 10, h2 = 3, l = 60, csW = 10, csH = 3); translate([0,30,0]) linkage(id1 = 15, od1 = 20, h1 = 6, id2 = 10, od2 = 15, h2 = 12, l = 80, csW = 15, csH = 6); module linkage(id1, od1, h1, id2, od2, h2, l, csW, csH, $fn=50) { difference() { ...
glb/cad_c6ce2027a55f.glb
Create a Crayon Maker/Recycler Kit consisting of a mold and a sharpener. For the mold, create a rectangular outer shell with a wall thickness of 0.9mm and a total height of 19mm. Inside the shell, place three identical triangular prism-shaped voids to form the crayon molds. Each void should have a height of 12mm and a...
height = 12; length = 75; topRadius = 1.5; numberOfMolds = 3; spaceBetweenMolds = 5; perimeterDistance = 7; foundationHeight = 7; wallThickness = 0.9; sprueHeight = 0.4; sprueWidth = 1.5; numberOfSprues = 4; sharpAngle = 30; housingThickness ...
glb/cad_35f7958a077c.glb
Create a parametric star-like tealight holder with a total height of 15mm. Start by creating a conical base that flares from a lower diameter of 41.4mm to an upper diameter of 43mm over the full height. Around this central body, add five identical beams distributed every 72 degrees. Each beam is a polyhedron defined by...
$fa=3; $fs=0.05; N=5; socket_min_diameter = 38.8; socket_max_diameter = 39.8; socket_depth = 14; hi_outer_diameter = 43; full_height = socket_depth + 1; ddiff = socket_max_diameter-socket_min_diameter; lo_outer_diameter = hi_outer_diameter - ddiff * full_height / socket_depth; R0=lo_outer_diamete...
glb/cad_54698724069e.glb
Create a fan guard consisting of a square base plate and four mounting posts. Start with a square base plate 60mm wide and 1.5mm thick. In the center of this plate, create a circular cutout with a radius of 28mm. Around this central opening, add 24 radial spokes, each 56mm long, 0.5mm wide, and 1.5mm thick, extending f...
union() { difference() { translate([-30,-30,0]) union() { translate([2,0,0]) cube([56,60,1.5]); translate([0,2,0]) cube([60,56,1.5]); translate([2,2,0]) cylinder(1.5,2,2,$fs=.25); translate([2,58,0]) cylinder(1.5,2,2,$fs=.25); translate([58,58,0]) cylinder(1.5,2,2,$fs=.25); translate([58,2,0]) ...
glb/cad_3e5dc770c4bb.glb
Create two identical build base clamps. For each clamp, start by creating a rectangular paddle that is 30mm long, 10mm wide, and 4mm thick. At one end of this paddle, center a cylinder with a diameter of 5mm and a height of 5mm. Pass a vertical hole through the center of this cylinder and through the entire thickness o...
module retainer() { difference() { union() { cylinder(5,5,5); translate([7.5,0,-1.5])cube([30,10,4],true); } #translate([0,0,-10])cylinder(30,1.7,1.7); } } retainer(); translate([0,20,0]) { retainer(); }
glb/cad_aaa893905ea7.glb
Create a Parametric Track Setting Tool designed to hold rails at a specific gauge. Start by creating a central rectangular weight deck that is 36mm wide, 20mm long, and 4.5mm thick. On either side of this deck, construct a supporting structure that is 48mm wide and 5mm deep. This structure should feature two semi-cir...
TrakGage = 36; RailHdWd = 3; RailHt = 6; SlprAttAllow = 1; TopBar = 3; CnrRad = 4; ToolDepth = 5; GageDist = 20; NozAll = 0.2; module GageBit() { union() { translate([0.25*TrakGage-NozAll,0,0.5*(RailHt - SlprAttAllow)]) cylinder(r=0.25*TrakGage, h = RailHt - SlprAttAllow, center = true, $fn = 1...
glb/cad_87cb949dac6c.glb
Create a 3D model of an RGB LED module. Start with a central body consisting of a cylinder 5.4mm in diameter and 6mm in height, topped with a hemisphere of the same 5.4mm diameter. At the base of the cylinder, add a flat circular flange 5.9mm in diameter and 1mm thick. From the bottom of the flange, extend four thin wi...
led_d=5.4; led_h=8; led_fh=1; led_fd=5.9; wire_d=.6; wire_h=25; wire_step=1; wire_da=1.25; led(); module led(){ translate([0,0,led_fh]) cylinder(led_h-(led_d/2)-led_fh,led_d/2,led_d/2, $fn=25); translate([0,0,led_h-(led_d/2)]) sphere(led_d/2, $fn=25); cylinder(led_fh,led_fd/2,led_fd/2, $...
glb/cad_d29e1dea9854.glb
Create a Yoshi in Space keychain by constructing a stylized character composed of several geometric primitives. Start with the head: place a sphere with a radius of 9mm at [17, 0, 20], and add two slightly elongated spheres (scaled 1:1:1.2 and 1:1.2:1) nearby at [8, 0, 20] and [8, 0, 18] to refine the snout. For the ey...
translate([17,0,20]) sphere(r=9); translate([8,0,20]) rotate([0,20,0]) scale([1,1,1.2]) sphere(r=9); translate([8,0,18]) rotate([0,20,0]) scale([1,1.2,1]) sphere(r=9); translate([12,-2,30]) rotate([0,15,0]) scale([1,1,1.5]) sphere(r=3); translate([12,2,30]) rotate([0,15,0]) scale([1,1,1.5]) sphere(r=3); translate([13,...
glb/cad_1934971bbe69.glb
Create a set of polygon tiles for demonstrating tessellation. Each tile must have a uniform thickness of 2mm and a consistent side length of 15mm across all shapes. For each set, produce one regular polygon for every side count starting from a 3-sided triangle up to a 7-sided heptagon. Arrange these tiles in five ident...
max_sides=7; quantity=5; side_length=15; height=2; module polygon_tile(sides, side_length, height) { int_ang=((sides-2)*180)/sides; cylinder(r=(sides)/(2*cos(int_ang/2)),h=height,$fn=sides); } for (t=[1:quantity]) { translate([0, (t-1) * (max_sides*side_length/(5)), 0]) { for (sides=[3:max_side...
glb/cad_7ad046755f78.glb
Create a pneumatic quick disconnect fitting consisting of two separate parts: a coupler and a barb. For the coupler, create a main cylinder with a radius of 3.96mm and a height of 32mm. Add a smaller cylinder to the base with a radius of 5.855mm and a height of 18.5mm. Attach a hexagonal nut shape with a flat-to-flat ...
use <MCAD/shapes.scad> barbDiameter = 6.525; print_all = 0; qLen = 32; humpOffset = 7.3; barrelLen = qLen-13.5; insertion = 8; flangeThickness = 3; couplerBody = 11.71; insertionDiam = couplerBody-2; barbDiameter1_4 = 6.525; barbDiameter5_16 = 7.9375; barbDiameter3_8 = 9.525; module coupler() { difference() { un...
glb/cad_cec6cad79b15.glb
Create a Battery Box holder. Start by creating a solid rectangular base with a height of 30mm. The overall width and length are determined by a grid of battery slots; for this specific configuration, create a box that accommodates 1 battery wide and 4 batteries long. The batteries are round (AA type) with a diameter o...
type="cylinder"; bundle_width_count=4; bundle_length_count=1; battery_bundle_spacing=0; battery_type="AA"; battery_other_diameter=14; battery_diameter = battery_type == "AAAA" ? 8.3 : battery_type == "AAA" ? 10.5 : battery_type == "AA" ? 14 : battery_type == "C" ? 26.2 : battery_type =...
glb/cad_35f6c5969f9a.glb
Create a parametric broom holder consisting of a rectangular block with a semi-cylindrical cutout. The main body is a cube with a width of 26mm, a length of 60mm, and a height of 19.2mm. Carve a semi-cylindrical channel through the center of the block along its length to accommodate a broom handle with a diameter of ...
broom_d = 22; wall_t = 2; clip_l = 42; base_overhang = 9; base_t = 5; clip_off = 7; broom_cutoff = .6; screw_d = 4; screw_off = 2; screw_head_t = 4; screw_head_d = 7.5; base_l = clip_l + base_overhang * 2; base_w = broom_d + wall_t * 2; clip_w = base_w; clip_h = clip_off + broom_d * broom_cutoff ; screw_r = screw_d ...
glb/cad_a975f0c0291a.glb
Create a Vertical PCB Mounting Bracket consisting of a main support body and a separate wire clamp. For the main body, create a base block with a total width of 31.5mm, a depth of 18.75mm, and a height of 16.75mm. Carve a central vertical channel to hold a PCB, measuring 27.5mm wide by 2.05mm thick and 12.7mm high. T...
boardWidth = 27.5; boardThickness = 2.05; clipHeight = 12.7; thickness = 2; baseThickness = 2; supportWidth = 4; holeDiameter = 3.5; holePadding = 2; includeWireClamp = true; play = 1; $fn = 20; overallSize = [ boardWidth+thickness*2, boardThickness+...
glb/cad_46edf603db3b.glb
Create a Router Shelf Pin Jig consisting of a main rectangular plate and an attached side fence. The main plate should be 192mm long (based on 6 repetitions of a 32mm spacing), with a thickness of 9mm and a width of 45.5mm. Along the length of the plate, create a series of circular holes with a diameter of 17.4mm, sp...
$fa=1*1; $fs=0.25*1; tilt_support = 1; with_fence = 1; max_print_size = 200; hole_to_hole_distance = 32; hole_to_fence_distance = 37; jig_thickness = 9; copy_ring_diameter = 17; cutout_adjust = 0.4; chip_support_height = 2.5; chip_support_width = 8; jig_fence_thickness = 8; jig_fence_height_over_plane = 15;...
glb/cad_9e292dc4f72b.glb
Create a Covered Maze Generator consisting of two parts: a maze base and a perforated lid. For the base, create a rectangular slab 64mm by 64mm with a thickness of 1mm. On top of this base, construct a maze grid of 8 by 8 cells, where each cell is 8mm square. The outer boundary walls should be 2mm thick and 8mm high. ...
horizontalCells = 8; verticalCells = 8; cellSize = 8; holeSize = 6; innerWallThickness = 0.75; innerWallHeight = 8; outerWallThickness = 2; outerWallHeight = 8; baseThickness = 1; startInset = 0.5; seed = 24; module dummy() {} $fn = 16; nudge = 0.001; directions = [ [-1,0], [1,0], [0,-1], [0,1] ]; wallCoordinates ...
glb/cad_727ba62d2ad5.glb
Create a swivel chair wheel adapter consisting of a tapered main body and a spoke-like upper support structure. Start by creating a conical body with a bottom radius of 20mm, a top radius of 15mm, and a total height of 20mm. Bore a central hole through the entire height with an inner diameter of 10mm and an outer sha...
use <fillets.scad> include <options.scad> $fa = 2; $fs = 0.5; module cwa_spokes (number_of_spokes, length, thickness, h) { linear_extrude (h=h) for (angle = [0:360/number_of_spokes:359.9]) { rotate ([0, 0, angle]) translate ([-thickness / 2, 0, 0]) square (size=[thickness, length]); ...
glb/cad_5ea9dab690bf.glb
Create a swivel chair stilt spacer in the shape of a torus with a non-circular, custom cross-section. The object is a ring with an outer radius of 10mm. The cross-section of the ring is a square with a side length of 1.5mm, but the inner corner of this square is rounded off. Specifically, create the ring by rotating a ...
$fa = 1; $fs = 0.5; module fillet (r, h, w=0) { w = (w == 0) ? h : w; rotate_extrude () translate ([r, 0, 0]) polygon ([[0, 0], [0, h], [w, 0]]); } module fillet_mask (r, h, w=0) { w = (w == 0) ? h : w; rotate_extrude () translate ([r-h, 0, 0]) polygon ([[w + 0.1, h + 0.1], [-0.1, h ...
glb/cad_ed045e2fb9e4.glb
Create a Customizer Phone/Tablet Stand consisting of three connected planes forming an easel-like triangle. All planes have a thickness of 4mm. First, create a rectangular base with a length of 63mm and a width of 50mm. From this base, extend a back panel 67mm long, angled upwards at 62 degrees. Attached to the top of...
orientation = 1; thick = 4; stand_width = 50; base_length = 63; back_length = 67; back_angle = 62; face_length = 53; face_angle = -68; ledge = 7; ledge_gap_length = 22; ledge_gap_offset = 0; ledge_edge_slot_length = 9; ledge_edge_slot_width = 3.5; ledge_edge_slot_pos = 0; arch_width = 22; arch_height ...
glb/cad_038aa38cc7ca.glb
Create a RAMPS 1.4 mount consisting of a main base plate and a perpendicular mounting plate. The base plate is a rectangular slab measuring 142mm in length, 74mm in width, and 3mm in thickness. Attached to the end of this base is a mounting plate that is 3mm thick, 74mm wide, and 44mm tall, extending vertically. On th...
extra_radius = 0.1; m3_major = 2.85; m3_radius = m3_major / 2 + extra_radius; m3_wide_radius = m3_major / 2 + extra_radius + 0.2; module ramps_mount() { base_plate = [102, 54, 3]; base_plate_delta = [20, 20, 0]; base_plate_offset = [10, 0, 0]; base_hole_offsets = [ [14, 2.5, 0], [96.7, 2.5, 0], [66.1, 7.6...
glb/cad_1cc377669aa6.glb
Create a Snap Together Container Set consisting of a common top piece, a common bottom piece, and various side wall pieces. All components are based on a grid of cubes with a side length of 10mm. Create a top and bottom piece, each consisting of a 4x4 grid of 10mm cubes. In both the top and bottom pieces, create four ...
view_eight_pieces(1); cube_size = 10; overlap = 0.001; module view_six_pieces(line) { translate([-20*cube_size,-cube_size,0]) for (j = [1:1:8]) for (i = [1:1:5]) {{ x = (j-1)* 5 + (i-1) + line; x = (j-1)* 5 + (i-1) + line; if (x>8) {} else translate([9*cube_size*i,6*cube_size*j,0]) v...
glb/cad_6b2ddf4ee8e2.glb
Create a game case storage holder consisting of 12 identical slots. Each slot is formed by a rectangular outer shell with a wall thickness of 1.5mm. The outer dimensions of a single slot unit are 53.125mm in length, 14.5mm in width, and 58.1mm in height. To create the interior cavity of each slot, remove a central bloc...
slots = 12; box = "Switch"; thick = 1.5; height = 56.6; length = 51.625; y=100; if (box=="Switch") Make_Holder(11.5); else if (box=="PS4") Make_Holder(15.3); else if (box=="XBox")Make_Holder(16); module Game_Slot (width) { difference() { cube([length+thick,width+thick*2,height+thick]); translate ...
glb/cad_ca8bd0a4d198.glb
Create a spool holder for a 3D printer consisting of a central axle and two circular end plates. First, create a central cylinder with a radius of 10.5mm and a length of 80mm to serve as the axle. Construct two circular plates, each with a radius of 50mm and a thickness of 5mm. Position these plates at opposite end...
$fs=1; module reelholdermount() { difference() { translate([-7.5,0,2.5]) cube([25,50,5], center = true); translate([-7.5,17.5,0]) cylinder(r=2.6,h=20,center=true); translate([-7.5,-17.5,0]) cylinder(r=2.6,h=20,center=true); } hull() { translate([-7.5,-10,0]) cube([25,20,20]); translate([-20,-10,5]) cube([1...
glb/cad_2fc9b793c1fb.glb
Create a parametric pulley for a GT2 2mm belt. Start with a central cylindrical base with a diameter of 20mm and a height of 8mm. Centered on this base, add a toothed section with a length of 6mm and an outer diameter of 12.76mm. This section must feature 20 teeth distributed evenly around the circumference, following ...
number_of_teeth = 20; profile = 12; motor_shaft_diameter = 5; toothed_part_length = 6; base_height = 8; base_diameter = 20; belt_retainer = 1; retainer_height = 1.5; belt_idler = 0; idler_height = 1.5; screws_disposition = 2; nut_shape = 1; screw_profile = 4; nut_shaft_distance = 1.2; no_of_nuts = screws_...
glb/cad_372b8aae8c79.glb
Create a stackable box with a total height of 47mm, an outer width of 80mm, and an outer depth of 110mm. The main body is a hollow shell with a wall thickness of 1.6mm. The footprint is a custom polygon with rounded corners (radius 1mm) that is mirrored across the X-axis. The top of the box features a holder rim that ...
include <scad-utils/mirror.scad> include <scad-utils/morphology.scad> BODY_X = 80; BODY_Y = 110; BODY_Z = 47; module base(r=1) { basePoints = [ [BODY_X/2, 0], [0, 0], [0, BODY_Y/4], [3, BODY_Y/4 + 3], [3, BODY_Y/4 * 3 - 3], [0, BODY_Y/4 * 3], [0, BODY_Y/4 * 4], [0 + BODY_X/3 - 3, BOD...
glb/cad_12339187bb4a.glb
Create a 3D model of a Koch Snowflake ornament. Start by creating a flat, 2D Koch snowflake polygon based on three iterations of the Koch curve. Extrude this polygon to a height of 5mm to create a solid base. To create the internal decorative pattern, subtract a smaller version of the same snowflake polygon, scaled do...
scale([.4,.4,1]) difference() { union() { difference() { koch_three_snowflake(12,3); translate([0,0,-1]) koch_three_snowflake(7,5); } difference() { koch_three_snowflake(5,3); translate([0,0,-1]) koch_three_snowflake(3,5); } koch_three_snowflake(2,3); for( j = [ [0,0,2], [0,0,62], ...
glb/cad_3d73f955eb1e.glb
Create a 3D Koch snowflake ornament with a total thickness of 3mm. The main body is a 4th-iteration Koch snowflake fractal, scaled by a factor of 4, and extruded to a height of 3mm. Within this main body, create several cut-through holes that span the full 3mm thickness. First, create a central hole in the shape of a...
scale([1.2,1.2,1]) difference() { koch_four_snowflake(4,3); rotate([0,0,30]) translate([0,0,-1]) rot1(23,4,5); translate([0,0,-1]) rot1(15,3.6,5); translate([0,0,-1]) koch_four_snowflake(1,5); } module hexagon(rr,ht) { linear_extrude(height=ht) polygon([ [ rr,0 ], [ .5*rr, (sqrt(3)/2)*rr], ...
glb/cad_8fbc1e505386.glb
Create a Koch Snowflake ornament by constructing a composite of two nested fractal shapes. First, create a large, flat Koch snowflake based on three iterations of the Koch curve, extruded to a height of 3mm. Within this larger shape, center and remove a smaller Koch snowflake based on two iterations of the curve, extru...
scale([.5,.5,1]) union() { difference() { koch_three_snowflake(10,3); translate([0,0,-1]) koch_two_snowflake(7,5); translate([0,73,-2]) cylinder(r=5,h=8,$fn=48); } koch_one_snowflake(4,3); } module koch_one_snowflake(sc,ht) { scale ([sc,sc,1]) linear_extrude(height=ht) polygon (points = [ [ 8.0000...
glb/cad_849b52d2e9f1.glb
Create a 3D model of a Koch Snowflake ornament. Start by constructing a flat, extruded polygon based on a second-iteration Koch snowflake curve. This outer boundary should be scaled by 0.5 in the XY plane and have a thickness of 3mm. From the center of this shape, remove a smaller, concentric extruded polygon based o...
scale([.5,.5,1]) difference() { koch_two_snowflake(7,3); translate([0,0,-1]) koch_one_snowflake(4,5); } module koch_one_snowflake(sc,ht) { scale ([sc,sc,1]) linear_extrude(height=ht) polygon (points = [ [ 8.00000,-4.61880],[ 2.66667,-4.61880],[ 2.66667,-4.61880],[ 0.00000,-9.23760],[ 0.00000,-9.23760...
glb/cad_c30d0e2c7f1a.glb
Create a cartouche for the word "AKHENATON" using Egyptian hieroglyphs. Start by constructing a base plaque with a total thickness of 2mm. The plaque consists of a central rectangular body with a width of 18mm and rounded ends. The ends are formed by two semi-cylinders with a radius of 7.25mm. The main body of the pla...
$fn=100; eps = 0.001; caption = "AKHENATON"; letterSize = 12; lettersPath = "./"; lettersExt = ".dxf"; letters = [ ["A", 0, 0, 1], ["B", 1, 0, 1], ["C", 3, 0, 1], ["D", -0.5, -7, 1], ["E", 3, 0, 1], ["F", 0, -7, 0.9], ["G", 2, -5, 1], ["H", 1.5, -5, 1], ["I", 3, -7, 1], ["J", 0, -3, 1], ["K", 0, -7, 1], ["L", 0, -5,...
glb/cad_3d08e5fc0d50.glb
Create a replacement sunglasses arm. Start with a base rectangular block 50mm long, 6.8mm wide, and 7.8mm thick, with all corners rounded to a 1.2mm radius. At the hinge end, create a rectangular cutout 7.4mm long (centered on the width) and 3.7mm high to form the hinge gap. Within this gap, center a vertical screw h...
hingeGap=3.7; armThi=6.8; armInnerRound=1.2; wall=2.2; armLen=50; screwHole=1.6; screwOffsetX=2.4+0.8; screwOffsetY=1.7+.4; angleCutoffOffset=1.5; angleCutoffSkew=.07; angleCutoffRadius=8; small=0.01; module roundedBox(x,y,z,radius) { translate([radius, radius, radius]) minkowski() { cube([x-ra...
glb/cad_0c8716f4c56b.glb
Create an Over Cubical Wall Coat Hook with an overall width of 50mm and a consistent wall thickness of 7mm. Start by creating a top mounting piece based on a scaled cylinder (ellipse) with a diameter of 84.6mm and a height of 50mm. Hollow out the center of this shape using a smaller ellipse of 77.6mm to create a slee...
overallWidth=50; wallWidthForElipse=87-2.2; elipseHalfHeight=21; elipsePercentToLeave=69; hangDownLen=54; hangDownOffset=0-2.2; pegLen=40; thickness=7; dim=30; dia=dim*.23; barLen=dim*.6; angle=30; $fn=60; small=0.01; module dia() { hull() { circle(d=dia,$fn=20); translate([barLen*sin(an...
glb/cad_44fd71b1c7b7.glb
Create a Radio GPS BN880 FPVTX stand. Start by constructing a square base plate that is 31mm wide, 31mm deep, and 1mm thick. From this base, extend four vertical walls upwards to a height of 11mm. Each wall should be 1mm thick. Position these walls so they form a perimeter around a central square void of 25mm by 25mm. ...
inside_size = 28; difference() { cube([inside_size+3,inside_size+3,1],center = true); translate([0,0,0.3]) cube([inside_size-3,inside_size-3,1],center = true); } translate([-((inside_size/2)+1),0,5.5]) rotate([90,0,90]) cube([inside_size+3,11,1],center = true); translate([(inside_size/2)+1,0,5.5]) rotate...
glb/cad_1a44177b6a63.glb
Create a Radio GPS FPVTX stand for a quadcopter. Start by creating a rectangular base plate measuring 80mm in length, 7mm in width, and 2mm in height. Centered on this base, construct a cylindrical fitting to hold an antenna. This fitting consists of an outer cylinder with a diameter of 12.15mm and a height of 10mm. In...
dia = 8.15; height = 10; antenna_angle = 20; module fitting() { translate([0,0,height]) rotate([180,-antenna_angle,0]) difference() { cylinder(height, d=dia+4,$fn=100); cylinder(d=dia,h=height-2,$fn=100); } } translate([0,9,6.2]) rotate([90,0,90]) fitting()...
glb/cad_75f45a4d8105.glb
Create a Radio GPS BN880 FPVTX stand. Start by creating a square base plate measuring 31mm by 31mm with a thickness of 1mm, centered on the origin. On top of this base, center a cylindrical mount. This mount consists of two concentric parts: a wide outer base cylinder with a diameter of 16.15mm and a height of 3mm, and...
inside_size = 28; module support() { difference() { cube([inside_size+3,inside_size+3,1],center = true); cube([inside_size+2.5,inside_size+2.5,1],center = true); } } module top() { translate([0,0,0]) cube([inside_size,inside_size,1],center = true); support(); translate([0,0...
glb/cad_72b909a28ed0.glb
Create a Radio GPS BN880 FPVTX stand. Start with a central rectangular base measuring 37mm by 22mm with a thickness of 1mm. Add a slightly larger rectangular border around this base that extends 1.5mm outward on all sides, creating a total footprint of 40mm by 25mm, also 1mm thick. On one side of the base, construct ...
length = 37; width = 22; module support() { difference() { cube([length+3,width+3,1],center = true); cube([length+2.5,width+2.5,1],center = true); } } module top() { difference() { union() { translate([0,0,0]) cube([length,width,1],cen...
glb/cad_d0e2206f5931.glb
Create a Radio GPS FPVTX stand consisting of a vertical hollow pole and a weighted base. Start by creating a vertical cylinder with a height of 75mm and an outer diameter of 8mm. Remove a concentric inner cylinder with a diameter of 4mm to create a hollow tube. At the top of this pole, add a solid cylindrical cap wit...
height=10; opening=4; thickness=3; base=16; module standbase() { difference() { cylinder(r1=base/2, r2=opening/2+thickness, h=height ,$fn=100); cylinder(r1=base/2-thickness, r2=opening/2, h=height ); } } height2=10; opening2=25; thickness2=2; base2=6; module gpsbase() { difference() {...
glb/cad_e981503db2ac.glb
Create a Radio GPS BN880 FPVTX stand. Start with a rectangular base measuring 75mm in length, 7mm in width, and 2mm in height. Centered on this base, position a cylindrical fitting that is tilted at a 20-degree angle. This fitting consists of an outer cylinder with a diameter of 12.15mm and a height of 10mm, containing...
dia = 8.15; height = 10; antenna_angle = 20; module fitting() { translate([0,0,height]) rotate([180,-antenna_angle,0]) difference() { cylinder(height, d=dia+4,$fn=100); cylinder(d=dia,h=height-2,$fn=100); } } translate([0,9,6.2]) rotate([90,0,90]) fitting()...
glb/cad_c1a516d7d6af.glb
Create a Radio GPS BN880 FPVTX stand. Start by creating a solid rectangular base measuring 40mm in length, 25mm in width, and 11mm in height. Hollow out the center of this base by removing a rectangular volume measuring 34mm in length, 19mm in width, and 10mm in height, leaving a floor thickness of 1mm and wall thickne...
length = 37; width = 22; difference() { cube([length+3,width+3,1],center = true); translate([0,0,0.3]) cube([length-3,width-3,1],center = true); translate([-17,5.5,0]) cylinder(4, d=2.5, $fn=30, center=true); } translate([-((length/2)+1),0,5.5]) rotate([90,0,90]) cube([width+3,10,1],cente...
glb/cad_60cabfa11d84.glb
Create a Filament Tag consisting of a rounded rectangular base with embossed text. Start by creating a base plate 50mm wide and 4mm thick. The corners should be rounded with a radius of 5mm. At the top right corner, centered at coordinates (17, 17), create a circular hole with a radius of 5mm that passes completely t...
blankTag(); addFilamentType( "PETG" ); addFilamentBrand( "Amazon" ); addFilamentColor( "Yellow" ); module addFilamentType( inType ) { translate( [-22, 14, 0] ) { linear_extrude( 1.5 ) text( inType, size=8 ); } } module addFilamentBrand( inBrand ) { scale( [getBrandScaleX( inBrand )...
glb/cad_4c409465ca40.glb
Create a Cygolite Hotshot Pro Mount consisting of a mounting plate and a central bracket. Start with a flat rectangular plate 100mm wide, 20.3mm high, and 3mm thick. Center two holes with a diameter of 5.8mm, spaced 50mm apart along the width. The outer edges of the plate are rounded with a radius of 10.15mm. Attached...
bracket_height = 20.3; tongue_width = 17; tongue_thickness = 3; base_width = 12.5; base_thickness = 2.5; side_thickness = 2.5; plate_thickness = 3; plate_width = 100; plate_height = 20.3; hole_dia = 5.8 ; hole_sep = 50 ; module plate() { difference() { union() { cube(size= [hole_sep, plate_thickness, plate_hei...
glb/cad_ee439154949a.glb
Create a Ring Mesh consisting of interlocking rings. Each individual ring is a flat cylinder with a height of 3mm, an inner radius of 6mm, and an outer radius of 8mm. The ring's wall is not solid; it is carved by removing two concentric cylinders (one with a radius of 6.67mm and one with 7.33mm) and three vertical hole...
$fn=21; height=3; inner_radius=6; outer_radius=8; clearance=0.4; on1=3; on1angle=360/on1; chordhalfangle=on1angle/3; for(j=[0:4]) { for(i=[1:3]) { if(1==(i+j%2)%3) { translate([(inner_radius+outer_radius)*cos(chordhalfangle)*(i-(j%2*sin(30))),(inner_radius+outer_radius)*cos(chordhalfangle)*j*cos(30...
glb/cad_6de0fa7d40f5.glb
Create a Ring Mesh consisting of a 3x3 grid of interlocking rings. Each individual ring is a torus with a major radius of 17mm and a minor radius (tube thickness) of 1.5mm. The rings are not flat circles but are shaped as undulating loops; specifically, the center of the tube follows a sinusoidal path with a frequency ...
$fn=6; height=3; inner_radius=16; outer_radius=18; clearance=0.4; on1=3; on1angle=360/on1; chordhalfangle=on1angle/3; height=4; major_radius=(inner_radius+outer_radius)/2; minor_radius=1.5; steps=12; frequency=2; offset=(major_radius+minor_radius)*sqrt(2); for(j=[0:2]) { for(i=[0:2]) { translate([j*offset,...
glb/cad_85517c3bc944.glb
Create a parametric hexGrid polyhedron consisting of a rectangular slab with a honeycomb pattern of hexagonal holes. The overall dimensions of the slab are 60mm in width, 60mm in height, and 5mm in depth. The honeycomb grid is composed of hexagons with a diameter of 20mm, separated by walls that are 1mm thick. Arrange...
hexGrid(); module hexGrid( size = [60,60,5], center = true, hexDiameter = 20, wall = 1, rows = 3, cols = 2 ) { cubeW = size[0]; cubeH = size[1]; cubeD = size[2]; hexRadius = hexDiameter/2; midPoint = center ? [0,0,-cubeD/2] : [cubeW/2,cubeH/2,0]; layers = [[0,0,0],[0,0,cubeD]]; debug = false; funct...
glb/cad_0154cdccdd23.glb
Create a CR2032 battery holder block measuring 25mm wide, 50mm long, and 15mm high. Carve a central semi-cylindrical channel through the length of the block with a radius of 4mm and a depth of 10mm, centered along the 50mm axis. Within this channel, create 10 evenly spaced rectangular slots for batteries, each 20mm wid...
slots = 10; thickness = 3.5; width = 20.0; spacer = 1.5; length = ((thickness + spacer) * slots) + spacer; font = min(length/8, 10); difference() { cube([25,length,15]); for(i=[0:(slots-1)]) { translate([2.5,spacer+(i*(thickness + spacer)),1]) cube([width,thickness,15]); translate([12....
glb/cad_b00605c685c4.glb
Create a Prusa i3 MK3 frame brace consisting of two identical bracket assemblies and a connecting plate. First, create a rectangular plate measuring 160mm in width, 40mm in height, and 2mm in thickness. Drill holes with a diameter of 5.5mm through the plate at 40mm intervals along the width, positioned 10mm from the ...
use <MCAD/teardrop.scad>; use <dotscad/flat_teardrop.scad>; use <MCAD/nuts_and_bolts.scad>; part_w = 25; part_d = 30; part_h = 30; thickness = 5 ; extra_round = 12 ; plate_thickness = 2 ; plate_h = 40 ; plate_w = 160; angle_plate_hole = 4.9 ; angle_plate_washer_id = 3.2 ; angle_plate_washer_od1 = angle_plate_hole ...
glb/cad_4b035f28dd61.glb
Create a protective case for an Omnibus F4 V2 flight controller. The model consists of a top cover and a base. For the top cover, create a rounded box with dimensions 39.75mm x 39.75mm x 5.5mm and a corner radius of 3mm. Hollow out the center by removing a rounded box of 39.5mm x 39.5mm x 5.5mm, leaving a thin outer w...
include <MCAD/boxes.scad> wid_len = 38 + 1; base_height = 1.5; pillar_base = 3.5 + base_height; pillar_height = 4.5 + pillar_base; pbasedia = 6; pillardia = 3.5; pinset = 4.25; bot_height = 2 + base_height + 0.5; top_height = 4.5 + base_height + 1; has_batt_out = true...
glb/cad_6f1c4e34bbdf.glb
Create a humidifier tank plug consisting of a tiered cylindrical structure. Start with a wide base disk 91.7mm in diameter and 4mm thick. On top of this base, center a second cylinder with a diameter of 74.7mm and a total height of 17.2mm. Within this upper cylinder, starting at a height of 5.2mm from the bottom of t...
diam_ext = 92.2 -.5; diam_screw = 80.7 - .5; diam_int = 75.2 - .5; diam_finger = 15.25 * 1.2; depth_ext = 4; depth_to_screw = 5.75 - .05; depth_screw = 3; depth_total = 17.2; depth_finger = 8; screw_angle_deg = 30; precision = 5; module plug() { bar_width=20; difference() { union() { translate(v=[0, ...
glb/cad_b1349bf98787.glb
Create a filament guide by starting with a rectangular block measuring 22.2mm in length, 12.2mm in width, and 6mm in height, centered on the origin. Remove a 20-sided polygonal hole from the block. First, create a vertical hole with a radius of 1.6mm and a height of 20mm, centered at x = -6, y = 0, and z = 0. Next, cre...
difference() { cube([22.2,12.2,6],center=true); translate([12,0,-2])rotate([0,-45,0])cube([13,13,6],center=true); translate([10,0,-2])rotate([0,-45,0])cylinder(r=1.2,h=20,center=true,$fn=20); translate([5,0,3])rotate([0,-45,0])cylinder(r2=4,r1=1.2,h=10,center=true,$fn=20); translate([-6,0,0])cylinder(r=1.6,h=20,ce...
glb/cad_bbc928db17a1.glb
Create a model of an Aerial Screw. Start by placing a wide, flat cylinder at the base with a radius of 50mm and a height of 5mm. Directly on top of this base, center a second, slightly smaller cylinder with a radius of 42mm and a height of 4mm. At the center of the assembly, place a vertical cylinder with a radius of...
cylinder(r=50,h=5,$fn=100); translate([0,0,5]) { cylinder(r=42,h=4,$fn=100); } cylinder(r=3,h=100,$fn=100); translate([0,30,8]) { rotate(a=30,v=[1,0,0]) { cylinder(r=2,h=60,$fn=100); } } translate([0,-30,8]) { rotate(a=-30,v=[1,0,0]) { cylinder(r=2,h=60,$fn=100); } } translate([30,0,8])...
glb/cad_bad54df8782b.glb
Create a TARDIS Police Box model with a total width of 20mm and a height of 37mm. Start with a main rectangular body that is hollowed out by a central vertical cylinder to create a shell. Place this body on a flat rectangular base measuring 23mm square with a thickness of 1.23mm. On the top of the body, center a tiere...
module tardis() { $fs=.01; boxw = 20; boxh = boxw*1.85; panelDepth = boxw/30; easierToPrint = true; rotate(180,0,0){ union() { translate([0,0,boxh/2]){ difference(){ union(){ mainBody(boxw, boxh, panelDepth); tardisBase(boxw,boxh); top(boxw, boxh); light(boxw, boxh, panelDepth, easierToPr...
glb/cad_90079641000e.glb
Create a pinch block y-bar clamp by starting with a central cube that is 16mm wide, 16mm deep, and 12mm tall. Add a cylinder to the center of the cube with a radius of 8mm and a height of 16mm, oriented horizontally along the Y-axis so that it extends from the sides of the cube. From this combined volume, remove a cy...
rodsize = 8; fn = 90; partthick = rodsize * 2; module rod(length) cylinder(h = length, r = rodsize / 2, center = true, $fn = fn); module ybar_clamp() difference() { union() { translate([0, 0, -(partthick / 2 + rodsize) /2]) cube([partthick, partthick, partthick / 2 + rodsize], center = true); rotate([0, 90, 0])...
glb/cad_0c66d7b90c95.glb
Create a Z-Top for flange bearings by starting with a main rectangular plate measuring 84mm by 90mm with a thickness of 4mm. From this base, remove several geometric sections to create the final profile. First, remove a 40mm by 20mm rectangular section centered at [25, 35, 0] and a 30mm by 60mm rectangular section ce...
include <triangle.scad> include <MCAD/nuts_and_bolts.scad> depth = 4; module backleft() { translate([25,35,0]) cube([40,20,depth],center = true); translate([-33,20.5,0]) cube([6.5,11,depth],center = true); translate([5.1,45,-(depth/2)]) rotate([0,0,180]) a_triangle(45,20,depth+1); $fn=30...
glb/cad_7fd4d52a20da.glb
Create a rectangular support frame for an Arduino Uno board. Start with a solid base block measuring 62.5mm wide, 76mm long, and 6mm high, centered on the origin. Remove a central rectangular volume of 54.5mm by 69mm by 12mm to create a hollow shell. Additionally, remove a smaller rectangular section measuring 54.5mm b...
$fn = 50; difference(){ cube([62.5, 76, 6], center = true); translate([0, 0, 0]){ cube([54.5, 69, 12], center = true); } translate([0, -36, 6]){ cube([54.5, 6, 12], center = true); } } translate([-19.5, 30, -2]){ cube([4, 10, 2], center = true); } translate([19.5, 30, -2]){ cube([4, 10, 2], center = true); ...
glb/cad_76203e95edc3.glb
Create a motor mount for a quadcopter or hexacopter. Start with a central rectangular block measuring 33mm in length, 14mm in width, and 3mm in height, centered on the origin. Remove a smaller rectangular section from the top center, leaving a thin rail on each side, resulting in a channel that is 33mm long and 9.9mm w...
include <MCAD/nuts_and_bolts.scad> include <MCAD/boxes.scad> include <MCAD/materials.scad> include <threads.scad> include <triangle.scad> dix = 3; holder_len = 33; holder_witdth = 14; overshoot = 8; $fn=100; color("SteelBlue") rotate([0,180,0]) difference() { translate([0,0,-1]) cube([holder...
glb/cad_54a1de30a59a.glb
Create a motor mount for a quadcopter or hexacopter. Start with a central rectangular block measuring 33mm in length, 21mm in width, and 7mm in height. Remove a smaller rectangular section from the center of the block, leaving a base and two outer rails, resulting in a channel that is 15.7mm wide and 7mm deep. Within...
include <MCAD/nuts_and_bolts.scad> include <MCAD/boxes.scad> include <MCAD/materials.scad> include <threads.scad> include <triangle.scad> depth = 7; holder_len = 33; holder_witdth = 21; overshoot = 8; $fn=100; color("SteelBlue") rotate([0,180,0]) difference() { translate([0,0,-1]) ...
glb/cad_b6527f5bd51c.glb
Create a quadcopter anti-vibration motor spacer by starting with a rounded rectangular plate measuring 28mm in length, 12mm in width, and 0.75mm in thickness, with a corner radius of 4mm. Centered within this plate, create a circular hole with a diameter of 8mm that passes completely through the thickness. Additionally...
include <MCAD/nuts_and_bolts.scad> include <MCAD/boxes.scad> holder_len = 28; holder_witdth = 12; overshoot = 8; $fn=100; color("SteelBlue") difference() { roundedBox([holder_len, holder_witdth, 0.75], 4, true); translate([9.25,0,-1.6])cylinder(d=3,h=10); translate([-9.25,0,-1.6])cylinder(d=3...
glb/cad_0330524070a0.glb
Create a GPS holder for a BN880 module. Start by constructing a square base plate measuring 36mm by 36mm with a thickness of 1mm, centered on the origin. From this base, remove a central square cutout measuring 28mm by 28mm by 1mm, leaving a 4mm wide border on all sides. Build a surrounding wall around this cutout. Th...
inside_size = 28; module case() { difference() { cube([inside_size+8,inside_size+8,1],center = true); translate([0,-0.5,0]) cube([inside_size,inside_size,1],center = true); } translate([-((inside_size/2)+1),0,5.5]) rotate([90,0,90]) cube([inside_size+3,11,1],center = ...
glb/cad_92a4642a47de.glb
Create a Solder Spool Holder by starting with a base plate that is a cube measuring 70mm wide, 70mm deep, and 5mm thick. Remove four vertical holes from this plate, each with a radius of 2.15mm and a depth of 5mm; position two holes at the back corners (66mm, 66mm) and two holes at the front corners (4mm, 66mm), but sh...
difference(){ cube([70,70,5]); translate([66,66,0]){ cylinder(r=2.15,h=5);} translate([4,66,0]){ cylinder(r=2.15,h=5);} translate([66,8.75,0]){ cylinder(r=2.15,h=5);} translate([4,8.75,0]){ cylinder(r=2.15,h=5);} } translate([35,57.75,0]){ cylinder(r=11.5,h=29); } difference(){ cube([70,5,25]); translate([47,0,14]){ cu...
glb/cad_1527ea510234.glb
Create a Camper Curtain Tab by constructing a main body that combines a rounded top and a flat base. Start with a cylinder 22mm long with a radius of 2.3mm, scaled on the Y-axis to 0.77 to create an elliptical profile. Attach this to a flat rectangular base measuring 22mm wide, 18mm deep, and 1.5mm thick, ensuring the ...
$fn = 64; difference() { union() { rotate([0,90,0]) scale([1,0.77,1]) cylinder(r=2.3,h=22); translate([0,-3,-2.3]) rotate([45,0,0]) cube([22,4,1.5]); translate([0,-17,-2.3]) cube([22,14,1.5]); } for(i=[2 : 4 : 20]) { translate([i + 1,-6,-3]) cylinder(r=1.0,h=5); translate([i + 1,-12,-3]) ...
glb/cad_991d65fceae8.glb
Create a TTGO ESP32 T-Camera Case consisting of a front cover, a back cover, and an optional wall mount. The main body is a rounded rectangular enclosure based on a PCB size of 27.9mm x 67.8mm. Create a front cover with a thickness of 7.2mm. In this front piece, carve out a central rectangular opening for an OLED dis...
$fs=0.5; $fa=6; TYPE = "preview"; M3_HOLE_DIA = 3.8; M3_TAP_DIA = 2.8; M3_NUT_DIA = 6.01; M3_NUT_HEIGHT = 2.4; M3_HEAD_DIA = 6.5; PCB_MOUNT_HOLE_DIA = 3.5; PCB_EDGE_DIA = 4.5; PCB_X = 27.9; PCB_Y = 67.8; PCB_Z = 1.2; OLED_X = 25; OLED_Y = 16.8; OLED_Y_VISIBLE = 14; OLED_Z = 3.7; OLED_TOP_OFFSET = 11.6; ...
glb/cad_69bfec85e516.glb
Create a protective case for an AlexMos gimbal controller board consisting of a bottom base and a top cover. For the base, create a rectangular block measuring 55.5mm x 54.5mm x 11mm. Hollow out the center by removing a 52.5mm x 51.5mm x 8mm block starting 3mm from the bottom. In the four corners of the base, create ...
QAV500 = 0; POST = 2; $fn=30; difference() { cube([55.5,54.5,11]); difference() { translate([1.5,1.5,3]) cube([52.5,51.5,8]); translate([2,2,3]) MountHoles(5,4,30); } translate([2,2,5]) AlexMosBoard(); translate([2,2,0]) MountHoles(6.5,2,6); translate([2,2,2.5]) MountHoles(3,12,30); if (QAV500 == 1) { i...
glb/cad_2f80c9c9428a.glb
Create a two-part protective case for an AlexMos gimbal controller board. For the bottom section, create a solid cube measuring 54.5mm x 54.5mm x 11mm. Hollow out the center by removing a 51mm x 51mm x 8mm cube positioned 1.75mm from the edges and 3mm from the base. At each of the four corners, create circular mounti...
QAV500 = 1; POST = 1; $fn=30; difference() { cube([54.5,54.5,11]); difference() { translate([1.75,1.75,3]) cube([51,51,8]); translate([2.25,2.25,3]) MountHoles(5,4,30); } translate([2.25,2.25,5]) AlexMosBoard(); translate([2.25,2.25,0]) MountHoles(6.5,2,6); translate([2.25,2.25,2.5]) MountHoles(3,12,30); ...
glb/cad_ac4b9db734b1.glb
Create a 3D model for an Ohmstruder extruder mount. Start with a main lower body that is a rectangular block measuring 80mm in length, 7mm in width, and 16.8mm in height. Add an upright section by creating a hull between a 50mm by 7mm by 1mm slab positioned at [13, 0, 53] and a 80mm by 7mm by 10mm slab at [0, 0, 9]. In...
translate([0,0,7])rotate([-90,0,0]){ difference(){ union(){ translate([0,0,0])cube([80,7,16.8]); translate([67,-5,15])cube(size=[8,20,30],center=true); hull(){ translate([13,0,53])cube([50,7,1]); translate([0,0,9])cube([80,7,10]); } translate([0,-19,0])cube([80,20,10]); hull(){ translate([0,0,0]...
glb/cad_07926af30ef2.glb
Create an Ohmstruder Mod lever by starting with a main body formed from the convex hull of several rectangular prisms. The base is a block 45mm long, 12mm wide, and 11mm high. The top surface is slightly irregular, sloping from a height of 11mm at one end down to 1mm at the other, with a section of the body extending t...
module lever(){ $HEIGHT=11; $THICK=12; difference(){ hull(){ translate([0,0,$HEIGHT])cube([1,$THICK,1]); translate([1,0,0])cube([1,$THICK,1]); translate([44,0,0.7])cube([1,$THICK,7+$HEIGHT]); translate([44,0,0])cube([1,$THICK,1]); } hull(){ translate([-0.1,$THICK-4,$HEIGHT-10])cube([1,2,30]); translate([40.1,$THICK...
glb/cad_e906b9eb6d1f.glb
Create a piezo sensor mount for a Kossel Delta Z probe. The main body is a rectangular block with a total length of 68mm (calculated from a 16mm solid center, two 18mm membrane sections, and two 16mm feet), a width of 20mm, and a height of 13mm. The central section features a vertical stud with a diameter of 9mm and ...
part = "print"; stand_width=20; stand_height=13; foot_height=4; foot_width=16; foot_rounding="yes"; membrane_length=18; membrane_thickness=1.2; membrane_num=5; stud_height=7; stud_dia=9; solid_part_width=16; profile_screw_dia = 3.6; profile_screw_cap_dia=7; profile_screw_depth=1.5; bed_screw_dia=3.6; bed_screw_inser...
glb/cad_3defbe9f33ca.glb
Create a Cherry MX keycap mount consisting of a thin square base and a cylindrical stem. Start by creating a square base plate measuring 12.2mm by 12.2mm with a thickness of 0.9mm, centered on the origin. Centered on top of this base, add a cylinder with a height of 5.1mm and a radius of 2.8mm. From the center of this ...
baseplate(); mx_mount(); module baseplate(){ translate( [0,0, -0.9/2] ) cube( size=[12.2,12.2,0.9], center=true ); } module mx_mount(){ mx_height = 5.1; translate( [0,0,mx_height/2] ){ difference(){ cylinder( h=mx_height, r=5.6/2, center=true, $fn=360 ); cube( size=[1.17,4.1,mx_height+2], center=true );...
glb/cad_ca6b268bf192.glb
Create a Customizer Example for Class consisting of two separate geometric primitives positioned side-by-side along the x-axis. First, create a cylinder with a radius of 10mm and a height of 20mm, centered vertically and positioned at x = -30mm. Second, create a cube with side lengths of 20mm by 20mm and a height of 20...
object=2; height=20; width=20; module drwCb() { translate([width*1.5, 0, 0]) cube([width, width, height], center=true); } module drwCyl () { translate([width*-1.5, 0, 0]) cylinder(r=width/2, h=height, center=true); } if (object==0) { drwCb(); } if (object==1) { drwCyl(); } if (object==2) { drwCyl(); drwCb(...
glb/cad_46cba2d95698.glb
Create a gyroscope consisting of a flywheel and a supporting frame. First, construct the flywheel as a cylinder with a diameter of 20mm and a height of 5mm, featuring a concentric cylindrical hole through its center with a diameter of 5mm. Next, build the frame using three concentric rings. The inner ring is a cylinde...
difference() { cylinder(5,25,25,center=true); cube([44,12,10],center=true); rotate([90,0,0])translate([0,0,12])cylinder(13,12,12,center=true); translate([15,12,0])cube([3,6,10],center=true); translate([-15,12,0])cube([3,6,10],center=true); translate([15,-12,0])cube([3,6,10],center=true); translate([-15,-...
glb/cad_7085557d2d9b.glb
Create a bottle bird feeder base consisting of a wide circular tray, a central bottle mount, and integrated support structures. Start by creating a wide outer rim as a thin cylinder with a diameter of 135mm and a height of 3mm, featuring a hollow center of 129mm. Add six radial support ribs extending from the center ...
include <polyScrewThread_r1.scad> thick=3; PI=3.141592; thread_outer = 28.25; step = 4; delta = 0.05; thread_rim = thread_outer+3*thick; tube(); translate([0,0,40]) bottle(); difference(){ cylinder(d= 135, h=thick, $fn=90); translate([0,0,-delta]) cylinder(d= 135-2*thick, h=thick+2*delta, $fn=90); } for (i=[0:...
glb/cad_862ed358eb4c.glb
Create a bottle bird feeder attachment consisting of a central hollow column and a wide brim. Start by creating a base cylinder with a diameter of 87.5mm and a height of 8mm. On top of this, add a conical section that transitions from the 87.5mm base diameter to a top diameter of 180mm over a height of 7mm. Cap this co...
delta = 0.01; botl_d = 87.5; hole_d = 75; kon_tag_h = 4; kon_tag_dia = 180; cyl_h = 8; kon_h = 7; cyl_tag_h = 0.6; rotate([180,0,0]) tragt(); module tragt(){ difference(){ union(){ cylinder(d=botl_d,h=cyl_h+delta,$fn=90); translate([0,0,cyl_h])cylinder(d1=botl_d,d2=botl_d,h=kon_h+delta,$fn=90); translate...
glb/cad_d93a53e2181c.glb
Create a bottle bird feeder adapter consisting of a conical base and a cylindrical neck. Start by creating a cone with a height of 45mm, expanding from a point at the bottom to a radius of 40mm at the top. Centered on this cone, add a hollow cylinder with an outer diameter of 31.25mm and a height of 20mm. Inside this c...
include <polyScrewThread_r1.scad> PI=3.141592; thread_dia = 28.25; thread_step = 4.0; rotate([180,0,0]) difference(){ union(){ cylinder(r1 = 0, r2 = 40, h=45); difference(){ cylinder(d=thread_dia+2*1.5,h=20); translate([0,0,-1]) screw_thread( thread_dia, thread_step, 55.0, 22.0, PI/2, 0.0); } ...
glb/cad_5a19661dbbfa.glb
Create a connector for round coffee stir sticks by designing a central vertical cylinder with a height of 15mm and an outer radius of 3.5mm. This central cylinder must have a concentric hole running through its entire length with a radius of 1.8mm. To this central piece, add four additional identical cylinders, each 15...
$fn=20; stick_r=1.8; module connection() { difference() { cylinder(h=15,r=stick_r+1.7); cylinder(h=16,r1=stick_r,r2=stick_r+.5); } } module flat() { for ( i = [0 : 3] ) { rotate([0,0,i*90]) rotate([0,90,0]) connection(); } } union() { connection(); flat(); }
glb/cad_a8d875f0f2a5.glb
Create a small cylindrical hold for a PCB. Start by constructing a base cylinder with a radius of 7.5mm and a height of 4.3mm. On top of this base, add a second cylinder centered on the same axis with a radius of 5.5mm and a height of 6.3mm. Finally, bore a vertical hole through the center of the entire combined struct...
ipcb = 4.3; tpehole = 11; $fs = 0.01; $fa = 1; difference() { union() { cylinder(r=tpehole/2, h=ipcb+2); cylinder(r=(tpehole/2 + 2), h=ipcb); } cylinder(r=3.5/2, h=5); }
glb/cad_b1a5d2b68060.glb
Create a Magnetic Dart consisting of a tiered shaft and a flight stabilizer. Start with a hollow cylindrical head 10mm tall with an outer diameter of 11.6mm and an inner hole 10mm in diameter and 10.5mm deep to house a magnet. From the top of this head, extend the shaft upwards with three stacked cylinders: first a 2mm...
difference() { cylinder(10,5.8,5.8,$fs=.25); translate([0,0,-1]) #cylinder(10.5,5,5,$fs=.25); } translate([0,0,10]) cylinder(2,5.8,3.5,$fs=.25); translate([0,0,12]) cylinder(10,3.5,3.5,$fs=.25); translate([0,0,22]) cylinder(4,3.5,2.25,$fs=.25); translate([0,0,26]) cylinder(44,2.25,1.5,$fs=.25); translate([0,0,70]) sp...
glb/cad_57cdbce20898.glb
Create a round neckerchief slide by starting with a sphere 30mm in diameter. Flatten the top and bottom of the sphere by clipping it with a cylinder of the same diameter and a height of 24mm, centered on the origin. Remove a vertical cylindrical hole 15mm in diameter passing through the center from top to bottom. Add...
txt="BSA"; text_position = "extrude" ; outside_fn = 32; $fn=120; id=10; od=id*2; scale_factor = 1.5; module hollowsphere(od, id) { difference() { sphere(d=od); sphere(d=id); } } scale(scale_factor) { difference() { intersection() { sphere(d=od, $fn=...
glb/cad_24748bc34c8f.glb
Create a Power Supply Panel for a 300W ATX PSU. Start with a main rectangular box measuring 151mm in width, 85mm in depth, and 29mm in height, with rounded corners of 2mm radius. Hollow out the center of the box, leaving a wall thickness of 2mm, resulting in an internal cavity that is 147mm wide, 81mm deep, and 27mm hi...
include </write.scad> module box(){ difference(){ union(){ minkowski(){ translate([0,0,0]) cube([151,85,29]); cylinder(r=2); } translate([10,86,0]) rotate([.5,0,0]) cube([10,3,30]); translate([131,86,0]) rotate([.5,0,0]) cube([10,3,30]); } translate([0,0,2]) cube([151,85,28]); translate([40,80,12...
glb/cad_8de52c7db3bc.glb
Create a spray can extension clip by starting with a hollow cylinder that has an outer diameter of 70mm, an inner diameter of 65mm, and a height of 30mm, centered on the origin. Use a 72-facet resolution for the circular profiles. Cut a wide rectangular slot through the center of the cylinder along its length to leave ...
CanDia = 65; Hight = 30; Shell = 2.5 ; Delta = 0.1; StringHoleDia =3; StickW = 29; StickH = 25; StripW = 5; StripH = 2; difference (){ union(){ cylinder(h=Hight, r=CanDia/2 + Shell, $fn = 72, center=true); translate([CanDia/2+Shell+2.5,0,0]) snor(); translate([-CanDia/2-Shell-2.5,0,0]) snor(); translate([0,-CanDia/2...
glb/cad_e7d0af72e1b7.glb
Create a fence stake protective cap consisting of two nested rectangular shells. First, construct an outer shell by creating a rounded rectangular block with overall dimensions of 64mm in length, 45mm in width, and 15mm in height, using a corner radius of 2mm. Hollow out this outer shell by removing a central rectangul...
$fn=60; difference () { union() { color("green") minkowski() { cube(size = [60,41,14], center = true); cylinder(r=2,center = true,h=1); } color("skyblue") translate([0,0,5]) cube(size = [1.74,38,18], center=true); } union() { color("orange") translate([-15.4,0,2]) minkowski() { cube(size = [25,36.65,1...
glb/cad_c3df964fbf22.glb
Create a custom label test cube by starting with a solid cube that has a side length of 40mm in all dimensions. On one of the vertical faces, add the word "Concentric" as a raised 3D text element. The text should be centered both horizontally and vertically on the face. Use a bold sans-serif font with a font size of 5m...
fontType = "Source Sans Pro:style=Bold"; fontDepth = 1.5*1; Label = "Concentric"; fontSize = 5; cubeSize = 40; union(){ cube([cubeSize, cubeSize, cubeSize]); rotate(90, [1,0,0]) translate([.5*cubeSize, .5*cubeSize, -.5]) color("white") linear_extrude(height=fontDepth) text(Label,font=fontT...
glb/cad_5f20ba05e905.glb
Create a headphone holder consisting of a curved base and a circular support arm. Start by constructing a base that follows a circular arc with a radius of 100mm. The cross-section of this base is a composite shape formed by three joined hulls: one connecting a 3mm radius cylinder to a 5mm radius cylinder, another conn...
module profil() { a=20; b=15; c=10; hull() { translate([-a,0,0]) cylinder(r=3,h=2); translate([-b,-c,0]) cylinder(r=5,h=2); } hull() { translate([-b,-c,0]) cylinder(r=5,h=2); translate([b,-c,0]) cylinder(r=5,h=2); } hull() { translate([b,-c,0]) cylinder(r=5,h=2); translate([a,0,0]) cylinder(r=3,h...
glb/cad_c1fc131dd1b6.glb
Create a simple washer by constructing a thick ring. Start with a cylinder that has an outer diameter of 10mm and a height of 2mm. Center this cylinder on the origin. From the center of this shape, remove a smaller concentric cylinder with a diameter of 8mm and a height of 4mm to create a clean circular hole through th...
bolt_hole=4; washer_outer_diameter=5; washer_thickness=2; difference(){ cylinder(r= washer_outer_diameter ,h= washer_thickness ,center=true,$fn=40); cylinder(r= bolt_hole ,h= washer_thickness + 2 ,center=true,$fn=40); }
glb/cad_a5f95cccae7d.glb
Create a snowman chess piece by stacking three spheres vertically. Start with a large base sphere with a radius of 10mm centered at the origin. Place a medium sphere with a radius of 8mm directly above it, centered at Z=13.5mm. Place a smaller sphere with a radius of 5mm above that, centered at Z=23mm. For the face, ...
difference() { union() { translate([0,0,30]) scale([.3,.3,4]) cylinder(r=10,h=1); translate([0,0,26]) scale([.25,.25,4]) cylinder(r=10,h=1); translate([0,0,30]) scale([.3,.3,.4]) sphere(10); } union() { translate([0,0,26]) scale([.2,.2,8.1]) cylinder(r=10,h=1); translate([-0.5,-4,32]) scale([1,8,2.1]) cu...
glb/cad_3d6a06416d4d.glb
Create a snowman chess piece by stacking three spheres vertically. Start with a large base sphere with a radius of 10mm centered at the origin. Place a medium sphere with a radius of 8mm directly on top, centered at a height of 14mm. Top this with a smaller sphere with a radius of 5mm centered at a height of 25mm. For ...
difference() { union() { translate([0,0,34]) scale([.3,.3,4]) cylinder(r=10,h=1); translate([0,0,28]) scale([.25,.25,6]) cylinder(r=10,h=1); translate([0,0,34]) scale([.3,.3,.4]) sphere(10); } union() { translate([0,0,28]) scale([.2,.2,10.1]) cylinder(r=10,h=1); translate([-0.5,-4,36]) scale([1,8,2.1]) c...
glb/cad_a2cd628bc3e7.glb
Create a birdhouse action marker consisting of a base body and a separate roof. For the body, start with a 10mm cube that is 15mm tall. Hollow out the center by removing a 8mm by 8mm cube from the interior, leaving 1mm thick walls. Cut a 4mm diameter circular hole through the front face, centered horizontally and posit...
body(10); translate([5, 5, 15]) roof(10); module body(size) { r = floor(size / 5); p = size * 0.2; union() { difference() { cube([size, size, size * 1.5], false); translate([1, 1, 1]) cube([size - 2, size - 2, size * 1.5], false); translate([s...
glb/cad_3996a356fc76.glb
Create a Wemos Triple case, which is a rectangular open-top box designed to house a PCB. The inner dimensions of the case are 34.7mm by 79.4mm with a depth of 5mm. The walls are 2mm thick, resulting in outer dimensions of 38.7mm by 83.4mm. The base of the case is 6mm thick. The four exterior vertical corners of the ca...
use <MCAD/polyholes.scad> $fn = 50; fudge=.01; tolerance = .1; print_board= false; nutorhole=false; layer_thickness=0.20; nozzle_wall=0.35; version= "V1.2"; pcb_x= 34.3; pcb_y= 79; pcb_z=1.6; fix_x= [3.15,3.15+28]; fix_y=[2.85,22.55,29.65,49.35,56.45,76.15]; font = "helvetica:style=Bold"; M3_hole=3.3; M3_THole = ...
glb/cad_9e708dacb6a7.glb
Create a Customizable Glass Holder by starting with a hollow rectangular base that is 100mm wide, 150mm long, and 20mm high. The walls of this base should have a uniform thickness of 20mm. To create the slots for the glasses, carve out 7 rectangular notches across the length of the holder. Each notch must be 5mm thick ...
larghezza=100; lunghezza =150; altezza=20; spessore=20; numero_tagli=7; spessore_tagli=5; inclinazione=60; distanza_tagli=20; difference(){ difference(){ cube([larghezza,lunghezza,altezza],true); cube([(larghezza-spessore),(lunghezza-spessore),(altezza+1)],true); } for(i = [-((numero_tagli/2)-1):(numero_tagli/...
glb/cad_5937332b65a8.glb
Create a stand for a dish drainboard by constructing a central vertical block and two horizontal support arms. Start with a central rectangular block measuring 31mm wide, 6mm deep, and 17mm high, centered on the Y-axis at 23mm. Drill a vertical hole through the center of this block with a radius of 4.5mm. Attach two ...
rod=8; thick=3; module one(l=40) { difference() { cube([l,17, 17], center=true); rotate([0,90,0]) cylinder(r=rod/2, h=l+3, center=true); } } one(40); translate([0,0,20]) rotate([0,90,0]) one(30); difference() { translate([0,23,0]) cube([31,6,17], center=true); rotate([90,0,0]) cylinder(h=200,r=4.5,center=tru...
glb/cad_2c4bdfed2a46.glb
Create a rectangular base plate measuring 50mm in length, 10mm in width, and 3mm in height. Centered on the top surface of this base, add the 3D text "Schland" with a character height of 10mm and a thickness of 5mm. Position the text so that it sits atop the base, ensuring the final object is a single solid piece.
translate([0, 7, 0]) cube([50,10,3]); include <write.scad> translate([0,0,0]) write("Schland",h=10,t=5);
glb/cad_bff19ae69d76.glb
Create a 3D model of three separate construct puzzles, each consisting of several multi-cube pieces that assemble into a partial pyramid. Each individual cube within the pieces must have a side length of 10mm. For the first puzzle, create three pieces each composed of 10 cubes. For the second puzzle, create four piece...
view_puzzle_2(); module view_puzzle_1() { file = p_61318_61319_61320; color("red") join_cubes(file,1,10); color("yellow") join_cubes(file,11,10); color("lightblue") join_cubes(file,21,10); } module view_puzzle_2() { file = set200; color("red") join_cubes(file,1,7); color("yellow") join_cubes(file,8,7); color("light...
glb/cad_6668c157e63d.glb
Create a partial pyramid constructed from 30 cubes, each with a side length of 10mm. The structure is built in four vertical layers. The base layer (z=0) consists of 11 cubes. Position one cube at [40, 0, 0], a row of three cubes from [30, 10, 0] to [50, 10, 0], a row of five cubes from [20, 20, 0] to [60, 20, 0], and...
cube_size = 10; overlap = 0.4; join(key,10,.001); module makex(inverse_set) { difference() { cube(size=7*cube_size); union() { for (i = [0:1:len(inverse_set)-1]) { x = cube_size*inverse_set[[i][0]]; { translate(v=x) cube(size=cube_size+overlap); } }}}} module join(fil,csize,overlap) { y=len(fi...
glb/cad_95d4350a50cc.glb
Create a hex bit to square adapter. Start by creating a hexagonal prism with a flat-to-flat width of 3.5mm and a height of 15mm. Centered on this prism, add a square prism measuring 6.35mm by 6.35mm with a height of 10mm, positioned so it overlaps the bottom section of the hexagon. To finish the shape, encapsulate thes...
$fs=0.1; $fa=3; intersection() { union() { translate([0,0,-5]) cube([25.4/4,25.4/4,10],center=true); sphere(d=8); linear_extrude(height=15) regular_polygone(6,3.5); } hull() { translate([0,0,12.5]) sphere(d=7.5); translate([0,0,-8]) sphere(d=7.5); } } module regular_polygone(sides,size...
glb/cad_3432b748bcb1.glb
Create a Hobbing Thing by starting with a solid rectangular block measuring 38mm wide, 28mm deep, and 27mm high. From this block, remove several cylindrical volumes to create specific openings. First, create a vertical hole passing through the center of the top face with a complex profile: a cylinder with a radius of 1...
difference(){ cube([38,28,27]); union(){ translate(v=[39,10,14]) rotate([0,180,0]) union(){ rotate([0,90,0]) cylinder(r=8,h=6); rotate([0,90,0]) cylinder(r=2.5,h=45); } translate(v=[18,14,20]) union(){ cylinder(r=11,h=12); translate(v=[0,0,-12.3]) cylinder(r=4.5,h=11.3); translate(v=[0,0,-0.7]) cylinder(r=4.5,h=5)...
glb/cad_6dfa9fe2f8f7.glb
Create a plug for a PCIe slot by combining two rectangular prisms. First, construct a wide, thin base plate measuring 8.3mm in depth, 58.6mm in width, and 2mm in height. Centered on top of this base, add a second, taller rectangular prism that serves as the main plug body. This upper section must be 6.3mm in depth, 54....
p_d = 6.3; p_w = 54.6; p_h = 6; c_d = 8.3; c_w = 58.6; c_h = 2; module cap() { union() { translate([0,0,p_h/2-.1]) cube(size=[p_d,p_w,p_h], center=true, $fn=100); translate([0,0,-(c_h/2-.1)]) cube(size=[c_d,c_w,c_h], center=true, $fn=100); } } cap();
glb/cad_d54bd5b1f978.glb