Is variable length extrusion in a parametric pattern possible?

Is variable length extrusion in a parametric pattern possible?

rcautodeskGGQ52
Explorer Explorer
106 Views
4 Replies
Message 1 of 5

Is variable length extrusion in a parametric pattern possible?

rcautodeskGGQ52
Explorer
Explorer

I am modeling a case to hold my machinist parallel set and have built it to be fully driven by user parameters. That way I can change the number of parallels (pairs) in the set, their size (width/length/thickness), the spacing between them, etc. in the future. I have the box bottom fully built out and everything is working perfectly when I vary the parameter values. Now I am trying to model the parallels themselves and am running into issues getting that to be driven from the same parameters.

 

I would like to define a sketch for the first pair of parallels (smallest one) in the set, repeat that pair "NumParallels" (user parameter) times (using rectangular pattern), then extrude each item in the pattern a variable amount equal to something like "MinParallelHeight + (ParallelHeightIncrement * <# in pattern>)". I built a small test bed design (attached) to experiment with (uses the BaseLength to drive # of parallels) but I haven't figured anything out yet that works since access to something like "# in a pattern" doesn't seem possible (that I have found so far) and/or I can't figure out how to select all items in a pattern such that varying the number of items down/up works. I can manually go through each item in the pattern and extrude them using my formula and a hard-coded # (how I got the "desired result image" attached) but that all falls apart as soon as you start messing with the number of parallels.

 

I also experimented with defining a sketch plane that extends between the leading edges of the first two parallel pairs and then extruding up to the plane but that doesn't fit the bill either since the tops of each parallel pair are now slanted and I have the same problem with selecting everything in my pattern.

 

Is what I want to do possible?

0 Likes
Accepted solutions (1)
107 Views
4 Replies
Replies (4)
Message 2 of 5

davebYYPCU
Consultant
Consultant
Accepted solution

Slightly different preparation will do it.

 

popdb.PNG

 

Let me know if you get stuck, 

Might help....

Message 3 of 5

g-andresen
Consultant
Consultant

Hi,

I have created a pattern of parallel pairs on the basis of @davebYYPCU 

 

 

günther

0 Likes
Message 4 of 5

rcautodeskGGQ52
Explorer
Explorer

Very cool Dave. I hadn't thought about sketching the parallel pair tops along a rising path and then extruding down to the base. But since the base surface/plane is constant that makes perfect sense. You even managed to work in some Pythagoras 😂 I messed up some of the dimensioning/constraints in my test bed (parallels weren't properly "anchored" to the base) but after correcting that I can adjust the base size (and thus the number of parallels) willy nilly and everything works perfectly. Exactly what I needed. Thank you!

0 Likes
Message 5 of 5

rcautodeskGGQ52
Explorer
Explorer

Thank you Günther. I was actually lazy with my test bed file (as well as my original case project) and modeled everything as parallel pair rather than individual parallels. My NumParallels user parameter would be better called NumParallelPairs but I didn't for some reason. I may change things up to model the individual parallels though so this may still prove useful. Thank you again for the ideas.

0 Likes