return lambda setting: getProfileSetting(name, default) == value
def storedPercentSetting(name):
- return lambda setting: float(getProfileSetting(name, setting.value)) / 100
+ return lambda setting: float(getProfileSetting(name, setting.value * 100)) / 100
def calculateEdgeWidth(setting):
wallThickness = float(getProfileSetting('wall_thickness'))
'Grid_Hexagonal': ifSettingIs('infill_type', 'Grid Hexagonal', 'Line'),
'Grid_Rectangular': ifSettingIs('infill_type', 'Grid Rectangular', 'Line'),
'Line': ifSettingIs('infill_type', 'Line', 'Line'),
- 'Infill_Perimeter_Overlap_ratio': DEFSET,
+ 'Infill_Perimeter_Overlap_ratio': storedPercentSetting('fill_overlap'),
'Infill_Solidity_ratio': storedPercentSetting('fill_density'),
'Infill_Width': storedSetting("nozzle_size"),
'Solid_Surface_Thickness_layers': calculateSolidLayerCount,
configBase.TitleRow(left, "Infill")
c = configBase.SettingRow(left, "Infill pattern", 'infill_type', ['Line', 'Grid Circular', 'Grid Hexagonal', 'Grid Rectangular'], 'Pattern of the none-solid infill. Line is default, but grids can provide a strong print.')
c = configBase.SettingRow(left, "Solid infill top", 'solid_top', True, 'Create a solid top surface, if set to false the top is filled with the fill percentage. Useful for cups/vases.')
+ c = configBase.SettingRow(left, "Infill overlap (%)", 'fill_overlap', '15', 'Amount of overlap between the infill and the walls. There is a slight overlap with the walls and the infill so the walls connect firmly to the infill.')
configBase.TitleRow(left, "Joris")
c = configBase.SettingRow(left, "Joris the outer edge", 'joris', False, '[Joris] is a code name for smoothing out the Z move of the outer edge. This will create a steady Z increase over the whole print. It is intended to be used with a single walled wall thickness to make cups/vases.')
settings.putPreference('machine_width', '80')\r
settings.putPreference('machine_depth', '80')\r
settings.putPreference('machine_height', '60')\r
- settings.putProfileSetting('nozzle_size', '0.4')\r
+ settings.putProfileSetting('nozzle_size', '0.5')\r
settings.putProfileSetting('machine_center_x', '40')\r
settings.putProfileSetting('machine_center_y', '40')\r
\r