Skip to content

Commit 07f267f

Browse files
committed
support setting rename
1 parent a8270a6 commit 07f267f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

assemblers/BaseDepositionAssembler.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,8 @@ protected virtual void AddStandardHeader(SingleMaterialFFFSettings Settings)
504504
Builder.AddCommentLine(string.Format("; Shells: {0} InteriorShells: {1}", Settings.Shells, Settings.InteriorSolidRegionShells));
505505
Builder.AddCommentLine(string.Format("; RoofLayers: {0} FloorLayers: {1}", Settings.RoofLayers, Settings.FloorLayers));
506506
Builder.AddCommentLine(string.Format("; InfillX: {0}", Settings.SparseLinearInfillStepX));
507-
Builder.AddCommentLine(string.Format("; Support: {0} SpacingX: {1}", Settings.EnableSupport, Settings.SupportSpacingStepX));
507+
Builder.AddCommentLine(string.Format("; Support: {0} Angle {1} SpacingX: {2} Shell: {3} Gap: {4} VolScale: {5}",
508+
Settings.GenerateSupport, Settings.SupportOverhangAngleDeg, Settings.SupportSpacingStepX, Settings.EnableSupportShell, Settings.SupportSolidSpace, Settings.SupportVolumeScale));
508509
Builder.AddCommentLine(string.Format("; ClipOverlaps: {0} Tolerance: {1}", Settings.ClipSelfOverlaps, Settings.SelfOverlapToleranceX));
509510
Builder.AddCommentLine(string.Format("; LayerRange: {0}-{1}", Settings.LayerRangeFilter.a, Settings.LayerRangeFilter.b));
510511
}

settings/AdditiveSettings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public override MachineInfo BaseMachine {
238238
/*
239239
* Support settings
240240
*/
241-
public bool EnableSupport = true;
241+
public bool GenerateSupport = true; // should we auto-generate support
242242
public double SupportOverhangAngleDeg = 35; // standard "support angle"
243243
public double SupportSpacingStepX = 5.0; // usage depends on support technique?
244244
public double SupportVolumeScale = 0.9; // multiplier on extrusion volume
@@ -310,7 +310,7 @@ protected virtual void CopyFieldsTo(SingleMaterialFFFSettings to)
310310
to.SparseLinearInfillStepX = this.SparseLinearInfillStepX;
311311
to.SparseFillBorderOverlapX = this.SparseFillBorderOverlapX;
312312

313-
to.EnableSupport = this.EnableSupport;
313+
to.GenerateSupport = this.GenerateSupport;
314314
to.SupportOverhangAngleDeg = this.SupportOverhangAngleDeg;
315315
to.SupportSpacingStepX = this.SupportSpacingStepX;
316316
to.SupportVolumeScale = this.SupportVolumeScale;

0 commit comments

Comments
 (0)