Text this: Voxelization and one-dimensional lattice structures for industrial components using function representation