New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong mass computation of assemblies with standard components #102
Comments
Late to the party, but this error occurs because Onshape's standard content is not considered an Onshape part :( |
Hi together, as i understand that right, this would mean we have always to replace every screw, washer, nut, etc. by hand via the step ex- and import? Since it is part of our business to create simulation models for robotics, this greatly diminishes the use of onshape for us. Can you please verify, if there is a better option available, for example to do the replacement automatically with a sricpt. Best |
Hi Niklas, It might be possible to automate this process with Onshape's Model Translation API I can look into implementing this if you'd like. If so, can you provide me with a simplified model to test on. Finally, on average how many unique standard content parts are used per robot model? Best |
Hi Samid, thanks for you support. Normally it will be around 30 to 150 standard parts. I'll try to create a model to test on this week. Best |
Hi Niklas, Good news. I think I have a working solution. I created a very simple model, so no rush on your part. I'll create a pull request later this week. Best |
Hello, sounds good, Thank you very much. Best, Niklas |
Hey, i got a message from the onshaoe support to that issue: Please have a look on it, it should be fixable:
|
Oh great, this is a much better than the solution I came up with. Will try to implement this instead. Thanks, |
Perfecto, thank you a lot. Let me hear, Then I can test it ;=). Best Niklas |
Hello, Shouldn't
So I think the same problem might arise with non standard content (if documents with non standard contents are linked) |
(For example if I link a document from the community, the same issue might arise with the same possible solution) |
Oh yea, that could be a problem. Should I include this in the #110 pr? I would just modify the |
Hi,
when I create an assembly from own parts and parts coming from onshape's standard component catalogue (e.g. a hex nut), I noticed that the mass computation is not correct. This is because the massProperties (in line 143 of onshape_to_robot.py) show that all standard components have zero mass. The weired thing is that within onshape the masses are set correctly and also the computation of an assembly with standard components is correct. So, is this a bug somewhere in onshape-to-robot or directly in the onshape API?
I appreciate any thoughts, thanks.
The text was updated successfully, but these errors were encountered: