1. A method comprising: receiving a user-specified input defining a feature for a pattern and a minimum boundary-to-feature distance, the features of the plurality being evenly spaced relative to each other, the features of the plurality included within a boundary of a CAD geometry piece, and where a feature corresponds to a feature of the CAD geometry piece; receiving an indication of modification to the boundary of the CAD geometry piece; modifying the boundary of the CAD geometry piece based at least upon the received indication; and maintaining continuous enclosure of the pattern within the modified boundary of the modified CAD geometry piece, including modifying at least one of the pattern or the plurality of features to be continuously enclosed within the modified boundary of the CAD geometry piece, based at least upon the modified boundary of the CAD geometry piece and the received input, wherein the maintaining continuous enclosure of the pattern is performed by a computer processor and comprises: determining that including the plurality of features within the modified boundary violates the minimum boundary-to-feature distance, and in response to the determining, removing features from the pattern so that the minimum boundary-to-feature distance is satisfied with the remaining features included within the modified boundary.