Skip to content

Parametric sketches #77

@whitequark

Description

@whitequark

There should be a way, through the text window, to input a table of parameters. These parameters could then be used in expressions around the sketch, and so the entire sketch could be reconfigured by changing a single parameter value.

There should also be a way to define sets of parameters. E.g. "set A" with a=1, b=10, and "set B" with a=2, b=15. Every set of parameters would define a specific product, with the given dimensions.

For every parameter, there should be the following configuration:

  • name (for use in expressions)
  • description (human-readable)
  • value, or "variable", which lets the solver decide the value
  • "min"/"max", for non-variable parameters, to define valid input range

Depends on #75 (since we need to save this table), and #76 (since if changing parameters would break chirality, it's useless).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions