Point Pattern (Request Update)

john_mcclary
john_mcclary Member, Developers Posts: 4,117 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

  • xTimRice
    xTimRice 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_armstrong
    cody_armstrong Moderator, Onshape Employees, Developers, csevp Posts: 229 image
    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_mcclary
    john_mcclary Member, Developers Posts: 4,117 PRO
    And that's why I'm not a professional software developer  ;)