2026-07-07 09:54 PM
Fable5が再開されたので、未成功だった難題(ワガママ)をお願いしたら完成して貰えました!
設備配管を自動生成できる機能を作成しました。
①ワンクリックでPS位置に専用モルフを自動生成。EPSは対象外。
②衛生器具と末流位置のモルフを選択してワンクリックするだけで排水管を自動生成。
③空調機器と室外機位置のモルフを選択してワンクリックするだけで冷媒管を自動生成。
④換気機器を選択してワンクリックするだけでダクトとフードを自動生成。
・排水管と冷媒管の垂直ルートは直近のPSを通るルール。
・ワンクリック実行時に専用レイヤーも生成し、そのレイヤーに自動保存されます。
※生成される配管は全て「MEP」なので生成後に調整や図面化も容易です!
※重要:標準のTapirにはMEP生成機能はありません。特殊な訓練をされたClaudecodeに専用生成コマンドを自作させました!
実際の各配管生成動画です。この規模なら約3分程度で生成完了。この動作はAI不要です。
①Fable5の強力な推論力で設備に関するルール類を学びObsidianに保存し、その情報から各専用Pythonスクリプトを生成。
②生成したPythonスクリプトをTapirパレットに登録することでワンクリックで実行可能に。今後はAI不要!
③クリック後の動作は下記のフロー図の通りとなります。
・自動生成でのルールですが、干渉をゼロで指示をすると不可能な場合(そもそもルートが無い等)に様々なエラーが出てしまいますので、優先順位を決めて低い順位の事項は「諦めて手動で直す」ことにしました。
・給水管生成まで完成させたかったのですが、残念ながらFable5の使用量を使い切ってしまいました!次の課題ですね。
・意匠BIMデータがあれば各配管モデリングを自動生成することが可能になるので、大幅な業務効率が可能になります。
AIの活用は「検索」→「生成」→「自動化」と進化しています。皆様の業務効率の参考になれば幸いです!
今後も様々な活用法を発想し共有できればと思います!
1ヶ月前
Fable5のサブスク利用が延長されたので早速給水給湯管も実装しました!
①給水上流モルフと衛生器具を選択してワンクリックで給水管自動生成。
②衛生器具を選択してワンクリックでMBから衛生器具間を給湯管自動配管。
③モデルから共同住宅を判断し、各住戸のMBをルートにし住戸ごとに自動配管。
④衛生器具の情報から給湯が必要なものだけ給湯管自動配管。トイレ・洗濯機等は給湯管不要と自動判断。
2 週間前
@ooki さんは書きました:
※重要:標準のTapirにはMEP生成機能はありません。特殊な訓練をされたClaudecodeに専用生成コマンドを自作させました!
Hi! Can you share this new command on the Tapir Github please? More command in Tapir will help everybody.
Traduction: こんにちは!この新しいコマンドをTapirのGitHubに公開していただけませんか? Tapirのコマンドが増えれば、みんなの役に立ちます.
2 週間前
ご連絡ありがとうございます。
ご依頼いただいたMEP自動配管コマンド(CreateMEPRoutes / GetMEPPreferenceTables 等)を、GitHub上のフォークに公開しました。皆様のお役に立てれば幸いです!
https://github.com/ooki-atsufumi/tapir-archicad-automation/tree/kanehide-patches
現時点では自分のフォークのブランチとしての公開ですが、本家(ENZYME-APD/tapir-archicad-automation)の最新版にも追従済みですので、そのままご利用いただけます。もしご興味があれば、本家へのPull Requestも今後検討したいと思います。
何かご不明点やフィードバックがあればお気軽にご連絡ください。
よろしくお願いいたします。
Hi,Thank you for reaching out.
I've published the MEP auto-routing commands (CreateMEPRoutes / GetMEPPreferenceTables, etc.) you asked about. Hope it's useful for everyone!
https://github.com/ooki-atsufumi/tapir-archicad-automation/tree/kanehide-patches
For now it's published as a branch on my personal fork, and it's already rebased on top of the latest upstream (ENZYME-APD/tapir-archicad-automation), so it should be ready to use as-is. If there's interest, I may look into submitting a Pull Request to the main repo down the line as well.
Please let me know if you have any questions or feedback.
Best regards,
2 週間前
Hi Aooki, I hope you're doing well. First of all, congratulations on this wonderful tool you're sharing! I'm really looking forward to testing it.
I was reviewing the code and I think the scripts you mentioned (CreateMEPRoutes, GetMEPPreferenceTables, etc.) weren't shared, as I can't find them in any of the folders. Could you tell me where they're located?
Thanks and best regards.
2 週間前
Hi Abraham,
Thanks so much for the kind words, and sorry for the confusion!
The new commands are implemented as C++ source files, located under the archicad-addon/Sources/ folder (not at the repo root):
CreateMEPRoutes, GetMEPPreferenceTables, GetMEPElements, SetElementsLayer:MEPCommands.hpp in the same folder)CreateMEPSystems (per-system color coding) and GetPens are merged into the shared AttributeCommands.cpp:You'll need to build the add-on yourself (CMake + the standard Archicad API DevKit) to get a usable .apx — the branch is rebased on the current upstream main, so it should build cleanly.
Let me know if you run into any issues!
1週間前
Hi Ooki, thank you very much for your reply. After half a day, I finally managed to compile the .apx file using artificial intelligence as a guide (I am a beginner in programming). Now that this new file to use Tapir is compiled, I realize that the Python scripts are still needed to be able to run the automations, right? I look forward to your response. Best regards.
1週間前
Hi Abraham,
Great job getting it compiled — that's the hard part done!
You're right: to actually run the automations, you'll need your own Python scripts on top of this. That part isn't something I can hand over as-is, since it has to match your own environment (piping rules, local regulations, your project's data conventions, etc.).
The good news is you don't need real programming skill for that either — just describe your rules and requirements to an AI coding agent (I use Claude Code), point it at the Tapir commands, and iterate through trial and error. I can't code at all myself; I only started using Claude Code about 4 months ago, and this whole automation took me about 2 days to build that way.
I'd encourage you to just give it a try with an AI agent — you'll get there faster than you'd expect!
Best regards,
Ooki
1週間前
提案ですが、海外のユーザーにも共有されるようにINT Communityにもこちらの内容をポストしてはいかがでしょうか。
英語の質問はそちらで受けられるかと思います。
MITO architecture + design
Architect | Graphisoft Certified BIM Manager
ArchiCAD 29 JPN/USA/INT | Windows 11
1週間前
提案ありがとうございます!
INT Communityの投稿先を確認してポストしてみます!