Skip to content

Instantly share code, notes, and snippets.

@pentacular
Created November 24, 2019 14:18
Show Gist options
  • Save pentacular/3ddb114a40ab40029c850028b500d640 to your computer and use it in GitHub Desktop.
Save pentacular/3ddb114a40ab40029c850028b500d640 to your computer and use it in GitHub Desktop.
Ask
assemble(
Circle(await ask('Radius', 10)),
Square(await ask('Size', 12)).moveX(await ask('Radius')),
Triangle(await ask('Hole Radius', 3)).drop())
.extrude(2)
.material(await ask.forString('Material', 'wood', { choices: ['wood', 'steel'] }));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment