[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FADAX6NHDC9CKCWXKXXSCB":3,"skill-same:01M7FADAX6NHDC9CKCWXKXXSCB":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},"01M7FADAX6NHDC9CKCWXKXXSCB","ifcos-impl-materials",null,"Use when assigning materials to IFC elements -- single materials, layer sets (walls), profile sets (beams\u002Fcolumns), or constituent sets (IFC4+). Prevents the common mistake of using IfcMaterialConstituentSet in IFC2X3 (not available). Covers IfcMaterial, IfcMaterialLayerSet, IfcMaterialProfileSet, material properties, and presentation. Keywords: material, IfcMaterial, layer set, profile set, constituent set, material assignment, IfcMaterialLayerSet, IfcMaterialProfileSet, material properties, assign material, wall layers.","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-materials\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: ifcos-impl-materials\ndescription: >\n  Use when assigning materials to IFC elements -- single materials, layer sets (walls),\n  profile sets (beams\u002Fcolumns), or constituent sets (IFC4+). Prevents the common mistake\n  of using IfcMaterialConstituentSet in IFC2X3 (not available). Covers IfcMaterial,\n  IfcMaterialLayerSet, IfcMaterialProfileSet, material properties, and presentation.\n  Keywords: material, IfcMaterial, layer set, profile set, constituent set, material assignment, IfcMaterialLayerSet, IfcMaterialProfileSet, material properties, assign material, wall layers.\nlicense: MIT\ncompatibility: \"Designed for Claude Code. Requires IfcOpenShell Python library.\"\nmetadata:\n  author: OpenAEC-Foundation\n  version: \"1.0\"\n---\n\n# IFC Material Assignment Implementation Guide\n\n## Quick Reference\n\n### Decision Tree: Which Material Type to Use\n\n```\nWhat kind of element needs material?\n├── Single homogeneous material (e.g., steel column, concrete beam)?\n│   └── IfcMaterial → assign_material(type=\"IfcMaterial\")\n│\n├── Layered construction (wall, slab, roof with defined layers)?\n│   └── IfcMaterialLayerSet → add_material_set(set_type=\"IfcMaterialLayerSet\")\n│       └── Each layer has a thickness (LayerThickness in meters)\n│\n├── Profiled structural element (beam, column with cross-section)?\n│   └── IfcMaterialProfileSet → add_material_set(set_type=\"IfcMaterialProfileSet\")\n│       └── Each profile has an IfcProfileDef defining the cross-section\n│\n├── Composite element with named parts (window: frame+glazing)?\n│   ├── IFC4+ → IfcMaterialConstituentSet\n│   │   └── add_material_set(set_type=\"IfcMaterialConstituentSet\")\n│   └── IFC2X3 → IfcMaterialList (legacy, no named parts)\n│       └── add_material_set(set_type=\"IfcMaterialList\")\n│\n└── Legacy unordered material list (IFC2X3 only)?\n    └── IfcMaterialList → add_material_set(set_type=\"IfcMaterialList\")\n```\n\n### Decision Tree: Assign Material to Type or Occurrence?\n\n```\nWhere to assign the material?\n├── Element type (IfcWallType, IfcSlabType, etc.)? [RECOMMENDED]\n│   └── Assign to type → all occurrences inherit the material\n│       └── ifcopenshell.api.material.assign_material(model,\n│           products=[wall_type], type=\"IfcMaterialLayerSet\", material=layer_set)\n│\n└── Individual occurrence (IfcWall, IfcSlab, etc.)?\n    └── Assign to occurrence → overrides type material for this element only\n        └── ifcopenshell.api.material.assign_material(model,\n            products=[wall], material=concrete)\n```\n\n### Critical Warnings\n\n- **ALWAYS** assign materials to element types (IfcWallType, IfcSlabType), not individual occurrences. Occurrences inherit from their type. Assign to occurrences only when overriding type material.\n- **ALWAYS** use `ifcopenshell.api.material.*` functions for material operations. NEVER create IfcMaterial or IfcRelAssociatesMaterial entities directly with `create_entity()`.\n- **NEVER** use `IfcMaterialConstituentSet` with IFC2X3 schema. It does not exist in IFC2X3. Use `IfcMaterialList` instead.\n- **ALWAYS** check `model.schema` before using schema-specific material types.\n- **NEVER** assign multiple materials directly to the same product. Use material sets (layer, profile, constituent) for composite materials. `assign_material()` automatically unassigns previous materials.\n- **ALWAYS** set `LayerThickness` on layers after creation using `edit_layer()`. Layers without thickness are invalid.\n- **ALWAYS** provide a profile definition (`IfcProfileDef`) when adding profiles to a profile set. A material profile without a profile curve is incomplete.\n- **NEVER** set material relationships via direct attribute assignment (e.g., `wall.HasAssociations = ...`). ALWAYS use the API.\n\n---\n\n## Essential Patterns\n\n### Pattern 1: Create and Assign a Single Material\n\n```python\n# IfcOpenShell: all schema versions\nimport ifcopenshell\nimport ifcopenshell.api\n\n# Create a material with category\nconcrete = ifcopenshell.api.material.add_material(model,\n    name=\"Concrete C30\u002F37\", category=\"concrete\")\n\n# Assign to a wall (single material, no layers)\nifcopenshell.api.material.assign_material(model,\n    products=[wall], material=concrete)\n```\n\n### Pattern 2: Create a Layered Wall Material (IfcMaterialLayerSet)\n\n```python\n# IfcOpenShell: all schema versions\nimport ifcopenshell.api\n\n# Step 1: Create individual materials\nbrick = ifcopenshell.api.material.add_material(model,\n    name=\"Facing Brick\", category=\"brick\")\ninsulation = ifcopenshell.api.material.add_material(model,\n    name=\"Mineral Wool\", category=\"glass\")\nblock = ifcopenshell.api.material.add_material(model,\n    name=\"Concrete Block\", category=\"block\")\n\n# Step 2: Create layer set container\nlayer_set = ifcopenshell.api.material.add_material_set(model,\n    name=\"External Wall 300mm\", set_type=\"IfcMaterialLayerSet\")\n\n# Step 3: Add layers (order = outside to inside)\nlayer1 = ifcopenshell.api.material.add_layer(model,\n    layer_set=layer_set, material=brick)\nifcopenshell.api.material.edit_layer(model,\n    layer=layer1, attributes={\"LayerThickness\": 0.102})\n\nlayer2 = ifcopenshell.api.material.add_layer(model,\n    layer_set=layer_set, material=insulation)\nifcopenshell.api.material.edit_layer(model,\n    layer=layer2, attributes={\"LayerThickness\": 0.100})\n\nlayer3 = ifcopenshell.api.material.add_layer(model,\n    layer_set=layer_set, material=block)\nifcopenshell.api.material.edit_layer(model,\n    layer=layer3, attributes={\"LayerThickness\": 0.100})\n\n# Step 4: Assign to wall TYPE (best practice)\nifcopenshell.api.material.assign_material(model,\n    products=[wall_type], type=\"IfcMaterialLayerSet\", material=layer_set)\n```\n\n### Pattern 3: Create a Profiled Beam Material (IfcMaterialProfileSet)\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\", category=\"steel\")\n\n# Step 2: Create profile set\nprofile_set = ifcopenshell.api.material.add_material_set(model,\n    name=\"HEA 200\", set_type=\"IfcMaterialProfileSet\")\n\n# Step 3: Create profile definition (cross-section shape)\nprofile_def = ifcopenshell.api.profile.add_parameterised_profile(model,\n    ifc_class=\"IfcIShapeProfileDef\",\n    OverallWidth=0.200, OverallDepth=0.190,\n    WebThickness=0.0065, FlangeThickness=0.010)\n\n# Step 4: Add profile item to 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 column TYPE\nifcopenshell.api.material.assign_material(model,\n    products=[column_type], type=\"IfcMaterialProfileSet\", material=profile_set)\n```\n\n### Pattern 4: Constituent Set for Composite Elements (IFC4+ Only)\n\n```python\n# IfcOpenShell: IFC4 and IFC4X3 ONLY (NOT IFC2X3)\nimport ifcopenshell.api\n\n# Step 1: Create materials\naluminium = ifcopenshell.api.material.add_material(model,\n    name=\"Aluminium Frame\", category=\"aluminium\")\nglass = ifcopenshell.api.material.add_material(model,\n    name=\"Double Glazing\", category=\"glass\")\n\n# Step 2: Create constituent set\nconstituent_set = ifcopenshell.api.material.add_material_set(model,\n    name=\"Window Assembly\", set_type=\"IfcMaterialConstituentSet\")\n\n# Step 3: Add named constituents\nframe = ifcopenshell.api.material.add_constituent(model,\n    constituent_set=constituent_set, material=aluminium, name=\"Frame\")\nglazing = ifcopenshell.api.material.add_constituent(model,\n    constituent_set=constituent_set, material=glass, name=\"Glazing\")\n\n# Step 4: Assign to window TYPE\nifcopenshell.api.material.assign_material(model,\n    products=[window_type], type=\"IfcMaterialConstituentSet\",\n    material=constituent_set)\n```\n\n### Pattern 5: Query Material from an Element\n\n```python\n# IfcOpenShell: all schema versions\nimport ifcopenshell.util.element\n\n# Get material (returns IfcMaterial, IfcMaterialLayerSet, etc.)\nmaterial = ifcopenshell.util.element.get_material(wall)\n\nif material is None:\n    print(\"No material assigned\")\nelif material.is_a(\"IfcMaterial\"):\n    print(f\"Single material: {material.Name}\")\nelif material.is_a(\"IfcMaterialLayerSet\"):\n    for layer in material.MaterialLayers:\n        print(f\"Layer: {layer.Material.Name}, Thickness: {layer.LayerThickness}\")\nelif material.is_a(\"IfcMaterialLayerSetUsage\"):\n    layer_set = material.ForLayerSet\n    for layer in layer_set.MaterialLayers:\n        print(f\"Layer: {layer.Material.Name}, Thickness: {layer.LayerThickness}\")\nelif material.is_a(\"IfcMaterialProfileSet\"):\n    for profile in material.MaterialProfiles:\n        print(f\"Profile: {profile.Material.Name}\")\nelif material.is_a(\"IfcMaterialConstituentSet\"):\n    for constituent in material.MaterialConstituents:\n        print(f\"Constituent: {constituent.Name} - {constituent.Material.Name}\")\n```\n\n### Pattern 6: Add Visual Style to a Material\n\n```python\n# IfcOpenShell: all schema versions\nimport ifcopenshell.api\n\n# Create a surface style (visual appearance)\nstyle = ifcopenshell.api.style.add_style(model, name=\"Concrete Grey\")\nifcopenshell.api.style.add_surface_style(model, style=style,\n    ifc_class=\"IfcSurfaceStyleShading\",\n    attributes={\n        \"SurfaceColour\": {\"Name\": None, \"Red\": 0.7, \"Green\": 0.7, \"Blue\": 0.7}\n    })\n\n# Assign style to a representation\nifcopenshell.api.style.assign_representation_styles(model,\n    shape_representation=body_rep, styles=[style])\n```\n\n---\n\n## Common Operations\n\n### Material Categories (Standard Values)\n\n| Category | Use For |\n|----------|---------|\n| `\"concrete\"` | Concrete elements, precast |\n| `\"steel\"` | Structural steel, reinforcement |\n| `\"aluminium\"` | Window frames, curtain walls |\n| `\"brick\"` | Masonry walls |\n| `\"block\"` | Concrete blocks |\n| `\"stone\"` | Natural stone elements |\n| `\"wood\"` | Timber construction |\n| `\"glass\"` | Glazing, insulation (glass wool) |\n| `\"gypsum\"` | Plasterboard, gypsum finishes |\n| `\"plastic\"` | PVC pipes, synthetic membranes |\n| `\"earth\"` | Foundation fill, landscaping |\n\n### Material Set Type Selection Guide\n\n| Element Type | Material Set | Schema |\n|-------------|-------------|--------|\n| Walls (layered) | `IfcMaterialLayerSet` | All |\n| Slabs (layered) | `IfcMaterialLayerSet` | All |\n| Roofs (layered) | `IfcMaterialLayerSet` | All |\n| Beams | `IfcMaterialProfileSet` | All |\n| Columns | `IfcMaterialProfileSet` | All |\n| Members | `IfcMaterialProfileSet` | All |\n| Windows | `IfcMaterialConstituentSet` | IFC4+ |\n| Doors | `IfcMaterialConstituentSet` | IFC4+ |\n| Curtain walls | `IfcMaterialConstituentSet` | IFC4+ |\n| Furniture | `IfcMaterial` (single) | All |\n| Equipment | `IfcMaterial` (single) | All |\n| Windows (legacy) | `IfcMaterialList` | IFC2X3 |\n\n### Remove Material from Element\n\n```python\n# IfcOpenShell: all schema versions\nifcopenshell.api.material.unassign_material(model, products=[wall])\n```\n\n### Copy a Material with All Properties\n\n```python\n# IfcOpenShell: all schema versions\nnew_material = ifcopenshell.api.material.copy_material(model,\n    material=existing_material)\n# Copies psets and styles. Set items are copied but underlying materials reused.\n```\n\n### Edit Material Properties\n\n```python\n# IfcOpenShell: all schema versions\nifcopenshell.api.material.edit_material(model,\n    material=concrete, attributes={\"Name\": \"Concrete C35\u002F45\", \"Category\": \"concrete\"})\n```\n\n### Reorder Layers in a Layer Set\n\n```python\n# IfcOpenShell: all schema versions\nifcopenshell.api.material.reorder_set_item(model,\n    material_set=layer_set, old_index=2, new_index=0)\n```\n\n### Edit Layer Usage (Offset from Reference Line)\n\n```python\n# IfcOpenShell: all schema versions\n# Get the usage from the element\nmaterial = ifcopenshell.util.element.get_material(wall)\nif material.is_a(\"IfcMaterialLayerSetUsage\"):\n    ifcopenshell.api.material.edit_layer_usage(model,\n        usage=material, attributes={\"OffsetFromReferenceLine\": -0.1})\n```\n\n### Delete Material and Material Set\n\n```python\n# IfcOpenShell: all schema versions\n# First unassign from all products\nifcopenshell.api.material.unassign_material(model, products=[wall_type])\n\n# Then remove the material set\nifcopenshell.api.material.remove_material_set(model, material_set=layer_set)\n\n# Remove individual materials (only if not used elsewhere)\nifcopenshell.api.material.remove_material(model, material=brick)\n```\n\n---\n\n## Version Notes\n\n### IFC2X3 vs IFC4+ Material Differences\n\n| Feature | IFC2X3 | IFC4 \u002F IFC4X3 |\n|---------|--------|----------------|\n| IfcMaterial | Yes | Yes |\n| IfcMaterialLayerSet | Yes | Yes |\n| IfcMaterialProfileSet | Yes | Yes |\n| IfcMaterialConstituentSet | **No** | Yes |\n| IfcMaterialList | Yes (primary) | Yes (legacy) |\n| Material category attribute | **No** | Yes |\n| Material description attribute | **No** | Yes |\n\n### Schema-Aware Material Assignment\n\n```python\n# IfcOpenShell: all schema versions\nimport ifcopenshell.util.element\n\nif model.schema == \"IFC2X3\":\n    # IFC2X3: Use IfcMaterialList for composite elements\n    material_list = ifcopenshell.api.material.add_material_set(model,\n        name=\"Window Materials\", set_type=\"IfcMaterialList\")\n    ifcopenshell.api.material.add_list_item(model,\n        material_list=material_list, material=aluminium)\n    ifcopenshell.api.material.add_list_item(model,\n        material_list=material_list, material=glass)\nelse:\n    # IFC4+: Use IfcMaterialConstituentSet for named parts\n    constituent_set = ifcopenshell.api.material.add_material_set(model,\n        name=\"Window Assembly\", set_type=\"IfcMaterialConstituentSet\")\n    ifcopenshell.api.material.add_constituent(model,\n        constituent_set=constituent_set, material=aluminium, name=\"Frame\")\n    ifcopenshell.api.material.add_constituent(model,\n        constituent_set=constituent_set, material=glass, name=\"Glazing\")\n```\n\n---\n\n## Material + Style Integration\n\nMaterials define physical properties. Styles define visual appearance. These are separate concepts in IFC. ALWAYS apply both together for visual BIM models.\n\n### Workflow: Material + Visual Style\n\n```\n1. Create IfcMaterial → physical definition\n2. Create IfcSurfaceStyle → visual appearance (color, texture)\n3. Assign style to representation → visual display\n4. Assign material to product → physical association\n```\n\nMaterials and styles are NOT linked automatically. A material named \"Concrete\" does not automatically render as grey. The style must be explicitly created and assigned to the element's representation.\n\n---\n\n## Reference Links\n\n- [API Method Signatures](references\u002Fmethods.md) — Complete signatures for all material API methods\n- [Working Code Examples](references\u002Fexamples.md) — End-to-end examples for all material operations\n- [Anti-Patterns](references\u002Fanti-patterns.md) — Common material assignment mistakes and how to avoid them\n","# IFC Material Assignment Implementation Guide\n\n## Quick Reference\n\n### Decision Tree: Which Material Type to Use\n\n```\nWhat kind of element needs material?\n├── Single homogeneous material (e.g., steel column, concrete beam)?\n│   └── IfcMaterial → assign_material(type=\"IfcMaterial\")\n│\n├── Layered construction (wall, slab, roof with defined layers)?\n│   └── IfcMaterialLayerSet → add_material_set(set_type=\"IfcMaterialLayerSet\")\n│       └── Each layer has a thickness (LayerThickness in meters)\n│\n├── Profiled structural element (beam, column with cross-section)?\n│   └── IfcMaterialProfileSet → add_material_set(set_type=\"IfcMaterialProfileSet\")\n│       └── Each profile has an IfcProfileDef defining the cross-section\n│\n├── Composite element with named parts (window: frame+glazing)?\n│   ├── IFC4+ → IfcMaterialConstituentSet\n│   │   └── add_material_set(set_type=\"IfcMaterialConstituentSet\")\n│   └── IFC2X3 → IfcMaterialList (legacy, no named parts)\n│       └── add_material_set(set_type=\"IfcMaterialList\")\n│\n└── Legacy unordered material list (IFC2X3 only)?\n    └── IfcMaterialList → add_material_set(set_type=\"IfcMaterialList\")\n```\n\n### Decision Tree: Assign Material to Type or Occurrence?\n\n```\nWhere to assign the material?\n├── Element type (IfcWallType, IfcSlabType, etc.)? [RECOMMENDED]\n│   └── Assign to type → all occurrences inherit the material\n│       └── ifcopenshell.api.material.assign_material(model,\n│           products=[wall_type], type=\"IfcMaterialLayerSet\", material=layer_set)\n│\n└── Individual occurrence (IfcWall, IfcSlab, etc.)?\n    └── Assign to occurrence → overrides type material for this element only\n        └── ifcopenshell.api.material.assign_material(model,\n            products=[wall], material=concrete)\n```\n\n### Critical Warnings\n\n- **ALWAYS** assign materials to element types (IfcWallType, IfcSlabType), not individual occurrences. Occurrences inherit from their type. Assign to occurrences only when overriding type material.\n- **ALWAYS** use `ifcopenshell.api.material.*` functions for material operations. NEVER create IfcMaterial or IfcRelAssociatesMaterial entities directly with `create_entity()`.\n- **NEVER** use `IfcMaterialConstituentSet` with IFC2X3 schema. It does not exist in IFC2X3. Use `IfcMaterialList` instead.\n- **ALWAYS** check `model.schema` before using schema-specific material types.\n- **NEVER** assign multiple materials directly to the same product. Use material sets (layer, profile, constituent) for composite materials. `assign_material()` automatically unassigns previous materials.\n- **ALWAYS** set `LayerThickness` on layers after creation using `edit_layer()`. Layers without thickness are invalid.\n- **ALWAYS** provide a profile definition (`IfcProfileDef`) when adding profiles to a profile set. A material profile without a profile curve is incomplete.\n- **NEVER** set material relationships via direct attribute assignment (e.g., `wall.HasAssociations = ...`). ALWAYS use the API.\n\n---\n\n## Essential Patterns\n\n### Pattern 1: Create and Assign a Single Material\n\n```python\n# IfcOpenShell: all schema versions\nimport ifcopenshell\nimport ifcopenshell.api\n\n# Create a material with category\nconcrete = ifcopenshell.api.material.add_material(model,\n    name=\"Concrete C30\u002F37\", category=\"concrete\")\n\n# Assign to a wall (single material, no layers)\nifcopenshell.api.material.assign_material(model,\n    products=[wall], material=concrete)\n```\n\n### Pattern 2: Create a Layered Wall Material (IfcMaterialLayerSet)\n\n```python\n# IfcOpenShell: all schema versions\nimport ifcopenshell.api\n\n# Step 1: Create individual materials\nbrick = ifcopenshell.api.material.add_material(model,\n    name=\"Facing Brick\", category=\"brick\")\ninsulation = ifcopenshell.api.material.add_material(model,\n    name=\"Mineral Wool\", category=\"glass\")\nblock = ifcopenshell.api.material.add_material(model,\n    name=\"Concrete Block\", category=\"block\")\n\n# Step 2: Create layer set container\nlayer_set = ifcopenshell.api.material.add_material_set(model,\n    name=\"External Wall 300mm\", set_type=\"IfcMaterialLayerSet\")\n\n# Step 3: Add layers (order = outside to inside)\nlayer1 = ifcopenshell.api.material.add_layer(model,\n    layer_set=layer_set, material=brick)\nifcopenshell.api.material.edit_layer(model,\n    layer=layer1, attributes={\"LayerThickness\": 0.102})\n\nlayer2 = ifcopenshell.api.material.add_layer(model,\n    layer_set=layer_set, material=insulation)\nifcopenshell.api.material.edit_layer(model,\n    layer=layer2, attributes={\"LayerThickness\": 0.100})\n\nlayer3 = ifcopenshell.api.material.add_layer(model,\n    layer_set=layer_set, material=block)\nifcopenshell.api.material.edit_layer(model,\n    layer=layer3, attributes={\"LayerThickness\": 0.100})\n\n# Step 4: Assign to wall TYPE (best practice)\nifcopenshell.api.material.assign_material(model,\n    products=[wall_type], type=\"IfcMaterialLayerSet\", material=layer_set)\n```\n\n### Pattern 3: Create a Profiled Beam Material (IfcMaterialProfileSet)\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\", category=\"steel\")\n\n# Step 2: Create profile set\nprofile_set = ifcopenshell.api.material.add_material_set(model,\n    name=\"HEA 200\", set_type=\"IfcMaterialProfileSet\")\n\n# Step 3: Create profile definition (cross-section shape)\nprofile_def = ifcopenshell.api.profile.add_parameterised_profile(model,\n    ifc_class=\"IfcIShapeProfileDef\",\n    OverallWidth=0.200, OverallDepth=0.190,\n    WebThickness=0.0065, FlangeThickness=0.010)\n\n# Step 4: Add profile item to 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 column TYPE\nifcopenshell.api.material.assign_material(model,\n    products=[column_type], type=\"IfcMaterialProfileSet\", material=profile_set)\n```\n\n### Pattern 4: Constituent Set for Composite Elements (IFC4+ Only)\n\n```python\n# IfcOpenShell: IFC4 and IFC4X3 ONLY (NOT IFC2X3)\nimport ifcopenshell.api\n\n# Step 1: Create materials\naluminium = ifcopenshell.api.material.add_material(model,\n    name=\"Aluminium Frame\", category=\"aluminium\")\nglass = ifcopenshell.api.material.add_material(model,\n    name=\"Double Glazing\", category=\"glass\")\n\n# Step 2: Create constituent set\nconstituent_set = ifcopenshell.api.material.add_material_set(model,\n    name=\"Window Assembly\", set_type=\"IfcMaterialConstituentSet\")\n\n# Step 3: Add named constituents\nframe = ifcopenshell.api.material.add_constituent(model,\n    constituent_set=constituent_set, material=aluminium, name=\"Frame\")\nglazing = ifcopenshell.api.material.add_constituent(model,\n    constituent_set=constituent_set, material=glass, name=\"Glazing\")\n\n# Step 4: Assign to window TYPE\nifcopenshell.api.material.assign_material(model,\n    products=[window_type], type=\"IfcMaterialConstituentSet\",\n    material=constituent_set)\n```\n\n### Pattern 5: Query Material from an Element\n\n```python\n# IfcOpenShell: all schema versions\nimport ifcopenshell.util.element\n\n# Get material (returns IfcMaterial, IfcMaterialLayerSet, etc.)\nmaterial = ifcopenshell.util.element.get_material(wall)\n\nif material is None:\n    print(\"No material assigned\")\nelif material.is_a(\"IfcMaterial\"):\n    print(f\"Single material: {material.Name}\")\nelif material.is_a(\"IfcMaterialLayerSet\"):\n    for layer in material.MaterialLayers:\n        print(f\"Layer: {layer.Material.Name}, Thickness: {layer.LayerThickness}\")\nelif material.is_a(\"IfcMaterialLayerSetUsage\"):\n    layer_set = material.ForLayerSet\n    for layer in layer_set.MaterialLayers:\n        print(f\"Layer: {layer.Material.Name}, Thickness: {layer.LayerThickness}\")\nelif material.is_a(\"IfcMaterialProfileSet\"):\n    for profile in material.MaterialProfiles:\n        print(f\"Profile: {profile.Material.Name}\")\nelif material.is_a(\"IfcMaterialConstituentSet\"):\n    for constituent in material.MaterialConstituents:\n        print(f\"Constituent: {constituent.Name} - {constituent.Material.Name}\")\n```\n\n### Pattern 6: Add Visual Style to a Material\n\n```python\n# IfcOpenShell: all schema versions\nimport ifcopenshell.api\n\n# Create a surface style (visual appearance)\nstyle = ifcopenshell.api.style.add_style(model, name=\"Concrete Grey\")\nifcopenshell.api.style.add_surface_style(model, style=style,\n    ifc_class=\"IfcSurfaceStyleShading\",\n    attributes={\n        \"SurfaceColour\": {\"Name\": None, \"Red\": 0.7, \"Green\": 0.7, \"Blue\": 0.7}\n    })\n\n# Assign style to a representation\nifcopenshell.api.style.assign_representation_styles(model,\n    shape_representation=body_rep, styles=[style])\n```\n\n---\n\n## Common Operations\n\n### Material Categories (Standard Values)\n\n| Category | Use For |\n|----------|---------|\n| `\"concrete\"` | Concrete elements, precast |\n| `\"steel\"` | Structural steel, reinforcement |\n| `\"aluminium\"` | Window frames, curtain walls |\n| `\"brick\"` | Masonry walls |\n| `\"block\"` | Concrete blocks |\n| `\"stone\"` | Natural stone elements |\n| `\"wood\"` | Timber construction |\n| `\"glass\"` | Glazing, insulation (glass wool) |\n| `\"gypsum\"` | Plasterboard, gypsum finishes |\n| `\"plastic\"` | PVC pipes, synthetic membranes |\n| `\"earth\"` | Foundation fill, landscaping |\n\n### Material Set Type Selection Guide\n\n| Element Type | Material Set | Schema |\n|-------------|-------------|--------|\n| Walls (layered) | `IfcMaterialLayerSet` | All |\n| Slabs (layered) | `IfcMaterialLayerSet` | All |\n| Roofs (layered) | `IfcMaterialLayerSet` | All |\n| Beams | `IfcMaterialProfileSet` | All |\n| Columns | `IfcMaterialProfileSet` | All |\n| Members | `IfcMaterialProfileSet` | All |\n| Windows | `IfcMaterialConstituentSet` | IFC4+ |\n| Doors | `IfcMaterialConstituentSet` | IFC4+ |\n| Curtain walls | `IfcMaterialConstituentSet` | IFC4+ |\n| Furniture | `IfcMaterial` (single) | All |\n| Equipment | `IfcMaterial` (single) | All |\n| Windows (legacy) | `IfcMaterialList` | IFC2X3 |\n\n### Remove Material from Element\n\n```python\n# IfcOpenShell: all schema versions\nifcopenshell.api.material.unassign_material(model, products=[wall])\n```\n\n### Copy a Material with All Properties\n\n```python\n# IfcOpenShell: all schema versions\nnew_material = ifcopenshell.api.material.copy_material(model,\n    material=existing_material)\n# Copies psets and styles. Set items are copied but underlying materials reused.\n```\n\n### Edit Material Properties\n\n```python\n# IfcOpenShell: all schema versions\nifcopenshell.api.material.edit_material(model,\n    material=concrete, attributes={\"Name\": \"Concrete C35\u002F45\", \"Category\": \"concrete\"})\n```\n\n### Reorder Layers in a Layer Set\n\n```python\n# IfcOpenShell: all schema versions\nifcopenshell.api.material.reorder_set_item(model,\n    material_set=layer_set, old_index=2, new_index=0)\n```\n\n### Edit Layer Usage (Offset from Reference Line)\n\n```python\n# IfcOpenShell: all schema versions\n# Get the usage from the element\nmaterial = ifcopenshell.util.element.get_material(wall)\nif material.is_a(\"IfcMaterialLayerSetUsage\"):\n    ifcopenshell.api.material.edit_layer_usage(model,\n        usage=material, attributes={\"OffsetFromReferenceLine\": -0.1})\n```\n\n### Delete Material and Material Set\n\n```python\n# IfcOpenShell: all schema versions\n# First unassign from all products\nifcopenshell.api.material.unassign_material(model, products=[wall_type])\n\n# Then remove the material set\nifcopenshell.api.material.remove_material_set(model, material_set=layer_set)\n\n# Remove individual materials (only if not used elsewhere)\nifcopenshell.api.material.remove_material(model, material=brick)\n```\n\n---\n\n## Version Notes\n\n### IFC2X3 vs IFC4+ Material Differences\n\n| Feature | IFC2X3 | IFC4 \u002F IFC4X3 |\n|---------|--------|----------------|\n| IfcMaterial | Yes | Yes |\n| IfcMaterialLayerSet | Yes | Yes |\n| IfcMaterialProfileSet | Yes | Yes |\n| IfcMaterialConstituentSet | **No** | Yes |\n| IfcMaterialList | Yes (primary) | Yes (legacy) |\n| Material category attribute | **No** | Yes |\n| Material description attribute | **No** | Yes |\n\n### Schema-Aware Material Assignment\n\n```python\n# IfcOpenShell: all schema versions\nimport ifcopenshell.util.element\n\nif model.schema == \"IFC2X3\":\n    # IFC2X3: Use IfcMaterialList for composite elements\n    material_list = ifcopenshell.api.material.add_material_set(model,\n        name=\"Window Materials\", set_type=\"IfcMaterialList\")\n    ifcopenshell.api.material.add_list_item(model,\n        material_list=material_list, material=aluminium)\n    ifcopenshell.api.material.add_list_item(model,\n        material_list=material_list, material=glass)\nelse:\n    # IFC4+: Use IfcMaterialConstituentSet for named parts\n    constituent_set = ifcopenshell.api.material.add_material_set(model,\n        name=\"Window Assembly\", set_type=\"IfcMaterialConstituentSet\")\n    ifcopenshell.api.material.add_constituent(model,\n        constituent_set=constituent_set, material=aluminium, name=\"Frame\")\n    ifcopenshell.api.material.add_constituent(model,\n        constituent_set=constituent_set, material=glass, name=\"Glazing\")\n```\n\n---\n\n## Material + Style Integration\n\nMaterials define physical properties. Styles define visual appearance. These are separate concepts in IFC. ALWAYS apply both together for visual BIM models.\n\n### Workflow: Material + Visual Style\n\n```\n1. Create IfcMaterial → physical definition\n2. Create IfcSurfaceStyle → visual appearance (color, texture)\n3. Assign style to representation → visual display\n4. Assign material to product → physical association\n```\n\nMaterials and styles are NOT linked automatically. A material named \"Concrete\" does not automatically render as grey. The style must be explicitly created and assigned to the element's representation.\n\n---\n\n## Reference Links\n\n- [API Method Signatures](references\u002Fmethods.md) — Complete signatures for all material API methods\n- [Working Code Examples](references\u002Fexamples.md) — End-to-end examples for all material operations\n- [Anti-Patterns](references\u002Fanti-patterns.md) — Common material assignment 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 assigning materials to IFC elements -- single materials, layer sets (walls), profile sets (beams\u002Fcolumns), or constituent sets (IFC4+). Prevents the common mistake of using IfcMaterialConstituentSet in IFC2X3 (not available). Covers IfcMaterial, IfcMaterialLayerSet, IfcMaterialProfileSet, material properties, and presentation. Keywords: material, IfcMaterial, layer set, profile set, constituent set, material assignment, IfcMaterialLayerSet, IfcMaterialProfileSet, material properties, assign material, wall layers.\n","Designed for Claude Code. Requires IfcOpenShell Python library.","main","9bb7acf0c2ec4f44373969cb14e55af3c9a8385f","plugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-materials","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-materials",{"tool":40,"command":41},"bunx","bunx skills add lagzgabrielmuller-dot\u002Fkit-ingenieria-3d --skill ifcos-impl-materials",{"tool":43,"command":44},"pnpm","pnpm dlx skills add lagzgabrielmuller-dot\u002Fkit-ingenieria-3d --skill ifcos-impl-materials","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-materials\u002FSKILL.md",true,[48,54,58],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fanti-patterns.md","REFERENCE","参考文档",12951,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-materials\u002Freferences\u002Fanti-patterns.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fexamples.md",24882,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-materials\u002Freferences\u002Fexamples.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fmethods.md",17469,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-materials\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",[],[]]