Deploying to gh-pages from @ Klipper3d/klipper@d3c4ba4839 🚀
This commit is contained in:
119
zh/G-Codes.html
119
zh/G-Codes.html
@@ -1071,6 +1071,47 @@
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#exclude_object" class="md-nav__link">
|
||||
[exclude_object]
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="[exclude_object]">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#exclude_object_1" class="md-nav__link">
|
||||
EXCLUDE_OBJECT
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#exclude_object_define" class="md-nav__link">
|
||||
EXCLUDE_OBJECT_DEFINE
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#exclude_object_start" class="md-nav__link">
|
||||
EXCLUDE_OBJECT_START
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#exclude_object_end" class="md-nav__link">
|
||||
EXCLUDE_OBJECT_END
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -2300,8 +2341,8 @@
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="Exclude_Object.md" class="md-nav__link">
|
||||
None
|
||||
<a href="Exclude_Object.html" class="md-nav__link">
|
||||
Exclude Objects
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -3018,6 +3059,47 @@
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#exclude_object" class="md-nav__link">
|
||||
[exclude_object]
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="[exclude_object]">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#exclude_object_1" class="md-nav__link">
|
||||
EXCLUDE_OBJECT
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#exclude_object_define" class="md-nav__link">
|
||||
EXCLUDE_OBJECT_DEFINE
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#exclude_object_start" class="md-nav__link">
|
||||
EXCLUDE_OBJECT_START
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#exclude_object_end" class="md-nav__link">
|
||||
EXCLUDE_OBJECT_END
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -4252,16 +4334,37 @@
|
||||
<p>The following commands are available when an <a href="Config_Reference.html#endstop_phase">endstop_phase config section</a> is enabled (also see the <a href="Endstop_Phase.html">endstop phase guide</a>).</p>
|
||||
<h4 id="endstop_phase_calibrate">ENDSTOP_PHASE_CALIBRATE<a class="headerlink" href="#endstop_phase_calibrate" title="Permanent link">¶</a></h4>
|
||||
<p><code>ENDSTOP_PHASE_CALIBRATE [STEPPER=<config_name>]</code> 。如果没有提供STEPPER参数,那么该命令将报告在过去的归位操作中对端停步进相的统计。当提供STEPPER参数时,它会安排将给定的终点站相位设置写入配置文件中(与SAVE_CONFIG命令一起使用)。</p>
|
||||
<h3 id="exclude_object">[exclude_object]<a class="headerlink" href="#exclude_object" title="Permanent link">¶</a></h3>
|
||||
<p>The following commands are available when an <a href="Config_Reference.html#exclude_object">exclude_object config section</a> is enabled (also see the <a href="Exclude_Object.html">exclude object guide</a>):</p>
|
||||
<h4 id="exclude_object_1"><code>EXCLUDE_OBJECT</code><a class="headerlink" href="#exclude_object_1" title="Permanent link">¶</a></h4>
|
||||
<p><code>EXCLUDE_OBJECT [NAME=object_name] [CURRENT=1] [RESET=1]</code>: With no parameters, this will return a list of all currently excluded objects.</p>
|
||||
<p>When the <code>NAME</code> parameter is given, the named object will be excluded from printing.</p>
|
||||
<p>When the <code>CURRENT</code> parameter is given, the current object will be excluded from printing.</p>
|
||||
<p>When the <code>RESET</code> parameter is given, the list of excluded objects will be cleared. Additionally including <code>NAME</code> will only reset the named object. This <strong>can</strong> cause print failures, if layers were already skipped.</p>
|
||||
<h4 id="exclude_object_define"><code>EXCLUDE_OBJECT_DEFINE</code><a class="headerlink" href="#exclude_object_define" title="Permanent link">¶</a></h4>
|
||||
<p><code>EXCLUDE_OBJECT_DEFINE [NAME=object_name [CENTER=X,Y] [POLYGON=[[x,y],...]] [RESET=1] [JSON=1]</code>: Provides a summary of an object in the file.</p>
|
||||
<p>With no parameters provided, this will list the defined objects known to Klipper. Returns a list of strings, unless the <code>JSON</code> parameter is given, when it will return object details in json format.</p>
|
||||
<p>When the <code>NAME</code> parameter is included, this defines an object to be excluded.</p>
|
||||
<ul>
|
||||
<li><code>NAME</code>: This parameter is required. It is the identifier used by other commands in this module.</li>
|
||||
<li><code>CENTER</code>: An X,Y coordinate for the object.</li>
|
||||
<li><code>POLYGON</code>: An array of X,Y coordinates that provide an outline for the object.</li>
|
||||
</ul>
|
||||
<p>When the <code>RESET</code> parameter is provided, all defined objects will be cleared, and the <code>[exclude_object]</code> module will be reset.</p>
|
||||
<h4 id="exclude_object_start"><code>EXCLUDE_OBJECT_START</code><a class="headerlink" href="#exclude_object_start" title="Permanent link">¶</a></h4>
|
||||
<p><code>EXCLUDE_OBJECT_START NAME=object_name</code>: This command takes a <code>NAME</code> parameter and denotes the start of the gcode for an object on the current layer.</p>
|
||||
<h4 id="exclude_object_end"><code>EXCLUDE_OBJECT_END</code><a class="headerlink" href="#exclude_object_end" title="Permanent link">¶</a></h4>
|
||||
<p><code>EXCLUDE_OBJECT_END [NAME=object_name]</code>: Denotes the end of the object's gcode for the layer. It is paired with <code>EXCLUDE_OBJECT_START</code>. A <code>NAME</code> parameter is optional, and will only warn when the provided name does not match the current object.</p>
|
||||
<h3 id="extruder">[extruder]<a class="headerlink" href="#extruder" title="Permanent link">¶</a></h3>
|
||||
<p>The following commands are available if an <a href="Config_Reference.html#extruder">extruder config section</a> is enabled:</p>
|
||||
<h4 id="activate_extruder">ACTIVATE_EXTRUDER<a class="headerlink" href="#activate_extruder" title="Permanent link">¶</a></h4>
|
||||
<p><code>ACTIVATE_EXTRUDER EXTRUDER=<配置名></code>:在有多个<a href="Config_Reference.html#extruder">extruder</a>配置分段的打印机中,该命令会改变活跃的热端。</p>
|
||||
<h4 id="set_pressure_advance">SET_PRESSURE_ADVANCE<a class="headerlink" href="#set_pressure_advance" title="Permanent link">¶</a></h4>
|
||||
<p><code>SET_PRESSURE_ADVANCE [EXTRUDER=<config_name>] [ADVANCE=<pressure_advance>] [SMOOTH_TIME=<pressure_advance_smooth_time>]</code>: Set pressure advance parameters of an extruder stepper (as defined in an <a href="Config_Reference#extruder">extruder</a> or <a href="Config_Reference#extruder_stepper">extruder_stepper</a> config section). If EXTRUDER is not specified, it defaults to the stepper defined in the active hotend.</p>
|
||||
<p><code>SET_PRESSURE_ADVANCE [EXTRUDER=<config_name>] [ADVANCE=<pressure_advance>] [SMOOTH_TIME=<pressure_advance_smooth_time>]</code>: Set pressure advance parameters of an extruder stepper (as defined in an <a href="Config_Reference.html#extruder">extruder</a> or <a href="Config_Reference.html#extruder_stepper">extruder_stepper</a> config section). If EXTRUDER is not specified, it defaults to the stepper defined in the active hotend.</p>
|
||||
<h4 id="set_extruder_rotation_distance">SET_EXTRUDER_ROTATION_DISTANCE<a class="headerlink" href="#set_extruder_rotation_distance" title="Permanent link">¶</a></h4>
|
||||
<p><code>SET_EXTRUDER_ROTATION_DISTANCE EXTRUDER=<config_name> [DISTANCE=<distance>]</code>: Set a new value for the provided extruder stepper's "rotation distance" (as defined in an <a href="Config_Reference#extruder">extruder</a> or <a href="Config_Reference#extruder_stepper">extruder_stepper</a> config section). If the rotation distance is a negative number then the stepper motion will be inverted (relative to the stepper direction specified in the config file). Changed settings are not retained on Klipper reset. Use with caution as small changes can result in excessive pressure between extruder and hotend. Do proper calibration with filament before use. If 'DISTANCE' value is not provided then this command will return the current rotation distance.</p>
|
||||
<p><code>SET_EXTRUDER_ROTATION_DISTANCE EXTRUDER=<config_name> [DISTANCE=<distance>]</code>: Set a new value for the provided extruder stepper's "rotation distance" (as defined in an <a href="Config_Reference.html#extruder">extruder</a> or <a href="Config_Reference.html#extruder_stepper">extruder_stepper</a> config section). If the rotation distance is a negative number then the stepper motion will be inverted (relative to the stepper direction specified in the config file). Changed settings are not retained on Klipper reset. Use with caution as small changes can result in excessive pressure between extruder and hotend. Do proper calibration with filament before use. If 'DISTANCE' value is not provided then this command will return the current rotation distance.</p>
|
||||
<h4 id="sync_extruder_motion">SYNC_EXTRUDER_MOTION<a class="headerlink" href="#sync_extruder_motion" title="Permanent link">¶</a></h4>
|
||||
<p><code>SYNC_EXTRUDER_MOTION EXTRUDER=<name> MOTION_QUEUE=<name></code>: This command will cause the stepper specified by EXTRUDER (as defined in an <a href="Config_Reference#extruder">extruder</a> or <a href="Config_Reference#extruder_stepper">extruder_stepper</a> config section) to become synchronized to the movement of an extruder specified by MOTION_QUEUE (as defined in an <a href="Config_Reference#extruder">extruder</a> config section). If MOTION_QUEUE is an empty string then the stepper will be desynchronized from all extruder movement.</p>
|
||||
<p><code>SYNC_EXTRUDER_MOTION EXTRUDER=<name> MOTION_QUEUE=<name></code>: This command will cause the stepper specified by EXTRUDER (as defined in an <a href="Config_Reference.html#extruder">extruder</a> or <a href="Config_Reference.html#extruder_stepper">extruder_stepper</a> config section) to become synchronized to the movement of an extruder specified by MOTION_QUEUE (as defined in an <a href="Config_Reference.html#extruder">extruder</a> config section). If MOTION_QUEUE is an empty string then the stepper will be desynchronized from all extruder movement.</p>
|
||||
<h4 id="set_extruder_step_distance">SET_EXTRUDER_STEP_DISTANCE<a class="headerlink" href="#set_extruder_step_distance" title="Permanent link">¶</a></h4>
|
||||
<p>This command is deprecated and will be removed in the near future.</p>
|
||||
<h4 id="sync_stepper_to_extruder">SYNC_STEPPER_TO_EXTRUDER<a class="headerlink" href="#sync_stepper_to_extruder" title="Permanent link">¶</a></h4>
|
||||
@@ -4288,7 +4391,7 @@
|
||||
<h4 id="get_retraction">GET_RETRACTION<a class="headerlink" href="#get_retraction" title="Permanent link">¶</a></h4>
|
||||
<p><code>GET_RETRACTION</code>:查询当前固件回抽所使用的参数并在终端显示。</p>
|
||||
<h3 id="force_move">[force_move]<a class="headerlink" href="#force_move" title="Permanent link">¶</a></h3>
|
||||
<p>The force_move module is automatically loaded, however some commands require setting <code>enable_force_move</code> in the <a href="Config_Reference#force_move">printer config</a>.</p>
|
||||
<p>The force_move module is automatically loaded, however some commands require setting <code>enable_force_move</code> in the <a href="Config_Reference.html#force_move">printer config</a>.</p>
|
||||
<h4 id="stepper_buzz">STEPPER_BUZZ<a class="headerlink" href="#stepper_buzz" title="Permanent link">¶</a></h4>
|
||||
<p><code>STEPPER_BUZZ STEPPER=<配置名></code>:移动指定的步进电机前后运动一毫米,重复的10次。这是一个用于验证步进电机接线的工具</p>
|
||||
<h4 id="force_move_1">FORCE_MOVE<a class="headerlink" href="#force_move_1" title="Permanent link">¶</a></h4>
|
||||
@@ -4442,7 +4545,7 @@
|
||||
<h4 id="measure_axes_noise">MEASURE_AXES_NOISE<a class="headerlink" href="#measure_axes_noise" title="Permanent link">¶</a></h4>
|
||||
<p><code>MEASURE_AXES_NOISE</code>:测量并输出所有启用的加速度计芯片的所有轴的噪声。</p>
|
||||
<h4 id="test_resonances">TEST_RESONANCES<a class="headerlink" href="#test_resonances" title="Permanent link">¶</a></h4>
|
||||
<p><code>TEST_RESONANCES AXIS=<轴> OUTPUT=<resonance,raw_data> [NAME=<名称>] [FREQ_START=<开始频率>] [FREQ_END=<结束频率>] [HZ_PER_SEC=<hz每秒>] [INPUT_SHAPING=[<0:1>]]</code>:在指定“轴”所有配置的探测点上运行谐振测试,并使用为相应轴配置的加速度计芯片测量加速度。“轴”可以是 X 或 Y,也可以将任意方向指定为 <code>AXIS=dx,dy</code>,其中 dx 和 dy 是定义方向矢量的浮点数(例如 <code>AXIS=X</code>、<code>AXIS=Y</code>或 <code>AXIS=1,-1</code> 来定义对角线方向)。请注意,<code>AXIS=dx,dy</code> 和 <code>AXIS=-dx,-dy</code> 是等效的。如果 <code>INPUT_SHAPING=0</code> 或未设置(默认),则禁用谐振测试的输入整形,因为在启用输入整形器的情况下运行谐振测试是无效的。<code>OUTPUT</code> 参数是一个以逗号分隔的列表,其中将写入输出。如果请求 <code>raw_data</code>,则原始加速度计数据将写入一个文件或一系列文件 <code>/tmp/raw_data_<轴>_[<测试点>_]<名称>.csv</code> 且 (文件名中的<code><测试点>_</code> 部分仅在配置了 1 个以上的探测点时生成)。如果指定了 <code>resonance</code>,则计算频率响应(在所有探测点上),并将其写入 <code>/tmp/resonances_<轴>_<名称>.csv</code> 文件中。如果未设置,则 OUTPUT 默认为 <code>resonance</code>,NAME 默认为“YYYYMMDD_HHMMSS”格式的当前时间。</p>
|
||||
<p><code>TEST_RESONANCES AXIS=<axis> OUTPUT=<resonances,raw_data> [NAME=<name>] [FREQ_START=<min_freq>] [FREQ_END=<max_freq>] [HZ_PER_SEC=<hz_per_sec>] [CHIPS=<adxl345_chip_name>] [POINT=x,y,z] [INPUT_SHAPING=[<0:1>]]</code>: Runs the resonance test in all configured probe points for the requested "axis" and measures the acceleration using the accelerometer chips configured for the respective axis. "axis" can either be X or Y, or specify an arbitrary direction as <code>AXIS=dx,dy</code>, where dx and dy are floating point numbers defining a direction vector (e.g. <code>AXIS=X</code>, <code>AXIS=Y</code>, or <code>AXIS=1,-1</code> to define a diagonal direction). Note that <code>AXIS=dx,dy</code> and <code>AXIS=-dx,-dy</code> is equivalent. <code>adxl345_chip_name</code> can be one or more configured adxl345 chip,delimited with comma, for example <code>CHIPS="adxl345, adxl345 rpi"</code>. Note that <code>adxl345</code> can be omitted from named adxl345 chips. If POINT is specified it will override the point(s) configured in <code>[resonance_tester]</code>. If <code>INPUT_SHAPING=0</code> or not set(default), disables input shaping for the resonance testing, because it is not valid to run the resonance testing with the input shaper enabled. <code>OUTPUT</code> parameter is a comma-separated list of which outputs will be written. If <code>raw_data</code> is requested, then the raw accelerometer data is written into a file or a series of files <code>/tmp/raw_data_<axis>_[<chip_name>_][<point>_]<name>.csv</code> with (<code><point>_</code> part of the name generated only if more than 1 probe point is configured or POINT is specified). If <code>resonances</code> is specified, the frequency response is calculated (across all probe points) and written into <code>/tmp/resonances_<axis>_<name>.csv</code> file. If unset, OUTPUT defaults to <code>resonances</code>, and NAME defaults to the current time in "YYYYMMDD_HHMMSS" format.</p>
|
||||
<h4 id="shaper_calibrate">SHAPER_CALIBRATE<a class="headerlink" href="#shaper_calibrate" title="Permanent link">¶</a></h4>
|
||||
<p><code>SHAPER_CALIBRATE [AXIS=<轴>] [NAME=<名称>] [FREQ_START=<最小频率>] [FREQ_END=<最大频率>] [HZ_PER_SEC=<hz_per_sec>] [MAX_SMOOTHING=<max_smoothing>]</code>:类似<code>TEST_RESONANCES</code>,该命令按配置运行共振测试并尝试寻找给定轴最佳的输入整形参数。如果没有选择<code>AXIS</code>,则测量X和Y轴。如果没有选择 <code>MAX_SMOOTHING</code> ,会使用 <code>[resonance_tester]</code> 的默认参数。有关该特性的使用方法,详见共振量测量指南中的 <a href="Measuring_Resonances.html#max-smoothing">最大平滑</a>章节。测试结果会被输出到终端,而频响和不同输入整形器的参数将被写入到一个或多个 CSV 文件中。它们的名称是<code>/tmp/calibration_data_<轴>_<名称>.csv</code>。如果没有指定,名称默认为“YYYYMMDD_HHMMSS”格式的当前时间。注意,可以通过请求 <code>SAVE_CONFIG</code> 命令将推荐的输入整形器参数直接保存到配置文件中。</p>
|
||||
<h3 id="respond">[respond]<a class="headerlink" href="#respond" title="Permanent link">¶</a></h3>
|
||||
@@ -4466,7 +4569,7 @@
|
||||
<h3 id="screws_tilt_adjust">[screws_tilt_adjust]<a class="headerlink" href="#screws_tilt_adjust" title="Permanent link">¶</a></h3>
|
||||
<p>The following commands are available when the <a href="Config_Reference.html#screws_tilt_adjust">screws_tilt_adjust config section</a> is enabled (also see the <a href="Manual_Level.html#adjusting-bed-leveling-screws-using-the-bed-probe">manual level guide</a>).</p>
|
||||
<h4 id="screws_tilt_calculate">SCREWS_TILT_CALCULATE<a class="headerlink" href="#screws_tilt_calculate" title="Permanent link">¶</a></h4>
|
||||
<p><code>SCREWS_TILT_CALCULATE [DIRECTION=CW|CCW] [<probe_parameter>=<value>]</code>:该命令将调用热床丝杆调整工具。它将命令喷嘴到不同的位置(如配置文件中定义的)探测z高度,并计算出调整床面水平的旋钮旋转次数。如果指定了DIRECTION,旋钮的转动方向都是一样的,顺时针(CW)或逆时针(CCW)。有关可选探头参数的详细信息,请参见PROBE命令。重要的是:在使用这个命令之前,你必须先做一个G28。</p>
|
||||
<p><code>SCREWS_TILT_CALCULATE [DIRECTION=CW|CCW] [MAX_DEVIATION=<value>] [<probe_parameter>=<value>]</code>: This command will invoke the bed screws adjustment tool. It will command the nozzle to different locations (as defined in the config file) probing the z height and calculate the number of knob turns to adjust the bed level. If DIRECTION is specified, the knob turns will all be in the same direction, clockwise (CW) or counterclockwise (CCW). See the PROBE command for details on the optional probe parameters. IMPORTANT: You MUST always do a G28 before using this command. If MAX_DEVIATION is specified, the command will raise a gcode error if any difference in the screw height relative to the base screw height is greater than the value provided.</p>
|
||||
<h3 id="sdcard_loop">[sdcard_loop]<a class="headerlink" href="#sdcard_loop" title="Permanent link">¶</a></h3>
|
||||
<p>When the <a href="Config_Reference.html#sdcard_loop">sdcard_loop config section</a> is enabled, the following extended commands are available.</p>
|
||||
<h4 id="sdcard_loop_begin">SDCARD_LOOP_BEGIN<a class="headerlink" href="#sdcard_loop_begin" title="Permanent link">¶</a></h4>
|
||||
|
||||
Reference in New Issue
Block a user