allow constraint to be specified in tool frame