Made the save stl in preview have better asyc early in save.

Made the support everywhere curaengine setting work
This commit is contained in:
larsbrubaker 2014-02-07 15:14:29 -08:00
parent e74eaae13a
commit a66b614ae3
5 changed files with 7 additions and 4 deletions

View file

@ -1385,9 +1385,6 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
processingProgressControl.PercentComplete = 0;
LockEditControls();
// we sent the data to the asynch lists but we will not pull it back out (only use it as a temp holder).
PushMeshDataToAsynchLists(true);
BackgroundWorker mergeAndSavePartsBackgroundWorker = new BackgroundWorker();
mergeAndSavePartsBackgroundWorker.WorkerReportsProgress = true;
@ -1401,6 +1398,9 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
void mergeAndSavePartsBackgroundWorker_DoWork(object sender, DoWorkEventArgs e)
{
// we sent the data to the asynch lists but we will not pull it back out (only use it as a temp holder).
PushMeshDataToAsynchLists(true);
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
BackgroundWorker backgroundWorker = (BackgroundWorker)sender;
try

View file

@ -69,7 +69,7 @@ namespace MatterHackers.MatterControl
new ScaledSingleNumber("supportLineDistance", "support_material_spacing", 1000),
new SupportMatterial("supportAngle", "support_material"),
new NotPassedItem("", "support_material_threshold"),
//new ScaledSingleNumber(supportEverywhere);
new MapItem("supportEverywhere", "support_material_create_internal_support"),
new ScaledSingleNumber("supportXYDistance", "support_material_xy_distance", 1000),
new ScaledSingleNumber("supportZDistance", "support_material_z_distance", 1000),

View file

@ -94,6 +94,7 @@ start_perimeters_at_concave_points = 0
start_perimeters_at_non_overhang = 0
support_material = 0
support_material_angle = 0
support_material_create_internal_support = 0
support_material_enforce_layers = 0
support_material_extruder = 1
support_material_extrusion_width = 0

View file

@ -111,6 +111,7 @@ Advanced
support_material_interface_spacing
support_material_xy_distance
support_material_z_distance
support_material_create_internal_support
Notes
Notes
notes

View file

@ -94,6 +94,7 @@ start_gcode|Start G-Code|MULTI_LINE_TEXT||This gcode will be inserted into the o
start_perimeters_at_concave_points|Start At Concave Points|CHECK_BOX||Make sure the first point on a perimeter is a concave point.
start_perimeters_at_non_overhang|Start At Non Overhang|CHECK_BOX||Make sure the first point on a perimeter is not an overhang.
support_material_angle|Pattern Angle|POSITVE_DOUBLE|degrees|The starting angle of the supports.
support_material_create_internal_support|Internal Support|CHECK_BOX||Create support where needed on internal features.
support_material_enforce_layers|Enforce Support For First|INT|layers|Generate support material everywhere not touching the bed for n layers, regardless of angle.
support_material_extruder|Support Material Extruder|INT||The index of the extruder to use for support material.
support_material_extrusion_width|Support Material|DOUBLE_OR_PERCENT|mm or %\nleave 0 for default|Leave this as 0 to allow automatic calculation of extrusion width.