11812 Commits

Author SHA1 Message Date
Mark Burton
f82753b766 Move optimize_wall_printing_order from experimental section to shell.
Still not enabled by default yet but perhaps in the future after it has been tested more it will be.
2018-01-02 09:39:20 +00:00
Ghostkeeper
a87465186e
Fix off-by-one bug when importing profiles with extruder stacks
Since machine_extruders contains only the extruder stacks (not the global stack) but profile_index counts through all stacks including the global stack, we need to increase the length of machine_extruders by 1 when comparing.
I also swapped the comparison around since I think it's more logical this way around.

Contributes to issue CURA-4738.
2018-01-02 08:19:31 +01:00
Ruben D
689a18ee57
Rename sidebar_collapsed and code style
sidebar_collapsed is more consistent with other options and setting names we use. Better change it before the next release rolls out otherwise we'd have to do a version upgrade.
Also changed some code style things to be in line with our guidelines.

Contributes to issue CURA-4234.
2017-12-30 19:35:46 +01:00
Ruben D
147278e455
Merge branch 'thetobby-patch5' 2017-12-30 18:30:36 +01:00
Ruben D
a645e2647a
Merge branch 'patch5' of github.com:thetobby/Cura into thetobby-patch5 2017-12-30 18:30:22 +01:00
Ruben D
80ba5fc97d
Fix PYTHONPATH pass-through
This makes sure that any pythonpath on the user's environment is also used for these tests. The same fix as here: 31106cd60a
2017-12-30 17:11:11 +01:00
Ruben D
28919a57a4
Fix testing whether tests exist on older CMake
The string equality works on the 3.6 but not on 3.5. This works on 3.5, so I hope it also works on 3.6 (but I don't have that computer with me right now).
2017-12-30 16:58:52 +01:00
Torbjørn
391adbdfb3 Remove ID from definition files 2017-12-30 02:24:23 +01:00
Ghostkeeper
719bd5a707
Fix slicing non-printable meshes that fall outside of build volume
Non-printable meshes don't care whether they are in the build volume or not.

Contributes to issue CURA-4734.
2017-12-29 18:08:58 +01:00
Ghostkeeper
4a3109c885
Don't crash when loading model before a printer is loaded
The model won't load successfully and you get a message that it failed to load, but Cura won't crash at least.

Contributes to issue CURA-4736.
2017-12-29 14:47:55 +01:00
Ghostkeeper
1bcdc0357e
If there is no added printer, disallow closing the window
The state of having no printer added is very weird to the user. Let's prevent that from happening by accident.

Contributes to issue CURA-4736.
2017-12-29 14:32:43 +01:00
Ghostkeeper
8b504c8acc
Fix scroll position after collapsing category not in focus
When collapsing a category, the height of the category is briefly set to 0 and then animated there properly. If the setting list becomes so small then that the scroll bar disappears, the view should automatically get scrolled up. But because the focus changed at the same time it would move the scrollbar such that the category header was in view. This clashed, causing the scroll position to end up not completely at the top even though the scroll bar did disappear. Setting the focus after collapsing the scroll bar prevents this.

Contributes to issue CURA-4732 and fixes #2935.
2017-12-29 14:07:34 +01:00
Ghostkeeper
cda600f12d
Don't halt build when encountering duplicate tests
I had duplicate tests because multiple plug-ins were interfering with each other. We shouldn't crash on that.

Contributes to issue CURA-4692.
2017-12-29 13:16:52 +01:00
Ghostkeeper
c786f7a69b
Add Portuguese to language drop-down
So that we can select it.

Contributes to issue CURA-4692.
2017-12-29 11:53:58 +01:00
Ghostkeeper
ac8f3a31be
Include period in translation source text
I suspect that this was originally done this way to prevent breaking a string freeze. I'm now correcting it so that languages that don't use this period will also be able to properly end their sentence (such as Japanese or Chinese).

Contributes to issue CURA-4692.
2017-12-29 11:51:28 +01:00
Ghostkeeper
da4372beef
Corrections for Portuguese translation
Without really knowing the language, I was able to make these corrections.

Contributes to issue CURA-4692.
2017-12-29 11:49:04 +01:00
Ghostkeeper
5b47c58e80
Add European Portuguese translation
This is a new translation from Bothof.

Contributes to issue CURA-4692.
2017-12-29 11:22:55 +01:00
Ghostkeeper
bf2972200d
Clarify infill/skin overlap setting descriptions a bit
Discovered during work on CURA-4732.
2017-12-28 18:09:44 +01:00
Ghostkeeper
10f9ae4082
Resolve binding loop
Let's align the icons to the text instead of the text to the icons. This makes it all align from left to right and allows the button to take the width of the childrenRect properly.
2017-12-28 16:21:29 +01:00
Ghostkeeper
9b41cc05af
Further fix for MonitorButton
Forgot this one here.

Contributes to issue CURA-4741.
2017-12-28 15:46:06 +01:00
Ghostkeeper
5f240229f9
Fix reference to addAdditionalComponents and updateAdditionalComponents
Nobody ever tested this, I think...

Contributes to issue CURA-4741.
2017-12-28 15:45:03 +01:00
Ghostkeeper
a4d83331ad
Code style: Space around binary operator
Contributes to issue CURA-4672.
2017-12-28 14:30:47 +01:00
Ghostkeeper
4b9ddc186a
Code style: Space after binary operator
Contributes to issue CURA-4672.
2017-12-28 14:28:12 +01:00
Aleksei S
d0a3575c0c Don't print the model if it is outside of the buildplate
CURA-4734
2017-12-22 14:48:45 +01:00
Aleksei S
05acb2e00f Prvent integer infinitive value after arranging all models
CURA-4672
2017-12-22 13:04:25 +01:00
Aleksei S
b454b43ae0 Merge branch 'master' of github.com:Ultimaker/cura 2017-12-22 12:02:18 +01:00
Aleksei S
f591822836 Set minimum distance between models
CURA-4672
2017-12-22 12:00:08 +01:00
ChrisTerBeke
f75d91071a Remove invisible flag from allowed command line options to trigger non-gui mode 2017-12-22 11:39:58 +01:00
ChrisTerBeke
b29047abd3 Small fixes for disable user data triggering preferences window 2017-12-22 11:38:56 +01:00
Aleksei S
c3954c40ac Merge branch 'master' of github.com:Ultimaker/cura 2017-12-21 16:25:54 +01:00
Aleksei S
447c6e7e23 Added Disable link style
CURA-4630
2017-12-21 16:25:13 +01:00
Lipu Fei
4e90204620 Only push aways other objects if they are printing meshes
CURA-4705
2017-12-21 15:51:24 +01:00
Lipu Fei
df1d3bf569 Add fix and doc for Mac OpenGL crash
CURA-4726
2017-12-21 15:43:35 +01:00
alekseisasin
84a24a582c
Merge pull request #2865 from Ultimaker/feature_decline_slice_info
Add button to disable sending anonymous information
2017-12-21 15:30:49 +01:00
Lipu Fei
eaa27114c6 Fix ID changing in project loading 2017-12-21 12:43:50 +01:00
alekseisasin
d7146a90f5
Merge branch 'master' into feature_decline_slice_info 2017-12-21 10:24:35 +01:00
Lipu Fei
0a0db39f02 deepcopy value from the stack
CURA-4705
2017-12-21 09:27:53 +01:00
ChrisTerBeke
419dc6f59a Improve issue template a bit 2017-12-21 09:14:31 +01:00
Lipu Fei
107f6aff78 Fix SolidView to use isNonPrintingMesh decorator call
CURA-4705
2017-12-20 16:48:57 +01:00
Lipu Fei
ae86a838e0 Update extruder count model in MachineSettings dialog
CURA-4722
2017-12-20 16:23:39 +01:00
Lipu Fei
6d06d18407 Fix Extruder tabs in MachineSettings dialog
CURA-4722

The extruder field views should be bound to the actual extruder, not the
active extruder.
2017-12-20 13:58:02 +01:00
Lipu Fei
49ee2a543e Fix code style 2017-12-20 13:57:48 +01:00
Lipu Fei
588335c6db Make sure only single-extrusion machines will be fixed
CURA-4713
2017-12-20 13:42:58 +01:00
Lipu Fei
196bffd3ad Only try to get a new unique name when it already exists
CURA-4704
2017-12-20 13:20:24 +01:00
Lipu Fei
4f28dec884 Fix typo 2017-12-20 13:19:48 +01:00
Lipu Fei
61dd1c98fd Fix cases with no per-object settings stack
CURA-4705
2017-12-20 13:16:29 +01:00
Lipu Fei
b2ac2e0fc7 Trust the stack values more than the decorator
CURA-4705

A SceneNode and its decorators can be deepcopied. However, the data in
some decorators will only be updated when a per-object settings stack
triggers a property changed event. That event cannot copied. So, it can
happen that a deepcopied SceneNode has inconsistent data in some of its
decorators than what's in the per-object settings stack.
2017-12-20 12:26:50 +01:00
Lipu Fei
1a6a6f74d5 Fix SettingOverrideDecorator for non printing meshes
CURA-4705

- Do not set a "secret" property in the SceneNode to indicate whether a
  node is a non-printing-mesh because SceneNode will not copy that
  property during a deepcopy. Store it in the SettingOverrideDecorator
  and make it accessible through a decorator call
- Try to trigger an auto-slice AFTER the non-printing-meshes flag is
  updated, not before.
2017-12-20 12:26:50 +01:00
Ghostkeeper
a860154831
Merge branch 'master' of github.com:Ultimaker/Cura 2017-12-20 10:20:30 +01:00
Diego Prado Gesto
8af52fb61b CURA-4726 Creating unique name for the per object stack. Keep the prefix so it is easy to trace when debugging instead of just a number 2017-12-19 19:44:04 +01:00