Prusa
  • ショップ
    • 最新製品
    カテゴリー別
    • 3Dプリンター新着
    • 3Dプリンターアップグレード新着
    • 材料
    • アクセサリー
    • スペアパーツ
    • コース
    • グッズ
    • 見積もりを取得
    クイックリンク
    • 配送と配達
    • 返品と返金
    • 支払いと融資
    • 保証
    • VATと関税
    • よくある質問

    0 点の商品がカートに入っています点の商品がカートに入っています

    カートは空です

    カートを見る3Dプリンターを購入

    マイプロフィール

    ログイン すると注文や保存した商品を確認できます

    マイプロフィール

    ログイン中:

    • 注文
    • ログアウト
  • 3Dプリント
    • 3Dプリントを探る
    初心者向け
    • 3Dプリントの基礎
    • FDM印刷の仕組み
    • 初めてのプリンターを購入する
    • 3Dモデルカタログ
    用途別
    • ラピッドプロトタイピング
    • 製造
    • エンジニアリング
    • 研究
    • アートとデザイン
    さらに深く
    • 材料ガイド
    • コース
    • ウェビナー
    • 導入事例
    • カスタム3Dプリンティング
  • 3Dプリンター
    • すべての3Dプリンター
    用途
    • 自宅またはガレージ愛好家、改造愛好家、ホームプリンティング
    • ビジネス小規模チーム向けの社内生産
    • エンタープライズフリート、セキュリティ、大規模生産
    • どのPrusaが私に適していますか
    ショップと閲覧
    • CORE One+新着
    • CORE One+ INDX新着
    • CORE One L+新着
    • CORE One L+ INDX新着
    • XL+新着
    • MK4S
    • Prusa Pro HT90
    • Prusa Pro AFS
    • Prusa Pro SLX
    プリンターからさらに
    • 部品とアップグレード新着
    • Spare parts
    • 重要インフラ
    • 導入事例
    • シグネチャーオーク
    • キット
  • 材料
    • すべての材料
    用途別
    • 日常とデザイン
    • 機能工学
    • 複合材料
    • プロフェッショナル向け特殊材料
    • SLAレジン
    Prusament
    • PLA
    • PETG
    • ASA
    • PC
    • PA11
    • Flex
    • TPU
    材料からさらに
    • 材料ガイド
    • 自社製材料
    • サステナビリティ
    • ストアで注文
  • ソフトウェア
    • すべてのソフトウェア
    印刷の準備
    • PrusaSlicer 3.0新着
    印刷と監視
    • Prusa Connect
    • EasyPrint
    • iOS & Androidアプリ
    • Prusaファーム
    始める
    • ダウンロードとインストール
    • ナレッジベース
    その他のソフトウェア
    • 3Dモデルカタログ
  • サポート
    • サポートを探す
    回答を探す
    • ナレッジベース
    • トラブルシューティング
    • コース
    • ウェビナー
    ヘルプ
    • お問い合わせ
    • ライブチャット
    • 配送と配達
    • 保証
    • 返品と返金
    • サービスとスペアパーツ
    • サービスと修理
    コミュニティ
    • フォーラム
    • Reddit
    • Printables
  • トラストセンター
    • トラストセンター概要
    トピック別
    • GDPR
    • 証明書
    • セキュリティ
    • コンプライアンス
    コミットメント
    • サステナビリティレポート
    お問い合わせ
    • セキュリティチームに連絡
  • 会社
    • Prusaについて
    私たちについて
    • 私たちのストーリー
    • プリンターの製造方法
    • オープンソース
    • ブランド&メディアキット
    ニュース
    • ブログ
    • ニュースルーム
    • イベント
    信頼とパートナー
    • サステナビリティ
    • 再販業者と販売代理店
    • アフィリエイトプログラム
    • お問い合わせ
    • English
    • Čeština
    • Deutsch
    • Español
    • Français
    • Italiano
    • Polski
    • 日本語
  • ログイン中:

    • 注文
    • 住所
    • 在庫アラート
    • マイコース
    • サブスクリプション
    • アカウントを編集
    • ログアウト

ログイン すると注文や保存した商品を確認できます

ログイン中:
  • 注文
  • 住所
  • 在庫アラート
  • マイコース
  • サブスクリプション
  • アカウントを編集
  • English
  • Čeština
  • Deutsch
  • Español
  • Français
  • Italiano
  • Polski
  • 日本語
ショップ

0 点の商品がカートに入っています点の商品がカートに入っています

カートは空です

カートを見る3Dプリンターを購入

マイプロフィール

ログイン すると注文や保存した商品を確認できます

マイプロフィール

ログイン中:

  • 注文
  • ログアウト
ショップ
  • 最新製品
カテゴリー別
  • 3Dプリンター新着
  • 3Dプリンターアップグレード新着
  • 材料
  • アクセサリー
  • スペアパーツ
  • コース
  • グッズ
  • 見積もりを取得
クイックリンク
  • 配送と配達
  • 返品と返金
  • 支払いと融資
  • 保証
  • VATと関税
  • よくある質問

おすすめ製品

    人気のカテゴリー

      急上昇ワード

        記事

          ブログ

            製品

              カテゴリー

                検索候補

                  検索中…
                  結果がありません
                  エラーが発生しました。
                  ↑↓ 選択↵ 開くEsc 検索を閉じる
                  1. サポート
                  2. Other [進行中の翻訳]
                  3. マクロ
                   

                  内容

                  • Constructs
                  • Operators
                  • Functions
                  • Variables (placeholders)

                  ブログ

                  • Prusament PLA ColorMix:わずか5巻のフィラメントで45色以上をプリント
                  • PrusaSlicer 3.0プレビュー版 — 3Dプリントの未来を見据えた仕様
                  • より高品質なプリントを、もっと簡単に:Prusa XL+、CORE One L+、CORE One+(Gen 2)― 大規模製品アップグレード

                  ニュースレター

                  ご登録いただくと、毎月 新しいファームウェア、PrusaSlicerの新バージョン、3Dプリントプロジェクトの一般的なヒントなど、役立つ情報をお届けします。

                  クリックして、ニュースレターを受け取る。

                  このサイトはreCAPTCHA Enterpriseによって保護されており、Googleのプライバシーポリシーと利用規約が適用されます。

                  Heavy Duty Keyboard Holder (No Supports)
                  E-shop
                  • 3Dプリンター
                  • プリンターのアップグレード
                  • フィラメント
                  • アクセサリー
                  • Prusa 商品
                  Prusa

                  © Prusa Research a.s.

                  Printables
                  • 3Dモデル
                  • Store
                  • Clubs
                  • 3Dデザインコンテスト
                  • Brands
                  コミュニティ
                  • ワールドマップ
                  • フォーラム
                  • ユーザーグループ
                  • イベント
                  ヘルプ
                  • Prusa ヘルプ
                  • Prusa アカデミー
                  • 3Dプリンティング計算機
                  ソフトウェア
                  • PrusaSlicer
                  • Prusa.app
                  • Prusa Connect
                  • ドライバーとソフトウェア
                  会社概要
                  • 私たちについて
                  • Blog
                  • プルサ正規販売代理店
                  • お問い合わせ
                  • ISO 9001・ISO 14001・ISO 45001 認証取得済み
                  • 一般利用規約
                  • PRUSAウェブサイト利用のための一般利用規約
                  • プライバシーポリシー
                  • クッキーに関する情報
                  • お客様の苦情対応に関する方針
                  • Webサイトのステータスページ
                  • Cookie 設定
                  Prusa
                  • 一般利用規約
                  • PRUSAウェブサイト利用のための一般利用規約
                  • プライバシーポリシー
                  • クッキーに関する情報
                  • お客様の苦情対応に関する方針
                  • Webサイトのステータスページ
                  • Cookie 設定

                  © Prusa Research a.s.

                  JOSEF PRUSA®、PRUSA RESEARCH®、PRUSA POLYMERS®、PRUSA ORANGE®、PRUSA 3D ® および PRUSAMENT® は、Prusa Development a.s. の登録商標であり、Prusa Research a.s. が Prusa Development a.s. からのライセンスに基づき使用しています。

                  マクロ

                  関連するもの

                  MMU family
                  MINI family
                  MK3 family
                  OLD PRODUCTS
                  SLA family
                  +
                  記事 他の言語でもご覧になれます。
                  English
                  Čeština
                  Polski
                  Deutsch
                  Français
                  Español
                  Italiano
                  日本語

                  Macros allow you to create conditions and evaluate math equations in the Custom G-code fields.

                  PrusaSlicer macro language is not compatible with Slic3r conditional expressions.

                  Constructs

                  Conditional evaluation

                  Expression evaluation

                  Legacy Placeholder syntax

                  or

                  Inside either construct, PrusaSlicer configuration variables can be accessed by their names

                  and elements of vector variables can be accessed by using square braces

                  refers to the temperature of the first extruder.

                  Multidimensional vectors can currently be only accessed as a simple vector variable resulting in a string value (e.g. if the extruder_variable[1] resulting in [n,0] string value -- can be posted in g-code but can not be used in arithmetic operations).

                  Strings are identified by double quotes and regular expressions by slashes  Strings are not parsed recursively, i.e. curly and square brackets inside strings will appear in the output. This allows constructs such as

                  Operators

                  The following operators are allowed:

                  1. Comparison
                    • Example:
                  2. Boolean logic or, equivalently,  
                    • Example
                  3. Arithmetics
                    • Example: (Note that first_layer_temperature is a vector)
                  4. Ternary operator This needs to be enclosed in parentheses to work.
                    • Example: This expression sets the extruder temperature to either 230 or 200 depending on whether the first layer needs to be above 220°.
                  5. Regular expression matching
                  6. Regular expressions are enclosed in slashes /
                    • Example:

                  Functions

                  Minimum

                  Maximum

                  Casting to integer

                  Rounding to an integer

                  Rounding / padding with spaces: rounds fractional part to num_decimals digits (adding trailing zeros if needed), then left fills with spaces so the number has num_digits characters in total (including a decimal point if present). Last argument can be omitted, defaults to zero.

                  Rounding / padding with zeros: same as above, only left filled with zeros

                  Check if the configuration option is active

                   

                  Variables (placeholders)

                  You can use variables inside customs scripts and in the output file name template.

                  Check the List of all PrusaSlicer placeholders, grouped according to their scope.

                   

                  Scalar variables

                  These values are scalar and can be directly referenced.

                  • printer_notes (string)
                  • layer_z (only available in layer change GCode)
                  • layer_num (only available in layer change GCode)
                  • toolchange_z (available in custom toolchange GCode since version 2.4.0)

                  Some variables are defined by complex formulas. For example, the perimeter_extrusion_width if left to zero takes the value of extrusion_width if non zero, otherwise a default perimeter_extrusion_width is calculated for the current layer_height. These substitutions are only done for the new syntax expressions (enclosed in curly braces {}), while the expressions written using the old placeholder syntax (enclosed in square braces []) are interpreted verbatim.

                  Vector (array variables)

                  These variables are arrays and need to be accessed as such (e.g. temperature[0]).

                  • temperature
                  • first_layer_temperature
                  • bed_temperature (note that this is a vector, even though only one value makes sense: bed_temperature[0])
                  • first_layer_bed_temperature (same as above!)

                  Multidimensional vector

                  These variables can only be accessed as simple vectors and can not be used in arithmetic expressions.

                  • extruder_offset
                  • bed_shape

                  Examples

                  Temp tower

                  You can use the "Before layer change" custom G-code to slowly decrease hot end temperatures. First, one may use the if/elsif/else expression:

                   The same result may be achieved by a shorter if/else/endif expression together with a linear interpolation:

                  Or one may use the ternary operator:

                  Faster heat up with weak bed heaters before print

                  If you have a bed that takes a very long time to get up to temperature you can shave off a little bit of waiting time by using "Start G-code" to heat up the bed to the destination temperature minus 5 degrees and then starting to warm up the hot end while the bed continues to heat to the target value:

                   

                  この記事は役に立ちましたか?
                  この操作は登録ユーザーのみが利用できます。ログインしてください。
                  ログイン してコメントを投稿する
                  コメントなし

                  トピックス

                  • PrusaSlicer
                    • Other [進行中の翻訳]
                      • 3Dconnexionデバイス
                      • Octoprint/Duetにファイルを送信
                      • マクロ
                      • ツールパスをOBJとしてエクスポートする
                      • PrusaSlicer G-code viewer
                      • List of placeholders
                      • How to lift object from the print bed
                      • Opening models in PrusaSlicer from supported websites
                    • About [進行中の翻訳]
                    • General [進行中の翻訳]
                    • User interface [進行中の翻訳]
                    • 入力/出力
                    • 左ツールバー
                    • トップツールバー
                    • プリント設定
                    • Filament settings [進行中の翻訳]
                    • Printer settings [進行中の翻訳]
                    • Advanced options [進行中の翻訳]
                    • Multi-material slicing [進行中の翻訳]
                    • SLA スライス処理