Request: Add variant of process_model
that accepts Args
rather than parsing them
#2307
Labels
good first issue
Good for newcomers
type: feature
New features and improvements to existing features
Fornjot already provides a
process_model
helper that accepts a "standard" set of arguments for exporting or viewing.I want to make an app that uses arguments to configure/parameterize a model. But
process_model
callsparse
directly so I can't extend the arguments with my own.With an API like
fn process_model_with_args<M>(fj: &mut fj::Instance, model: &M, args: fj::Args) -> fj::Result
this would be straightforward.For example:
The user can invoke this like:
The text was updated successfully, but these errors were encountered: