Irev-Dev / curated-code-cad

A list of the various code-cad projects out there.
https://kurthutten.com/blog/curated-code-cad
MIT License
243 stars 9 forks source link

Add CascadeStudio example #13

Closed Irev-Dev closed 3 years ago

Irev-Dev commented 3 years ago

resolves #11

Want to get feedback CascadeStudio folks before I merge since this it is kinda public example code for CascadeStudio.

See this tweet for what the model looks like https://twitter.com/IrevDev/status/1340984905337982981

zalo commented 3 years ago

Elegant construction!

The only thing I'd add or change is to make the starting parameters into Sliders for easy customization :D

let width      = Slider("Width"      , 120, 100, 200);
let height     = Slider("Height"     ,  85, 100, 100);
let holeR      = Slider("Hole Radius",  28,   1,  30);
let thickness  = Slider("Thickness"  ,   2,   1,  15);
let hookHeight = Slider("Hook Height",  10,   3,  15);
Irev-Dev commented 3 years ago

Yup, I'll add that in :) Thanks @zalo