Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Bahtinov mask for a telescope with an outer diameter of 224mm and an aperture diameter of 212mm. The model consists of a main circular plate with a base thickness of 2mm and a raised outer rim of 6mm that extends from the aperture radius to the outer diameter. Within the aperture area, create a series of prec...
sections = 0; section = 0; outerDiameter = 224.0; aperture = 212.0; centerHoleDiameter = 0; gap = 3.3; angle = 20; maxBars = 10; bar = 10.0; mHeight = 2.0; bHeight = 6.0; tol = 0.25; d = 1 * 0.01; module bars(gap, width, num=5) { num = round(num); for (i=[-num:num]) { translate([width/2,...
glb/cad_8dc38e236b76.glb
Create a rounded cube pen holder with an outer dimension of 80mm and a wall thickness of 2mm. Start by constructing the outer shell as a hull encompassing eight spheres, each with a radius of 12mm. Position four of these spheres at the base corners and four at the top corners, with the centers of the spheres spaced 6...
dimension = 80; factorradius2dim = 12 / 80; wall = 2.0; userColorRGB = [0/255, 48/255, 112/255]; userColorAlpha = 255/255; radius = dimension * factorradius2dim; $fn = 50; offset4sphere = dimension - (2 * radius); innerhulltopextension = wall + radius; innerradius = radius - wall; color(userColorRGB, userColo...
glb/cad_5cb6d0828e46.glb
Create a tension knob with a total height of 20mm and a maximum diameter of 50mm. The main body is a cylinder that is modified by removing five symmetrical finger holes to create a star-shaped grip. Each finger hole is a cylinder with a diameter of 25mm, positioned to carve deep notches into the knob. Taper the edges o...
FingerPoints = 5; TaperFingerPoints = true; KnobDiameter = 50; KnobTotalHeight = 20; StemHeightPercent =30.0/100.0; FingerHoleDiameter =KnobDiameter/2.; ShaftDiameter = 25.4/4; ShaftEasingPercentage = 5/100.0; BaseNutCapture = 0; TopNutCapture = 1/1; NutFlatWidth = 1.75 * ShaftDiameter; NutHeight = 0....
glb/cad_dbf6166cdfb9.glb
Create a feeding dish with rounded corners and a hollow center. The outer boundary is defined by the convex hull of eight spheres, each with a radius of 12mm. Position four of these spheres at the bottom corners and four at the top corners, with the total outer dimensions being 209mm in length (X), 149mm in width (Y), ...
dimensionX = 209; dimensionY = 149; dimensionZ = 19; dimension = min(dimensionX,dimensionY,dimensionZ); factorradius2dim = 12 / 80; wall = 2.0; userColorRGB = [0/255, 48/255, 112/255]; userColorAlpha = 255/255; radius = dimension * factorradius2dim; $fn = 50; offset4sphereX = dimensionX - (2 * radius); offse...
glb/cad_9a5583495765.glb
Create a container called an Epcot Style Container. The main body is a spherical shell with a diameter of approximately 52mm and a wall thickness of 2mm. The bottom of the sphere is closed, but the top is open, featuring a circular hole with a diameter of 50mm. Around the rim of this top opening, add a threaded collar...
size=50; use_default_density = 1; x_density=26; y_density=8; function get_x_density() = (use_default_density ? round(get_y_density() * 3.25 - 0.2) : x_density); function get_y_density() = (use_default_density ? round(sqrt(size * 50) / 6.25 - 0.2) : y_density); echo(str("X density = ", get_x_density())); echo(str...
glb/cad_7da399a25788.glb
Create a chalk and sponge holder. Start by constructing a half-pipe for the chalk: create a cylinder with an outer radius of 5.5mm and an inner radius of 5mm, with a height of 65mm. Cut the cylinder in half along its length to create a trough, and round the two edges of the open side with a radius of 0.5mm. Next, atta...
OpenTo="right"; chalk_r=4.5; chalk_l=65; sponge_w=40; sponge_h=30; sponge_th=20; wall=1; $fn=64; wiggle=.5; flatlen=15; holder_in_r=chalk_r+wiggle; holder_out_r=chalk_r+wall+wiggle; edge_cutoff=wall*5; module half_pipe() { difference() { cylinder(r=holder_out_r,h=chalk_l,center=true); ...
glb/cad_c9db8e3263b6.glb
Create a spool axle adapter consisting of two concentric cylindrical sections with a central hole. First, create a base cylinder with a diameter of 27mm and a total height of 28mm. On top of this base, add a second cylinder that starts at a height of 20mm; this upper section should have a diameter of 32mm and a height ...
axle_hole_diameter = 19; spool_hole_diameter = 27; adapter_diameter = spool_hole_diameter + 5; spacer_length = 20; spool_hole_depth = 8; $fa = 1; $fs = 1; translate([adapter_diameter/2, adapter_diameter/2, 0]) { difference() { union() { cylinder(r = spool_hole_diameter/2, h = spacer_length + spool_hole_...
glb/cad_1ab0f8d2426b.glb
Create a hobby wheel by revolving a specific profile around a central axis. The final object has an outer diameter of 30mm and a central axle hole with a diameter of 7.5mm. The cross-section of the wheel's outer rim is a circle with a diameter of 6mm. This rim is connected to a central hub via a concave transition. T...
od=30; id=7.5; wheel_thick=6; hub_thick=4; hub_dia=10; concave_min_thick=2; small_fn=24; large_fn=128; half=0; hmax=od/2-id/2-wheel_thick/2; hub_overlap=hub_dia/2-id/2; scoche=0.001; halfscoche=scoche/2; module concave_thing(){ thick=od/2-id/2-wheel_thick+hub_overlap; cen=thick/2+id/2; translate([cen...
glb/cad_15d30fd95709.glb
Create a 3D model of a "Words from the Heart" tag. Start by designing a heart shape with a height of 33mm and a width of 33mm. Create a nested, smaller heart inside it to form an outline with a thickness of 2mm. For the text "I Love You", generate a series of these heart-shaped tags. Each tag should feature the lette...
text = "I_Love You _"; neodym_1_diameter = 8.5; neodym_1_height = 3.5; neodym_2_diameter = 5.5; neodym_2_height = 2.5; outline_width = 2; text_font = "knewave.dxf"; text_height = 16; text_space_factor = 0.75; build_shift = 40; link_level = 4.0; big_heart_level = 7.0; big_heart_outline_level = 8.0; small_he...
glb/cad_744c8ae6ca64.glb
Create a 3D nameplate that reads "YourText" using the Orbitron font. The model consists of the text extruded along a curved path and a supporting base. First, generate the text "YourText" with a size of 16mm. Rotate this text and extrude it along a circular arc to create a sweeping, curved effect. The arc should be li...
textstring="YourText"; textsize=16; fontname="Orbitron"; base_radius_add=3; baseheight=1; cutangle=75; text_excenter_factor=1; direction="up"; RoundBase=1; cutcube_x=textsize*(len(textstring)+1); cutcube_yz=textsize*2+text_excenter_factor*textsize; module writetext(textstr, sizeit) { text(textstr,s...
glb/cad_c7dfdfe6936c.glb
Create a 3D sculpture of the word "Text" using the Orbitron font. The letters should be 16mm in size. Instead of a flat layout, rotate the text and extrude it along a circular path to create a semi-circular ring, sweeping 180 degrees. Position the text so it is centered and offset from the center of the rotation by 16m...
textstring="Text"; fontname="Orbitron"; textsize=16; text_excenter_factor=1; baseheight=1; cut_height_percent=0.7; height_cut=cut_height_percent*(text_excenter_factor*textsize/2+textsize); direction="up"; RoundedBase=1; base_radius_add_factor=.2; base_radius_add=base_radius_add_factor*textsize; cutcube_x=tex...
glb/cad_388b51793b5c.glb
Create a double-ended measuring spoon consisting of two cylindrical bowls connected by a flat handle. The first bowl is a short cylinder with an internal volume of 14.786 ml. The second bowl is a short cylinder with an internal volume of 4.928 ml. Both bowls have a wall thickness of 1.5 mm. Connect the two bowls wit...
use <write/Write.scad> spoon_shape = 3; volume_1=1; unit_volume_1=14.7867647825; volume_2=1; unit_volume_2=4.928921595; function get_volume_1()= volume_1 * unit_volume_1 * adjust_volume_1; function get_volume_2()= volume_2 * unit_volume_2 * adjust_volume_2; label="1 tbsp 1 tsp"; label_thickness = 0.6; label_...
glb/cad_5dcd1a333cb8.glb
Create a game tile holder consisting of two symmetrical mirrored pieces, a left and a right holder. Each holder is based on a rectangular stand with a width of 9.9mm (33mm * 0.3) and a height of 24.75mm (33mm * 0.75), with a thickness of 3mm and rounded corners (radius 3mm). For each holder, create a main body that in...
Thingiverse_Customizer=1*1; part = "both_for_print"; piece_w=33; piece_h=33; piece_th=3.5; tileNumber=3; text="micropul"; fontfilename="write/Orbitron.dxf"; fontname="Aldo"; use <write/Write.scad> $fs=0.2; thick=3; tileHeight=piece_h*.75; tileWidth=piece_w; tileDepth=piece_th*2; standWidth= tileWidth * (...
glb/cad_11cf79f093f3.glb
Create a keychain model featuring a layered heart design and a rectangular base. Start by creating a large heart shape with a height and width of 70mm and a thickness of 1mm. Add a raised outline around this heart with a thickness of 1.5mm. Inside this, place a smaller heart with a height and width of 35mm, positioned ...
line1 = "Enter Text"; line2 = "Here!"; alignment = 0; build_lug=1; hole_diameter=4.0; base_plate_rounding = 2; base_plate_outline_1 = 1.0; base_plate_outline_2 = 1.0; outline_width = 3; heart_fringe = 1.0; text_font = "knewave.dxf"; text_height = 8; text_space_factor = 0.75; line_space_factor = 1.05; lug_...
glb/cad_d37f388edc35.glb
Create a storage organizer for a game consisting of two main components: a card holder and a coin/dice tray. First, construct the card holder by creating two adjacent open-topped boxes. Each box should have internal dimensions of 59.5mm width and 91mm length, with a wall thickness of 1.5mm. The total height of these b...
part = "all"; wiggle=.5; logo=true; do_holes_for_coins=0; do_holes_for_cards=1; cornercutoff="onlyMiddle"; $fn=50; box_w=121; box_h=170; box_depth=37-2; dice=16+2*wiggle; coin=20.5; coin_5_thick=11; width=59+wiggle; length=91+2*wiggle; corner=1.5; coin_width_complete=(box_w-2*wiggle); coin_width=coin_w...
glb/cad_1e987601dc18.glb
Create a cylindrical nut knob. Start with a base hexagonal socket designed to hold a nut with a width of 5.42mm and a thickness of 2.5mm. The socket is formed by a 6-sided polygon extruded to a height of 0.6mm. Above the socket, build the main knob body with a total height of 10mm. The body is a cylinder with a diamet...
part = "cylindrical"; nut_width = 5.42; nut_thickness = 2.5; height=10; knurled_height=50; echo("nut_diameter",nut_diameter); diameter_1=150; function get_diameter_1()=hex_nut_diameter*diameter_1/100; diameter_2=125; function get_diameter_2()=get_diameter_1()*diameter_2/100; screw_hole_diameter = 55; functio...
glb/cad_f1b0033ff3f9.glb
Create a 3D nameplate of the word "Thing" using the Orbitron font. Extrude the text to a height of 10mm. The letters should have a font size of 16mm. To ensure the model is a single connected piece, add a rectangular connecting bar along the baseline of the text. This bar should have a thickness of 1.6mm (10% of the f...
textstring="Thing"; fontname="Orbitron"; RoundedBase=0; do_shift_font="automatic"; textsize=16; textheight=10; baseheight_percent=.33; baseheight=textheight*baseheight_percent; basethickness_percent=0.1; basethickness=textsize*basethickness_percent; font_catch_diacritical_sign=2.3; base_radius_add_percent=.1...
glb/cad_d6b73ac502d7.glb
Create a 3D model of an embossed egg with a total length of 60mm. The overall shape should follow a hen egg profile, which is slightly wider and blunter at the bottom than at the top. The surface of the egg must be embossed with a repeating brick pattern. The displacement depth of this pattern should be 50mm (relativ...
egg_length=60; egg_shape=7; image = "..\imagemaps\brick.png"; depth=50; quality=5; repeat=1; repeatX=1; repeatY=1; Hsize=50; Vsize=50; preview_tab=""; image_width=120; image_height=120; onBase=0; clearance=0.1; moduleMode=false; allTrigon=true; period=2; overSampling=quality/10; ud0=0; ud1=repeat ? ...
glb/cad_b28c072acdad.glb
Create a fan grill with an external dimension of 120mm and a total thickness of 2.4mm. Start with a square plate of these dimensions, then remove a central cylinder with a diameter of 115.74mm (120mm minus twice the rod width of 2.13mm). At each of the four corners, create mounting holes. Position the centers of these...
Number_of_rings=5; Ring_or_segment=1; Drop_or_ring=1; Solid_center=0; External_dimension=120; Rods_and_rings_wide=2.13; Distance_between_mounting_holes=104.6; Mounting_screw_thread_diameter=4.8; Head_diameter_mounting_screw=6.5; Height_of_the_cone_mounting_screw=1.9; Thickness_of_the_plate=2.4; size=External...
glb/cad_6701add2d62f.glb
Create a spinning top consisting of a disc and a central stick. The disc is a truncated cone with a total height of 6.25mm, a base diameter of 30mm, and a top diameter of 22.5mm. The disc's top surface features 32 equally spaced radial engravings of numbers from 1 to 32, positioned at a distance from the center based o...
part = "printall"; print_numbers=1; numbers=32; wiggle=.25; totalheight=25; disc_diameter=30; disc_percent_smaller=0.75; stickw=2.6; stick_stop_width=1.5; $fn=numbers; disc_height=totalheight/4; pointy_height=totalheight/4; module stick(adder) { sticklockh=disc_height/2; color("red") tra...
glb/cad_ed9c65063587.glb
Create a spool adapter with a height of 15mm. Start with a central cylindrical hole with a diameter of 33mm (32mm tube diameter plus 1mm backlash). The outer geometry is a revolved profile that creates a collar and radiating arms. The main body has an outer diameter of 54mm (53mm spool diameter plus 1mm compression)....
part="right"; tube_diameter=32; spool_diameter=53; height=15; number_of_arms=5; function get_number_of_arms() = (part == "straight" && number_of_arms % 2 > 0 ? 1 : 0) + number_of_arms; inner_diameter_backlash=1.0; collar_thickness=2.0; chamfer_depth=2.0; wall=3.0; arm_thickness=2.4; arm_compression=1.0; arm...
glb/cad_248564498cbf.glb
Create a set of shelf connector brackets called "mlvm" designed to hold wood of 12mm thickness. Each bracket is based on a central cube with a side length of 22mm (calculated as wood thickness plus two times the 5mm wall thickness). For each bracket, create a main body with a depth of 50mm and a front wrapping length ...
depth=50; wood_thickness=12; wall_thickness=5; front_side_length=35; foot_height = 38; fillet_size = 0.5; number_of_screws = 1; screw_diameter = 4; interior_screws = "no"; exterior_screws = "no"; part = "all"; hCube = wood_thickness+2*wall_thickness; squareFeet=(min(front_side_length,depth))*2/3; decal = 1...
glb/cad_c1c043128c1b.glb
Create a circular array of small cubes to form a larger disk-like shape. Each individual cube must be 3mm x 3mm x 3mm. Arrange these cubes in a grid with a center-to-center spacing of 5mm between each cube. The entire collection of cubes should be constrained within a circular boundary with a radius of 50mm. Only place...
method="complete"; radius=50; spacing=5; circular_array(method=method,r=radius,spacing=spacing) cube([3,3,3]); module circular_array(r=50,spacing=5,method="complete",height=10) { echo("Circular array:"); echo("method: ",method); echo("radius: ",r); echo("spacing between item centres: ",spacing); if(...
glb/cad_e519eb1acd88.glb
Create a filament box socket consisting of a central tube and two end caps. The tube is a cylinder with a diameter of 32mm and a length of approximately 29.6mm. For the end caps, create a base plate with a thickness of 5mm. The plate's outer profile is a hull formed between a circle with a radius of 19mm (32mm diamete...
part="preview_"; socket_plate_thickness=5; hex_nut_width=6.9; screw_hole_diameter=4.0; backlash=0.5; box_bottom_width=215; box_bottom_length=300; box_top_width=250; box_top_length=330; box_height=230; tube_diameter=32; tube_height=140; template_tube_center_width=80; template_bottom_width=100; template_thi...
glb/cad_c0e24fe622a1.glb
Create a 3D name tag for the text "Thing" using the Orbitron font. The model is constructed as a stacked pyramid of 9 layers, each with a height of 0.5625mm, totaling a height of 5.0625mm. Start with the base layer, which is the largest. Each subsequent layer is centered on top of the previous one, with the text size...
textstring="Thing"; fontname="Orbitron"; textsize=16; textheight=4.5; steps_bigger=8; steps_smaller=1; basetype="round"; change_percent=.035; change=textsize*change_percent; steps=steps_bigger + 1 + steps_smaller; baseheight=textheight/steps; module RiseText(textstr, textsize,textheight) { module dotex...
glb/cad_8e4ebff79a1c.glb
Create a shelf connector called "mlvm" designed to join wooden boards. Start with a central rectangular block that is 50mm deep and has a height and width based on a wood thickness of 5mm and a wall thickness of 3mm. Construct the main body by adding several bracket arms extending from the center. The first bracket i...
depth=50; wood_thickness=5; wall_thickness=3; front_side_length=35; add_foot = "no"; foot_height = 38; fillet_size_user = 0.5; number_of_screws = 1; screw_diameter = 4; interior_screws = "no"; exterior_screws = "no"; first_bracket = "yes"; angle_2 = 45; angle_3 = 90; angle_4 = 135 ; angle_5 = 180; angle...
glb/cad_69f89b6f144e.glb
Create a 3D model of a "6boards" shelf connector. Start by creating a central core cube with a side length of 22mm (calculated as wood thickness 12mm plus two 5mm walls). Construct six identical bracket arms that radiate from this center. Each bracket is a rectangular block with a depth of 50mm, a width of 22mm, and ...
depth=50; wood_thickness=12; wall_thickness=5; front_side_length=35; foot_height = 38; fillet_size = 0.5; number_of_screws = 1; screw_diameter = 4; interior_screws = "no"; exterior_screws = "no"; part = "6boards"; hCube = wood_thickness+2*wall_thickness; squareFeet=(min(front_side_length,depth))*2/3; decal...
glb/cad_bca6b8f4ac4e.glb
Create a 3D text model of the word "Lilly" using a bold, serif font like Holtwood One SC. The letters should have a font size of 25mm and be extruded to a height of 10mm. The letters must be hollowed out to create a wall thickness of 1mm, leaving only the outer shell of the characters. To ensure the model is a single...
textstring="Lilly"; fontname="Holtwood One SC"; RoundedBase=0; do_shift_font="automatic"; textsize=25; textheight=10; wall=1; baseheight_percent=.33; baseheight=textheight*baseheight_percent; basethickness_percent=0.1; basethickness=textsize*basethickness_percent; shift_font_percent=0.07; shift_font=textsiz...
glb/cad_551ac45c6ab3.glb
Create a pole hanger consisting of a support base and a bracket. First, construct the support base as a trapezoidal prism with a thickness of 5mm. The base should have a bottom width of 40mm and a top width of 32.5mm, extending to a height of 75mm. Attached to this base, create a bracket that is 50mm deep and 22mm ...
wall_thickness=5; polehanger_distance_from_top=50; pole_radius = 10; polehanger_height=70; polehanger_depth=30; polehanger_solid_part_bottom=10; wood_thickness=12; depth=50; number_of_screws = 2; screw_diameter = 4; top_screws = "no"; inner_screws= "yes"; hCube = wood_thickness+2*wall_thickness; polehanger...
glb/cad_c2a44bf16e57.glb
Create a wall mount bracket consisting of a vertical support and a horizontal mounting plate. First, create the vertical support as a trapezoidal prism with a thickness of 5mm. The support should have a height of 60mm, with a top width of 60mm and a bottom width of 40mm. Attached to this support, create a rectangul...
wall_thickness=5; support_height=60; support_width_top=60; support_width_bottom=40; wood_thickness=12; depth=50; number_of_screws = 2; bracket_screw_diameter = 4; top_screws = "no"; inner_screws= "yes"; support_screw_diameter = 6; countersunk_height = 3; hCube = wood_thickness+2*wall_thickness; front_side_...
glb/cad_e1647ff010f5.glb
Create a fan shroud for a hotend. Start by creating a main body that combines a cylinder with a radius of 13.5mm and a height of 37.6mm with a rectangular block measuring 30mm x 30mm x 10mm for the fan housing. The fan housing is positioned such that the fan is separated from the heat sink by 1mm, with a total wall thi...
mt="BLIND"; mtt="NO"; sprv=1; grp=2; xv=30; yv=30; zv=10; dtv1=3; dts1=6.1; ets=2.15; tl=.25; dav=28.50; angulo= 90; angulo_bisel=60; epavx=1.40; epavy=1.40; dcr=25; hcr=35.60; dgce=11.95; hgcr=2.40; rcr=dcr/2; rgcr=dgce/2; dtv=dtv1+tl; dts=dts1+tl; rtv=dtv/2; rts=dts/2; stvr=sprv+rcr; ventil...
glb/cad_45ad303faafe.glb
Create a fan shroud for a cooling fan. Start by creating a rectangular housing with dimensions 30mm x 30mm x 10.1mm. At the center of the housing, create a cylindrical air outlet with a diameter of 28.4mm. This outlet should transition into a nozzle that directs air toward a heat sink. The nozzle's opening angle is 1...
top_face="OPEN"; nuts="YES"; ffsl=16; xv=30.00; yv=30.00; zv=10.10; dto_1=3.0; dtu_1=6.10; ets_1=2.15; tl=.30; dav=28.40; angt=115; angb=70; epx=1.35; epy=1.35; dbc=24.95; hcr=35.35; dgce=9.10; hte=2.30; grp=hte; hgcr=hte-tl; dtor=dto_1+tl; dtu=dtu_1+tl; ets=ets_1+tl; rtor=dtor/2; sprv=ffsl-(zv...
glb/cad_db932bc285ad.glb
Create a fan shroud for a 3D printer hotend. Start by constructing a main housing block with dimensions 30mm x 30mm x 10.1mm. At the center of the housing, create a cylindrical air passage with a diameter of 28.4mm. On the front face, integrate a nozzle guide that transitions from the circular passage into a tapered ...
top_face="BLIND"; nuts="NO"; ffsl=16; xv=30.00; yv=30.00; zv=10.10; dto_1=3; dtu_1=6.10; ets_1=2.15; tl=.25; dav=28.40; angt=120; angb=70; epx=1.35; epy=1.35; dbc=24.95; hcr=35.35; dgce=9.10; hte=2.30; grp=hte; hgcr=hte-tl; dtor=dto_1+tl; dtu=dtu_1+tl; ets=ets_1+tl; rtor=dtor/2; sprv=ffsl-(zv+1...
glb/cad_afb73ec8895b.glb
Create a 12-sided die (dodecahedron) with a total diameter of 34.2mm (0.57 times the base size of 30mm). The main body is formed by the intersection of a sphere and a dodecahedron. On each of the 12 pentagonal faces, engrave a character with a depth of 1mm. The characters to be placed on the faces are "1", "2", "3", "...
Size= 30; part="SingleColorDice"; Text1= "1"; Text2= "2"; Text3= "3"; Text4= "A"; Text5= "B"; Text6= "C"; Text7= "Yes"; Text8= "No"; Text9= "\u00A9"; Text10= "\u221A"; Text11= "?"; Text12= "&"; font = "Arial"; S1= 1; S2= 1; S3= 1; S4= 1; S5= 1; S6= 1; S7= 0.6; S8= 0.7; S9= 1; S10= 1; S11= 1; S...
glb/cad_cc8d89ff4591.glb
Create a bearing holder for an LM8UU bearing. Start with a central block that is 15.3mm wide and 24.2mm long. Carve a cylindrical hole through the center of the block with a diameter of 15.3mm to accommodate the bearing, and a smaller longitudinal hole with a diameter of 10mm running through the center of the assembly....
b_length=24.2 ; b_dia= 15.3; dx=28; dy=21; angle=60; b_angle=30; bolt=4.9+0.4; nut=9.8+0.4; rod=8+2; zcutoff=0; boltlength=20-6-4-1-1; module holder(){ intersection(){ difference(){ translate([b_dia/2+3,0,0.5]) rotate([90,0,0])cube ([b_dia,b_dia+1,b_length+8-1],center=true); #rotate([90,0,0]) cylind...
glb/cad_a86c0f908222.glb
Create a direct drive extruder mount for a NEMA 17 stepper motor and a J-head. Start with a main body based on a NEMA 17 profile (42.3mm width). The body is a block with a height of 24mm. On the top, create a cylindrical mount for a bowden coupling with a radius of 4.875mm and a height of 10mm. At the bottom, create ...
fnr = 0.4; extrusion_width = 0.6; normal_wall_factor = 4; thick_wall_factor = 6; filament_d = 1.75; gear_d = 7.34; bearing_d = 16; bearing_h = 5; bearing_bore_d = 5; bearing_washer_d = 10; bowden_d = 4.5; bowden_coupling_thread_d = 9.75; bowden_coupling_thread...
glb/cad_2647e395ed27.glb
Create a direct drive extruder mount for a NEMA 17 stepper motor. The main body is a block with a height of 24mm and a width of 42.3mm. The front face features a large central cutout to accommodate the motor's drive gear and filament path. At the top center, create a cylindrical mount for a bowden coupling with a radi...
fnr = 0.4; extrusion_width = 0.6; normal_wall_factor = 4; thick_wall_factor = 6; filament_d = 1.75; gear_d = 7.34; motor_alignment = 0; bowden_mount = 1; bowden_extruder = 0; bowden_d = 4.5; bowden_coupling_thread_d = 9.75; bowden_coupling_thread_h = 10; mounthole_dis...
glb/cad_0b114a23d02f.glb
Create a 3D model of an E3D Chimera Dual Volcano HotEnd. Start with a central main block that is a chamfered cube measuring 30mm x 18mm x 30mm. Position a second chamfered cube of 30mm x 9.5mm x 30mm adjacent to it to serve as the fan frame. In the main block, create two vertical filament paths. Each path consists of ...
resolution = 0.25; detaillevel = 1; withfan = 1; print_part(); module print_part() { e3d(); } module e3d() { chimera_and_cyclops_body(); for(i=[[9,0,0],[-9,0,0]]) translate(i) fncylinder(d=6.8,h=14); translate([9,0,-2]) rotate([180,0,0]) volcano_heater(rotate=0); translate([-9,0,-2]) rotate([180,0,0]) v...
glb/cad_5b86a6e4df5a.glb
Create a solder tip holder by starting with a rectangular block that has rounded corners. The block should have a total height of 18mm, a base thickness of 3mm, and overall dimensions of 36mm by 36mm. The corners of the block should have a radius of 5mm. Within this block, create a 3x3 grid of nine cylindrical holes to...
tipGap = 3; tipSize = 9; tipsPerRow = 3; tipsPerColumn = 3; height = 18; baseHeight = 3; $fn=40*1; tipDim = tipSize/2; width = tipsPerRow * (tipGap + tipSize) + tipGap; length = tipsPerColumn * (tipGap + tipSize) + tipGap; tipHeight = height - baseHeight; difference() { translate([length/2-(tipGap+tipDi...
glb/cad_df5bae90cfd0.glb
Create a 1/4" hex bit holder consisting of a main body and a base pad. The main body is a rectangular block 10mm high, with a width of 5.225mm (1.1 times a 4.75mm shift) and a length of 71.2mm (approximately 7.4 times the shift). All four vertical corners of the body must be rounded with a 3mm radius. Within this body...
use <write/Write.scad> Print=0; Number=6; inscription="1/4' bits"; Back_inscription_rotate=180; inscription_font="write/orbitron.dxf"; Font_size=10; shift=9.5; height=10; pad_height=1; text_deep=0.6; module magnet(){cylinder(r=8/2,h=1.02,$fn=120);} module bit(){rotate([0,0,90])cylinder(r=7.75/2,h=15,$fn=6);...
glb/cad_8e45f3375b2a.glb
Create a RAMPS 1.4 electronics box and lid. The main box is a rectangular enclosure with a height of 65mm. The outer dimensions are based on a board size of 60.5mm by 101.62mm. The walls and bottom are 1.8mm thick. Inside the box, create six cylindrical board mounts with a radius of 1.6mm and a height of 5mm to eleva...
part = 3; resolution = 0.4; single_wall = 0.6; box_hight = 65; mount_type = 0; smartadapter = false; topfan = true; backstyle = 2; resetbutton = true; ramps_xtra_front = 0; ramps_xtra_back = 0; ramps_xtra_left = 0; ramps_xtra_right = 0; factor_lid = 3; factor_...
glb/cad_1b72f9053101.glb
Create a maze mouse wheel with a total diameter of 60mm and a thickness of 4mm. At the center, add a cylindrical hub with a diameter of 12mm and a height of 10mm. Within the hub, create a vertical shaft cutout. This cutout is formed by the intersection of a cylinder with a radius of 2.75mm and a centered cube measuri...
use <write/Write.scad> features = "spokes"; wheel_diameter = 60; fudge_factor = 0; text = "ChickTech Rules!"; font = "orbitron.dxf"; letter_depth = 1; letter_spacing = 1.2; letter_height = 8; difference(){ union() { if (features != "hub-only"){ cylinder(r=wheel_diameter / 2, h=4, $fn=1...
glb/cad_334585f50ff1.glb
Create a 3D model of an E3D-v6 Volcano All Metal HotEnd. Start by building the base assembly along the Z-axis. Create a cylinder with a radius of 8mm and a height of 7mm. On top of this, add a cylinder with a radius of 6mm and a height of 8mm, followed by another cylinder with a radius of 8mm and a height of 8mm. Above...
fnresolution = 0.4; detaillevel = 1; print_part(); module print_part() { e3d(); } module e3d() { difference() { union() { translate([0,0,0]) fncylinder(r=8,h=7); translate([0,0,6]) fncylinder(r=6,h=8); translate([0,0,13]) fncylinder(r=8,h=8); translate([0,0,20]) fncylinder(r=11.15,h=26); ...
glb/cad_73435445f344.glb
Create a face plate for an electronics enclosure. Start with a solid rectangular base measuring 107.5mm in width, 33.5mm in depth, and 9mm in height. Hollow out the center to create a walls-and-floor structure with a wall thickness of 1.5mm. The interior cavity should be 104mm wide and 31mm deep, with 4mm radius fillet...
Vertical_Distance = 8.5; Component_Fit = 0.25; Plate_Fit = 0.25; Face_Plate_Height = 31; Face_Plate_Width = 104; VGA_Horizontal_Offset = 0; VGA_Vertical_Offset = 0; LED_Horizontal_Offset = 0; LED_Vertical_Offset = 0; Button_Horizontal_Offset = 0; Button_Vertical_Offset = 0; Audio_Horizontal_Offset = 0; Audi...
glb/cad_2e02a547f56e.glb
Create a Quadrysteria QR200 Antenna Holder. Start with a rectangular base measuring 17mm by 10mm with a thickness of 1.2mm and rounded corners of 0.1mm. Center a vertical hole through this base with a diameter of 3.2mm, and within that, a smaller concentric void of 1.75mm. Construct two symmetrical antenna holding arm...
antennaLength = 20; antennaOuter = 3; antennaInner = 1.85; thickness=1.2; gapThickness=1.2; screwWidth=1.75; holeWidth=3.2; $fn = 40*1; drawBase(); drawHolders(); module drawBase() { translate([0,0,-(thickness+gapThickness)]){ difference() { translate([4,0,gapThickness]) { ...
glb/cad_a3afd5a3f17d.glb
Create a Victorian Wallpaper Sconce. Start by constructing a tapered, six-sided hollow prism (the sconce) with a height of 130mm, a bottom diameter of 65.1mm, and a top diameter of 74.9mm. The walls should be 3mm thick. Attach a cylindrical arm to the base of the sconce. This arm should have a diameter of 20mm, taperi...
what_to_render = "preview"; sconce_dia = 70; sconce_height = 130; sconce_sides = 6; flat_top = "no"; sconce_taper = 0.14; sconce_wall_thickness = 3; sconce_top_dia = sconce_dia * (1 + sconce_taper); sconce_bottom_dia = sconce_dia * (1 ...
glb/cad_7de62a59a8e4.glb
Create a cloak clasp consisting of two interlocking pieces: a male component and a female component. For the male component, create a cylinder with a radius of 15mm and a height of 3mm. On the top surface of this cylinder, emboss the letter "A" centered within the circle, with a depth of 1mm. Attach a rectangular sti...
use <write/Write.scad> type = "text"; innerRadius = 15; innerHeight = 3; ringWidth = 5; designHeight = 1; rotation = 0; file = "file.dat"; imageScale = 1; claspText = "A"; font = 1; fontOffsetX = 1; fontOffsetY = 1; textScale = 1.4; font_array = ["BlackRose.dxf", "Letters.dxf", "orbitron.dxf", "knewave.dx...
glb/cad_ca349343920c.glb
Create a finger-friendly snap-on hex socket tool. Start by constructing a main cylindrical body with a diameter of 14mm and a height of 6mm. In the center of this cylinder, carve out a hexagonal hole with a flat-to-flat width of 8mm and a depth of 3mm. Attached to the top surface of the cylinder, add two circular "ear...
head_dimension = 8; socket_depth = 3.0; wall_thickness = 3.0; ear_diameter = head_dimension*1.5; ear_thickness = 2.0; ear_spacing = 0.43; ear_style = "mickey"; $fn=40; module hull_or_not(hull) { if(hull == true) { hull() children(); } else { children(); } } modu...
glb/cad_191e86930dea.glb
Create a stylized military tank model. Start by constructing the lower chassis as a low-poly, elongated rectangular block with sloped front and rear ends. On each side of the chassis, add a continuous track system consisting of a series of small, repeating cylindrical wheels aligned along the bottom edge, enclosed by a...
Generate_Random=0.15; size=1; part=1; style=floor(rnd(1,6.99)); bubble=rnd(-2,3); gunl=rnd(30,45); gund=rnd(2,3.5); gunelev=rnd(0,25); guns=floor(rnd(1,3.99)); gunstyle1=rnd(0,2); gunstyle2=rnd(0,2); gunstyle3=rnd(0,2); skirtstyle1=rnd(0,2); skirtstyle2=rnd(0,2); skirtstyle3=floor(rnd(0,1.999)); skirtsty...
glb/cad_2aeb4abdbc63.glb
Create a landing foot for a Quadrysteria QR200. Start by forming the main body as a union of a cylinder with a radius of 5mm and a height of 10mm, and a sphere with a radius of 5mm centered at the base of the cylinder. From this combined shape, remove a central vertical hole with a radius of 1.5mm that runs through the...
useM3nut=0; $fn=40*1; m25nut=5*1; m25nuth=2*1; m25screw=2.5*1; m3nut=5.5*1; m3nuth=2.4*1; m3screw=3*1; gap=0.5*1; if (useM3nut==1) { echo("M3"); screw=m3screw+gap; nut=m3nut+gap*3; nutHeight=m3nuth+gap*1.5; drawFoot(screw, nut, nutHeight); } else { screw=m25screw+gap; nut=m2...
glb/cad_91bd3eb09e64.glb
Create a 3D model of the "mlvm" apparatus, a cylindrical device with a total height of 100mm. Start by constructing a circular base with an outer diameter of 110mm and a height of 13.65mm. Within this base, create a central electronics bay measuring 11.15mm wide, 17.44mm high, and 3.65mm deep, including a 1mm clearan...
what_to_render = "preview"; apparatus_height = 100; support_thickness = 3; support_tab_depth = 10; eyeguard_radius = 37; use_bay = "yes"; bay_width = 11.15; bay_heigth = 17.44; bay_depth = 3....
glb/cad_1944636fd082.glb
Create a pot holder clip with a total height of 4mm. Start by forming a C-shaped clip designed to grip a canister edge. The clip's inner opening is a rectangle 2.7mm wide by 4.5mm high, with corners rounded to a 0.5mm radius. The walls of this clip are 2.25mm thick. Extend the clip's structure downward and outward to ...
edge_height = 4.5; edge_width = 2.7; edge_bevel_radius = 0.5; metal_thickness = .8; include_support_peg = "Include_Support_Peg"; foot_width = 4; foot_thickness = 2.25; foot_inner_length = 10; foot_lower_height = 5; foot_base_length = 15; cannister_contact_segment_height = 7; inner_flange_height = 3.1; outer...
glb/cad_821d869af0da.glb
Create a 3D model of a curved, organic-looking spine or tendril. The main body is formed by a series of connected segments following a Bezier curve. Each segment is a low-resolution prism with 10 facets, creating a faceted, crystalline appearance rather than a smooth cylinder. The thickness of the spine varies along i...
seed = 1789; part = 0; controlpoints=5; thickest=15; detail = 0.02; fn = 10; rad=5; tang=2; v = [ for(i = [0: controlpoints])[rands(0, 100*sign(i), 1)[0], rands(0, 100*sign(i), 1)[0], rands(0, 100*sign(i), 1)[0], rands(1, thickest, 1)[0]] ]; module yourmodule(i){ for (j=[0:360/rad:360]){ rotate([...
glb/cad_cbeb131b90a6.glb
This OpenSCAD code defines a complex, stylized 3D relief titled **"Energy Mural."** It represents a conceptual industrial or energy-generation system, combining various mechanical components into a single artistic composition. ### High-Level Overview The script creates a large rectangular panel (the "frame") upon whic...
length = 200; thickness = 10; relief = 0.5; crop_to_frame = "no"; fudge = 0.1; module poly_heat_exchanger(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-2457.992246,-16.613580],[-2458.273496,43.386420],[-1614.490296,47.339550],[-1614.419996,47....
glb/cad_fb50a9189947.glb
Create a card holder and lid set for cards measuring 41mm x 63mm with a stack height of 6mm. For the holder body, create a rectangular shell with outer dimensions of 45mm width, 71.4mm length, and 6.5mm height. Hollow out the center to create a card space of 43mm x 65mm, leaving a bottom wall thickness of 1.4mm. On t...
numberOfHolders = 1; numberOfLids = 1; cardY = 63; cardX = 41; cardStackZ = 6; fudgeFactor = 0.5; longWallStrength = 1.4; shortWallStrength = 1.2; bottomWallStrength = 1.4; lowerLockY = 1.2; lowerLockZ = 1.7; upperLockY = 3.5; upperLockZ = 1.2; keyRailZLid = 1.0; keyRailZBody = 1.0; stopBitStrength = 1.2...
glb/cad_112b6167f71f.glb
Create a bristle layer for a bottle brush. Start by creating a central cylindrical ring with an inner radius of 4mm, an outer radius of 5.6mm, and a height of 2mm. Radiating from this central ring, add 40 rectangular bristles. Each bristle should have a width of 0.8mm and a thickness (height) of 0.3mm. The bristles e...
print=0; staggers=2; stag_num=1; b_number=40; brush_od=25; center_support=5.6; center_hole=4; center_key=0; center_key_depth=0.6; post_z=16; post_mount_hole=2.2; tol=0.2; b_width=0.8; b_height=0.3; b_space_z=2; b_rize=0.0; post_tip_z=0.7; post_tip_shrink=0.7; key_rot=(360/b_number)/staggers; handle=0...
glb/cad_1cf011cbb4f3.glb
Create a spool holder consisting of three flat components, each with a thickness of 6.5mm. First, create a spindle profile based on a 34mm width (38mm spool hole minus 4mm clearance) and an 80mm height. This profile includes a semi-circle with a 34mm diameter at the top, a 34mm by 80mm rectangle for the main body, an...
part = "all"; spool_hole_diameter_mm = 38; spool_height_mm = 80; spool_clearance_mm = 2; fit_tolerance_mm = 0.1; mount_inner_diameter_mm = 14; mount_outer_diameter_mm = 24; wood_thickness_mm = 6.5; base_overhang_mm = 30; lower_notch_depth_mm = 55; lip_mm ...
glb/cad_e6948527e147.glb
Create a BladeKey key organizer. Start with a base consisting of two parallel side walls, each 3mm thick and 6.5mm high, separated by a central gap 20mm wide. The total length of the device is 68mm. The main body is formed by these walls and a bottom floor. The front section is rounded with a radius of 13mm. In the ce...
include <roundCornersCube.scad> include <__Keys/kw1.scad> WIDTH = 20; LENGTH = 68; THICK = 3; body_height = 13; body_keyhead_length = 27; body_keyblade_length = LENGTH - body_keyhead_length; body_rounding_radius = body_height / 3; logo_dxf_width = 20; logo_dxf_height = 5; logo_dxf_thick = 0.75; ziptie_head_...
glb/cad_35682ec556d3.glb
Create a Wheel Center Cover consisting of a circular base and a raised outer rim with cutouts. Start by creating a solid cylinder for the cap with a radius of 27.25mm and a height of 7mm. On top of this, add a taller concentric cylinder with a radius of 25.55mm and a height of 17.2mm. To create the hollow interior, rem...
Cap_Radius = 27.25; Cap_Height = 7; Throat_Radius = 25.55; Grip_Height = 17.2; Thickness = 6; center_radius = Cap_Radius - Thickness; notch_offset = 3.5; notch_height = Grip_Height - notch_offset - Cap_Height; Notch_Bevel_Height = 1.6; Cut_Width = 22; $fn=64; difference() { union() { color("red") cap();...
glb/cad_e586c9f40a0f.glb
Create a cup adapter consisting of three stacked sections. Start with a base cylinder that has a height of 53mm, a bottom diameter of 67.5mm, and a top diameter of 75mm. Hollow out this base by removing a central cylinder with a height of 50mm and diameters ranging from 61.5mm at the bottom to 69mm at the top, leaving ...
use <Writescad/Write.scad> cup_text = "Tea"; holder_diameter = 75; expanded_diameter = 103.5; base_height = 53; wall_thickness = 3; include_cup_handle_slit = true; slit_width = 18; slit_distance_from_base = 0; shim_height = 10; translate([0,0,0]) difference() { cylinder(d1=holder_diameter*0.9,d2=holder_di...
glb/cad_44f9d56f16cb.glb
Create a magnetic name sign consisting of a main plaque and a supporting stand. Construct the plaque as a rounded rectangular slab 113mm long, 35mm wide, and 2mm thick, with rounded corners defined by a 5mm radius. On the face of this plaque, engrave two lines of text: "3D Print Training" on the top line and "10:00 Thi...
text_line_1="3D Print Training"; text_line_2="10:00 This Friday"; sign_length=113; stand_angle=60; radius=5; $fn=10; rotate([stand_angle,0,0]) { sign(line1=text_line_1, line2=text_line_2); stand(); } module sign(line1="Line1", line2="Line2") { difference() { translate([-4,-6,-radius]) mi...
glb/cad_dc78b1ef32e9.glb
Create a 3D model of an E3D Cyclops hotend assembly. Start with a main body block that is a chamfered cube measuring 30mm x 18mm x 30mm. Positioned at [-15, -22, 0], add a fan frame as a chamfered cube of 30mm x 9.5mm x 30mm. Within this fan frame, create a central cylindrical hole with a diameter of 28mm and a height ...
resolution = 0.5; detaillevel = 1; withfan = 1; print_part(); module print_part() { e3d(); } module e3d() { chimera_and_cyclops_body(); translate([0,0,-3.1]) rotate([180,0,0]) cyclops_heater(rotate=180); } module chimera_and_cyclops_body() { if (withfan==1) translate([-15,-12-10,0]) difference() { ch...
glb/cad_ccc2cb5c11d4.glb
Create a protective electronics enclosure called "mlvm" with external dimensions of 110mm length, 90mm width, and 30mm height. The walls should have a thickness of 2mm with rounded corners using a 2mm fillet radius. Construct the main body as a hollow shell. The bottom section is a rounded box with a 2mm wall thicknes...
Length = 110; Width = 90; Height = 30; Thick = 2; PCBFeet = 0; Vent = 0; Vent_width = 1.5; txt = "HeartyGFX"; TxtSize = 3; Police ="Arial Black"; Filet = 2; Resolution = 50; m = 0.9; PCBPos...
glb/cad_b7b62e786dc4.glb
Create an antenna holder consisting of a flat rectangular base with two angled tubes. Start with a rounded rectangular base measuring 16mm in width, 32mm in length, and 1.2mm in thickness, with corner radii of 3mm. Position two cylindrical tubes on the base, each with an outer diameter of 3mm and an inner bore of 1.8...
$fn = 40*1; antennaLength = 20; antennaOuter = 3; antennaInner = 1.8; baseThickness = 1.2; width=16; difference() { union() { roundedCube(width, 32, baseThickness, 3); translate([0, 0, -5]) union() { translate([0,-8,3]){ rotate([45, 0, 0]){...
glb/cad_af296d62590b.glb
Create a magnetic name sign by starting with a rectangular base that is 32mm long, 17mm wide, and 8mm thick (calculated as a 2mm thick slab with a 3mm rounding radius on all edges). Center a cylindrical hole through the thickness of the plate to accommodate a magnet with a radius of 5.2mm and a depth of 5.15mm; this ho...
text="Liva"; sign_length=32; text_x=3; text_y=3; sign_width=17; sign_thickness=2; radius=3; magnet_radius=5.2; magnet_thickness=5.15; $fn=10; sign(line1=text); module sign(line1="Line1") { difference() { translate([0,0,-radius]) minkowski() { cube([sign_length,sign_width,sign_thick...
glb/cad_10385f8c019e.glb
Create a 3D terrain tile named "mlvm" based on a marching cubes algorithm. The model should be a square block with a flat base and a top surface defined by a complex, organic isosurface. Generate the top geometry using a combination of three octaves of noise (at scales of half, one, and four) combined with a Z-axis g...
randseed=3798753; Resolution =1; tileX=0; tileY=0; MinSubdivisions=3; Threshold = 0.40; tilesize=16; octavebalance=[40,150,280]; Zcutoff=5; Zfalloff=0.1909; Zoffset=3; Diagnostic=false; colorseed=rands(0, 49709639, 1)[0]; DrawMetaballs( Threshold,tileX*f2(tilesize),tileY*f2(tilesize),-1,tilesize); module ...
glb/cad_316591c91e64.glb
Create a cufflink with a twist-latch mechanism consisting of two separate parts: a decorative top and a base. For the base, create a cylinder with a radius of 5.65mm and a height of 4mm. Remove a central vertical hole with a radius of 2.15mm. Cut a rectangular notch 4mm wide and 4.2mm long through the center of the cy...
showtop=true; showstem=true; showbottom=true; toptext="A.S"; side1text="A.S"; side2text="A.S"; bottomheight = 4; bottomradius=5.65; stemlength=12; stemradius=2; holeradius =stemradius+0.15; topx=7.5; toplengthy=20; notchlength = 4; topz=7.5; textdepth=2.5; distancebetweenparts=15; $fn=100; module bott...
glb/cad_99c1ada75dec.glb
Create a Pepper Mill Inner Saucer consisting of a circular base and a concentric cylindrical wall. Start with a solid circular base 67mm in diameter and 2mm thick. Centered on this base, add a cylindrical wall with an outer diameter of 44mm and a height of 15mm. This wall is a hollow tube with a wall thickness of 2mm, ...
use <write/Write.scad> millOuterDiameter = 55; millInnerDiameter = 45; $fn = 60; wallThickness = 2; bottomThickness = 2; innerWallHeight = 15; edgesCut = 0.4; saucerOuterDiameter = millOuterDiameter + 12; wallOuterDiameter = millInnerDiameter - 1; wallInnerDiameter = wallOuterDiameter - wallThickness; labelI...
glb/cad_76dd1bc4e4b5.glb
Create a finger guide consisting of a main rectangular plate and two side rails. The main plate is 100mm long, 80mm wide, and 3mm thick. Along the two 100mm edges, attach two side rails that are each 100mm long, 5mm wide, and 20mm high. On the main plate, create a grid of 20 circular holes, arranged in 5 rows and 4 c...
longueur_gd = 100; largeur_gd = 80; epaisseur_gd = 3; nb_ligne_trous = 5; nb_colonne_trous = 4; hauteur_bl = 20; largeur_bl = 5; distance_trou_bl = 0; distance_trou_bs = 5; diametre_trous = 15; d_entre_trous = 18; $fn = 20; cube (size = [longueur_gd, largeur_bl, hauteur_bl], center = false); translate([0,l...
glb/cad_611af2da8762.glb
Create a RepRapDiscount LCD box mount for a Kossel Mini. Start with a main body block measuring 158mm in length, 3mm in thickness, and 43.75mm in width. Integrate a panel LCD box into the structure, rotated 19 degrees. Remove a large rectangular section from the top (starting at Z=45mm), the bottom, and the back to c...
Extrusion_Size=15; Fixation_Thickness=3; Fixation_Width=15; epsilon = 0.05; 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 fixation() { difference() { hull() { cube([Fixation_Width,Extrusion_Siz...
glb/cad_c6a3beffa14f.glb
Create a parametric electronics enclosure called "mlvm" with a length of 80mm, width of 60mm, and height of 30mm. The main body consists of a bottom shell and a top shell, both with a wall thickness of 2mm and rounded corners with a 2mm radius. The bottom shell is a hollowed-out rounded box. The interior is carved out...
Length = 80; Width = 60; Height = 30; Thick = 2; PCBFeet = 0; Vent = 0; Vent_width = 1.5; txt = "HeartyGFX"; TxtSize = 4; Police ="Arial Black"; Filet = 2; Resolution = 50; m = 0.9; PCBPosX...
glb/cad_a2765d29a38e.glb
Create a fan duct for a 3D printer hotend. Start with a base structure that includes a conical section transitioning from an external diameter of 57mm to a medium diameter of 50mm, with a height of 9mm. The interior should be hollowed out with a small internal diameter of 32mm and a larger internal diameter of 40mm. A...
trx=17; try=45; h2=45; h2t=6; d1=57; d2=50; d3=32; d4=40; h1=9; fn=64; w=55; belt=10; xfan=20.5; yfan=15.5; e3=0.5; spacing=19; dhole1=3.5; dhole2=3.5; nut=5.6; xh1=47; yh1=7; xh2=5; yh2=45; e1=1.5; e2=3; e4=3; oh=30; difference(){ union(){ cylinder(d=d1, h=h1, $fn=fn); translate...
glb/cad_4d688ab451cf.glb
Create a fan guard with a square footprint of 60mm by 60mm. The main body is a thin plate with a thickness of 1mm, featuring a large central circular cutout with a radius of 29mm to create a solid outer border of 1mm. Within this circular area, create a hexagonal mesh pattern where each hexagonal cell has a diameter ...
fan_side_length=60; mount_hole_width=50; mount_hole_d=4; outer_pin_diameter=6; pin_height=6; mesh_kind="hex"; mesh_holes_d=5; mesh_thickness=1; mesh_clearance=1; mesh_density_ratio= 98; solid_outer_border=1; outer_roundness=50; mesh_offset= 68; tol=0.1+0; $fa=1+0; $fs=0.33+0; dholes= mesh_holes_d; marg...
glb/cad_cd25a1f9ab01.glb
Create a bracket for a 12mm micro motor with a metal gearbox. The main body is a rectangular housing with an overall length of 12mm. Construct the side walls as two parallel vertical plates, each 3mm thick, separated by a central gap. At the top and bottom of these walls, place two cylindrical pillars with a radius of ...
lenght=12; nuts=4.4; $fn=30; module inside(){ difference(){ union(){ translate([10,0,4]) rotate([0,90,0]) minkowski(){ cube([6,6.5,30], center=true); cylinder(r=3); } } } } module plate(){ difference(){ union(){ ...
glb/cad_64eedb854527.glb
Create a 15mm cube with rounded corners, where the rounding radius is 1.875mm. On each of the six faces, create circular indentations (holes) to represent the pips of a standard six-sided die. For the face with one pip, place a single hole with a diameter of 4mm and a depth of 3mm in the center. For the face with two...
size=15; angles=3; artefact=0.05; module dice_empty() { minkowski() { internal_size=(8-angles)*size/8; external_size=angles*size/8; cube([internal_size,internal_size,internal_size]); translate([external_size/2,external_size/2,external_size/2]) sphere(d=external_size,$fn=100);...
glb/cad_ef7c3b7e577e.glb
Create a NEMA 23 motor mount designed to be subtracted from a base. The overall height of the mounting features is 10mm. At the center, create a cylindrical shaft hole with a radius of 3.175mm (6.35mm diameter). Surrounding this, create a larger concentric pilot indentation with a radius of 19.05mm (38.1mm diameter). ...
NEMA_Size = 23; shaft = -1; pilot = -1; height = 10; nut_size = 4; nut_height =3; adjust = 5; Show_Base = 0; difference() { if (Show_Base==1) translate([-NEMA_Size*2,-NEMA_Size*2,0]) cube([NEMA_Size*4,NEMA_Size*4,height-.01]); NEMA_Mount (NEMA_Size, shaft, pilot, height, nut_size, nut_height, adjust); ...
glb/cad_a3bff2a53468.glb
Create a template for round corners consisting of a square base with a side length of 50mm and a height of 10mm. Hollow out the center of the square by removing a smaller square of 50mm side length, offset from the outer edges by a wall thickness of 2.14mm. At one corner, create a rounded outer edge with a radius of ...
use <write/Write.scad> Corner_radius=25; Inscription="25 mm"; Inscription_font="write/Letters.dxf"; Height_of_the_walls=10; Wall_thickness=2.14; R=Corner_radius; t=Wall_thickness; h=Height_of_the_walls; txt=Inscription; $fn=120; module round_edge_cut(){ intersection(){ difference(){ cylinder(r...
glb/cad_ee4e88b36912.glb
Create a 3D model of an egg-shaped object, 60mm in length, designed as a puzzle split into two identical interlocking halves. First, generate the base egg geometry using a hen-egg profile (where the curvature is slightly asymmetrical along the long axis). Divide the egg into two equal sections by cutting it across it...
Quality=1; AxleSliceCount=2; Shape="sin"; Cutter="radial"; Cycles=3; Amp=2; RotarySliceCount=2; Samples=Quality*10*Cycles; egg_length=60; egg_shape=7; tiny=0.001; space=2; moduleMode=false; allTrigon=true; ucount=30*Quality; vcount=15*Quality; function ud(ui) = ui*360/ucount; function vd(vi) = vi*180/v...
glb/cad_c580e35811cd.glb
Create a card holder and lid set designed to store a stack of cards measuring 41mm x 63mm with a stack height of 6mm. The holder body is a rectangular box with outer dimensions of 43mm width, 68.4mm length, and 6.5mm height. The interior cavity for the cards is 42mm x 64mm, with a bottom wall thickness of 1.2mm. On o...
use <write/Write.scad> numberOfHolders = 1; numberOfLids = 1; cardY = 63; cardX = 41; cardStackZ = 6; fudgeFactor = 0.5; longWallStrength = 1.4; shortWallStrength = 1.2; bottomWallStrength = 1.4; lowerLockY = 1.2; lowerLockZ = 1.7; upperLockY = 3.5; upperLockZ = 1.2; keyRailZLid = 1.0; keyRailZBody = 1.0...
glb/cad_75054dfa5c97.glb
Create a telescope-model consisting of a central rectangular body with specialized end fittings. Start by creating a central rectangular block that is 10mm wide, 60mm long, and 20mm high, centered at the origin. At each end of this central block, construct a complex fitting. Each fitting begins with a base rectangu...
module rod(r=8, $fn=100) { rotate([0, 90, 0]) { cylinder(r=4, h=500, center=true); } } module stopper(r=8, $fn=100) { difference(){ union(){ translate([0, 0, 11]) { cube(size=[10, 8, 12], center=true); } rotate([0, 90, 0]) { ...
glb/cad_a8de8fa984c3.glb
Create a light mount plate with a rectangular base measuring 110mm in width and 140mm in height. The plate has a variable thickness, sloping from 2mm at the bottom to 28.42mm at the top. Centered within the plate, create a circular hole with a diameter of 40mm to allow for wiring. Subtract two sets of slotted screw ri...
$fn = 64; thickness_angle = 1.1 * 25.4; thickness = 2; width = 110; height = 140; hole_diameter = 40; box_screw_ring_d = 60; box_screw_d = 4; light_screw_ring_d = 80; light_screw_d = 4; ring_offset = 5; mount_points = [ [ 0, 0, 0 ], [ width, 0, 0 ], [ width, height, 0 ], [ 0, height, 0 ], ...
glb/cad_1ba37294b9ba.glb
Create a wrist-flashlight cover by starting with a solid cylinder that has a radius of 26.01mm and a height of 4mm. From the center of this base, remove a smaller concentric cylindrical volume to create a hole. This interior hole must have a radius of 25mm and a total height of 7.5mm, positioned so that it starts 1mm a...
base_radius = 26.01; base_height = 4; lilypad_hole_radius = 25; lilypad_hole_heigth = 7.5; lilypad_hole_offset_z = 1; difference(){ cylinder(base_height, base_radius, base_radius); translate([0, 0,lilypad_hole_offset_z]){ cylinder(lilypad_hole_heigth, lilypad_hole_radius, lilypad_hole_radius); } }
glb/cad_f0b05d8aed14.glb
Create a wrist-flashlight base by starting with a main cylinder 54mm in diameter and 8mm high. Remove a concentric cylindrical core from the top with a diameter of 52mm and a depth of 7mm, leaving a 1mm thick floor. Within this recessed area, create a circular cutout with a 5mm diameter and 1mm depth for a magnet, cent...
base_radius = 27; base_height = 8; lilypad_radius = 26; lilypad_heigth = 7; lilypad_offset_z = 1.7; lilypad_usb_radius = 5; lilypad_peg_radius = 1.2; lilypad_peg_height = 4.2; lilypad_peg_circumference = 41.7; rgb_pad_radius = 12; rgb_pad_offset = 11.5; rgb_pad_height = 4; resolution = 9; magnet_diameter = 5.05; mag...
glb/cad_0ba6a8de86cb.glb
Create a cambadge-case designed to hold a badge and battery. The main body is a hollowed-out rectangular shell with a total width of 120.5mm and a height of 60mm. Construct the outer walls by creating a profile that blends a central rectangular section (18.5mm wide and 7mm thick) with rounded ends. The walls should b...
w = 120.5; bat = 18.5; batheight = 20; board = 7; height = 60; flashbox = [25, 12]; supportgap = .3; $fs = .2; $fa = 2; translate([0, -3, 0]) rotate([180, 0, 0]) union() { mirror([0, 0, 1]) linear_extrude(.5) intersection() { profile(); translate([w/2 - 22, -10, 0]) difference() { translate([-3, 0, 0]) square...
glb/cad_e5fd21c6eb41.glb
Create a rocketry nose cone and coupler set. First, construct the nose cone by creating a cylinder with a radius of 25.5mm and a height of 20mm to serve as the shoulder. Atop this shoulder, place a hemispherical cap that transitions from the 25.5mm radius base to a point over a length of 100mm. Separately, create a cy...
nose_length=100; shoulder_length=20; coupler_radius=51/2; body_ext_radius=54/2; coupler_length=50; $fn = 100; union(){ difference() { cylinder(h=shoulder_length, r1=coupler_radius, r2=coupler_radius); } translate ([0,0,shoulder_length]) scale([1,1,nose_length/body_ext_radius]) difference() { sphere(r=bo...
glb/cad_792b57335ed4.glb
Create a rocketry transition piece consisting of three stacked coaxial sections. Start by creating a base cylinder with a diameter of 13.4mm and a height of 8.5mm. Directly on top of this base, add a conical transition section that is 15mm tall, tapering from a bottom diameter of 14.2mm to a top diameter of 19.5mm. Fin...
shoulder1_diameter = 13.4; shoulder1_length = 8.5; transition_diameter_1 = 14.2; transition_length = 15; transition_diameter_2 = 19.5; shoulder2_diameter = 18; shoulder2_length = 2; $fn=200; union(){ translate([0,0,shoulder1_length/2])cylinder(shoulder1_length,shoulder1_diameter/2,shoulder1_diameter/2,center=true); tr...
glb/cad_22e5b0b0bcbf.glb
Create a TriForce symbol composed of three identical 3D triangular prisms. Each prism must have an equilateral triangular base with a side length of 30mm and a thickness of 3.46mm. The prisms are arranged such that two are placed side-by-side on a bottom row, and one is centered above them. Specifically, position the f...
l=30; x=2; assert(l > 0); assert(x > 0); assert(x <= l/2); h=x*sqrt(3); y=l/2*sqrt(3); TriPoints = [ [ 0, 0, 0 ], [ l, 0, 0 ], [l/2, y, 0 ], [ x, h/2, h ], [l-x, h/2, h ], [l/2, y-h/2, h ]]; TriFaces = [ [ 0, 1, 2 ], [ 3, 4, 1, 0 ], [ 5, 4, 3 ], [ 4, 5, 2, 1 ], [ 5, 3,...
glb/cad_6c3d43a3725b.glb
Create a 3D PCB enclosure consisting of a bottom shell, a top shell, and a front panel. The bottom shell is a rounded rectangular box with external dimensions of 73mm length, 41mm width, and 40.5mm height. The walls are 2mm thick with 2.1mm rounded corners. The interior is hollowed out to create a shell, leaving a 1m...
Length = 73; Width = 41; Height = 40.5; Thick = 2; Filet = 2.1; Resolution = 50; m = 1; Vent = 1; Vent_width = 1.5; PCBPosX = -1; PCBPosY = -3; PCBLength = 49; PCBWidth = 23; FootHeight = 9.5;...
glb/cad_8891fbef9a9c.glb
Create a protective housing for a PCB and screen assembly. The main body is a hollowed shell with a wall thickness of 2mm. The outer profile is based on a side silhouette that transitions from a flat base to a sloped roof at a 45-degree angle, with a total front width of 150mm (144mm PCB width plus 3mm offsets on each ...
include <../dopOpenScadHelpers.scad> d=2; showTopNotBottom = true; $fn=40; holeOffset=3; xPCB=144+2*holeOffset; yPCB=48+2*holeOffset; heightScreenFromPCB=14; xFront=2*d+xPCB; yFront=2*d+yPCB+9; alpha=45; module board() { xScreen=76; yScreen=26; dPCB=2; translate([0,0,-dPCB])cube([xPCB,yPCB,dPCB])...
glb/cad_217349167d61.glb
Create a holder for a mill tube by constructing a curved wall and a central cylindrical sleeve. First, create a hollowed-out curved segment with a height of 80mm and a wall thickness of 2mm. This segment is derived from a cylinder with an outer diameter of 240mm and an inner diameter of 236mm, but it is only a partial ...
d = 2; dB = 300-2*30; dMOut = 47; h = 80; extraSpace = 15; echo(diameter_inner_ring=dB); echo(outside_diameter_tube=dMOut); echo(height_plexy=h); dM = dMOut +2*d; alpha = acos((dB/2-dM)/(dB/2)); PI = 3.142; extraAngle = extraSpace / (PI*dB) * 360; module segment(offset=0) { difference() { cylinder(d=...
glb/cad_29ff34053345.glb
Create a Bosch Battery Ground Plate adapter for a Makita LXT battery. Start with a base plate 131mm long and 76mm wide. The front end is a semi-circle with a diameter of 76mm, and the back is rounded with a radius of 58mm, constrained within the 131x76mm footprint. The plate has a total thickness of 4mm. On this base,...
dim = [131, 76]; module boschBatteryGroundPlate() { module groundPlate() { intersection() { square(dim); hull() { translate([dim[1]/2,dim[1]/2])circle(d=dim[1], $fn=90); translate([dim[0]-16, dim[1]-10/2])circle(d=10); translate([di...
glb/cad_0ef7a9f266cf.glb
Create a housing for a power supply and PCB. Start by constructing a main rectangular block with overall dimensions of 211mm in width, 151mm in depth, and 85mm in height. Hollow out the center of this block to create a shell with a wall thickness of 4mm. On the front face of the housing, create a large circular cutout...
d = 2; zPcb = 47; $fn=20; module pcbController() { xPcb = 70 - 5; yPcb = 151; zCableOutlet = zPcb - 5; cube([xPcb, yPcb, zPcb]); dCable = 4; translate([0,-10,zCableOutlet-dCable/2])cube([xPcb,10,dCable]); echo("FIXME: correct positions of the pcb holes"); for (x=[10,55]) { fo...
glb/cad_d8354c27ece9.glb
Create a button for an ESP-Soundbox-Case. Start by creating a base shape using a hull of four cylinders, each with a diameter of 3mm and a height of 8mm, positioned at the corners of an 8mm by 8mm square (at coordinates x=±4, y=±4). To this base, add two rectangular prisms, each measuring 13mm by 6mm by 2mm and 6mm b...
res = 32; module button() { union() { hull() { for(x=[-1, 1]) { for(y=[-1, 1]) { translate([4*x, 4*y, 0]) cylinder(d=3, h=8, $fn=res); } } } translate([0, 0, 1]) cube([13, 6, 2], center=true); translate([0, ...
glb/cad_b181f167445b.glb
Create a rectangular base measuring 50mm by 35mm with a thickness of 2mm, ensuring all edges and corners are rounded with a 2mm radius. Centered along the 50mm length, attach a cylinder with a radius of 1mm and a height of 40mm, extending perpendicularly from the base. At the end of this cylinder, add a small conical t...
union(){ minkowski() { cube([50, 35, 2]); sphere(2); } translate([25,0,0]){ rotate([90, 0, 0]) { translate([0,1,0]){ cylinder(r=1, h=40); } } } translate([25, 0, 0]) { rotate([90, 0, 0]) { translate([0, 1, 4...
glb/cad_780e5f667e8f.glb
Create a door model consisting of two layers of parallel boards. The first layer consists of four outer boards, each 213.36mm long, 26.67mm wide, and 3.81mm thick, arranged side-by-side with a 0.2mm gap between them. Positioned 0.2mm above these is a second layer of three inner boards, each 213.36mm long, 35.56mm wide,...
use <common/board.scad> DOOR_HEIGHT = 213.36; DOOR_WIDTH = 106.68; LOCK_ENGAGED_DIST = 5.08; VISUAL_SEP_DIST = 0.2; BAR_THICKNESS = 1.27; HORIZ_LOCK_GEAR_RADIUS = 6; OUTSIDE_BOARD_COUNT = 4; OUTSIDE_BOARD_LENGTH = DOOR_HEIGHT; OUTSIDE_BOARD_WIDTH = 26.67; OUTSIDE_BOARD_THICKNESS = 3.81; INSIDE_BOARD_COUNT = 3; INSI...
glb/cad_ccdc769dc392.glb
Create a clock model by starting with a main rectangular block that is 14mm long, 14mm wide, and 5mm thick. From this block, remove a central rectangular cutout measuring 5mm in length, 5mm in width, and 2.5mm in thickness. Additionally, create 12 identical circular holes arranged in a ring around the center. Each hole...
use <common/common_functions.scad> VISUAL_OVERRUN = get_visual_overrun(); MAIN_BLOCK_LENGTH = 14.0; MAIN_BLOCK_WIDTH = 14.0; MAIN_BLOCK_THICKNESS = 5.0; CENTER_CUTOUT_LENGTH = 5.0; CENTER_CUTOUT_WIDTH = 5.0; CENTER_CUTOUT_THICKNESS = MAIN_BLOCK_THICKNESS / 2; SMALL_TUBE_RADIUS = in_to_cm(0.25) / 2; LARGE_TUBE_RADIU...
glb/cad_f21b1dd856aa.glb
Create a hollow cone sitting atop a square base. Start by constructing a square plate with dimensions 10mm by 10mm and a thickness of 0.4mm. In the center of this plate, create a circular hole with a radius of 2.8mm that passes completely through the thickness of the base. Next, create a hollow cone with a base radius...
use <common/common_functions.scad> VISUAL_OVERRUN = get_visual_overrun(); BASE_SIZE = 10.0; BASE_THICKNESS = 0.4; WALL_THICKNESS = 0.4; RATIO = (1 + sqrt(5)) / 2; R = 3.0; B = (2 * R); A = (B * RATIO); H = sqrt(pow(A, 2) + pow(R, 2)); BASE_CUTOUT_R = R - 0.2; module cone() { cylinder( h = H, ...
glb/cad_e96e1667eb91.glb
Create a technical drawing layout featuring four identical rectangular prisms, each with dimensions of 16.59mm in length, 5.000625mm in width, and 5.000625mm in thickness. Position the first prism at the origin. Position the second prism parallel to the first, shifted along the x-axis. Position the third prism by rot...
DOC_SCALING_FACTOR = 4; include <dimlines/dimlines.scad> include <titleblocks/titleblock1.scad> PART_DETAILS = [ "Ex Part", "Beli (wood)", "Planed", " ", "1"]; PART_REVISIONS = [ ["0.1", "01 JAN 18", "jl"]]; DOC_DETAILS = [ "1-1", "Lambo", " ",...
glb/cad_888261509d85.glb
Create a vertical hole test model consisting of two identical rectangular blocks, each measuring 105mm in length, 17mm in height, and 5mm in depth. Position the two blocks parallel to each other with a 20mm gap between them. In each block, create a series of 12 circular holes aligned horizontally. The holes should in...
use <../src/vertical_hole.scad> model_length = 105; model_height = 17; model_depth = 5; hole_num = 12; holes_spacing = 2; hole_depth = model_depth*3; layer_height = 0.2; difference () { translate([0,0,0]) cube([model_length,model_depth,model_height]); for(i=[1 : 1 : hole_num]) { r = i/2; echo(...
glb/cad_46deaa5a18d6.glb
Create a 3D model of a Nema17 stepper motor mount. Start by constructing a main body that is a cube 42.2mm wide, 42.2mm deep, and 46.95mm high. At the top and bottom of this cube, center a cylindrical rim with a diameter of 53.85mm and a height of 8mm. On the top surface, add a raised central cylinder with a diameter o...
module Nema17() { holeDistance = 31; width = 42.2; height = 46.95; diagonal = 53.85; raisedCylinderDiameter = 22; raisedCylinderHeight = 2.16; screwHoleDepth = 2.65; screwHoleDiameter = 6.15; screwDiameter = 3; diameter = 5; fullHeight = 70.82; rimHeight = 8; color("...
glb/cad_5e1e651ee645.glb