mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-08 02:16:48 +02:00
comment out example
This commit is contained in:
@@ -2998,15 +2998,15 @@ function mb_ring(r1,r2, cutoff=INF, influence=1, negative=false, hide_debug=fals
|
|||||||
// bounding_box = [[-16,-13],[18,13]],
|
// bounding_box = [[-16,-13],[18,13]],
|
||||||
// pixel_size=0.4);
|
// pixel_size=0.4);
|
||||||
// Example(2D,Med,NoAxes: Demonstration of `debug=true` with a variety of metaball shapes. The metaballs themselves are shown as outlines, with the underlying primitive shape shown in blue (for positive metaballs) or orange (for negative metaballs).
|
// Example(2D,Med,NoAxes: Demonstration of `debug=true` with a variety of metaball shapes. The metaballs themselves are shown as outlines, with the underlying primitive shape shown in blue (for positive metaballs) or orange (for negative metaballs).
|
||||||
spec = [
|
// spec = [
|
||||||
IDENT, mb_ring(r1=6, r2=9),
|
// IDENT, mb_ring(r1=6, r2=9),
|
||||||
move([15,0]), mb_circle(3),
|
// move([15,0]), mb_circle(3),
|
||||||
IDENT, mb_connector2d([10,10],[15,15],1),
|
// IDENT, mb_connector2d([10,10],[15,15],1),
|
||||||
move([-12,12])*zrot(45), mb_rect([3,5]),
|
// move([-12,12])*zrot(45), mb_rect([3,5]),
|
||||||
move([-14,-14])*zrot(-45), mb_trapezoid(10,w1=7,w2=2,rounding=0.99),
|
// move([-14,-14])*zrot(-45), mb_trapezoid(10,w1=7,w2=2,rounding=0.99),
|
||||||
move([10,-10]), mb_circle(2, cutoff=10, negative=true)
|
// move([10,-10]), mb_circle(2, cutoff=10, negative=true)
|
||||||
];
|
// ];
|
||||||
metaballs2d(spec, [[-20,-20],[20,17]], pixel_size=0.5, debug=true);
|
// metaballs2d(spec, [[-20,-20],[20,17]], pixel_size=0.5, debug=true);
|
||||||
|
|
||||||
module metaballs2d(spec, bounding_box, pixel_size, pixel_count, isovalue=1, use_centers=false, smoothing=undef, exact_bounds=false, convexity=6, cp="centroid", anchor="origin", spin=0, atype="hull", show_stats=false, show_box=false, debug=false) {
|
module metaballs2d(spec, bounding_box, pixel_size, pixel_count, isovalue=1, use_centers=false, smoothing=undef, exact_bounds=false, convexity=6, cp="centroid", anchor="origin", spin=0, atype="hull", show_stats=false, show_box=false, debug=false) {
|
||||||
regionlist = metaballs2d(spec, bounding_box, pixel_size, pixel_count, isovalue, true, use_centers, smoothing, exact_bounds, show_stats, _debug=debug);
|
regionlist = metaballs2d(spec, bounding_box, pixel_size, pixel_count, isovalue, true, use_centers, smoothing, exact_bounds, show_stats, _debug=debug);
|
||||||
|
Reference in New Issue
Block a user