3D model load in as segmentation, how?

How can a 3d obj file be loaded in and converted to seg.nrrd?

Using GUI: https://slicer.readthedocs.io/en/latest/user_guide/modules/segmentations.html#use-cases

Using Python scripts: https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Segmentations