mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Merge branch 'main' into CURA-12005_include_slicemetadata_in_makerbot_file
This commit is contained in:
commit
e38987f46b
7 changed files with 83 additions and 20 deletions
6
.github/ISSUE_TEMPLATE/SlicingCrash.yaml
vendored
6
.github/ISSUE_TEMPLATE/SlicingCrash.yaml
vendored
|
@ -6,9 +6,9 @@ body:
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
### ✨Try our improved Cura 5.7✨
|
### ✨Try our improved Cura 5.7✨
|
||||||
Before filling out the report below, we want you to try the latest Cura 5.7 Beta.
|
Before filling out the report below, we want you to try the latest Cura 5.7.
|
||||||
This version of Cura has become significantly more reliable and has an updated slicing engine that will automatically send a report to the Cura Team for analysis.
|
This version of Cura has become significantly more reliable and has an updated slicing engine that will automatically send a report to the Cura Team for analysis.
|
||||||
#### [You can find the downloads here](https://github.com/Ultimaker/Cura/releases/tag/5.7.0-beta.1) ####
|
#### [You can find the downloads here](https://github.com/Ultimaker/Cura/releases/latest) ####
|
||||||
If you still encounter a crash you are still welcome to report the issue so we can use your model as a test case, you can find instructions on how to do that below.
|
If you still encounter a crash you are still welcome to report the issue so we can use your model as a test case, you can find instructions on how to do that below.
|
||||||
|
|
||||||
### Project File
|
### Project File
|
||||||
|
@ -35,7 +35,7 @@ body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
We work hard on improving our slicing crashes. Our most recent release is 5.6.0.
|
We work hard on improving our slicing crashes. Our most recent release is 5.7.1.
|
||||||
If you are not on the latest version of Cura, [you can download it here](https://github.com/Ultimaker/Cura/releases/latest)
|
If you are not on the latest version of Cura, [you can download it here](https://github.com/Ultimaker/Cura/releases/latest)
|
||||||
- type: input
|
- type: input
|
||||||
attributes:
|
attributes:
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
version: "5.8.0-beta.1"
|
version: "5.8.0"
|
||||||
requirements:
|
requirements:
|
||||||
- "cura_resources/5.8.0-beta.1"
|
- "cura_resources/5.8.0"
|
||||||
- "uranium/5.8.0-beta.1"
|
- "uranium/5.8.0"
|
||||||
- "curaengine/5.8.0-beta.1"
|
- "curaengine/5.8.0"
|
||||||
- "cura_binary_data/5.8.0-beta.1"
|
- "cura_binary_data/5.8.0"
|
||||||
- "fdm_materials/5.8.0-beta.1"
|
- "fdm_materials/5.8.0"
|
||||||
- "curaengine_plugin_gradual_flow/0.1.0-beta.4"
|
- "curaengine_plugin_gradual_flow/0.1.0-beta.4"
|
||||||
- "dulcificum/0.2.1"
|
- "dulcificum/0.2.1"
|
||||||
- "pysavitar/5.3.0"
|
- "pysavitar/5.3.0"
|
||||||
- "pynest2d/5.3.0"
|
- "pynest2d/5.3.0"
|
||||||
- "native_cad_plugin/2.0.0"
|
- "native_cad_plugin/2.0.0"
|
||||||
requirements_internal:
|
requirements_internal:
|
||||||
- "fdm_materials/5.8.0-beta.1"
|
- "fdm_materials/5.8.0"
|
||||||
- "cura_private_data/(latest)@internal/testing"
|
- "cura_private_data/(latest)@internal/testing"
|
||||||
urls:
|
urls:
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -114,22 +114,24 @@ class ThreeMFWriter(MeshWriter):
|
||||||
|
|
||||||
mesh_data = um_node.getMeshData()
|
mesh_data = um_node.getMeshData()
|
||||||
|
|
||||||
|
node_matrix = um_node.getLocalTransformation()
|
||||||
|
node_matrix.preMultiply(transformation)
|
||||||
|
|
||||||
if center_mesh:
|
if center_mesh:
|
||||||
node_matrix = Matrix()
|
center_matrix = Matrix()
|
||||||
# compensate for original center position, if object(s) is/are not around its zero position
|
# compensate for original center position, if object(s) is/are not around its zero position
|
||||||
if mesh_data is not None:
|
if mesh_data is not None:
|
||||||
extents = mesh_data.getExtents()
|
extents = mesh_data.getExtents()
|
||||||
if extents is not None:
|
if extents is not None:
|
||||||
# We use a different coordinate space while writing, so flip Z and Y
|
# We use a different coordinate space while writing, so flip Z and Y
|
||||||
center_vector = Vector(extents.center.x, extents.center.y, extents.center.z)
|
center_vector = Vector(-extents.center.x, -extents.center.y, -extents.center.z)
|
||||||
node_matrix.setByTranslation(center_vector)
|
center_matrix.setByTranslation(center_vector)
|
||||||
node_matrix.multiply(um_node.getLocalTransformation())
|
node_matrix.preMultiply(center_matrix)
|
||||||
else:
|
|
||||||
node_matrix = um_node.getLocalTransformation()
|
|
||||||
|
|
||||||
matrix_string = ThreeMFWriter._convertMatrixToString(node_matrix.preMultiply(transformation))
|
matrix_string = ThreeMFWriter._convertMatrixToString(node_matrix)
|
||||||
|
|
||||||
savitar_node.setTransformation(matrix_string)
|
savitar_node.setTransformation(matrix_string)
|
||||||
|
|
||||||
if mesh_data is not None:
|
if mesh_data is not None:
|
||||||
savitar_node.getMeshData().setVerticesFromBytes(mesh_data.getVerticesAsByteArray())
|
savitar_node.getMeshData().setVerticesFromBytes(mesh_data.getVerticesAsByteArray())
|
||||||
indices_array = mesh_data.getIndicesAsByteArray()
|
indices_array = mesh_data.getIndicesAsByteArray()
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
version: "5.8.0-beta.1"
|
version: "5.8.0"
|
||||||
|
|
18
resources/definitions/creality_crm4.def.json
Normal file
18
resources/definitions/creality_crm4.def.json
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"name": "Creality CR-M4",
|
||||||
|
"inherits": "creality_base",
|
||||||
|
"metadata":
|
||||||
|
{
|
||||||
|
"visible": true,
|
||||||
|
"quality_definition": "creality_base"
|
||||||
|
},
|
||||||
|
"overrides":
|
||||||
|
{
|
||||||
|
"gantry_height": { "value": 35 },
|
||||||
|
"machine_depth": { "default_value": 450 },
|
||||||
|
"machine_height": { "default_value": 470 },
|
||||||
|
"machine_name": { "default_value": "Creality CR-M4" },
|
||||||
|
"machine_width": { "default_value": 450 }
|
||||||
|
}
|
||||||
|
}
|
|
@ -28,6 +28,18 @@
|
||||||
"icon": "Printer",
|
"icon": "Printer",
|
||||||
"children":
|
"children":
|
||||||
{
|
{
|
||||||
|
"build_volume_fan_nr":
|
||||||
|
{
|
||||||
|
"label": "Build volume fan number",
|
||||||
|
"description": "The number of the fan that cools the build volume. If this is set to 0, it's means that there is no build volume fan",
|
||||||
|
"default_value": 0,
|
||||||
|
"minimum_value": "0",
|
||||||
|
"maximum_value": "999999",
|
||||||
|
"type": "int",
|
||||||
|
"settable_per_mesh": false,
|
||||||
|
"settable_per_extruder": false,
|
||||||
|
"settable_per_meshgroup": false
|
||||||
|
},
|
||||||
"machine_name":
|
"machine_name":
|
||||||
{
|
{
|
||||||
"label": "Machine Type",
|
"label": "Machine Type",
|
||||||
|
@ -4467,6 +4479,37 @@
|
||||||
"settable_per_mesh": false,
|
"settable_per_mesh": false,
|
||||||
"settable_per_extruder": true
|
"settable_per_extruder": true
|
||||||
},
|
},
|
||||||
|
"build_fan_full_at_height":
|
||||||
|
{
|
||||||
|
"label": "Build Fan Speed at Height",
|
||||||
|
"description": "The height at which the fans spin on regular fan speed. At the layers below the fan speed gradually increases from Initial Fan Speed to Regular Fan Speed.",
|
||||||
|
"unit": "mm",
|
||||||
|
"type": "float",
|
||||||
|
"default_value": 0,
|
||||||
|
"minimum_value": "0",
|
||||||
|
"enabled": "build_volume_fan_nr != 0",
|
||||||
|
"maximum_value_warning": "10.0",
|
||||||
|
"settable_per_mesh": false,
|
||||||
|
"settable_per_extruder": false,
|
||||||
|
"settable_per_meshgroup": false,
|
||||||
|
"children":
|
||||||
|
{
|
||||||
|
"build_fan_full_layer":
|
||||||
|
{
|
||||||
|
"label": "Build Fan Speed at Layer",
|
||||||
|
"description": "The layer at which the build fans spin on full fan speed. This value is calculated and rounded to a whole number.",
|
||||||
|
"type": "int",
|
||||||
|
"default_value": 0,
|
||||||
|
"minimum_value": "0",
|
||||||
|
"enabled": "build_volume_fan_nr != 0",
|
||||||
|
"maximum_value_warning": "10 / resolveOrValue('layer_height')",
|
||||||
|
"value": "max(1, int(math.floor((build_fan_full_at_height - resolveOrValue('layer_height_0')) / resolveOrValue('layer_height')) + 2))",
|
||||||
|
"settable_per_mesh": false,
|
||||||
|
"settable_per_extruder": false,
|
||||||
|
"settable_per_meshgroup": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"cool_fan_speed":
|
"cool_fan_speed":
|
||||||
{
|
{
|
||||||
"label": "Fan Speed",
|
"label": "Fan Speed",
|
||||||
|
|
|
@ -215,14 +215,14 @@ msgstr ""
|
||||||
|
|
||||||
msgctxt "@label crash message"
|
msgctxt "@label crash message"
|
||||||
msgid ""
|
msgid ""
|
||||||
"<p><b>A fatal error has occurred in Cura. Please send us this Crash Report to fix the problem</p></b>\n"
|
"<p><b>A fatal error has occurred in Cura. Please send us this Crash Report to fix the problem</b></p>\n"
|
||||||
" <p>Please use the \"Send report\" button to post a bug report automatically to our servers</p>\n"
|
" <p>Please use the \"Send report\" button to post a bug report automatically to our servers</p>\n"
|
||||||
" "
|
" "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "@label crash message"
|
msgctxt "@label crash message"
|
||||||
msgid ""
|
msgid ""
|
||||||
"<p><b>Oops, UltiMaker Cura has encountered something that doesn't seem right.</p></b>\n"
|
"<p><b>Oops, UltiMaker Cura has encountered something that doesn't seem right.</b></p>\n"
|
||||||
" <p>We encountered an unrecoverable error during start up. It was possibly caused by some incorrect configuration files. We suggest to backup and reset your configuration.</p>\n"
|
" <p>We encountered an unrecoverable error during start up. It was possibly caused by some incorrect configuration files. We suggest to backup and reset your configuration.</p>\n"
|
||||||
" <p>Backups can be found in the configuration folder.</p>\n"
|
" <p>Backups can be found in the configuration folder.</p>\n"
|
||||||
" <p>Please send us this Crash Report to fix the problem.</p>\n"
|
" <p>Please send us this Crash Report to fix the problem.</p>\n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue