Solids from patterns and parametric changes

Challenge 4 threw this up for me in terms of my understanding. Changing the setting so not to spoil the challenge.

I create a simple circular pattern of 3 circles. Use a variable for the number of circles. Then extrude. Great I have 3 cylinders.

I change the number variable to 5 and the cylinders change position but the additional 2 cylinders that now appear in the sketch do not get created. That’s fair enough i suppose.

Now in reverse so to speak. If i create 5 solids first (from the 5 patterned circles). And the change the variable down from 5 to 3. The sketch readjusts and the 5 solids reduce to 3 - great. But…. I get an exception in the history for the missing solids.

I am guessing the is a way to tie solid generation to sketch variability without throwing exception.:thinking: .

Sorry guys. Did anybody have any views on this?

I’m going to be somewhat cryptic, because this is related to this weeks challenge.

I personally don’t consider that extrusion warning an issue, because if you go back to from 3 to 5 extrusions, they will be executed again no problem, same as the initial state.

This is my personal take on this. Mods, feel free to delete if you think this might be misleading or over the line.

I’m generally not too bothered with warnings in the history. If i was to share my designs I might clean them up when I’m done modeling. For myself? Eh..

You are currently patterning the sketch.
Try modeling one cylinder first, then apply the pattern to the body instead of the sketch.

Not allowed for the weekly challenge. :wink: