Try to shoot a portal through cracks to escape
From Create Your Own Story
you get a portal through the cracks and quickly shoot another at your feet. When you jump through, you find yourself ontop of the machine. A strange green light peeks your interest on the machine so you go to investigate it. You open the hatch next to it and see Weatley restrained.