Have you considered reading the fine tutorial? [https://nim-lang.org/docs/tut1.html](https://nim-lang.org/docs/tut1.html)
As you learn, in Nim like in other languages like Modula or Oberon public
symbols in modules have to be marked with asteriks, so try something like
type
object3d* = object
Run
