pavol
(Pavol)
November 16, 2020, 9:25am
4
We usually recommend to use boolean toggles in Grasshopper that prevent the computation of any logic that is not necessary for visualization. You can then hook any user action on your website (for example a purchase button) to a function that will first enable the boolean toggle and, once enabled, trigger the export. Something like this:
button.addEventListener("click", function(){
api.parameters.updateAsync({name: "MyBooleanToggle", value: true}).then(function(){
api.exports.req…
Heteroptera has a Stream Freeze/Gate component which you might find useful. Source files to the ribs table are in post below and I recommend to watch the whole webinar series to learn more how to build efficient online 3D applications.
Feel free to discuss and ask questions about this morning’s session!
Download V1 of the ribs table here and Final Version here . You can check the result of the web application here and the source code of how the dragging of the control points work here .
Additionally, this is the model we used during today’s webinar session ThirdDay_Notes.gh (3.0 MB) and you can find the live web apps we checked today here:
Supported Native Inputs: https://codepen.io/ShapeDiver/live/f86eb55df6f456786b06fbbfd…