eak24 / onshapepy

The OnShape Python package.
MIT License
5 stars 1 forks source link

Develop a part initializer workflow #17

Open eak24 opened 6 years ago

eak24 commented 6 years ago

We need to specify the behavior of an initialized python part in onshape. When I initialize an LFOM, for instance, how should I change the configuration? Should I find the part within an assembly that is passed through the context? We could have a list of acceptable did, wid, eid pairs within a class attribute that the onshapepy code can hunt for when an assembly is passed in through the context. And when no context is passed, perhaps the onshapepy code should copy the part into a new partStudio...