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.

qMatching with tolerance?

Evan_ReeseEvan_Reese Member Posts: 537 PRO
qMatching is a really powerful tool, but I'm wondering if there's some way to find matches that are within some tolerance. For example, if I have a pocket with draft, the top edges will be longer than the bottom edges, but only slightly. I'd like to be able to pick up both.

tolerantEquals looks promising, but not sure if it works for splines. I guess I could measure the length of the spline and filter out other curve types to get something that's usually right. I'm not good enough at Featurescript to actually do that yet though. Any guidance on a general direction?

For context, I'm working on a Smart Fillet feature that is inspired by the "create selection" dialogue. I have ideas for some other fun queries too. As with my other custom features, the projects is as much for the learning as for the results, so beginner-level explanations are encouraged. I expect to have a number of questions as I make progress on this.
Evan Reese / Principal and Industrial Designer with Fractal
Website: fractalmade.com
Instagram: @evan.reese.designs
Sign In or Register to comment.