3d pen structure