Open francesco-romano opened 4 years ago
In case you never solved this, you're able to select parts to export from the part studios API via the part_ids kwarg. See: https://github.com/onshape-public/onshape-clients/blob/20843a00c628e516e7219e17a23ec4ef2bf9f16f/python/onshape_client/oas/api/part_studios_api.py#L900
I was trying to export the STL of a single part (as identified by an
element_id
andpart_id
) but while the call exists in API Explorer, it does not exist in the Pythonparts_api
counterpart.There exist a corresponding API in PartStudios, but unfortunately it returns the STL for the whole element, while I need the single components. Is it possible to add this function to the exported APIs?
(The endpoint I am looking for is
/parts/d/:did/[wvm]/:wvm/e/:eid/partid/:partid/stl
)