Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- 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.
Making a point coincident with the last instance of a sketch pattern
sam_one
Member Posts: 18 ✭
How do I make a point coincident with the last object of the sketch pattern, so that it moves when the amount of the pattern is changed?
toothbrush holder | Part Studio 1 (onshape.com)
so I have this part, where I use a variable (called Brush_count) and a sketch pattern to describe the slots in the rack.
That bit works fine. Now, I want to add the actual body of the rack around the slots.
The body should go around the slots. So, when I change the amount of slots, the rack should resize accordingly.
I tried to make the top-right point of the body rect coincident with the last slot.
This works, but when there are less or more slots, it doesn't update its position, and the coincident turns red.
any help is appreciated, even if you don't know for sure.
(even a tiny nudge in the right direction makes a difference!)
toothbrush holder | Part Studio 1 (onshape.com)
so I have this part, where I use a variable (called Brush_count) and a sketch pattern to describe the slots in the rack.
That bit works fine. Now, I want to add the actual body of the rack around the slots.
The body should go around the slots. So, when I change the amount of slots, the rack should resize accordingly.
I tried to make the top-right point of the body rect coincident with the last slot.
This works, but when there are less or more slots, it doesn't update its position, and the coincident turns red.
any help is appreciated, even if you don't know for sure.
(even a tiny nudge in the right direction makes a difference!)
0
Best Answer
-
NeilCooke Moderator, Onshape Employees Posts: 5,671Since you already have a variable, drive the position of the "point" based on #Brush_count * #WhateverTheDistanceIsBetweenEachSlotSenior Director, Technical Services, EMEAI0
Answers