3dCustomizer.net
Search:
Browse
|
Create
|
Register
|
Login
3dCustomizer.net: Design custom 3D Models for 3D printing
OpenSCAD Old Examples - 006
Controls:
seconds
OpenSCAD Code
Input Params
Imported Files
Imported files:
Add file(s):
Select
HTML Form
Output Params
CLI Args
fast-csg
fast-csg-trust-corefinement
fast-csg-debug
fast-csg-remesh
fast-csg-remesh-predictibly
roof
input-driver-dbus
lazy-union
vertex-object-renderers
vertex-object-renderers-indexing
vertex-object-renderers-direct
vertex-object-renderers-prealloc
textmetrics
import-function
sort-stl
manifold
debug=all
STL Viewer
Viewer Settings
Buy 3D Print
Save:
|
| Draw:
flat
smooth
wireframe
|
| Opacity:
|
Lock Camera/Position
Rotate Model
Edge Lines
Show X,Y,Z axises
Center Model on X,Y,Z axes
Part Printing Services
Affiliates
3D Part Price
TreatStock
JLC PCB - 3D Printing
Non-affiliates
iMaterialise
Craftcloud
Sculpteo
Printelize
JawsTec
Shapeways
MakeXYZ
$fn=12; module rounded_cube(size,r,center=false) { s = is_list(size) ? size : [size,size,size]; translate(center ? -s/2 : [0,0,0]) hull() { translate([ r, r, r]) sphere(r=r); translate([ r, r,s.z-r]) sphere(r=r); translate([ r,s.y-r, r]) sphere(r=r); translate([ r,s.y-r,s.z-r]) sphere(r=r); translate([s.x-r, r, r]) sphere(r=r); translate([s.x-r, r,s.z-r]) sphere(r=r); translate([s.x-r,s.y-r, r]) sphere(r=r); translate([s.x-r,s.y-r,s.z-r]) sphere(r=r); } } module example006() { difference() { rounded_cube(100, 10, center=true); union() { for (i = [ [ 0, 0, [ [0, 0] ] ], [ 90, 0, [ [-20, -20], [+20, +20] ] ], [ 180, 0, [ [-20, -25], [-20, 0], [-20, +25], [+20, -25], [+20, 0], [+20, +25] ] ], [ 270, 0, [ [0, 0], [-25, -25], [+25, -25], [-25, +25], [+25, +25] ] ], [ 0, 90, [ [-25, -25], [0, 0], [+25, +25] ] ], [ 0, -90, [ [-25, -25], [+25, -25], [-25, +25], [+25, +25] ] ] ]) { rotate(i[0], [0, 0, 1]) rotate(i[1], [1, 0, 0]) translate([0, -50, 0]) for (j = i[2]) { translate([j[0], 0, j[1]]) sphere(10); } } } } } echo(version=version()); example006(); // Written by Clifford Wolf <clifford@clifford.at> and Marius // Kintel <marius@kintel.net> // // To the extent possible under law, the author(s) have dedicated all // copyright and related and neighboring rights to this software to the // public domain worldwide. This software is distributed without any // warranty. // // You should have received a copy of the CC0 Public Domain // Dedication along with this software. // If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
Console
Debugger
3dCustomizer.net © 2025 |
Help
|
About
|
Contact
|
Links
|
Credits
Loaded in: 0.0047 seconds