is_outwards (method)

@package Methods.Machine.Magnet.check Check that the Magnet is correct @date Created on Mon Aug 06 15:47:19 2018 @copyright (C) 2015-2016 EOMYS ENGINEERING. @author pierre_b

is_outwards(self)[source]

Return if the magnet is outwards (on an external lamination) or inwards (on an internal lamination)

Parameters:self (Magnet) – A Magnet object
Returns:is_outwards – Direction of the magnet
Return type:bool
Raises:ParentMissingError – Error: The magnet is not inside a Slot