mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-06 06:09:19 +08:00
Added infill overlap percentage in advanced settings.
This commit is contained in:
parent
79b227f8f1
commit
3316f6da96
@ -26,7 +26,7 @@ def ifSettingIs(name, value, default):
|
||||
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'))
|
||||
@ -138,7 +138,7 @@ def getSkeinPyPyProfileInformation():
|
||||
'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,
|
||||
|
@ -31,6 +31,7 @@ class advancedConfigWindow(configBase.configWindowBase):
|
||||
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.')
|
||||
|
@ -104,7 +104,7 @@ class MachineSelectPage(InfoPage):
|
||||
settings.putPreference('machine_width', '80')
|
||||
settings.putPreference('machine_depth', '80')
|
||||
settings.putPreference('machine_height', '60')
|
||||
settings.putProfileSetting('nozzle_size', '0.4')
|
||||
settings.putProfileSetting('nozzle_size', '0.5')
|
||||
settings.putProfileSetting('machine_center_x', '40')
|
||||
settings.putProfileSetting('machine_center_y', '40')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user