Skip to content

Instantly share code, notes, and snippets.

@pentacular
Created April 1, 2020 02:25
Show Gist options
  • Save pentacular/162188f7acdd86ed058cfe2222621766 to your computer and use it in GitHub Desktop.
Save pentacular/162188f7acdd86ed058cfe2222621766 to your computer and use it in GitHub Desktop.
Debug #jsxcad
md`# House`
md`## Profile`
const profile =
Union(
Triangle(20).rotate(-30),
Square(20).cut(Square(6, 12)).moveY(-15.5),
)
.topView();
md`## Front`
const wall = profile.extrude(2, 0).topView();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment