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.

New Custom Feature: Center Mate

joshtargojoshtargo Member Posts: 269 EDU
Creates a Mate Connector at the center of an object's bounding box.

https://cad.onshape.com/documents/d57ab129ace0b2436049095c/w/bb8f5d1770f7c22ad70c7906/e/a199adf0f34542c09f8a1678

let me know how I can improve this.

Comments

  • martin_kopplowmartin_kopplow Member Posts: 536 PRO
    Maybe put it at te center of gravity as an option?
  • joshtargojoshtargo Member Posts: 269 EDU
    I think there's a function for that. I'll try! Im Really slow because I'm not a programmer.
  • S1monS1mon Member Posts: 3,044 PRO
    edited January 29
    Adding an option to create mate connectors at the center of a face's bounding box could be pretty interesting. Right now the fact that by default Onshape uses the centroid of the face can be deceptive, or at least frustrating. If you have a rectangular plate with some holes in it, if those holes aren't symmetric around the center, they will influence the centroid in a way that isn't always obvious to the user. I don't have as much use for the object bounding box, but if I could, I would change the default MC to give you the centroid of a face's bounding box.


  • joshtargojoshtargo Member Posts: 269 EDU
    S1mon said:
    Adding an option to create mate connectors at the center of a face's bounding box could be pretty interesting. Right now the fact that by default Onshape uses the centroid of the face can be deceptive, or at least frustrating. If you have a rectangular plate with some holes in it, if those holes aren't symmetric around the center, they will influence the centroid in a way that isn't always obvious to the user. I don't have as much use for the object bounding box, but if I could, I would change the default MC to give you the centroid of a face's bounding box.


    the fact that i am a really bad programmer is making it difficult to change the internal behavior depending on the type of object selected, but I will see what happens.

    do you happen you know how to determine the type of object selected?
Sign In or Register to comment.