Profile modeling using curve and mesh array