We determine the Hausdorff and box dimension of the limit sets for some class of planar non-Moran-like geometric constructions generalizing the Bedford–McMullen general Sierpiński carpets. The class includes affine constructions generated by an arbitrary partition of the unit square by a finite number of horizontal and vertical lines, as well as some non-affine examples, e.g. the flexed Sierpiński gasket.