Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-08Merge branch 'master' into qt6_beyond_the_splashJelle Spijker
2022-04-07Scale convex hull only by X/Y shrinkage, and handle 0% gracefullyGhostkeeper
Only the X/Y shrinkage influences the convex hull collision area. Not the Z, nor the parent setting. Also, don't scale the collision area to 0. This value is not allowed by the setting system, so it'd indicate an error when slicing, but before slicing the convex hull gets calculated which results in degenerate polygons. Don't do that. Instead, we'll just let it pretend the scale factor is 1. Contributes to issue CURA-9091.
2022-04-06Removed the rather hacky implementation of the shrinkage factor averaging. ↵p.kuiper
Issues with dual extrusion were the second extruder is not used should solved in a different way. Relates to PP-77
2022-04-01Removed the settings: "material_shrinkage_percentage" and update code that ↵PP-77_shrinkage_compensation_for_PLA_TPLA_PETGp.kuiper
was using this parameter. material_shrinkage_percentage_xy and material_shrinkage_percentage_z cannot depend on material_shrinkage_percentage otherwise their resolve function will not execute properly. I noticed that the shrinkage factors do not get the correct value if a wrong nozzle is chosen for a material. However, in that case the slicer will also not slice, so in practice this is not an issue Relates to PP-77
2022-03-31Use correct keyboard enumsJaime van Kessel
2021-12-28Search/replace Qt5->Qt6.Remco Burema
part of upgrading Qt to v6.2: CURA-8591
2021-06-08Merge pull request #9884 from Ultimaker/CURA-7873_fix_positioning_merged_meshesRemco Burema
Fix positioning of merged transformed meshes
2021-05-27Merge branch 'master' of github.com:Ultimaker/CuraGhostkeeper
2021-05-21Check if child bounding box is None before checking if it's degenerate.Ghostkeeper
Contributes to issue CURA-7873.
2021-05-21Fix calculating AABBs if group nodes are involvedGhostkeeper
The position of the group node should in theory never be included. We'll return that position only if there is no mesh data and all children have no AABB either. In that case we'll return a degenerate AABB so that handling code has something to work with. But then also make sure that those degenerate AABBs are ignored if we want to get the AABB of a parent node. Contributes to issue CURA-7873.
2021-05-18Fix copying MIME type if scene nodes are copiedGhostkeeper
We're not doing this in the nicest way possible... Contributes to issue CURA-8232.
2020-10-09Cache wasn't valid due to a reference being stored, not a copy.Remco Burema
paer of CURA-7440
2020-09-08Take node groups into account when computing the centre of the mesh groupGhostkeeper
These groups were not considered because they are not sliceable. Their children are sliceable, so I could just use a DepthFirstIterator. However their group computes the AABB correctly also, so taking the AABB of the group is more efficient. Contributes to issue CURA-7118.
2020-09-08Don't re-scale convex hulls for groupsGhostkeeper
The convex hulls for groups are already constructed from the convex hull of the convex hulls of all of their children. Since the children's convex hulls are already scaled, we don't want to scale it again for the group. Contributes to issue CURA-7118.
2020-09-02Account for the fact that global_stack may be emptyGhostkeeper
You should not have any models in your scene then though. But oh well. It also fixes the typing. Contributes to issue CURA-7118.
2020-09-02Fix updating the 2D convex hullGhostkeeper
This comes at some performance cost, sadly. This is necessary because the convex hull of every node may change if the transformation of any other node changes, since that transformation may adjust the total bounding box of the mesh group. Contributes to issue CURA-7118.
2020-09-02Compute centre of current mesh groupGhostkeeper
This is either the centre of the bounding box around all printable nodes in the scene, or the centre of the bounding box of the most-ancestral node that is not yet the scene root itself in one-at-a-time mode. Contributes to issue CURA-7118.
2020-09-02Only scale convex hull if there is a non-1 scaling factorGhostkeeper
This will save some processing power for the very common case where there is no scaling factor. Contributes to issue CURA-7118.
2020-09-02Get scale factor from global stackGhostkeeper
This is the one that's actually used by CuraEngine. If I get it per-object, the material profile overrides it. Contributes to issue CURA-7118.
2020-09-02Adjust collision area based on shrinkage compensation ratioGhostkeeper
So now if the model is grown due to shrinkage compensation, its collision area will also grow. This prevents objects adjacent to each other from hitting each other. Contributes to issue CURA-7118.
2020-06-30Remove normals for ConvexHullNodeJaime van Kessel
They are rendered flat, so no need to store the normals CURA-7106
2020-06-23Re-use some render batchesJaime van Kessel
This prevents us from having to re-create them everytime CURA-7106
2020-06-23Don't copy transformations if it's not neededJaime van Kessel
CURA=7106
2020-06-23Simplify recomputeConvexHull codeJaime van Kessel
CURA-7106
2020-06-23Use cheaper convexhull function when not using raftJaime van Kessel
CURA-7106
2020-06-23Remove useless codeJaime van Kessel
CURA-7106
2020-06-22Remove unneeded checks in convex hull nodeJaime van Kessel
CURA-7106
2020-06-18Don't crash when failing to create Toolbox.qml dialogueGhostkeeper
Basically we should never be raising the master Exception class, really. The enclosing class has error handling in case this returns None already, so this fix is easy. Contributes to Sentry issue CURA-Y5.
2020-06-04Merge branch 'master' into feature_support_meshes_presentfieldOfView
# Conflicts: # cura/Scene/CuraSceneController.py # cura/Scene/CuraSceneNode.py
2020-05-29Don't use deprecated extruders propertyGhostkeeper
Done during Turbo Testing and Tooling.
2020-05-29Remove trailing whitespace from Python filesNino van Hooff
2020-05-28Merge remote-tracking branch 'origin/master' into ↵Nino van Hooff
doxygen_to_restructuredtext_comments # Conflicts: # cura/API/__init__.py # cura/Settings/CuraContainerRegistry.py # cura/Settings/ExtruderManager.py # plugins/PostProcessingPlugin/scripts/PauseAtHeight.py # plugins/UM3NetworkPrinting/src/Cloud/CloudApiClient.py # plugins/UM3NetworkPrinting/src/Cloud/ToolPathUploader.py # plugins/UM3NetworkPrinting/src/Network/LocalClusterOutputDeviceManager.py
2020-05-28Convert remaining doxygen to rstNino van Hooff
2020-05-25Check first if we have valid vertex dataGhostkeeper
The convex hull calculation may fail. If it does, we want to just tomit the convex hull shadow, rather than crash. Fixes Sentry issue CURA-ST.
2020-03-22Remove unused importsfieldOfView
2020-03-22Restore the SettingDefinition relations without killing a puppyfieldOfView
2020-03-22Show support settings when support meshes are present in the scenefieldOfView
2020-02-28Prevent max recursion for convex hull calculationJaime van Kessel
fixes CURA-3W
2020-01-10Fix bunch of issues found by pylintJaime van Kessel
2020-01-10Add some missing typingJaime van Kessel
2020-01-03Add some timers to sceneChangedJaime van Kessel
2019-12-10Fix incorrect casingJaime van Kessel
Minor issue and I didn't want to send it back to todo *again* because of it. CURA-6522
2019-12-06Fix two mypy warningsNino van Hooff
CURA-6522
2019-12-06Use the printing area (hull + adhesion for one-at-a-time) instead ofNino van Hooff
convex hull for build volume collision detection. The convex hull is not suitable for this purpose because for one-at-a-time it includes the machine head polygon, which should be allowed to travel outside the build volume CURA-6522
2019-12-04Do not show any object shadows in all_at_once mode.Nino van Hooff
Also DRYed up the one_at_a_time check CURA-6522
2019-11-20Merge branch 'master' of github.com:Ultimaker/Cura into ↵Jaime van Kessel
CURA-6522_one_at_a_time_overlapping_build_area
2019-11-12Change shadows on buildplate for one-at-a-time printingNino van Hooff
Inner: adhesion area Outer: full head In my opinion this allows the user to more easily see whether this object can be printed after another object.
2019-11-11Fix typingLipu Fei
2019-11-08Add extra typingJaime van Kessel
2019-11-08Fix some typing issuesJaime van Kessel