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.

linear pattern direction

HumqhreyHumqhrey Member Posts: 4

hey guys , i am having some trouble with how my linear pattern is generating in a way i cant understand.

the feature is in early stages, but the point at this stage is to select a 2d face to run a set of rectangular load bars either along an x or y direction .

using a bounding box to get the length of the bars as the shape may not always be rectangular so next stage will be to trim to the sketched face

image.png

image.png

and i believe its only working by accident, as if i choose any shape other than a rectangle the linear pattern then runs in the opposite way outside of the desired shape

image.png

i tried to ensure that direction always went to positive which seems to work as seen in the 1st 2 pics (debugging red and green )

image.png

so i think with my limited abilities in JS knowledge ive got a mix up in how my direction is reading

https://cad.onshape.com/documents/8375b9bacc0289de0f9cfdb7/w/9f2c88d23129f15f016d3ac3/e/a6f6dd510a03f03310cfa101

Tagged:
Sign In or Register to comment.