Geometry & Paths
Swept Cable
What this shows
Turn a path into a swept cable, rail, or road section.
Loading scene…Key API excerpt
Key API excerpt
import * as EASEL from "@xsyetopz/easel";
const plate = new EASEL.ExtrudeGeometry(shape, { depth: 0.5, steps: 3 });
const ribbon = new EASEL.TubeGeometry(new EASEL.CatmullRomCurve3(points), 28, 0.16, 8);