293 Commits

Author SHA1 Message Date
Jack Ha
b0d0b75662 Merge branch '3.2' 2018-01-23 14:25:11 +01:00
Lipu Fei
d3e85e6370 Revert "Do boundary checks on nodes for which the boundary check is unknown"
This reverts commit 27e441ecd9642530b5b8f8fe949cff152d54dcba.
2018-01-23 12:38:59 +01:00
Ghostkeeper
f5e40c2281
Merge branch '3.2'
Contributes to issue CURA-4797.
2018-01-23 11:27:17 +01:00
Ghostkeeper
27e441ecd9
Do boundary checks on nodes for which the boundary check is unknown
Just before deciding whether to drop down the node on the build plate.

Contributes to issue CURA-4797.
2018-01-23 11:22:24 +01:00
Jack Ha
8a53549bce CURA-4033 split update bounds for a single node in buildvolume and also call it from readMeshFinished 2018-01-17 17:01:03 +01:00
ChrisTerBeke
a52889a601 Update 3D viewer build volume when relevant machine settings are changed - CURA-4659 2017-12-01 16:29:42 +01:00
Lipu Fei
cd37f91a0a Remove unnecessary code in BuildVolume
CURA-4482
2017-11-17 11:02:41 +01:00
ChrisTerBeke
f36c9ffbc0 Create extruder stack for single extrusion machines when adding new machine - CURA-4482 2017-10-31 09:49:24 +01:00
ChrisTerBeke
b91824aab1 Move towards making extruder manager a first class citizen - CURA-4482 2017-10-26 17:54:36 +02:00
Mark
9a193ad5c5 Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
alekseisasin
98ab571483 Removed 14bitVoid code accord to a new LGPL license
CURA-4232
2017-09-14 18:03:31 +02:00
alekseisasin
204019702d Added Title for messages
CURA-4203
2017-09-13 13:58:08 +02:00
fieldOfView
4c9028b3d0 Remove z-fighting kludge
This was actually introducing z-fighting artefacts with the new shader and no added geometry.
2017-09-12 15:06:06 +02:00
fieldOfView
ec6fa19d4e Updated copyright date 2017-09-11 23:49:16 +02:00
fieldOfView
6658e1a9ae Draw grid lines using shader 2017-09-11 23:41:10 +02:00
fieldOfView
a4aa134f25 Revert "Merge branch 'feature_grid_lines'"
This reverts commit a0b7a2d165d4f973c69bf5fc7314726f19eeeb65, reversing
changes made to db640c6f3d7b32b4c387268e8ebeb0d4de1b461a.

# Conflicts:
#	cura/BuildVolume.py
2017-09-11 22:43:55 +02:00
Mark
0a5744b74b Tweaked the update setting
CURA-4301
2017-09-11 11:21:31 +02:00
alekseisasin
c614f02d0f Fixed settings update. After each change in the settings the build volume was rebuilding
CURA-4271
2017-09-06 16:58:17 +02:00
Jaime van Kessel
904682945a Decreased the value of the u_z_bias, so the plate quad is drawn again.
CURA-4150
2017-08-23 12:48:19 +02:00
Ghostkeeper
18b88065f4
Render build plate slightly lower than grid to prevent Z fighting
Looks much better.

Contributes to issue CURA-4150.
2017-08-22 16:40:11 +02:00
Ghostkeeper
25c5c5a888
Add minor grid cells for circular build plates
Same technique as the major grid cells.

Contributes to issue CURA-4150.
2017-08-21 10:24:53 +02:00
Ghostkeeper
3b93a9d309
Add grid lines for circular build plates
Some trigonometry is involved to find the correct lengths for the lines.

Contributes to issue CURA-4150.
2017-08-21 10:21:25 +02:00
Ghostkeeper
d8dd9c0d3a
More efficient and elegant grid line creation
Since the zero point is always in the centre, we can just re-use this loop to prevent code duplication and gain a minor speed increase.

Contributes to issue CURA-4150.
2017-08-21 09:44:39 +02:00
Ghostkeeper
e7c5854694
Make grid size into global variables
It doesn't need to be a preference, but it should be easy to modify in the code.

Contributes to issue CURA-4150.
2017-08-21 09:24:31 +02:00
Ghostkeeper
585b6ad8eb
Remove superfluous grid shader
The grid shader is now exactly equal to the colour shader, so let's just use the colour shader.

Contributes to issue CURA-4150.
2017-08-17 15:25:27 +02:00
Ghostkeeper
bb3f8d085b
Fix transparency of minor grid cells
You need to turn it on manually, apparently.

Contributes to issue CURA-4150.
2017-08-17 10:35:00 +02:00
Ghostkeeper
38e907b3ae
Add minor grid lines
Makes it feel very professional and technical.

Contributes to issue CURA-4150.
2017-08-17 10:32:47 +02:00
Ghostkeeper
6da5dda44f
Initialise _grid_color in __init__
All fields should always be defined throughout the lifetime of every object, according to code style.

Contributes to issue CURA-4150.
2017-08-17 10:21:48 +02:00
Ghostkeeper
5e63c0df48
Add major grid cells
This draws a grid of 1x1cm.

Contributes to issue CURA-4150.
2017-08-17 09:56:11 +02:00
Ghostkeeper
484740f2ff
Remove grid pattern
It'll be replaced by grid lines instead of grid surfaces.

Contributes to issue CURA-4150.
2017-08-16 13:26:17 +02:00
Lipu Fei
3e870d2e40 Always update raft thickness and extra z clearance before rebuilding the build volume
CURA-4154
2017-08-11 12:27:45 +02:00
Ghostkeeper
a75387ff3e
Only use Z-hop setting for the used extruders
Otherwise the unused extruders still influence the build volume.
2017-08-08 11:40:19 +02:00
Lipu Fei
4564b2a843 Rebuild disallowed area when a limit_to_extruder_nr has been changed
CURA-4069

Trigger to rebuild the disallowed area when a limit to extruder feature
has been changed.
2017-07-24 10:40:14 +02:00
Ghostkeeper
75af56b1a1
Only use line widths of used extruders for brim/skirt size
No lines are drawn for the rest of the extruders.

Contributes to issue CURA-4072.
2017-07-21 12:56:37 +02:00
Lipu Fei
e6ce98b36d Make machine_nozzle_offset is not None before using it
CURA-4053
2017-07-17 13:01:15 +02:00
Ghostkeeper
fc93617698
Don't invert Y direction of offset for disallowed areas 2017-07-11 11:59:55 +02:00
14bitVoid
0f9125633b Multiply skirt/brim widths with initial layer line width 2017-07-11 02:51:24 +02:00
Jaime van Kessel
5895f27792 Revert "Also invert nozzle offset when offsetting machine-specified disallowed areas"
This reverts commit 319559740dd8c8c2f9ffad637bee43cef9345073.

This was already fixed (line 734 inveted it). This code breaks it when there is no extruder
2017-07-03 17:10:59 +02:00
Ghostkeeper
319559740d
Also invert nozzle offset when offsetting machine-specified disallowed areas
We inverted it properly with the borders, but not here yet.
2017-07-03 10:53:50 +02:00
Ghostkeeper
53e35daf02
Merge branch 'master' of github.com:Ultimaker/Cura 2017-06-29 13:45:02 +02:00
Jaime van Kessel
13f3477288 Fixed crash when adding a single extrusion printer
CURA-3980
2017-06-29 10:15:29 +02:00
Ghostkeeper
ab384ba8ec
Rename and invert moving disallowed areas metadata property
It's more easy semantically to invert this, to prevent the double negatives.

Contributes to issue CURA-3663.
2017-06-28 17:16:27 +02:00
Jaime van Kessel
f791017091 Revert "Added the no-nozzle offset for all polygons"
This reverts commit 45eb301f9b3e32f36b4fcfe2777bc3f9f177949d.
2017-06-28 14:20:12 +02:00
Jaime van Kessel
45eb301f9b Added the no-nozzle offset for all polygons
CURA-3663
2017-06-28 13:55:45 +02:00
Ghostkeeper
fb1d7bc223
Fix direction of Y-offset in disallowed areas
The front end has inverted Y with respect to the g-code. The prime position was correctly inverted but the nozzle offset wasn't.
2017-06-28 09:23:14 +02:00
Lipu Fei
b958e30fe6 Add machine_disallowed_areas and turn off nozzle offsetting for disallowed areas calculation
CURA-3663

We don't need to calculate the disallowed areas for certain machines
because they have taken into account the nozzle offsets. This commit
does the following:
- Add machine_disallowed_areas
- Add a flag in definition so that disallowed areas calculation with
  nozzle offsets becomes optional in Cura.

Update documentation for no offsetting for nozzles

Contributes to issue CURA-3663.
2017-06-23 08:33:03 +02:00
Lipu Fei
7fe5c2ad07 Fix code style
CURA-3663
2017-06-21 14:48:54 +02:00
Jaime van Kessel
4d853d5d52 Build volume no longer gives issue if -1 is provided as an int
CURA-3814
2017-05-22 13:22:03 +02:00
Tim Kuipers
69e4afffc8 fix: heightening of shadow for raft didn't take layer_0_z_overlap into account (CURA-3819) 2017-05-16 17:45:19 +02:00
Tim Kuipers
f4f6be103e cleanup: prime => prime blob and lil doc (CURA-3634) 2017-05-13 17:37:49 +02:00