| 1 | from fullcontrol.gcode.controls import GcodeControls |
| 2 | |
| 3 | def tips(controls: GcodeControls): |
| 4 | tip_str = '' |
| 5 | if 'extrusion_width' not in controls.initialization_data.keys() or 'extrusion_height' not in controls.initialization_data.keys(): |
| 6 | tip_str += "\ntip: set initial `extrusion_width` and `extrusion_height` in the initialization_data to ensure the correct amount of material is extruded:\n - `fc.transform(..., controls=fc.GcodeControls(initialization_data={'extrusion_width': EW, 'extrusion_height': EH}))`" |
| 7 | if tip_str != '': |
| 8 | print('fc.transform guidance tips are being written to screen if any potential issues are found - hide tips with fc.transform(..., show_tips=False)' + tip_str + '\n') |