Merge branch '3.1' of https://github.com/Ultimaker/Cura into 3.1

This commit is contained in:
Diego Prado Gesto 2017-11-30 17:38:47 +01:00
commit 972f4c5b05
5 changed files with 24 additions and 21 deletions

View File

@ -188,29 +188,32 @@ class MachineSettingsAction(MachineAction):
# In other words: only continue for the UM2 (extended), but not for the UM2+
return
stacks = ExtruderManager.getInstance().getExtruderStacks()
has_materials = self._global_container_stack.getProperty("machine_gcode_flavor", "value") != "UltiGCode"
material_container = self._global_container_stack.material
if has_materials:
if "has_materials" in self._global_container_stack.getMetaData():
self._global_container_stack.setMetaDataEntry("has_materials", True)
else:
self._global_container_stack.addMetaDataEntry("has_materials", True)
# Set the material container to a sane default
# Set the material container for each extruder to a sane default
for stack in stacks:
material_container = stack.material
if material_container == self._empty_container:
search_criteria = { "type": "material", "definition": "fdmprinter", "id": self._global_container_stack.getMetaDataEntry("preferred_material")}
machine_approximate_diameter = str(round(self._global_container_stack.getProperty("material_diameter", "value")))
search_criteria = { "type": "material", "definition": "fdmprinter", "id": self._global_container_stack.getMetaDataEntry("preferred_material"), "approximate_diameter": machine_approximate_diameter}
materials = self._container_registry.findInstanceContainers(**search_criteria)
if materials:
self._global_container_stack.material = materials[0]
stack.material = materials[0]
else:
# The metadata entry is stored in an ini, and ini files are parsed as strings only.
# Because any non-empty string evaluates to a boolean True, we have to remove the entry to make it False.
if "has_materials" in self._global_container_stack.getMetaData():
self._global_container_stack.removeMetaDataEntry("has_materials")
self._global_container_stack.material = ContainerRegistry.getInstance().getEmptyInstanceContainer()
for stack in stacks:
stack.material = ContainerRegistry.getInstance().getEmptyInstanceContainer()
Application.getInstance().globalContainerStackChanged.emit()

View File

@ -1825,7 +1825,7 @@ msgstr "Tipo de línea"
#: /home/ruben/Projects/Cura/plugins/SimulationView/SimulationView.qml:104
msgctxt "@label:listbox"
msgid "Feedrate"
msgstr "Velocidad de alimentación"
msgstr "Velocidad"
#: /home/ruben/Projects/Cura/plugins/SimulationView/SimulationView.qml:108
msgctxt "@label:listbox"

View File

@ -1825,7 +1825,7 @@ msgstr "Tipo di linea"
#: /home/ruben/Projects/Cura/plugins/SimulationView/SimulationView.qml:104
msgctxt "@label:listbox"
msgid "Feedrate"
msgstr "Velocità di alimentazione"
msgstr "Velocità"
#: /home/ruben/Projects/Cura/plugins/SimulationView/SimulationView.qml:108
msgctxt "@label:listbox"
@ -1885,7 +1885,7 @@ msgstr "min."
#: /home/ruben/Projects/Cura/plugins/SimulationView/SimulationView.qml:420
msgctxt "@label"
msgid "max"
msgstr "max"
msgstr "max."
#: /home/ruben/Projects/Cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:18
msgctxt "@title:window"

View File

@ -2123,7 +2123,7 @@ msgstr "%1 van %2"
#: /home/ruben/Projects/Cura/plugins/3MFReader/WorkspaceDialog.qml:368
msgctxt "@action:warning"
msgid "Loading a project will clear all models on the build plate."
msgstr "Als u een project laadt, worden alle modellen van het platform gewist"
msgstr "Als u een project laadt, worden alle modellen van het platform gewist."
#: /home/ruben/Projects/Cura/plugins/3MFReader/WorkspaceDialog.qml:386
msgctxt "@action:button"
@ -3924,7 +3924,7 @@ msgstr "Sneller"
#: /home/ruben/Projects/Cura/resources/qml/SidebarSimple.qml:388
msgctxt "@tooltip"
msgid "You have modified some profile settings. If you want to change these go to custom mode."
msgstr "U hebt enkele profielinstellingen aangepast. Ga naar de aangepaste modus als u deze wilt wijzigen"
msgstr "U hebt enkele profielinstellingen aangepast. Ga naar de aangepaste modus als u deze wilt wijzigen."
#: /home/ruben/Projects/Cura/resources/qml/SidebarSimple.qml:413
msgctxt "@label"
@ -4316,12 +4316,12 @@ msgstr "Gereedschap voor Instellingen per Model"
#: cura-siemensnx-plugin/plugin.json
msgctxt "description"
msgid "Helps you to install an 'export to Cura' button in Siemens NX."
msgstr "Hiermee kunt u een knop voor 'exporteren naar Cura' installeren in Siemens NX."
msgstr "Hiermee kunt u een knop installeren in Siemens NX om te 'exporteren naar Cura'."
#: cura-siemensnx-plugin/plugin.json
msgctxt "name"
msgid "Siemens NX Integration"
msgstr "Siemens NX Integration"
msgstr "Siemens NX Integratie"
#: 3MFReader/plugin.json
msgctxt "description"

View File

@ -3610,7 +3610,7 @@ msgstr "Raft effenen"
#: fdmprinter.def.json
msgctxt "raft_smoothing description"
msgid "This setting controls how much inner corners in the raft outline are rounded. Inward corners are rounded to a semi circle with a radius equal to the value given here. This setting also removes holes in the raft outline which are smaller than such a circle."
msgstr "Deze instelling bepaalt hoeveel binnenhoeken in de raftcontour worden afgerond. Naar binnen gebogen hoeken worden tot een halve cirkel afgerond met een straal die gelijk is aan de hier opgegeven waarde. Met deze instellingen worden ook gaten in de raftcontour verwijderd die kleiner zijn dan een dergelijke cirkel."
msgstr "Bepaalt hoeveel binnenhoeken in de raftcontour worden afgerond. Naar binnen gebogen hoeken worden tot een halve cirkel afgerond met een straal die gelijk is aan de hier opgegeven waarde. Met deze instellingen worden ook gaten in de raftcontour verwijderd die kleiner zijn dan een dergelijke cirkel."
#: fdmprinter.def.json
msgctxt "raft_airgap label"
@ -4090,7 +4090,7 @@ msgstr "Maximale resolutie"
#: fdmprinter.def.json
msgctxt "meshfix_maximum_resolution description"
msgid "The minimum size of a line segment after slicing. If you increase this, the mesh will have a lower resolution. This may allow the printer to keep up with the speed it has to process g-code and will increase slice speed by removing details of the mesh that it can't process anyway."
msgstr "Het minimale formaat van een lijnsegment na het slicen. Als u deze waarde verhoogt, wordt het raster met een lagere resolutie geprint. Hiermee kan de printer de verwerkingssnelheid van de G-code bijhouden en wordt de slicesnelheid verhoogd doordat details van het raster worden verwijderd die niet kunnen worden verwerkt."
msgstr "Het minimale formaat van een lijnsegment na het slicen. Als u deze waarde verhoogt, wordt het model met een lagere resolutie geprint. Hiermee kan de printer de verwerkingssnelheid van de G-code bijhouden en wordt de slicesnelheid verhoogd doordat details van het raster worden verwijderd die niet kunnen worden verwerkt."
#: fdmprinter.def.json
msgctxt "multiple_mesh_overlap label"
@ -4660,7 +4660,7 @@ msgstr "De gemiddelde afstand tussen de willekeurig geplaatste punten op elk lij
#: fdmprinter.def.json
msgctxt "flow_rate_max_extrusion_offset label"
msgid "Flow rate compensation max extrusion offset"
msgstr "Doorvoercompensatie voor maximale extrusieoffset"
msgstr "Maximale extrusieoffset voor doorvoercompensatie"
#: fdmprinter.def.json
msgctxt "flow_rate_max_extrusion_offset description"