Created
April 27, 2025 14:56
Revisions
-
Hermann-SW created this gist
Apr 27, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ "use strict" const jscad = require('@jscad/modeling') const { translate, rotateZ } = jscad.transforms const { cuboid, sphere } = jscad.primitives function main() { return rotateZ(Math.PI/2,[ cuboid({size: [70,10,10]}), translate([0,50,0], cuboid({size: [70,10,10]})), translate([0,100,0], cuboid({size: [70,10,10]})), translate([30,50,0], cuboid({size: [10,110,10]})), ]) } module.exports = { main }