Pattern-Adjusted Strip Length

Round strip length up to the next full pattern repeat.

—

Formula

ceil((height+trim)/repeat)*repeat