eak24 / onshapepy

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

Onshape python parts #10

Closed eak24 closed 6 years ago

eak24 commented 6 years ago

A key decision is to determine when to contact onshape and update the model of the part and when to just update the local model. I think we should be proactively updating the onshape model to always reflect the state of the part so as to avoid confusion. If that is the case than any change of the part requires a server call furthermore All State changes require a part recalculation in this context a part is more like a function than a class. It is possible that we could store part history in the class and have the class State represent the latest head on that history. That is beyond our scope.

eak24 commented 6 years ago

I want to support two things:

To do it efficiently, I need the following things for the Part class:

And within FeatureScript:

eak24 commented 6 years ago

This has been accomplished.