void preSetup(int extrusionWidth) { skirtConfig.setData(config.insidePerimetersSpeed, extrusionWidth, "SKIRT"); inset0Config.setData(config.outsidePerimeterSpeed, extrusionWidth, "WALL-OUTER"); insetXConfig.setData(config.insidePerimetersSpeed, extrusionWidth, "WALL-INNER"); fillConfig.setData(config.infillSpeed, extrusionWidth, "FILL", false); bridgConfig.setData(config.bridgeSpeed, extrusionWidth, "BRIDGE"); supportNormalConfig.setData(config.supportMaterialSpeed, extrusionWidth, "SUPPORT"); supportInterfaceConfig.setData(config.supportMaterialSpeed, extrusionWidth, "SUPPORT-INTERFACE"); for (int extruderIndex = 0; extruderIndex < ConfigConstants.MAX_EXTRUDERS; extruderIndex++) { gcode.setExtruderOffset(extruderIndex, config.extruderOffsets[extruderIndex] * 1000, -config.zOffset_um); } gcode.SetOutputType(config.outputType); gcode.setRetractionSettings(config.retractionOnTravel, config.retractionSpeed, config.retractionOnExtruderSwitch, config.minimumExtrusionBeforeRetraction, config.retractionZHop); }