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: Bounding Cylinder

joshtargojoshtargo Member Posts: 241 EDU

I wanted to make primitive shapes of robot parts to play around with packaging. I found (and wrote) a Bounding Box FS, but there was nothing for Cylinders, and I now understand why. Determining the smallest cylinder that will completely enclose a group of bodies is non-trivial. Hopefully someone else finds this useful.

Link: Bounding Cylinder

Comments

  • EvanReeseEvanReese Member, Mentor Posts: 2,135 ✭✭✭✭✭

    wow yeah I'm not sure how I'd even start to code that. Nice work! I added it to my toolbar. I did play with it a bit and for most things it nails it. There was some odd behavior in a few cases

    Evan Reese
  • joshtargojoshtargo Member Posts: 241 EDU

    Ooh, weird, can you link it so I can dig deeper?

    Thanks for playing around with it.

  • EvanReeseEvanReese Member, Mentor Posts: 2,135 ✭✭✭✭✭

    Thanks for sharing it https://cad.onshape.com/documents/97390ad3b27148a19fa88b97/w/08a37718f659a4c928047de2/e/324740245d6d1ed5e302239e

    Evan Reese
Sign In or Register to comment.