1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-09-25 22:09:12 +02:00
Files
dotSCAD/docs/lib-along_with.md
2017-04-23 11:16:34 +08:00

856 B

along_with

Puts children along the given path. If there's only one child, it will put the child for each point.

Parameters

  • points : The points along the path.

Examples

include <along_with.scad>;
include <circle_path.scad>;

$fn = 24;

points = circle_path(radius = 50);

along_with(points) 
    sphere(5, center = true);

along_with

include <along_with.scad>;
include <circle_path.scad>;

$fn = 24;

points = circle_path(radius = 50);

along_with(points) {
    linear_extrude(10) text("A", valign = "center", halign = "center");
    linear_extrude(5) circle(2);
    sphere(1);
    cube(5);
    linear_extrude(10) text("A", valign = "center", halign = "center");
    linear_extrude(5) circle(2);
    sphere(1);
    cube(5);        
}

along_with