Circular pattern parameter

Circular pattern parameter

Anonymous
Not applicable
322 Views
3 Replies
Message 1 of 4

Circular pattern parameter

Anonymous
Not applicable

Hello i have a circular band that i have made using parameters and i have added a hole 2mm at one point. I would like to pattern this hole around the band using parameters so when i update the size of tube the number of holes increases or decreases accordingly. Is there an equation that can calculate that? Ive tried to use degrees but maybe im writing the parameter incorrectly. 

Also im aware circular patterning needs a whole number so im curious if its possible to have a fuction that rounds down/up to the nearest whole number.

Thank you! Been messing around but my maths is rusty.

 

0 Likes
Accepted solutions (2)
323 Views
3 Replies
Replies (3)
Message 2 of 4

jeff_strater
Community Manager
Community Manager

In theory, this should be easy - just use a user parameter for the hole diameter, then pattern the hole using Pattern on Path.  You should be able to change the number of pattern instances based on hole diameter using Ceil() or Floor(), but you will have to make sure that the result is unitless, usually by dividing by 1mm or whatever your length unit is.


Jeff Strater
Engineering Director
0 Likes
Message 3 of 4

jhackney1972
Consultant
Consultant
Accepted solution

Here is an example.  I did not use an units in the parameter table, as I added the units as needed in the various dimensions.  You can vary any of the parameters you desire, the two marked are probably the ones you want to vary the most.  By the way, when rounding the hole spacing, I rounded down.  If you want to round up, change "floor" to "ceil".  Model attached.

 

Table.jpg

John Hackney, Retired
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 4 of 4

jeff_strater
Community Manager
Community Manager
Accepted solution

here is another version.  It is obviously not for a ring, but hopefully illustrates the basic ideas.  This parameterizes a block, a hole, and the pattern, with spacing.

Screen Shot 2021-04-13 at 5.12.40 PM.png

 

I have not tested this extensively for bullet-proofing, but hopefully it gets the ideas across

 


Jeff Strater
Engineering Director