reorder fdm menus, add solid fill sub-menu
This commit is contained in:
parent
cb0344fb70
commit
bcadc9dfb9
4 changed files with 22 additions and 17 deletions
|
|
@ -949,7 +949,9 @@ export const conf = {
|
|||
hidden: {
|
||||
"fdm-base": true,
|
||||
"fdm-cool": true,
|
||||
"fdm-heat": true,
|
||||
"fdm-fill": true,
|
||||
"fdm-solid": true,
|
||||
"fdm-supp": true,
|
||||
"fdm-xprt": true
|
||||
},
|
||||
|
|
|
|||
|
|
@ -82,8 +82,11 @@ export function menu() {
|
|||
sliceDetectThin: newSelect(LANG.ad_thin_s, { title: LANG.ad_thin_l, action: thinWallSave }, "thin"),
|
||||
outputAlternating: newBoolean(LANG.ad_altr_s, onBooleanClick, {title:LANG.ad_altr_l}),
|
||||
sliceZInterleave: newBoolean(LANG.ad_zint_s, onBooleanClick, {title:LANG.ad_zint_l, show:zIntShow}),
|
||||
separator: newBlank({ class:"set-sep", driven }),
|
||||
_____: newGroup(LANG.fs_menu, $('fdm-solid'), { modes:FDM, driven, hideable, separator, group:"fdm-solid" }),
|
||||
sliceFillAngle: newInput(LANG.fi_angl_s, {title:LANG.fi_angl_l, convert:toFloat}),
|
||||
sliceFillOverlap: newInput(LANG.fi_over_s, {title:LANG.fi_over_l, convert:toFloat, bound:bound(0.0,2.0)}),
|
||||
sliceFillGrow: newInput(LANG.fi_grow_s, {title:LANG.fi_grow_l, convert:toFloat}),
|
||||
sliceSolidMinArea: newInput(LANG.ad_msol_s, {title:LANG.ad_msol_l, convert:toFloat}),
|
||||
_____: newGroup(LANG.fi_menu, $('fdm-fill'), { modes:FDM, driven, hideable, separator, group:"fdm-fill" }),
|
||||
sliceFillType: newSelect(LANG.fi_type, {trigger}, "infill"),
|
||||
sliceFillSparse: newInput(LANG.fi_pcnt_s, {title:LANG.fi_pcnt_l, convert:toFloat, bound:bound(0.0,1.0), show:hasInfill}),
|
||||
|
|
@ -91,9 +94,6 @@ export function menu() {
|
|||
separator: newBlank({ class:"set-sep", driven }),
|
||||
sliceFillRate: newInput(LANG.ou_feed_s, {title:LANG.ou_feed_l, convert:toInt, bound:bound(0,500)}),
|
||||
sliceSolidRate: newInput(LANG.ou_fini_s, {title:LANG.ou_fini_l, convert:toInt, bound:bound(0,500)}),
|
||||
separator: newBlank({ class:"set-sep", driven }),
|
||||
sliceFillGrow: newInput(LANG.fi_grow_s, {title:LANG.fi_grow_l, convert:toFloat}),
|
||||
sliceFillAngle: newInput(LANG.fi_angl_s, {title:LANG.fi_angl_l, convert:toFloat}),
|
||||
_____: newGroup(LANG.fh_menu, $('fdm-heat'), { modes:FDM, driven, hideable, separator, group:"fdm-heat" }),
|
||||
outputTemp: newInput(LANG.ou_nozl_s, {title:LANG.ou_nozl_l, convert:toInt}),
|
||||
outputBedTemp: newInput(LANG.ou_bedd_s, {title:LANG.ou_bedd_l, convert:toInt}),
|
||||
|
|
@ -172,16 +172,15 @@ export function menu() {
|
|||
outputBeltFirst: newBoolean(LANG.ad_lbir_s, onBooleanClick, {title:LANG.ad_lbir_l, show:isBelt}),
|
||||
_____: newGroup(LANG.ad_menu, $('fdm-expert'), { modes:FDM, driven, hideable, separator, group:"fdm-xprt" }),
|
||||
sliceAngle: newInput(LANG.sl_angl_s, {title:LANG.sl_angl_l, convert:toFloat, show:isBelt}),
|
||||
antiBacklash: newInput(LANG.ad_abkl_s, {title:LANG.ad_abkl_l, convert:toFloat, bound:bound(0,3)}),
|
||||
arcTolerance: newInput(LANG.ad_arct_s, {title:LANG.ad_arct_l, convert:toFloat, bound:bound(0,1.0), show:() => { return isNotBelt() }}),
|
||||
outputRetractDwell: newInput(LANG.ad_rdwl_s, {title:LANG.ad_rdwl_l, convert:toInt}),
|
||||
sliceSolidMinArea: newInput(LANG.ad_msol_s, {title:LANG.ad_msol_l, convert:toFloat}),
|
||||
outputMinSpeed: newInput(LANG.ad_mins_s, {title:LANG.ad_mins_l, convert:toFloat, bound:bound(1,200)}),
|
||||
outputPurgeTower: newInput(LANG.ad_purg_s, {title:LANG.ad_purg_l, convert:toInt, bound:bound(0,1000)}),
|
||||
outputShortPoly: newInput(LANG.ad_spol_s, {title:LANG.ad_spol_l, convert:toFloat, bound:bound(0,10000)}),
|
||||
outputCoastDist: newInput(LANG.ad_scst_s, {title:LANG.ad_scst_l, convert:toFloat, bound:bound(0.0,10)}),
|
||||
zHopDistance: newInput(LANG.ad_zhop_s, {title:LANG.ad_zhop_l, convert:toFloat, bound:bound(0,3.0)}),
|
||||
arcTolerance: newInput(LANG.ad_arct_s, {title:LANG.ad_arct_l, convert:toFloat, bound:bound(0,1.0), show:() => { return isNotBelt() }}),
|
||||
antiBacklash: newInput(LANG.ad_abkl_s, {title:LANG.ad_abkl_l, convert:toFloat, bound:bound(0,3)}),
|
||||
outputLoops: newInput(LANG.ag_loop_s, {title:LANG.ag_loop_l, convert:toInt, bound:bound(-1,1000), show:isBelt}),
|
||||
outputPurgeTower: newInput(LANG.ad_purg_s, {title:LANG.ad_purg_l, convert:toInt, bound:bound(0,1000)}),
|
||||
|
||||
fdmRanges: $('fdm-ranges'),
|
||||
|
||||
|
|
|
|||
|
|
@ -337,6 +337,7 @@
|
|||
<!-- FDM -->
|
||||
<div id="fdm-layers" class="set2-group mode-fdm"></div>
|
||||
<div id="fdm-walls" class="set2-group mode-fdm"></div>
|
||||
<div id="fdm-solid" class="set2-group mode-fdm"></div>
|
||||
<div id="fdm-fill" class="set2-group mode-fdm"></div>
|
||||
<div id="fdm-heat" class="set2-group mode-fdm"></div>
|
||||
<div id="fdm-cool" class="set2-group mode-fdm"></div>
|
||||
|
|
|
|||
|
|
@ -332,14 +332,14 @@ self.lang['en-us'] = {
|
|||
se_save: "save",
|
||||
|
||||
// FDM LAYERS
|
||||
sl_menu: "paths",
|
||||
sl_menu: "layers",
|
||||
sl_angl_s: "slice angle",
|
||||
sl_angl_l: ["slice angle bias in degrees"],
|
||||
sl_lahi_s: "layer height",
|
||||
sl_lahi_l: ["height of each slice","layer in millimeters"],
|
||||
ad_minl_s: "layer minimum",
|
||||
ad_minl_l: ["adaptive min layer height","in millimeters","must be non-zero"],
|
||||
ad_adap_s: "adaptive",
|
||||
ad_adap_s: "adaptive height",
|
||||
ad_adap_l: ["use adaptive layer heights","with 'layer height' as max","and 'layer min' as the min"],
|
||||
sl_ltop_s: "top layers",
|
||||
sl_ltop_l: ["number of solid layers at the top of the print or on flat areas facing up"],
|
||||
|
|
@ -363,6 +363,15 @@ self.lang['en-us'] = {
|
|||
sl_strt_s: "layer start",
|
||||
sl_strt_l: ["layer starting point","last = last layer end","center = part center","origin = device origin"],
|
||||
|
||||
// FDM SOLID
|
||||
fs_menu: "solid fill",
|
||||
fi_over_s: "shell overlap",
|
||||
fi_over_l: ["overlap with shell and other fill","for improved extrusion bonding","as fraction of nozzle diameter","0.0 - 2.0"],
|
||||
fi_angl_s: "start angle",
|
||||
fi_angl_l: ["starting angle in degrees","90 degrees added to ","each following layer","applies only to solid layers"],
|
||||
fi_grow_s: "area expand",
|
||||
fi_grow_l: ["expand projected solids","can help with solid areas","over sparse infill areas","units in millimeters"],
|
||||
|
||||
// FDM FILL
|
||||
fi_menu: "sparse fill",
|
||||
fi_type: "fill type",
|
||||
|
|
@ -370,12 +379,6 @@ self.lang['en-us'] = {
|
|||
fi_pcnt_l: ["fill density values","0.0 - 1.0"],
|
||||
fi_rept_s: "fill repeat",
|
||||
fi_rept_l: ["number of times to repeat","unchanged fill layers"],
|
||||
fi_angl_s: "solid angle",
|
||||
fi_angl_l: ["starting angle in degrees","90 degrees added to ","each following layer","applies only to solid layers"],
|
||||
fi_grow_s: "solid expand",
|
||||
fi_grow_l: ["expand projected solids","can help with solid areas","over sparse infill areas","units in millimeters"],
|
||||
fi_over_s: "fill overlap",
|
||||
fi_over_l: ["overlap with shell and other fill","for improved extrusion bonding","as fraction of nozzle diameter","0.0 - 2.0"],
|
||||
// fi_rate_s: "print speed",
|
||||
fi_rate_l: ["extrusion speed for infill","set to 0 to use default","output print speeds"],
|
||||
|
||||
|
|
@ -855,7 +858,7 @@ self.lang['en-us'] = {
|
|||
ad_rdwl_l: ["time between re-engaging","filament and movement","in milliseconds"],
|
||||
ad_scst_s: "shell coast",
|
||||
ad_scst_l: ["non-printing end","of perimeter shells","in millimeters"],
|
||||
ad_msol_s: "min solid",
|
||||
ad_msol_s: "min area",
|
||||
ad_msol_l: ["minimum area (mm^2)","required to keep solid","must be > 0.1"],
|
||||
ad_mins_s: "min speed",
|
||||
ad_mins_l: ["minimum speed","for short segments"],
|
||||
|
|
|
|||
Loading…
Reference in a new issue