Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Mate offset wrong JSON

As soon as one adds offset to a mate connection the json api returns wrong values. 

So I have these two simple cases one with offset and one without. (https://cad.onshape.com/documents/de3c0aeb48b0e05db9f190a8/w/dbc292aa4648b95f56c01ab5)

The problem now is when you access them via json then the mate origin gets wrongly calculated: 
On the left the one with no offset and then on the right with an offset of -2mm.  Which should actually be 0.01 + 0.02 = 0.03 and not 0.01 + 2.0. So there seems to be an error. 
json sources: https://cad.onshape.com/api/assemblies/d/de3c0aeb48b0e05db9f190a8/w/dbc292aa4648b95f56c01ab5/e/d1f660d0828845eb02bc5d46?includeMateFeatures=true&includeNonSolids=false&includeMateConnectors=true

Sign In or Register to comment.