How I'm making scripts that scale from fast/rough to slow/production

Figured I’d share the model I’m using to allow for quick visualization and easy scaling up to much slower, more detailed versions and finally the production-ready gcode.

I got tired of manually enabling/disabling groups, and tired of accidentally outputting gcode that was missing surface texture or based on too-few curves in a loft. So, the attached. Key points:

  1. Uses Metahopper and Human to create a list of configurations and lists of groups to enable/disable for each
  2. Uses a series of merges to model more complex configurations as additive to simpler ones
  3. Makes extensive use of Combine, stacking more-complex inputs on top of simpler ones. When the complex versions are disabled, the simple ones flow through

This is usually where I invest a ton of effort and post my “here’s my elaborate solution” and then the more knowledgeable people say “why didn’t you just use [built-in feature]”, so please feel free to honor tradition and educate me about the simpler ways of achieving this goal.

preview-demo.gh (24.5 KB)