Extruding and encasing a floor segment