Variable Pattern feature can make quick work of these things but it is a little different to set up than normal patterns
Here is what I did. I attached the part file but it is in 2019 format. I made a quick recording here: Variable Pattern Example (Unnarrated) - YouTube
-Copy the top 3 surfaces into a single Surface Body with the "Offset Surface" feature (this may not be absolutely necessary)
-Create a plane that has an offset dimension you want to vary
-Generate Sketch Tools -> Intersection Curve selecting the Offset Plane and the Surface Body. This will serve as the initial sweep path
-Sketch sweep shape for profile
-Sweep and merge into Solid Body.
NOTE: When you get to this stage, I suggest to test modifying the Plane offset dimension and make sure the sweep rebuilds at a few locations across the thickness of the part. Then reset it back to starting location.
-Then create a "Variable Pattern"
-Choose the Sweep as the feature to pattern
Variable pattern is capable of patterning reference geometry so that is really the "secret sauce" here
-Choose the Offset Plane, Sweep Profile, and Sweep Path as reference features
-Edit Pattern Table
-Add as many rows as you want
-Adjust the dimension offset spacing to achieve the spacing you want.
If distances (between pattern) are measured on the surface use Offset edge on surface - result is path for swept.
If distances must be equal in view - make a plane built on the upper edge, offset it (expand if necessary) and make an intersection curve or path
As far as I know this is the simple way.
I see secrets. Hidden in folders. Ehhh ....
I have no control over gap. Video is attached.
We have 2 options - Equal gap on surface (more difficult) and Equal gap on view/plane (easier). I wrote about it in the first post. You did it like a second. I think the right one is first. Then we have to use Offset Edge on surface. And Ahmed was attached only simply surface. I think that real is more "organic".
There's still a Level of tedium here but to simplify it to at least one feature you could Combine the Sketch to make it one Long sweep.
Retrieving data ...