Allow Meta-Level Parameterization of Export Entries
I have an assembly that can be shown/exported in normal or exploded view depending on whether the exploded parameter is set to True or False. Right now the only way I can see to accommodate this is to add separate assembly and assembly_exploded exports entries to exsource-def.yml, each with the parameter set accordingly. It would be nice if this could be accomodated in the spec. Something like "re-run this model X times with these X sets of parameters."
Maybe this could be as simple as putting the changing parameters in a nested array, leaving non-changing parameters outside of it:
exports:
assembly:
name: assembly
description: >
Entire AUV assembly
output-files:
- ./docs/images/generated/baby_auv_assembly.gltf
source-files:
- ./mech/baby_auv.py
parameters:
- hull_length: 520.0 # mm
-
- exploded: False
- exploded: True
application: cadquery