ifcos-impl-mep

Create IFC MEP flow networks with ports and SOURCE-to-SINK connections.

30|4|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package --skill ifcos-impl-mep-impertio-studio
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ifcos-impl-mep
Source: https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/tree/main/skills/ifcopenshell/impl/ifcos-impl-mep
Command: npx skills add https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package --skill ifcos-impl-mep-impertio-studio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents common IFC MEP modeling failures by guiding you through correct system creation, port topology, and flow connections so your HVAC, piping, electrical, and control elements end up as a valid end-to-end IFC flow network instead of orphan entities.

Core Features & Use Cases

  • Port-first MEP topology: creates ports on distribution elements (inlet/outlet on segments, multiple ports on fittings/terminals) before attempting any connections, ensuring flow segments are actually connectable.
  • Correct flow connections: connects ports using SOURCE-to-SINK direction rules and avoids invalid port-to-port direction mistakes that produce broken networks.
  • Schema-safe system implementation: uses the correct system class per IFC schema (IfcSystem for IFC2X3; IfcDistributionSystem for IFC4/IFC4X3) and uses the required ifcopenshell API calls for relationship integrity.
  • Flow control assignment (sensors/valves/dampers): attaches control elements with assign_flow_control rather than incorrectly using ports for non-flow control devices.
  • MEP property sets support: adds common MEP/duct/pipe/terminal property sets and quantities after topology is established.

Quick Start

Ask the skill to generate an IFC4 or IFC2X3 MEP system by creating the system, creating all required MEP elements, creating the correct number of ports per element, connecting the ports with SOURCE-to-SINK flow directions, assigning elements to the system, and (optionally) assigning flow control to the appropriate controllers.

Frequently Asked Questions about ifcos-impl-mep

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create valid IFC MEP flow connections using IfcOpenShell?▼

To create valid IFC MEP flow connections using IfcOpenShell, generate ports on distribution elements first, then link them using SOURCE-to-SINK direction rules via ifcopenshell.api.run. This prevents broken topological networks.

What is the difference between IfcSystem and IfcDistributionSystem in MEP modeling?▼

In MEP modeling, IfcSystem is the correct class for IFC2X3 schemas, while IfcDistributionSystem is required for IFC4 and IFC4X3. Using the correct class ensures schema-safe system implementation and relationship integrity.

How do I assign flow control elements like sensors and valves to an IFC MEP system?▼

To assign flow control elements like sensors and valves in an IFC MEP system, use the assign_flow_control API rather than incorrectly using ports for non-flow control devices. This links controllers without creating invalid port topology.

Why does my IFC HVAC network have orphan entities after export?▼

Your IFC HVAC network has orphan entities because distribution elements were not connected into valid topological relationships. You must create inlet and outlet ports on segments first, then connect them with correct SOURCE-to-SINK flow directions.

Does IFC2X3 support IfcDistributionSystem for HVAC piping and electrical domains?▼

No, IFC2X3 does not support IfcDistributionSystem for HVAC, piping, or electrical domains. You must use IfcSystem for IFC2X3 schemas, while IfcDistributionSystem is only applied for IFC4 and IFC4X3.

When do I need to create multiple ports on IFC MEP fittings and terminals?▼

You need to create multiple ports on IFC MEP fittings and terminals before attempting any flow connections. This port-first topology ensures flow segments are actually connectable and prevents invalid port-to-port direction mistakes.