Ejemplo n.º 1
0
def hardware2(gcodeSender, config, log, eeprom, factory):
    """
    Rev2: June 2015 - August 2015
    - Simplified Feeder (Removed the disengagement and engagement procedure), if you want you can update it easily following this Tutorial: Feeder update.
    - Bowden tube improvement (Added a protection external sleeve to avoid the bowden tube get stuck in the back panel).
    - Endstops logic inverted.
    """
    #invert x endstop logic
    gcodeSender.send("M747 X1", group='bootstrap')
    #set maximum feedrate
    gcodeSender.send("M203 X250.00 Y250.00 Z15.00", group='bootstrap')

    # default XY Step
    gcodeSender.send("M92 X72.58 Y72.58", group='bootstrap')

    config.set('settings', 'hardware.id', 2)
    config.set('settings', 'feeder.engage', True)
    config.set('settings', 'feeder.available', True)
    config.set('settings', 'hardware.camera.available', True)
    config.set('settings', 'scan.available', True)
    config.save('settings')

    if config.is_firstboot():
        feeder = loadFactoryFeeder(config)
        updateFactoryFeeder(config, feeder)
        config.save_feeder_info('built_in_feeder', feeder)

    log.info("Rev2")
Ejemplo n.º 2
0
def hardware5(gcodeSender, config, log, eeprom, factory):
    """
    Rev5(CORE): Oct 2016 - xxx
    - RPi3
    """
    #invert x endstop logic
    gcodeSender.send("M747 X1", group='bootstrap')
    #set maximum feedrate
    gcodeSender.send("M203 X250.00 Y250.00 Z15.00", group='bootstrap')

    # default XY Step
    gcodeSender.send("M92 X72.58 Y72.58", group='bootstrap')

    #save settings
    config.set('settings', 'hardware.id', 5)
    config.set('settings', 'feeder.engage', False)
    config.set('settings', 'feeder.available', True)
    config.set('settings', 'hardware.camera.available', True)
    config.set('settings', 'scan.available', True)
    config.save('settings')

    if config.is_firstboot():
        feeder = loadFactoryFeeder(config)
        updateFactoryFeeder(config, feeder)
        config.save_feeder_info('built_in_feeder', feeder)

    log.info("Rev5")
Ejemplo n.º 3
0
def hardware3(gcodeSender, config, log, eeprom, factory):
    """
    Rev3: Aug 2015 - Jan 2016
    - Back panel modified to minimize bowden tube collisions
    - Hotplate V2 as standard duty hotplate
    - Reed sensor (Contactless sensor for the frontal door)
    - Head V1 (hybrid) discontinued
    - Milling Head V2 (store.fabtotum.com/eu/store/milling-head-v2.html).
    - Print head V2 (store.fabtotum.com/eu/store/printing-head-v2.html).
    """
    #invert x endstop logic
    gcodeSender.send("M747 X1", group='bootstrap')
    #set maximum feedrate
    gcodeSender.send("M203 X250.00 Y250.00 Z15.00", group='bootstrap')

    # default XY Step
    gcodeSender.send("M92 X72.58 Y72.58", group='bootstrap')

    config.set('settings', 'hardware.id', 3)
    config.set('settings', 'feeder.engage', False)
    config.set('settings', 'feeder.available', True)
    config.set('settings', 'hardware.camera.available', True)
    config.set('settings', 'scan.available', True)
    config.save('settings')

    if config.is_firstboot():
        feeder = loadFactoryFeeder(config)
        updateFactoryFeeder(config, feeder)
        config.save_feeder_info('built_in_feeder', feeder)

    log.info("Rev3")
Ejemplo n.º 4
0
def hardware2500(gcodeSender, config, log, eeprom, factory):
    """
    Rev2500 CORE PRO with mobile built-in feeder installed
    """
    log.info("Rev2500 - PRO")
    defaultProSettings(gcodeSender, config, log, eeprom, factory)
    config.set('settings', 'hardware.id', 2500)
    config.set('settings', 'feeder.engage', False)
    config.set('settings', 'feeder.available', True)
    
    if config.is_firstboot():
        feeder = loadFactoryFeeder(config)
        updateFactoryFeeder(config, feeder)
        config.save_feeder_info('built_in_feeder', feeder)
    
    config.save('settings')
Ejemplo n.º 5
0
def hardware1(gcodeSender, config, log, eeprom, factory):
    """
    Rev1: September 2014 - May 2015
    - Original FABtotum
    """
    gcodeSender.send("M203 X250.00 Y250.00 Z15.00", group='bootstrap')

    # default XY Step
    gcodeSender.send("M92 X72.58 Y72.58", group='bootstrap')

    config.set('settings', 'hardware.id', 1)
    config.set('settings', 'feeder.engage', True)
    config.set('settings', 'feeder.available', True)
    config.set('settings', 'scan.available', True)
    config.set('settings', 'hardware.camera.available', True)
    config.save('settings')

    if config.is_firstboot():
        feeder = loadFactoryFeeder(config)
        updateFactoryFeeder(config, feeder)
        config.save_feeder_info('built_in_feeder', feeder)

    log.info("Rev1")