Workplace layout design by itself is time consuming and costly. There is evidence that human perception of interaction with real and virtual objects is indistinguishable in some instances. In this work, a virtual CNC workplace environment is developed which is accessible through the web. Through this environment, a user who has no experience on machining could learn the CNC operation method by interactively driving the virtual machine. The model enables testing the influence of variations in lighting, distance from machines, and the presence of a virtual human on human perception. By collecting and analyzing the perception data in terms safety, it provides decision basis for improving facility design and reduce hazards in the workplace.