1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-13 18:24:28 +02:00

update example

This commit is contained in:
Justin Lin
2021-10-27 15:51:35 +08:00
parent 5b65cc16a7
commit bb2f10043f

View File

@@ -1,17 +1,17 @@
use <../__comm__/__frags.scad>;
use <../sweep.scad>;
// e = 0;
// n = 0;
// use <polyhedra/superellipsoid.scad>;
// $fn = 24;
// for(e = [0:.25:2]) {
// for(n = [0:.25:3])
// translate([e / .25, n / .25] * 3)
// superellipsoid(e, n);
// for(e = [0:.5:4]) {
// for(n = [0:.5:3])
// translate([e / .5, n / .5] * 3)
// superellipsoid(e, n);
// }
module superellipsoid(e, n) {
function _sgn(x) =
x < 0 ? -1 :