[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FADTCJJYF8VQ1DZJR6EP70":3,"skill-same:01M7FADTCJJYF8VQ1DZJR6EP70":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":13,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7FADTCJJYF8VQ1DZJR6EP70","ifcos-impl-profiles",null,"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.","lagzgabrielmuller-dot\u002Fkit-ingenieria-3d","lagzgabrielmuller-dot","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F333339260?v=4","01M7F985KYC0XB2XZ97B5YWH4C","01M7F985MHK8N2NVE4VAR5WBWS",0,"MIT","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-profiles\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: ifcos-impl-profiles\ndescription: >\n  Use when creating structural cross-sections or profile-based extrusions in IFC -- I-beams,\n  C-channels, rectangles, circles, or arbitrary polyline profiles. Prevents the common mistake\n  of defining profiles without proper placement (profile origin misalignment). Covers\n  parametric profiles, arbitrary profiles, profile-based extrusions, and material profile sets.\n  Keywords: profile, IfcProfileDef, I-beam, C-channel, rectangle, circle, extrusion, cross-section, material profile set, structural profile, steel section, HEA, IPE, create beam profile.\nlicense: MIT\ncompatibility: \"Designed for Claude Code. Requires IfcOpenShell Python library.\"\nmetadata:\n  author: OpenAEC-Foundation\n  version: \"1.0\"\n---\n\n# IFC Profile Definitions Implementation Guide\n\n## Quick Reference\n\n### Decision Tree: Which Profile Type to Use\n\n```\nWhat cross-section shape do you need?\n├── Standard structural section (I-beam, channel, angle, tube)?\n│   └── Parametric profile → profile.add_parameterised_profile()\n│       ├── I-beam \u002F H-beam → ifc_class=\"IfcIShapeProfileDef\"\n│       ├── Asymmetric I-beam → ifc_class=\"IfcAsymmetricIShapeProfileDef\"\n│       ├── Channel (U-shape) → ifc_class=\"IfcUShapeProfileDef\"\n│       ├── C-shape → ifc_class=\"IfcCShapeProfileDef\"\n│       ├── T-shape → ifc_class=\"IfcTShapeProfileDef\"\n│       ├── Angle (L-shape) → ifc_class=\"IfcLShapeProfileDef\"\n│       ├── Z-shape → ifc_class=\"IfcZShapeProfileDef\"\n│       ├── Rectangle → ifc_class=\"IfcRectangleProfileDef\"\n│       ├── Hollow rectangle → ifc_class=\"IfcRectangleHollowProfileDef\"\n│       ├── Rounded rectangle → ifc_class=\"IfcRoundedRectangleProfileDef\"\n│       ├── Circle → ifc_class=\"IfcCircleProfileDef\"\n│       ├── Hollow circle \u002F tube → ifc_class=\"IfcCircleHollowProfileDef\"\n│       ├── Ellipse → ifc_class=\"IfcEllipseProfileDef\"\n│       └── Trapezoid → ifc_class=\"IfcTrapeziumProfileDef\"\n│\n├── Custom non-standard solid shape?\n│   └── Arbitrary profile → profile.add_arbitrary_profile()\n│       └── Provide list of 2D coordinate tuples (SI meters)\n│\n├── Custom shape with holes \u002F voids?\n│   └── Arbitrary profile with voids → profile.add_arbitrary_profile_with_voids()\n│       └── Provide outer_profile + inner_profiles coordinate lists\n│\n└── Combination of multiple profiles?\n    └── Create individual profiles, then combine via\n        IfcCompositeProfileDef (manual entity creation required)\n```\n\n### Decision Tree: How to Use a Profile\n\n```\nWhat do you want to do with the profile?\n├── Create extruded geometry (3D shape from 2D profile)?\n│   └── geometry.add_profile_representation(context, profile, depth)\n│       └── Then assign to element with geometry.assign_representation()\n│\n├── Define material cross-section for beam\u002Fcolumn?\n│   └── material.add_material_set(set_type=\"IfcMaterialProfileSet\")\n│       └── material.add_profile(profile_set, material, profile)\n│           └── Assign to element TYPE with material.assign_material()\n│\n└── Both (geometry + material definition)?\n    └── Create profile ONCE, reference it in BOTH places\n        └── Same IfcProfileDef is shared between representation and material\n```\n\n### Critical Warnings\n\n- **ALWAYS** use `add_parameterised_profile` (British spelling). `add_parameterized_profile` (American spelling) does NOT exist and raises an error.\n- **ALWAYS** specify profile dimensions in SI meters. A 200mm flange width MUST be `0.200`, NOT `200`.\n- **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\u002Fnull.\n- **ALWAYS** set `ProfileName` via `edit_profile()` for identification in BIM viewers and schedules.\n- **NEVER** create profile entities directly with `model.create_entity(\"IfcIShapeProfileDef\", ...)`. ALWAYS use `profile.add_parameterised_profile()` which handles proper schema setup.\n- **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.\n- **NEVER** confuse `profile.edit_profile()` (edits IfcProfileDef dimensions) with `material.edit_profile()` (edits IfcMaterialProfile properties like name, description, priority).\n- **ALWAYS** verify that the `ifc_class` string matches an IFC schema class name exactly (case-sensitive). `\"IfcIshapeProfileDef\"` fails silently.\n\n---\n\n## Essential Patterns\n\n### Pattern 1: Create a Parametric I-Beam Profile\n\n```python\n# IfcOpenShell: all schema versions\nimport ifcopenshell\nimport ifcopenshell.api\n\nmodel = ifcopenshell.file(schema=\"IFC4\")\n\n# Step 1: Create profile entity\ni_profile = ifcopenshell.api.profile.add_parameterised_profile(model,\n    ifc_class=\"IfcIShapeProfileDef\")\n\n# Step 2: Set dimensions (ALWAYS in SI meters)\nifcopenshell.api.profile.edit_profile(model,\n    profile=i_profile,\n    attributes={\n        \"ProfileName\": \"HEA 200\",\n        \"OverallWidth\": 0.200,\n        \"OverallDepth\": 0.190,\n        \"WebThickness\": 0.0065,\n        \"FlangeThickness\": 0.010,\n        \"FilletRadius\": 0.018\n    })\n```\n\n### Pattern 2: Create a Rectangular Profile\n\n```python\n# IfcOpenShell: all schema versions\nrect_profile = ifcopenshell.api.profile.add_parameterised_profile(model,\n    ifc_class=\"IfcRectangleProfileDef\")\nifcopenshell.api.profile.edit_profile(model,\n    profile=rect_profile,\n    attributes={\n        \"ProfileName\": \"RC 400x600\",\n        \"XDim\": 0.400,\n        \"YDim\": 0.600\n    })\n```\n\n### Pattern 3: Create a Circular Hollow Section\n\n```python\n# IfcOpenShell: all schema versions\nchs_profile = ifcopenshell.api.profile.add_parameterised_profile(model,\n    ifc_class=\"IfcCircleHollowProfileDef\")\nifcopenshell.api.profile.edit_profile(model,\n    profile=chs_profile,\n    attributes={\n        \"ProfileName\": \"CHS 168.3x8\",\n        \"Radius\": 0.08415,\n        \"WallThickness\": 0.008\n    })\n```\n\n### Pattern 4: Create an Arbitrary Profile from Coordinates\n\n```python\n# IfcOpenShell: all schema versions\n# Custom L-shaped profile (non-standard dimensions)\ncustom_profile = ifcopenshell.api.profile.add_arbitrary_profile(model,\n    profile=[\n        (0.0, 0.0),\n        (0.3, 0.0),\n        (0.3, 0.05),\n        (0.05, 0.05),\n        (0.05, 0.2),\n        (0.0, 0.2)\n    ],\n    name=\"Custom L 300x200x50\")\n```\n\n### Pattern 5: Create a Profile with Voids\n\n```python\n# IfcOpenShell: all schema versions\nhollow_profile = ifcopenshell.api.profile.add_arbitrary_profile_with_voids(model,\n    outer_profile=[\n        (0.0, 0.0), (0.5, 0.0), (0.5, 0.5), (0.0, 0.5)\n    ],\n    inner_profiles=[\n        [(0.05, 0.05), (0.45, 0.05), (0.45, 0.45), (0.05, 0.45)]\n    ],\n    name=\"Hollow Box 500x500\")\n```\n\n### Pattern 6: Profile-Based Extrusion (3D Geometry)\n\n```python\n# IfcOpenShell: all schema versions\n# Requires representation context from project bootstrap\nmodel3d = ifcopenshell.api.run(\"context.add_context\", model, context_type=\"Model\")\nbody = ifcopenshell.api.run(\"context.add_context\", model,\n    context_type=\"Model\", context_identifier=\"Body\",\n    target_view=\"MODEL_VIEW\", parent=model3d)\n\n# Create column with I-profile extrusion\ncolumn = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcColumn\", name=\"Column C-01\")\nrepresentation = ifcopenshell.api.run(\"geometry.add_profile_representation\", model,\n    context=body,\n    profile=i_profile,\n    depth=3.5)  # extrusion height in meters\nifcopenshell.api.run(\"geometry.assign_representation\", model,\n    product=column, representation=representation)\nifcopenshell.api.run(\"geometry.edit_object_placement\", model, product=column)\n```\n\n### Pattern 7: Material Profile Set (Profile + Material for Structural Elements)\n\n```python\n# IfcOpenShell: all schema versions\nimport ifcopenshell.api\n\n# Step 1: Create material\nsteel = ifcopenshell.api.material.add_material(model,\n    name=\"S355 J2\", category=\"steel\")\n\n# Step 2: Create profile set container\nprofile_set = ifcopenshell.api.material.add_material_set(model,\n    name=\"HEA 200\", set_type=\"IfcMaterialProfileSet\")\n\n# Step 3: Create profile definition\nprofile_def = ifcopenshell.api.profile.add_parameterised_profile(model,\n    ifc_class=\"IfcIShapeProfileDef\")\nifcopenshell.api.profile.edit_profile(model,\n    profile=profile_def,\n    attributes={\n        \"ProfileName\": \"HEA 200\",\n        \"OverallWidth\": 0.200,\n        \"OverallDepth\": 0.190,\n        \"WebThickness\": 0.0065,\n        \"FlangeThickness\": 0.010,\n        \"FilletRadius\": 0.018\n    })\n\n# Step 4: Add profile to material set\nprofile_item = ifcopenshell.api.material.add_profile(model,\n    profile_set=profile_set, material=steel, profile=profile_def)\n\n# Step 5: Assign to element TYPE (best practice)\nbeam_type = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBeamType\", name=\"HEA 200 Beam\")\nifcopenshell.api.material.assign_material(model,\n    products=[beam_type], type=\"IfcMaterialProfileSet\", material=profile_set)\n```\n\n---\n\n## Parametric Profile Types Reference\n\n### Dimension Parameters by Profile Type\n\n| IFC Class | Shape | Key Parameters (all in meters) |\n|-----------|-------|-------------------------------|\n| `IfcRectangleProfileDef` | Rectangle | `XDim`, `YDim` |\n| `IfcRectangleHollowProfileDef` | Hollow rectangle | `XDim`, `YDim`, `WallThickness`, `InnerFilletRadius`*, `OuterFilletRadius`* |\n| `IfcRoundedRectangleProfileDef` | Rounded rectangle | `XDim`, `YDim`, `RoundingRadius` |\n| `IfcCircleProfileDef` | Circle | `Radius` |\n| `IfcCircleHollowProfileDef` | Hollow circle \u002F tube | `Radius`, `WallThickness` |\n| `IfcEllipseProfileDef` | Ellipse | `SemiAxis1`, `SemiAxis2` |\n| `IfcIShapeProfileDef` | I\u002FH-beam | `OverallWidth`, `OverallDepth`, `WebThickness`, `FlangeThickness`, `FilletRadius`* |\n| `IfcAsymmetricIShapeProfileDef` | Asymmetric I | `BottomFlangeWidth`, `OverallDepth`, `WebThickness`, `BottomFlangeThickness`, `TopFlangeWidth`*, `TopFlangeThickness`* |\n| `IfcTShapeProfileDef` | T-shape | `Depth`, `FlangeWidth`, `WebThickness`, `FlangeThickness`, `FilletRadius`*, `WebEdgeRadius`* |\n| `IfcLShapeProfileDef` | L-shape \u002F angle | `Depth`, `Width`*, `Thickness`, `FilletRadius`*, `EdgeRadius`* |\n| `IfcUShapeProfileDef` | U-shape \u002F channel | `Depth`, `FlangeWidth`, `WebThickness`, `FlangeThickness`, `FilletRadius`* |\n| `IfcCShapeProfileDef` | C-shape | `Depth`, `Width`, `WallThickness`, `Girth`, `InternalFilletRadius`* |\n| `IfcZShapeProfileDef` | Z-shape | `Depth`, `FlangeWidth`, `WebThickness`, `FlangeThickness`, `FilletRadius`* |\n| `IfcTrapeziumProfileDef` | Trapezoid | `BottomXDim`, `TopXDim`, `YDim`, `TopXOffset` |\n\n*Parameters marked with `*` are optional.*\n\n### Profile Type Parameter\n\nThe `profile_type` parameter in `add_parameterised_profile` accepts:\n\n| Value | Meaning |\n|-------|---------|\n| `AREA` | Used for solid extrusions (default, most common) |\n| `CURVE` | Used for curve-based\u002Fcenterline representations |\n\n**ALWAYS** use `AREA` (the default) for standard structural profiles. Use `CURVE` only for centerline-based representations.\n\n---\n\n## Common Operations\n\n### Copy a Profile\n\n```python\n# IfcOpenShell: all schema versions\ncopied_profile = ifcopenshell.api.profile.copy_profile(model, profile=i_profile)\n# Returns a new profile with identical dimensions, disconnected from original elements\n```\n\n### Modify Profile Dimensions\n\n```python\n# IfcOpenShell: all schema versions\n# Change I-beam dimensions (e.g., upgrade from HEA 200 to HEA 300)\nifcopenshell.api.profile.edit_profile(model,\n    profile=i_profile,\n    attributes={\n        \"ProfileName\": \"HEA 300\",\n        \"OverallWidth\": 0.300,\n        \"OverallDepth\": 0.290,\n        \"WebThickness\": 0.0085,\n        \"FlangeThickness\": 0.014,\n        \"FilletRadius\": 0.027\n    })\n```\n\n### Remove a Profile\n\n```python\n# IfcOpenShell: all schema versions\n# ALWAYS ensure profile is not referenced by geometry or material sets first\nifcopenshell.api.profile.remove_profile(model, profile=unused_profile)\n```\n\n### Query Profile from a Structural Element\n\n```python\n# IfcOpenShell: all schema versions\nimport ifcopenshell.util.element\n\nmat = ifcopenshell.util.element.get_material(beam, should_skip_usage=True)\nif mat and mat.is_a(\"IfcMaterialProfileSet\"):\n    for mp in mat.MaterialProfiles:\n        profile = mp.Profile\n        if profile.is_a(\"IfcIShapeProfileDef\"):\n            print(f\"Profile: {profile.ProfileName}\")\n            print(f\"  Width: {profile.OverallWidth * 1000:.0f}mm\")\n            print(f\"  Depth: {profile.OverallDepth * 1000:.0f}mm\")\n            print(f\"  Web: {profile.WebThickness * 1000:.1f}mm\")\n            print(f\"  Flange: {profile.FlangeThickness * 1000:.1f}mm\")\n```\n\n---\n\n## Integration Points\n\n### Profile + Geometry\n\nProfiles 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.\n\n```python\nrepresentation = ifcopenshell.api.run(\"geometry.add_profile_representation\", model,\n    context=body, profile=my_profile, depth=6.0)\n```\n\n### Profile + Material\n\nProfiles 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.\n\n### Profile + Type\n\nALWAYS assign material profile sets to element types (IfcBeamType, IfcColumnType, IfcMemberType), not individual occurrences. Occurrences inherit from their type.\n\n---\n\n## Version Notes\n\n### Schema Compatibility\n\nAll `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.\n\n### IfcOpenShell Version Notes\n\n- Since IfcOpenShell v0.8+, use keyword arguments for all parameters after the model.\n- Both `api.run(\"profile.add_parameterised_profile\", model, ...)` and `ifcopenshell.api.profile.add_parameterised_profile(model, ...)` are valid. Use one style consistently.\n\n---\n\n## Dependencies\n\n- **ifcos-syntax-api** — For `api.run()` invocation patterns and module overview\n- **ifcos-impl-materials** — For material profile set creation and assignment\n- **ifcos-impl-geometry** — For profile-based representation creation\n\n---\n\n## Reference Links\n\n- [API Method Signatures](references\u002Fmethods.md) — Complete signatures for all profile API functions\n- [Working Code Examples](references\u002Fexamples.md) — End-to-end profile workflows\n- [Anti-Patterns](references\u002Fanti-patterns.md) — Common profile mistakes and how to avoid them\n","# IFC Profile Definitions Implementation Guide\n\n## Quick Reference\n\n### Decision Tree: Which Profile Type to Use\n\n```\nWhat cross-section shape do you need?\n├── Standard structural section (I-beam, channel, angle, tube)?\n│   └── Parametric profile → profile.add_parameterised_profile()\n│       ├── I-beam \u002F H-beam → ifc_class=\"IfcIShapeProfileDef\"\n│       ├── Asymmetric I-beam → ifc_class=\"IfcAsymmetricIShapeProfileDef\"\n│       ├── Channel (U-shape) → ifc_class=\"IfcUShapeProfileDef\"\n│       ├── C-shape → ifc_class=\"IfcCShapeProfileDef\"\n│       ├── T-shape → ifc_class=\"IfcTShapeProfileDef\"\n│       ├── Angle (L-shape) → ifc_class=\"IfcLShapeProfileDef\"\n│       ├── Z-shape → ifc_class=\"IfcZShapeProfileDef\"\n│       ├── Rectangle → ifc_class=\"IfcRectangleProfileDef\"\n│       ├── Hollow rectangle → ifc_class=\"IfcRectangleHollowProfileDef\"\n│       ├── Rounded rectangle → ifc_class=\"IfcRoundedRectangleProfileDef\"\n│       ├── Circle → ifc_class=\"IfcCircleProfileDef\"\n│       ├── Hollow circle \u002F tube → ifc_class=\"IfcCircleHollowProfileDef\"\n│       ├── Ellipse → ifc_class=\"IfcEllipseProfileDef\"\n│       └── Trapezoid → ifc_class=\"IfcTrapeziumProfileDef\"\n│\n├── Custom non-standard solid shape?\n│   └── Arbitrary profile → profile.add_arbitrary_profile()\n│       └── Provide list of 2D coordinate tuples (SI meters)\n│\n├── Custom shape with holes \u002F voids?\n│   └── Arbitrary profile with voids → profile.add_arbitrary_profile_with_voids()\n│       └── Provide outer_profile + inner_profiles coordinate lists\n│\n└── Combination of multiple profiles?\n    └── Create individual profiles, then combine via\n        IfcCompositeProfileDef (manual entity creation required)\n```\n\n### Decision Tree: How to Use a Profile\n\n```\nWhat do you want to do with the profile?\n├── Create extruded geometry (3D shape from 2D profile)?\n│   └── geometry.add_profile_representation(context, profile, depth)\n│       └── Then assign to element with geometry.assign_representation()\n│\n├── Define material cross-section for beam\u002Fcolumn?\n│   └── material.add_material_set(set_type=\"IfcMaterialProfileSet\")\n│       └── material.add_profile(profile_set, material, profile)\n│           └── Assign to element TYPE with material.assign_material()\n│\n└── Both (geometry + material definition)?\n    └── Create profile ONCE, reference it in BOTH places\n        └── Same IfcProfileDef is shared between representation and material\n```\n\n### Critical Warnings\n\n- **ALWAYS** use `add_parameterised_profile` (British spelling). `add_parameterized_profile` (American spelling) does NOT exist and raises an error.\n- **ALWAYS** specify profile dimensions in SI meters. A 200mm flange width MUST be `0.200`, NOT `200`.\n- **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\u002Fnull.\n- **ALWAYS** set `ProfileName` via `edit_profile()` for identification in BIM viewers and schedules.\n- **NEVER** create profile entities directly with `model.create_entity(\"IfcIShapeProfileDef\", ...)`. ALWAYS use `profile.add_parameterised_profile()` which handles proper schema setup.\n- **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.\n- **NEVER** confuse `profile.edit_profile()` (edits IfcProfileDef dimensions) with `material.edit_profile()` (edits IfcMaterialProfile properties like name, description, priority).\n- **ALWAYS** verify that the `ifc_class` string matches an IFC schema class name exactly (case-sensitive). `\"IfcIshapeProfileDef\"` fails silently.\n\n---\n\n## Essential Patterns\n\n### Pattern 1: Create a Parametric I-Beam Profile\n\n```python\n# IfcOpenShell: all schema versions\nimport ifcopenshell\nimport ifcopenshell.api\n\nmodel = ifcopenshell.file(schema=\"IFC4\")\n\n# Step 1: Create profile entity\ni_profile = ifcopenshell.api.profile.add_parameterised_profile(model,\n    ifc_class=\"IfcIShapeProfileDef\")\n\n# Step 2: Set dimensions (ALWAYS in SI meters)\nifcopenshell.api.profile.edit_profile(model,\n    profile=i_profile,\n    attributes={\n        \"ProfileName\": \"HEA 200\",\n        \"OverallWidth\": 0.200,\n        \"OverallDepth\": 0.190,\n        \"WebThickness\": 0.0065,\n        \"FlangeThickness\": 0.010,\n        \"FilletRadius\": 0.018\n    })\n```\n\n### Pattern 2: Create a Rectangular Profile\n\n```python\n# IfcOpenShell: all schema versions\nrect_profile = ifcopenshell.api.profile.add_parameterised_profile(model,\n    ifc_class=\"IfcRectangleProfileDef\")\nifcopenshell.api.profile.edit_profile(model,\n    profile=rect_profile,\n    attributes={\n        \"ProfileName\": \"RC 400x600\",\n        \"XDim\": 0.400,\n        \"YDim\": 0.600\n    })\n```\n\n### Pattern 3: Create a Circular Hollow Section\n\n```python\n# IfcOpenShell: all schema versions\nchs_profile = ifcopenshell.api.profile.add_parameterised_profile(model,\n    ifc_class=\"IfcCircleHollowProfileDef\")\nifcopenshell.api.profile.edit_profile(model,\n    profile=chs_profile,\n    attributes={\n        \"ProfileName\": \"CHS 168.3x8\",\n        \"Radius\": 0.08415,\n        \"WallThickness\": 0.008\n    })\n```\n\n### Pattern 4: Create an Arbitrary Profile from Coordinates\n\n```python\n# IfcOpenShell: all schema versions\n# Custom L-shaped profile (non-standard dimensions)\ncustom_profile = ifcopenshell.api.profile.add_arbitrary_profile(model,\n    profile=[\n        (0.0, 0.0),\n        (0.3, 0.0),\n        (0.3, 0.05),\n        (0.05, 0.05),\n        (0.05, 0.2),\n        (0.0, 0.2)\n    ],\n    name=\"Custom L 300x200x50\")\n```\n\n### Pattern 5: Create a Profile with Voids\n\n```python\n# IfcOpenShell: all schema versions\nhollow_profile = ifcopenshell.api.profile.add_arbitrary_profile_with_voids(model,\n    outer_profile=[\n        (0.0, 0.0), (0.5, 0.0), (0.5, 0.5), (0.0, 0.5)\n    ],\n    inner_profiles=[\n        [(0.05, 0.05), (0.45, 0.05), (0.45, 0.45), (0.05, 0.45)]\n    ],\n    name=\"Hollow Box 500x500\")\n```\n\n### Pattern 6: Profile-Based Extrusion (3D Geometry)\n\n```python\n# IfcOpenShell: all schema versions\n# Requires representation context from project bootstrap\nmodel3d = ifcopenshell.api.run(\"context.add_context\", model, context_type=\"Model\")\nbody = ifcopenshell.api.run(\"context.add_context\", model,\n    context_type=\"Model\", context_identifier=\"Body\",\n    target_view=\"MODEL_VIEW\", parent=model3d)\n\n# Create column with I-profile extrusion\ncolumn = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcColumn\", name=\"Column C-01\")\nrepresentation = ifcopenshell.api.run(\"geometry.add_profile_representation\", model,\n    context=body,\n    profile=i_profile,\n    depth=3.5)  # extrusion height in meters\nifcopenshell.api.run(\"geometry.assign_representation\", model,\n    product=column, representation=representation)\nifcopenshell.api.run(\"geometry.edit_object_placement\", model, product=column)\n```\n\n### Pattern 7: Material Profile Set (Profile + Material for Structural Elements)\n\n```python\n# IfcOpenShell: all schema versions\nimport ifcopenshell.api\n\n# Step 1: Create material\nsteel = ifcopenshell.api.material.add_material(model,\n    name=\"S355 J2\", category=\"steel\")\n\n# Step 2: Create profile set container\nprofile_set = ifcopenshell.api.material.add_material_set(model,\n    name=\"HEA 200\", set_type=\"IfcMaterialProfileSet\")\n\n# Step 3: Create profile definition\nprofile_def = ifcopenshell.api.profile.add_parameterised_profile(model,\n    ifc_class=\"IfcIShapeProfileDef\")\nifcopenshell.api.profile.edit_profile(model,\n    profile=profile_def,\n    attributes={\n        \"ProfileName\": \"HEA 200\",\n        \"OverallWidth\": 0.200,\n        \"OverallDepth\": 0.190,\n        \"WebThickness\": 0.0065,\n        \"FlangeThickness\": 0.010,\n        \"FilletRadius\": 0.018\n    })\n\n# Step 4: Add profile to material set\nprofile_item = ifcopenshell.api.material.add_profile(model,\n    profile_set=profile_set, material=steel, profile=profile_def)\n\n# Step 5: Assign to element TYPE (best practice)\nbeam_type = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBeamType\", name=\"HEA 200 Beam\")\nifcopenshell.api.material.assign_material(model,\n    products=[beam_type], type=\"IfcMaterialProfileSet\", material=profile_set)\n```\n\n---\n\n## Parametric Profile Types Reference\n\n### Dimension Parameters by Profile Type\n\n| IFC Class | Shape | Key Parameters (all in meters) |\n|-----------|-------|-------------------------------|\n| `IfcRectangleProfileDef` | Rectangle | `XDim`, `YDim` |\n| `IfcRectangleHollowProfileDef` | Hollow rectangle | `XDim`, `YDim`, `WallThickness`, `InnerFilletRadius`*, `OuterFilletRadius`* |\n| `IfcRoundedRectangleProfileDef` | Rounded rectangle | `XDim`, `YDim`, `RoundingRadius` |\n| `IfcCircleProfileDef` | Circle | `Radius` |\n| `IfcCircleHollowProfileDef` | Hollow circle \u002F tube | `Radius`, `WallThickness` |\n| `IfcEllipseProfileDef` | Ellipse | `SemiAxis1`, `SemiAxis2` |\n| `IfcIShapeProfileDef` | I\u002FH-beam | `OverallWidth`, `OverallDepth`, `WebThickness`, `FlangeThickness`, `FilletRadius`* |\n| `IfcAsymmetricIShapeProfileDef` | Asymmetric I | `BottomFlangeWidth`, `OverallDepth`, `WebThickness`, `BottomFlangeThickness`, `TopFlangeWidth`*, `TopFlangeThickness`* |\n| `IfcTShapeProfileDef` | T-shape | `Depth`, `FlangeWidth`, `WebThickness`, `FlangeThickness`, `FilletRadius`*, `WebEdgeRadius`* |\n| `IfcLShapeProfileDef` | L-shape \u002F angle | `Depth`, `Width`*, `Thickness`, `FilletRadius`*, `EdgeRadius`* |\n| `IfcUShapeProfileDef` | U-shape \u002F channel | `Depth`, `FlangeWidth`, `WebThickness`, `FlangeThickness`, `FilletRadius`* |\n| `IfcCShapeProfileDef` | C-shape | `Depth`, `Width`, `WallThickness`, `Girth`, `InternalFilletRadius`* |\n| `IfcZShapeProfileDef` | Z-shape | `Depth`, `FlangeWidth`, `WebThickness`, `FlangeThickness`, `FilletRadius`* |\n| `IfcTrapeziumProfileDef` | Trapezoid | `BottomXDim`, `TopXDim`, `YDim`, `TopXOffset` |\n\n*Parameters marked with `*` are optional.*\n\n### Profile Type Parameter\n\nThe `profile_type` parameter in `add_parameterised_profile` accepts:\n\n| Value | Meaning |\n|-------|---------|\n| `AREA` | Used for solid extrusions (default, most common) |\n| `CURVE` | Used for curve-based\u002Fcenterline representations |\n\n**ALWAYS** use `AREA` (the default) for standard structural profiles. Use `CURVE` only for centerline-based representations.\n\n---\n\n## Common Operations\n\n### Copy a Profile\n\n```python\n# IfcOpenShell: all schema versions\ncopied_profile = ifcopenshell.api.profile.copy_profile(model, profile=i_profile)\n# Returns a new profile with identical dimensions, disconnected from original elements\n```\n\n### Modify Profile Dimensions\n\n```python\n# IfcOpenShell: all schema versions\n# Change I-beam dimensions (e.g., upgrade from HEA 200 to HEA 300)\nifcopenshell.api.profile.edit_profile(model,\n    profile=i_profile,\n    attributes={\n        \"ProfileName\": \"HEA 300\",\n        \"OverallWidth\": 0.300,\n        \"OverallDepth\": 0.290,\n        \"WebThickness\": 0.0085,\n        \"FlangeThickness\": 0.014,\n        \"FilletRadius\": 0.027\n    })\n```\n\n### Remove a Profile\n\n```python\n# IfcOpenShell: all schema versions\n# ALWAYS ensure profile is not referenced by geometry or material sets first\nifcopenshell.api.profile.remove_profile(model, profile=unused_profile)\n```\n\n### Query Profile from a Structural Element\n\n```python\n# IfcOpenShell: all schema versions\nimport ifcopenshell.util.element\n\nmat = ifcopenshell.util.element.get_material(beam, should_skip_usage=True)\nif mat and mat.is_a(\"IfcMaterialProfileSet\"):\n    for mp in mat.MaterialProfiles:\n        profile = mp.Profile\n        if profile.is_a(\"IfcIShapeProfileDef\"):\n            print(f\"Profile: {profile.ProfileName}\")\n            print(f\"  Width: {profile.OverallWidth * 1000:.0f}mm\")\n            print(f\"  Depth: {profile.OverallDepth * 1000:.0f}mm\")\n            print(f\"  Web: {profile.WebThickness * 1000:.1f}mm\")\n            print(f\"  Flange: {profile.FlangeThickness * 1000:.1f}mm\")\n```\n\n---\n\n## Integration Points\n\n### Profile + Geometry\n\nProfiles 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.\n\n```python\nrepresentation = ifcopenshell.api.run(\"geometry.add_profile_representation\", model,\n    context=body, profile=my_profile, depth=6.0)\n```\n\n### Profile + Material\n\nProfiles 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.\n\n### Profile + Type\n\nALWAYS assign material profile sets to element types (IfcBeamType, IfcColumnType, IfcMemberType), not individual occurrences. Occurrences inherit from their type.\n\n---\n\n## Version Notes\n\n### Schema Compatibility\n\nAll `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.\n\n### IfcOpenShell Version Notes\n\n- Since IfcOpenShell v0.8+, use keyword arguments for all parameters after the model.\n- Both `api.run(\"profile.add_parameterised_profile\", model, ...)` and `ifcopenshell.api.profile.add_parameterised_profile(model, ...)` are valid. Use one style consistently.\n\n---\n\n## Dependencies\n\n- **ifcos-syntax-api** — For `api.run()` invocation patterns and module overview\n- **ifcos-impl-materials** — For material profile set creation and assignment\n- **ifcos-impl-geometry** — For profile-based representation creation\n\n---\n\n## Reference Links\n\n- [API Method Signatures](references\u002Fmethods.md) — Complete signatures for all profile API functions\n- [Working Code Examples](references\u002Fexamples.md) — End-to-end profile workflows\n- [Anti-Patterns](references\u002Fanti-patterns.md) — Common profile mistakes and how to avoid them\n",{"name":5,"license":14,"metadata":23,"description":26,"compatibility":27},{"author":24,"version":25},"OpenAEC-Foundation","1.0","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.\n","Designed for Claude Code. Requires IfcOpenShell Python library.","main","9bb7acf0c2ec4f44373969cb14e55af3c9a8385f","plugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-profiles","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot","2026-11-09 13:26:47",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add lagzgabrielmuller-dot\u002Fkit-ingenieria-3d --skill ifcos-impl-profiles",{"tool":40,"command":41},"bunx","bunx skills add lagzgabrielmuller-dot\u002Fkit-ingenieria-3d --skill ifcos-impl-profiles",{"tool":43,"command":44},"pnpm","pnpm dlx skills add lagzgabrielmuller-dot\u002Fkit-ingenieria-3d --skill ifcos-impl-profiles","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-profiles\u002FSKILL.md",true,[48,54,58],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fanti-patterns.md","REFERENCE","参考文档",15323,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-profiles\u002Freferences\u002Fanti-patterns.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fexamples.md",21562,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-profiles\u002Freferences\u002Fexamples.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fmethods.md",14215,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-profiles\u002Freferences\u002Fmethods.md",[63,71,78,85,92,99],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":67,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M7FBFSZ93YM463CGS91D0TZG","manimce-best-practices","Trigger when: (1) User mentions \"manim\" or \"Manim Community\" or \"ManimCE\", (2) Code contains `from manim import *`, (3) User runs `manim` CLI commands, (4) Working with Scene, MathTex, Create(), or ManimCE-specific classes.\n\nBest practices for Manim Community Edition - the community-maintained Python animation engine. Covers Scene structure, animations, LaTeX\u002FMathTex, 3D with ThreeDScene, camera control, styling, and CLI usage.\n\nNOT for ManimGL\u002F3b1b version (which uses `manimlib` imports and `manimgl` CLI).","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fmanim-animaciones\u002Fskills\u002Fmanimce-best-practices\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fmanim-animaciones\u002Fskills\u002Fmanimce-best-practices\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7FB2K59HNNXS9WKHAMWHC3C","drawio","Create, edit, replicate, import, and export draw.io diagrams with an offline YAML-first workflow: architecture, network topologies, flowcharts, UML\u002FER, org charts, Mermaid\u002FCSV conversion, existing .drawio bundles, style presets, themes, and non-publication formula diagrams. For publication figures (paper, thesis, IEEE, camera-ready) use drawio-academic-skills instead.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fdiagramas-y-documentos\u002Fskills\u002Fdrawio\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M7FB2BWX7GWK9H2X8BGCYDDD","drawio-academic-skills","Publication-figure overlay for draw.io. Use instead of drawio whenever the diagram is for a paper, thesis, dissertation, journal, conference, IEEE\u002FACM submission, manuscript, camera-ready, Word\u002FLaTeX figure, or other publication. Applies venue, figure-type, color, caption\u002Flegend, formula, and paper-readability gates for architecture, workflow, roadmap, network-topology, and replicated paper figures.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fdiagramas-y-documentos\u002Fskills\u002Fdrawio-academic-skills\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M7FB22JESEAV8T15DJT3D444","uncertainty-and-units","Tracks physical units and propagates measurement uncertainty in scientific calculations using pint and uncertainties. Use for unit conversion and dimensional checking, GUM uncertainty budgets, Type A and Type B evaluation, coverage factors and expanded uncertainty, Monte Carlo propagation, significant-figure and plus-minus reporting, error propagation through curve fits, CODATA constants, auditing Python code for stripped units or broken uncertainty propagation, and order-of-magnitude plausibility checks using dimensionless groups (Reynolds, Peclet, Damkohler, Knudsen, Biot, Womersley), characteristic scales such as diffusion time or Debye length, and observed magnitude ranges. Trigger on \"is this number physically reasonable\", \"sanity check these units\", \"what regime is this flow in\", or a result that looks off by orders of magnitude.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fciencia-y-calculo\u002Fskills\u002Funcertainty-and-units\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":18},"01M7FB1ANRSG28R335FDY9SA3R","statistical-analysis","Guided statistical analysis for research data - test selection, assumption checking, effect sizes, power analysis, Bayesian alternatives, and APA-formatted reporting. Use whenever a user wants to compare groups, test a hypothesis, analyze experimental or survey data, check statistical assumptions, compute required sample sizes, or write up results - even if they never name a specific test. Covers t-tests, ANOVA, chi-square, correlation, regression, non-parametric and Bayesian methods. For low-level model APIs, see the statsmodels and pymc skills.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fciencia-y-calculo\u002Fskills\u002Fstatistical-analysis\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":18},"01M7FB15KRA9D7JCPH4P9T6XJY","simpy","Builds, inspects, tests, and analyzes bounded process-based discrete-event simulations with SimPy. Use for event scheduling, resource queues, interrupts, monitoring, independent replications, warm-up, and reproducible output analysis.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fciencia-y-calculo\u002Fskills\u002Fsimpy\u002FSKILL.md",[],[]]