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.

Options

Are there better ways to do these configurations?

joshtargojoshtargo Member Posts: 334 EDU

I made a configurable #25 chain sprocket, but then also made a chain that wraps around it so I can check for clearance.
If the sprocket has an odd number of teeth, it uses a half-link. If it's even, it doesn't need the half link, but the only way I figured to automatically hide the half link using IF logic, was to extrude something either 0" or extrude normally. if it extrudes 0", the half link breaks and simply doesn't show up. But I don't like seeing red!

Is there a better way to prevent a part in the tree from being shown or created using an odd-even check on the user input variable for sprocket teeth?

https://cad.onshape.com/documents/e72b6c7b258f55661cf2d0ca/w/64769064665850fe560aa3e3/e/f190f9139c3268a01eadb0f6

image.png

Comments

Sign In or Register to comment.