An integrated environment for CAD/CAM of mechanical systems