public static BaseDepositionAssembler Factory( GCodeBuilder builder, IPrintProfileFFF settings) { var asm = new RepRapAssembler(builder, settings); asm.HeaderCustomizerF = (state, builder) => HeaderCustomF(settings as IPrintProfileFFF, state, builder); return(asm); }
public static BaseDepositionAssembler Factory( GCodeBuilder builder, IPrintProfileFFF settings) { var asm = new RepRapAssembler(builder, settings); asm.HomeSequenceF = (builder) => HomeSequence(builder, settings); asm.HeaderCustomizerF = HeaderCustomF; asm.TravelGCode = 1; return(asm); }