Refactored onshape_parser
Extended test coverage and generalized the logic of onshape_parser.py so that it can work for both validation and documentation.
This is accomplished through the for_docs
flag. By default this flag is true
, so variables will be parsed into human readable strings.
When false
, variables are returned as Pint
quantities.