How to create a Container with a rim lip top?

Hi Im trying to create a container, which is split in half and one half has an inner lip the then sits inside the other half, i hope that makes sense? the goal being to 3d print the piece. I can figure out a small amount of the work flow but i am struggling with the principals of this rim lip. also bonus points if anyone can help with doing this as a wobbly line like in the drawing. apologies i haven’t used rhino in about 2 years and and the mac version has changed since i last used it.
thank you in advance :slight_smile: