Logo vun Ifcos Impl Profiles

Ifcos Impl Profiles

Organisatioun
Impertio-Studio
ifcos-impl-profiles

Use when creating structural cross-sections or profile-based extrusions in IFC -- I-beams, C-channels, rectangles, circles, or arbitrary polyline profiles. Prevents the common mistake of defining profiles without proper placement (profile origin misalignment). Covers parametric profiles, arbitrary profiles, profile-based extrusions, and material profile sets. Keywords: profile, IfcProfileDef, I-beam, C-channel, rectangle, circle, extrusion, cross-section, material profile set, structural profile, steel section, HEA, IPE, create beam profile.

Iwwersiicht

EditeurImpertio-Studio
RepositoryBlender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package
Skill-Nummifcos-impl-profiles
Stären
44
Forks
5
Matgeliwwert Fichieren
3
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 3 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum Impertio-Studio op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Ifcos Impl Profiles an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/tree/main/skills/ifcopenshell/impl/ifcos-impl-profiles
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package.git /tmp/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package
mkdir -p .claude/skills
cp -r /tmp/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/skills/ifcopenshell/impl/ifcos-impl-profiles .claude/skills/ifcos-impl-profiles
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Ifcos Impl Profiles an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Ifcos Impl Profiles automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Ifcos Impl Profiles net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

IFC Profile Definitions Implementation Guide

Quick Reference

Decision Tree: Which Profile Type to Use

What cross-section shape do you need?
├── Standard structural section (I-beam, channel, angle, tube)?
│   └── Parametric profile → profile.add_parameterised_profile()
│       ├── I-beam / H-beam → ifc_class="IfcIShapeProfileDef"
│       ├── Asymmetric I-beam → ifc_class="IfcAsymmetricIShapeProfileDef"
│       ├── Channel (U-shape) → ifc_class="IfcUShapeProfileDef"
│       ├── C-shape → ifc_class="IfcCShapeProfileDef"
│       ├── T-shape → ifc_class="IfcTShapeProfileDef"
│       ├── Angle (L-shape) → ifc_class="IfcLShapeProfileDef"
│       ├── Z-shape → ifc_class="IfcZShapeProfileDef"
│       ├── Rectangle → ifc_class="IfcRectangleProfileDef"
│       ├── Hollow rectangle → ifc_class="IfcRectangleHollowProfileDef"
│       ├── Rounded rectangle → ifc_class="IfcRoundedRectangleProfileDef"
│       ├── Circle → ifc_class="IfcCircleProfileDef"
│       ├── Hollow circle / tube → ifc_class="IfcCircleHollowProfileDef"
│       ├── Ellipse → ifc_class="IfcEllipseProfileDef"
│       └── Trapezoid → ifc_class="IfcTrapeziumProfileDef"
│
├── Custom non-standard solid shape?
│   └── Arbitrary profile → profile.add_arbitrary_profile()
│       └── Provide list of 2D coordinate tuples (SI meters)
│
├── Custom shape with holes / voids?
│   └── Arbitrary profile with voids → profile.add_arbitrary_profile_with_voids()
│       └── Provide outer_profile + inner_profiles coordinate lists
│
└── Combination of multiple profiles?
    └── Create individual profiles, then combine via
        IfcCompositeProfileDef (manual entity creation required)

Decision Tree: How to Use a Profile

What do you want to do with the profile?
├── Create extruded geometry (3D shape from 2D profile)?
│   └── geometry.add_profile_representation(context, profile, depth)
│       └── Then assign to element with geometry.assign_representation()
│
├── Define material cross-section for beam/column?
│   └── material.add_material_set(set_type="IfcMaterialProfileSet")
│       └── material.add_profile(profile_set, material, profile)
│           └── Assign to element TYPE with material.assign_material()
│
└── Both (geometry + material definition)?
    └── Create profile ONCE, reference it in BOTH places
        └── Same IfcProfileDef is shared between representation and material

Critical Warnings

  • ALWAYS use add_parameterised_profile (British spelling). add_parameterized_profile (American spelling) does NOT exist and raises an error.
  • ALWAYS specify profile dimensions in SI meters. A 200mm flange width MUST be 0.200, NOT 200.
  • ALWAYS set dimension attributes via profile.edit_profile() after creating a parametric profile. The add_parameterised_profile() function creates the profile entity but dimension attributes default to zero/null.
  • ALWAYS set ProfileName via edit_profile() for identification in BIM viewers and schedules.
  • NEVER create profile entities directly with model.create_entity("IfcIShapeProfileDef", ...). ALWAYS use profile.add_parameterised_profile() which handles proper schema setup.
  • NEVER leave profile polylines open in add_arbitrary_profile(). The API auto-closes the loop, but relying on this is fragile. Provide explicit closure or ensure coordinates define a proper closed polygon.
  • NEVER confuse profile.edit_profile() (edits IfcProfileDef dimensions) with material.edit_profile() (edits IfcMaterialProfile properties like name, description, priority).
  • ALWAYS verify that the ifc_class string matches an IFC schema class name exactly (case-sensitive). "IfcIshapeProfileDef" fails silently.

Essential Patterns

Pattern 1: Create a Parametric I-Beam Profile

python
# IfcOpenShell: all schema versions
import ifcopenshell
import ifcopenshell.api

model = ifcopenshell.file(schema="IFC4")

# Step 1: Create profile entity
i_profile = ifcopenshell.api.profile.add_parameterised_profile(model,
    ifc_class="IfcIShapeProfileDef")

# Step 2: Set dimensions (ALWAYS in SI meters)
ifcopenshell.api.profile.edit_profile(model,
    profile=i_profile,
    attributes={
        "ProfileName": "HEA 200",
        "OverallWidth": 0.200,
        "OverallDepth": 0.190,
        "WebThickness": 0.0065,
        "FlangeThickness": 0.010,
        "FilletRadius": 0.018
    })

Pattern 2: Create a Rectangular Profile

python
# IfcOpenShell: all schema versions
rect_profile = ifcopenshell.api.profile.add_parameterised_profile(model,
    ifc_class="IfcRectangleProfileDef")
ifcopenshell.api.profile.edit_profile(model,
    profile=rect_profile,
    attributes={
        "ProfileName": "RC 400x600",
        "XDim": 0.400,
        "YDim": 0.600
    })

Pattern 3: Create a Circular Hollow Section

python
# IfcOpenShell: all schema versions
chs_profile = ifcopenshell.api.profile.add_parameterised_profile(model,
    ifc_class="IfcCircleHollowProfileDef")
ifcopenshell.api.profile.edit_profile(model,
    profile=chs_profile,
    attributes={
        "ProfileName": "CHS 168.3x8",
        "Radius": 0.08415,
        "WallThickness": 0.008
    })

Pattern 4: Create an Arbitrary Profile from Coordinates

python
# IfcOpenShell: all schema versions
# Custom L-shaped profile (non-standard dimensions)
custom_profile = ifcopenshell.api.profile.add_arbitrary_profile(model,
    profile=[
        (0.0, 0.0),
        (0.3, 0.0),
        (0.3, 0.05),
        (0.05, 0.05),
        (0.05, 0.2),
        (0.0, 0.2)
    ],
    name="Custom L 300x200x50")

Pattern 5: Create a Profile with Voids

python
# IfcOpenShell: all schema versions
hollow_profile = ifcopenshell.api.profile.add_arbitrary_profile_with_voids(model,
    outer_profile=[
        (0.0, 0.0), (0.5, 0.0), (0.5, 0.5), (0.0, 0.5)
    ],
    inner_profiles=[
        [(0.05, 0.05), (0.45, 0.05), (0.45, 0.45), (0.05, 0.45)]
    ],
    name="Hollow Box 500x500")

Pattern 6: Profile-Based Extrusion (3D Geometry)

python
# IfcOpenShell: all schema versions
# Requires representation context from project bootstrap
model3d = ifcopenshell.api.run("context.add_context", model, context_type="Model")
body = ifcopenshell.api.run("context.add_context", model,
    context_type="Model", context_identifier="Body",
    target_view="MODEL_VIEW", parent=model3d)

# Create column with I-profile extrusion
column = ifcopenshell.api.run("root.create_entity", model,
    ifc_class="IfcColumn", name="Column C-01")
representation = ifcopenshell.api.run("geometry.add_profile_representation", model,
    context=body,
    profile=i_profile,
    depth=3.5)  # extrusion height in meters
ifcopenshell.api.run("geometry.assign_representation", model,
    product=column, representation=representation)
ifcopenshell.api.run("geometry.edit_object_placement", model, product=column)

Pattern 7: Material Profile Set (Profile + Material for Structural Elements)

python
# IfcOpenShell: all schema versions
import ifcopenshell.api

# Step 1: Create material
steel = ifcopenshell.api.material.add_material(model,
    name="S355 J2", category="steel")

# Step 2: Create profile set container
profile_set = ifcopenshell.api.material.add_material_set(model,
    name="HEA 200", set_type="IfcMaterialProfileSet")

# Step 3: Create profile definition
profile_def = ifcopenshell.api.profile.add_parameterised_profile(model,
    ifc_class="IfcIShapeProfileDef")
ifcopenshell.api.profile.edit_profile(model,
    profile=profile_def,
    attributes={
        "ProfileName": "HEA 200",
        "OverallWidth": 0.200,
        "OverallDepth": 0.190,
        "WebThickness": 0.0065,
        "FlangeThickness": 0.010,
        "FilletRadius": 0.018
    })

# Step 4: Add profile to material set
profile_item = ifcopenshell.api.material.add_profile(model,
    profile_set=profile_set, material=steel, profile=profile_def)

# Step 5: Assign to element TYPE (best practice)
beam_type = ifcopenshell.api.run("root.create_entity", model,
    ifc_class="IfcBeamType", name="HEA 200 Beam")
ifcopenshell.api.material.assign_material(model,
    products=[beam_type], type="IfcMaterialProfileSet", material=profile_set)

Parametric Profile Types Reference

Dimension Parameters by Profile Type

IFC ClassShapeKey Parameters (all in meters)
IfcRectangleProfileDefRectangleXDim, YDim
IfcRectangleHollowProfileDefHollow rectangleXDim, YDim, WallThickness, InnerFilletRadius, OuterFilletRadius
IfcRoundedRectangleProfileDefRounded rectangleXDim, YDim, RoundingRadius
IfcCircleProfileDefCircleRadius
IfcCircleHollowProfileDefHollow circle / tubeRadius, WallThickness
IfcEllipseProfileDefEllipseSemiAxis1, SemiAxis2
IfcIShapeProfileDefI/H-beamOverallWidth, OverallDepth, WebThickness, FlangeThickness, FilletRadius*
IfcAsymmetricIShapeProfileDefAsymmetric IBottomFlangeWidth, OverallDepth, WebThickness, BottomFlangeThickness, TopFlangeWidth, TopFlangeThickness
IfcTShapeProfileDefT-shapeDepth, FlangeWidth, WebThickness, FlangeThickness, FilletRadius, WebEdgeRadius
IfcLShapeProfileDefL-shape / angleDepth, Width, Thickness, FilletRadius, EdgeRadius*
IfcUShapeProfileDefU-shape / channelDepth, FlangeWidth, WebThickness, FlangeThickness, FilletRadius*
IfcCShapeProfileDefC-shapeDepth, Width, WallThickness, Girth, InternalFilletRadius*
IfcZShapeProfileDefZ-shapeDepth, FlangeWidth, WebThickness, FlangeThickness, FilletRadius*
IfcTrapeziumProfileDefTrapezoidBottomXDim, TopXDim, YDim, TopXOffset

Parameters marked with * are optional.

Profile Type Parameter

The profile_type parameter in add_parameterised_profile accepts:

ValueMeaning
AREAUsed for solid extrusions (default, most common)
CURVEUsed for curve-based/centerline representations

ALWAYS use AREA (the default) for standard structural profiles. Use CURVE only for centerline-based representations.


Common Operations

Copy a Profile

python
# IfcOpenShell: all schema versions
copied_profile = ifcopenshell.api.profile.copy_profile(model, profile=i_profile)
# Returns a new profile with identical dimensions, disconnected from original elements

Modify Profile Dimensions

python
# IfcOpenShell: all schema versions
# Change I-beam dimensions (e.g., upgrade from HEA 200 to HEA 300)
ifcopenshell.api.profile.edit_profile(model,
    profile=i_profile,
    attributes={
        "ProfileName": "HEA 300",
        "OverallWidth": 0.300,
        "OverallDepth": 0.290,
        "WebThickness": 0.0085,
        "FlangeThickness": 0.014,
        "FilletRadius": 0.027
    })

Remove a Profile

python
# IfcOpenShell: all schema versions
# ALWAYS ensure profile is not referenced by geometry or material sets first
ifcopenshell.api.profile.remove_profile(model, profile=unused_profile)

Query Profile from a Structural Element

python
# IfcOpenShell: all schema versions
import ifcopenshell.util.element

mat = ifcopenshell.util.element.get_material(beam, should_skip_usage=True)
if mat and mat.is_a("IfcMaterialProfileSet"):
    for mp in mat.MaterialProfiles:
        profile = mp.Profile
        if profile.is_a("IfcIShapeProfileDef"):
            print(f"Profile: {profile.ProfileName}")
            print(f"  Width: {profile.OverallWidth * 1000:.0f}mm")
            print(f"  Depth: {profile.OverallDepth * 1000:.0f}mm")
            print(f"  Web: {profile.WebThickness * 1000:.1f}mm")
            print(f"  Flange: {profile.FlangeThickness * 1000:.1f}mm")

Integration Points

Profile + Geometry

Profiles are used with geometry.add_profile_representation() to generate extruded solid geometry. The profile defines the 2D cross-section; the depth parameter defines the extrusion length.

python
representation = ifcopenshell.api.run("geometry.add_profile_representation", model,
    context=body, profile=my_profile, depth=6.0)

Profile + Material

Profiles are used with material.add_profile() to define material cross-sections for structural analysis and BIM data exchange. A single IfcProfileDef can be shared between geometry and material definitions.

Profile + Type

ALWAYS assign material profile sets to element types (IfcBeamType, IfcColumnType, IfcMemberType), not individual occurrences. Occurrences inherit from their type.


Version Notes

Schema Compatibility

All ifcopenshell.api.profile functions work identically across IFC2X3, IFC4, and IFC4X3. Profile definitions are schema-stable entities — the same IfcProfileDef classes and attributes are available in all schema versions.

IfcOpenShell Version Notes

  • Since IfcOpenShell v0.8+, use keyword arguments for all parameters after the model.
  • Both api.run("profile.add_parameterised_profile", model, ...) and ifcopenshell.api.profile.add_parameterised_profile(model, ...) are valid. Use one style consistently.

Dependencies

  • ifcos-syntax-api — For api.run() invocation patterns and module overview
  • ifcos-impl-materials — For material profile set creation and assignment
  • ifcos-impl-geometry — For profile-based representation creation

Reference Links

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Ifcos Impl Profiles?

Use when creating structural cross-sections or profile-based extrusions in IFC -- I-beams, C-channels, rectangles, circles, or arbitrary polyline profiles. Prevents the common mistake of defining profiles without proper placement (profile origin misalignment). Covers parametric profiles, arbitrary profiles, profile-based extrusions, and material profile sets. Keywords: profile, IfcProfileDef, I-beam, C-channel, rectangle, circle, extrusion, cross-section, material profile set, structural profile, steel section, HEA, IPE, create beam profile.

Firwat Ifcos Impl Profiles op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Ifcos Impl Profiles besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Ifcos Impl Profiles an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/tree/main/skills/ifcopenshell/impl/ifcos-impl-profiles an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Ifcos Impl Profiles benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Ifcos Impl Profiles benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Ifcos Impl Profiles domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Ifcos Impl Profiles gratis?

Jo. De Skill gëtt vum Impertio-Studio ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇