gumyr / build123d

A python CAD programming library
Apache License 2.0
386 stars 72 forks source link

extrude does not check type of `until` parameter #576

Open jdegenstein opened 4 months ago

jdegenstein commented 4 months ago

Currently it is possible to pass e.g. a face to extrude(until=someface... rather than the intended use of only the Until enum

gumyr commented 4 months ago

In general there is little verification of input parameters - this is just one isolated example. It could be addressed, and it would improve things, but it would be a lot of work to do this for the whole build123d API.