Beispiel #1
0
 def __init__(self):
     super(AirbearingMountPlate, self).__init__()
     self.parameters = AIRBEARING_MOUNT_PLATE_PARAMETERS
     ab = airbearing.RAB(bearing_type=self.parameters['bearing_type'],
                         slide_travel=self.parameters['slide_travel'])
     self.ab_parameters = ab.get_parameters()
     self.__make_airbearing_mount_plate()
     self.__make_holes()
     self.__set_bom()
     self.__make_origin()
     self.set_color(self.parameters['color'], recursive=True)
Beispiel #2
0
 def __init__(self):
     super(Cushion, self).__init__()
     self.parameters = CUSHION_PARAMETERS
     ab = airbearing.RAB(bearing_type=self.parameters['bearing_type'],
                         slide_travel=self.parameters['slide_travel'])
     self.ab_parameters = ab.get_parameters()
     self.__make_cushion()
     self.__make_cutout()
     self.__set_bom()
     self.__make_origin()
     self.set_color(self.parameters['color'], recursive=True)
Beispiel #3
0
 def __init__(self):
     super(LaserSensorShortRangeTargetPlate, self).__init__()
     self.parameters = LASER_SENSOR_SHORT_RANGE_TARGET_PLATE_PARAMETERS
     ab = airbearing.RAB(bearing_type=self.parameters['bearing_type'],
                         slide_travel=self.parameters['slide_travel'])
     self.ab_parameters = ab.get_parameters()
     self.__make_laser_sensor_short_range_target_plate()
     self.__make_holes()
     self.__set_bom()
     self.__make_origin()
     self.set_color(self.parameters['color'], recursive=True)
Beispiel #4
0
 def __make_airbearing(self):
     ab = airbearing.RAB(bearing_type=self.parameters['bearing_type'],slide_travel=self.parameters['slide_travel'])
     self.ab_parameters = ab.get_parameters()
     self.slider_holes_tx = (self.ab_parameters['slide_base_length'] + self.parameters['slide_travel'])/2 - self.ab_parameters['slide_screw_inset']
     self.add_obj(ab)