<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Layer-Modification on homelab</title>
    <link>https://homelab.nbkelley.com/tags/layer-modification/</link>
    <description>Recent content in Layer-Modification on homelab</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 01 May 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://homelab.nbkelley.com/tags/layer-modification/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Bambu Studio Layer G-code</title>
      <link>https://homelab.nbkelley.com/docs/3d-printing/bambu-studio-layer-gcode/</link>
      <pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate>
      <guid>https://homelab.nbkelley.com/docs/3d-printing/bambu-studio-layer-gcode/</guid>
      <description>&lt;h1 id=&#34;bambu-studio-layer-g-code&#34;&gt;Bambu Studio Layer G-code&lt;a class=&#34;anchor&#34; href=&#34;#bambu-studio-layer-g-code&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;h2 id=&#34;what-was-established&#34;&gt;What Was Established&lt;a class=&#34;anchor&#34; href=&#34;#what-was-established&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Methods for applying custom G-code to specific layers in Bambu Studio, including Height Range Modifiers and the Layer Range G-code interface. Specific commands for Bambu Lab printers to control infill angles, wall order, and layer pauses.&lt;/p&gt;&#xA;&lt;h2 id=&#34;key-decisions&#34;&gt;Key Decisions&lt;a class=&#34;anchor&#34; href=&#34;#key-decisions&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Layer Range G-code Interface&lt;/strong&gt;: Preferred for direct layer-specific application without Height Range Modifiers.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Layer Numbering&lt;/strong&gt;: The Layer Range G-code UI uses 1-indexed layer numbers. Conditional logic (&lt;code&gt;{if layer_num == X}&lt;/code&gt;) uses 0-indexed numbers.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Bambu Proprietary G-code&lt;/strong&gt;: Commands like &lt;code&gt;M9000&lt;/code&gt; (infill angle) and &lt;code&gt;M9001&lt;/code&gt; (wall order) are specific to Bambu Lab firmware.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;current-configuration&#34;&gt;Current Configuration&lt;a class=&#34;anchor&#34; href=&#34;#current-configuration&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;layer-range-g-code-setup&#34;&gt;Layer Range G-code Setup&lt;a class=&#34;anchor&#34; href=&#34;#layer-range-g-code-setup&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Slice the model.&lt;/li&gt;&#xA;&lt;li&gt;Navigate to the &lt;strong&gt;G-code&lt;/strong&gt; tab.&lt;/li&gt;&#xA;&lt;li&gt;Scroll to &lt;strong&gt;Layer Range G-code&lt;/strong&gt; in the left panel.&lt;/li&gt;&#xA;&lt;li&gt;Click &lt;strong&gt;+ Add&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Enter &lt;strong&gt;From&lt;/strong&gt; and &lt;strong&gt;To&lt;/strong&gt; layer numbers.&lt;/li&gt;&#xA;&lt;li&gt;Enter G-code in the field.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;examples&#34;&gt;Examples&lt;a class=&#34;anchor&#34; href=&#34;#examples&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;strong&gt;Layer 27 Direction Change&lt;/strong&gt;:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
