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.

Point Pattern (Request Update)

john_mcclaryjohn_mcclary Member, Developers Posts: 3,935 PRO
@cody_armstrong
@TimRice

I love the point pattern, but can you add functionality to ignore the seed?
That way we can use an entire sketch for a 'location' without it failing overlapping faces. Rather than independently selecting each point when doing a feature or face pattern
(For when this feature ever become part of the Onshape core toolbox, I hope)

maybe you have a cleaner way of coding it, but this works for me:






Comments

  • xTimRicexTimRice Member Posts: 61 PRO
    That seems to make sense to me! I can probably make the change or if @cody_armstrong wants to.
    Handcrafted furniture in Boston
    https://thesmoothcut.com/
  • cody_armstrongcody_armstrong Moderator, Onshape Employees, Developers, csevp Posts: 215
    edited September 2022
    I think removing the seed from the "locations" variable definition would be faster than nesting an if statement in the for loop. I will try it out...
  • john_mcclaryjohn_mcclary Member, Developers Posts: 3,935 PRO
    And that's why I'm not a professional software developer  ;)
Sign In or Register to comment.