Rectangular pattern and Variables
Ogurezzz
Member Posts: 3 ✭
Hello. I trying to make custom frame with different number of cells.
I set #Rows and #Lines as numeric variables.
I use them to make rectangle of desired size in my frame (It will be cell later), then I use variables to create linear pattern of my rectangle. When I just creating it I can use variables, but after saving of sketch all counted values becomes constants and I can't change them to variable dependet...
As result - rectangles change their size according to #Lines and #Rows, but linear pattern stay same.
0
Answers
-
Last time I checked, Onshape doesn't let you use variables for the sketch patterns.
What I usually do is create a part pattern with the Linear pattern feature. This will accept variables. Pattern the parts as templates, then use Boolean Subtract to subtract the parts from your frame.
You will need to create a variable that calculates how large the frame is because you wont be able to reference the new patterned parts.
▚▞▚▞▚▞▚▞▚0 -
MichaelPascoe said:Last time I checked, Onshape doesn't let you use variables for the sketch patterns.
What I usually do is create a part pattern with the Linear pattern feature. This will accept variables. Pattern the parts as templates, then use Boolean Subtract to subtract the parts from your frame.
You will need to create a variable that calculates how large the frame is because you wont be able to reference the new patterned parts.Thanks. I will try... It's very strange that some items use variables, but some not...0
