[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FACT4MKHE0ZZQ3EA4RW07Y":3,"skill-same:01M7FACT4MKHE0ZZQ3EA4RW07Y":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},"01M7FACT4MKHE0ZZQ3EA4RW07Y","ifcos-impl-creation",null,"Use when building IFC models from scratch -- creating projects, spatial structure, walls, slabs, columns, openings, property sets, and type assignments. Prevents the critical mistake of skipping IfcOwnerHistory (required in IFC2X3) or not establishing spatial containment. Covers the complete creation workflow using ifcopenshell.api from project to element level. Keywords: IFC creation, create project, spatial structure, IfcWall, IfcSlab, IfcColumn, IfcOwnerHistory, api.run, root.create_entity, model from scratch, create IFC file, new IFC project.","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-creation\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: ifcos-impl-creation\ndescription: >\n  Use when building IFC models from scratch -- creating projects, spatial structure, walls,\n  slabs, columns, openings, property sets, and type assignments. Prevents the critical mistake\n  of skipping IfcOwnerHistory (required in IFC2X3) or not establishing spatial containment.\n  Covers the complete creation workflow using ifcopenshell.api from project to element level.\n  Keywords: IFC creation, create project, spatial structure, IfcWall, IfcSlab, IfcColumn, IfcOwnerHistory, api.run, root.create_entity, model from scratch, create IFC file, new IFC project.\nlicense: MIT\ncompatibility: \"Designed for Claude Code. Requires IfcOpenShell Python library.\"\nmetadata:\n  author: OpenAEC-Foundation\n  version: \"1.0\"\n---\n\n# IFC Model Creation Workflows\n\n## Quick Reference\n\n### Decision Tree: Starting a New IFC Model\n\n```\nCreating a new IFC model?\n├── Production model with proper header\u002Fmetadata?\n│   └── YES → model = ifcopenshell.api.run(\"project.create_file\", version=\"IFC4\")\n│\n└── Bare-minimum test file?\n    └── model = ifcopenshell.file(schema=\"IFC4\")\n        └── WARNING: No header, no project, no units. Add these manually.\n```\n\n### Decision Tree: Choosing IFC Schema Version\n\n```\nWhich schema version?\n├── Building\u002Farchitecture project?\n│   ├── Legacy compatibility needed? → IFC2X3\n│   │   └── WARNING: OwnerHistory is REQUIRED on all rooted entities\n│   └── Modern project? → IFC4\n│\n├── Infrastructure project (roads, bridges, tunnels)?\n│   └── IFC4X3\n│       └── Adds: IfcBridge, IfcRoad, IfcTunnel, IfcAlignment\n│\n└── Unsure? → Default to IFC4\n```\n\n### Decision Tree: Element Creation Order\n\n```\nBuilding an IFC model from scratch?\nFollow this EXACT order:\n\n1. Create file         → project.create_file\n2. Create IfcProject   → root.create_entity\n3. Assign units        → unit.assign_unit\n4. Add contexts        → context.add_context (Model + Body subcontext)\n5. Create spatial hierarchy:\n   a. IfcSite           → root.create_entity + aggregate.assign_object\n   b. IfcBuilding       → root.create_entity + aggregate.assign_object\n   c. IfcBuildingStorey  → root.create_entity + aggregate.assign_object\n6. Create types (optional but recommended):\n   a. IfcWallType etc.  → root.create_entity\n   b. Assign materials  → material.add_material_set + material.assign_material\n7. Create elements:\n   a. Create entity     → root.create_entity\n   b. Add geometry      → geometry.add_wall_representation (etc.)\n   c. Assign geometry   → geometry.assign_representation\n   d. Set placement     → geometry.edit_object_placement\n   e. Assign container  → spatial.assign_container\n   f. Assign type       → type.assign_type\n8. Add properties       → pset.add_pset + pset.edit_pset\n9. Write file          → model.write(\"output.ifc\")\n```\n\n### Critical Warnings\n\n- **ALWAYS** use `ifcopenshell.api.run()` for entity creation. NEVER use `model.create_entity()` directly — the API handles GlobalId generation, OwnerHistory, and validation automatically.\n- **ALWAYS** create the spatial hierarchy (Project → Site → Building → Storey) before creating physical elements. Elements without spatial containment are invisible in most BIM viewers.\n- **ALWAYS** assign spatial containment via `spatial.assign_container` for physical elements (walls, slabs, columns, doors). Without containment, elements float in the model with no spatial context.\n- **ALWAYS** set up geometric contexts (Model → Body subcontext) before creating geometry. Geometry without a context cannot be displayed.\n- **ALWAYS** assign units via `unit.assign_unit` immediately after creating the project. Without units, all dimensions are ambiguous.\n- **NEVER** skip `geometry.edit_object_placement` after creating an element. Without a placement, the element has no position in 3D space.\n- **NEVER** create physical elements and types with mismatched IFC classes. An IfcWall occurrence MUST use IfcWallType, not IfcSlabType.\n- **IFC2X3 ONLY**: OwnerHistory is REQUIRED on every rooted entity. The `root.create_entity` API handles this automatically, but ONLY if an owner\u002Fuser has been set via `owner.set_user`. Call `owner.set_user` before creating any entities in IFC2X3.\n\n---\n\n## Essential Patterns\n\n### Pattern 1: Complete IFC4 Model from Scratch\n\n```python\n# IfcOpenShell: IFC4\nimport ifcopenshell\nimport ifcopenshell.api\n\n# Step 1: Create file with proper header\nmodel = ifcopenshell.api.run(\"project.create_file\", version=\"IFC4\")\n\n# Step 2: Create project\nproject = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcProject\", name=\"My Project\")\n\n# Step 3: Assign SI units (meters, radians)\nifcopenshell.api.run(\"unit.assign_unit\", model)\n\n# Step 4: Set up geometric context\nmodel3d = ifcopenshell.api.run(\"context.add_context\", model,\n    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# Step 5: Create spatial hierarchy\nsite = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcSite\", name=\"Default Site\")\nbuilding = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuilding\", name=\"Building A\")\nstorey = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuildingStorey\", name=\"Ground Floor\")\n\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[site], relating_object=project)\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[building], relating_object=site)\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[storey], relating_object=building)\n\n# Step 6: Create wall with geometry\nwall = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcWall\", name=\"Wall 001\")\nrepresentation = ifcopenshell.api.run(\"geometry.add_wall_representation\",\n    model, context=body, length=5.0, height=3.0, thickness=0.2)\nifcopenshell.api.run(\"geometry.assign_representation\", model,\n    product=wall, representation=representation)\nifcopenshell.api.run(\"geometry.edit_object_placement\", model, product=wall)\nifcopenshell.api.run(\"spatial.assign_container\", model,\n    relating_structure=storey, products=[wall])\n\n# Step 7: Add properties\npset = ifcopenshell.api.run(\"pset.add_pset\", model,\n    product=wall, name=\"Pset_WallCommon\")\nifcopenshell.api.run(\"pset.edit_pset\", model, pset=pset, properties={\n    \"IsExternal\": True,\n    \"LoadBearing\": True,\n    \"FireRating\": \"REI90\"\n})\n\n# Step 8: Write\nmodel.write(\"output.ifc\")\n```\n\n### Pattern 2: IFC2X3 Model with Required OwnerHistory\n\n```python\n# IfcOpenShell: IFC2X3\nimport ifcopenshell\nimport ifcopenshell.api\n\n# Create IFC2X3 file\nmodel = ifcopenshell.api.run(\"project.create_file\", version=\"IFC2X3\")\n\n# REQUIRED for IFC2X3: Set up owner BEFORE creating any entities\nperson = ifcopenshell.api.run(\"owner.add_person\", model,\n    identification=\"jdoe\", family_name=\"Doe\", given_name=\"John\")\norg = ifcopenshell.api.run(\"owner.add_organisation\", model,\n    identification=\"ACME\", name=\"ACME Engineering\")\nuser = ifcopenshell.api.run(\"owner.add_person_and_organisation\", model,\n    person=person, organisation=org)\napplication = ifcopenshell.api.run(\"owner.add_application\", model)\nifcopenshell.api.run(\"owner.set_user\", model, user=user)\n\n# Now create entities: OwnerHistory is automatically attached\nproject = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcProject\", name=\"Legacy Project\")\nifcopenshell.api.run(\"unit.assign_unit\", model)\n\nsite = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcSite\", name=\"Site\")\nbuilding = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuilding\", name=\"Building\")\nstorey = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuildingStorey\", name=\"Ground Floor\")\n\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[site], relating_object=project)\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[building], relating_object=site)\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[storey], relating_object=building)\n```\n\n### Pattern 3: Spatial Hierarchy with Multiple Storeys\n\n```python\n# IfcOpenShell: IFC4\n# After project, units, and contexts are set up:\nsite = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcSite\", name=\"Main Site\")\nbuilding = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuilding\", name=\"Office Block\")\n\n# Create multiple storeys\nbasement = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuildingStorey\", name=\"Basement\")\nground = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuildingStorey\", name=\"Ground Floor\")\nfirst = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuildingStorey\", name=\"First Floor\")\nroof = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuildingStorey\", name=\"Roof\")\n\n# Aggregate: Project → Site → Building → all storeys\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[site], relating_object=project)\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[building], relating_object=site)\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[basement, ground, first, roof], relating_object=building)\n\n# Set storey elevations using object placement\nimport numpy as np\nfor storey_obj, elevation in [(basement, -3.0), (ground, 0.0),\n                               (first, 3.5), (roof, 7.0)]:\n    matrix = np.eye(4)\n    matrix[2][3] = elevation  # Z translation = elevation\n    ifcopenshell.api.run(\"geometry.edit_object_placement\", model,\n        product=storey_obj, matrix=matrix)\n```\n\n### Pattern 4: Creating Elements with Type Assignment\n\n```python\n# IfcOpenShell: IFC4\n# Create a wall type with material layers\nwall_type = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcWallType\", name=\"WT-200 External\")\n\n# Set up material layers for the type\nlayer_set = ifcopenshell.api.run(\"material.add_material_set\", model,\n    name=\"WT-200\", set_type=\"IfcMaterialLayerSet\")\nbrick = ifcopenshell.api.run(\"material.add_material\", model,\n    name=\"Brick\", category=\"brick\")\ninsulation = ifcopenshell.api.run(\"material.add_material\", model,\n    name=\"Insulation\", category=\"mineral wool\")\nplaster = ifcopenshell.api.run(\"material.add_material\", model,\n    name=\"Gypsum Plaster\", category=\"gypsum\")\n\nlayer1 = ifcopenshell.api.run(\"material.add_layer\", model,\n    layer_set=layer_set, material=brick)\nifcopenshell.api.run(\"material.edit_layer\", model,\n    layer=layer1, attributes={\"LayerThickness\": 0.102})\nlayer2 = ifcopenshell.api.run(\"material.add_layer\", model,\n    layer_set=layer_set, material=insulation)\nifcopenshell.api.run(\"material.edit_layer\", model,\n    layer=layer2, attributes={\"LayerThickness\": 0.080})\nlayer3 = ifcopenshell.api.run(\"material.add_layer\", model,\n    layer_set=layer_set, material=plaster)\nifcopenshell.api.run(\"material.edit_layer\", model,\n    layer=layer3, attributes={\"LayerThickness\": 0.018})\n\nifcopenshell.api.run(\"material.assign_material\", model,\n    products=[wall_type], type=\"IfcMaterialLayerSet\", material=layer_set)\n\n# Create wall occurrences and assign the type\nwall1 = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcWall\", name=\"Wall 001\")\nwall2 = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcWall\", name=\"Wall 002\")\nifcopenshell.api.run(\"type.assign_type\", model,\n    related_objects=[wall1, wall2], relating_type=wall_type)\n```\n\n### Pattern 5: Creating Openings (Doors and Windows)\n\n```python\n# IfcOpenShell: IFC4\n# Prerequisites: wall exists, body context exists, storey exists\n\n# Create opening element\nopening = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcOpeningElement\", name=\"Door Opening\")\nopening_rep = ifcopenshell.api.run(\"geometry.add_wall_representation\",\n    model, context=body, length=0.9, height=2.1, thickness=0.2)\nifcopenshell.api.run(\"geometry.assign_representation\", model,\n    product=opening, representation=opening_rep)\nifcopenshell.api.run(\"geometry.edit_object_placement\", model,\n    product=opening)\n\n# Cut opening in wall (boolean subtraction)\nifcopenshell.api.run(\"void.add_opening\", model,\n    opening=opening, element=wall)\n\n# Create door and fill the opening\ndoor = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcDoor\", name=\"Door 001\")\nifcopenshell.api.run(\"void.add_filling\", model,\n    opening=opening, element=door)\nifcopenshell.api.run(\"spatial.assign_container\", model,\n    relating_structure=storey, products=[door])\n```\n\n### Pattern 6: Property Sets and Quantity Sets\n\n```python\n# IfcOpenShell: IFC4\n# Add standard property set to wall\npset = ifcopenshell.api.run(\"pset.add_pset\", model,\n    product=wall, name=\"Pset_WallCommon\")\nifcopenshell.api.run(\"pset.edit_pset\", model, pset=pset, properties={\n    \"Reference\": \"WT-200\",\n    \"IsExternal\": True,\n    \"LoadBearing\": True,\n    \"FireRating\": \"REI60\",\n    \"ThermalTransmittance\": 0.28\n})\n\n# Add quantity set\nqto = ifcopenshell.api.run(\"pset.add_qto\", model,\n    product=wall, name=\"Qto_WallBaseQuantities\")\nifcopenshell.api.run(\"pset.edit_qto\", model, qto=qto, properties={\n    \"Length\": 5.0,\n    \"Height\": 3.0,\n    \"Width\": 0.2,\n    \"GrossSideArea\": 15.0,\n    \"NetSideArea\": 13.11,\n    \"GrossVolume\": 3.0\n})\n\n# Custom property set (use project-specific prefix, NOT \"Pset_\")\ncustom_pset = ifcopenshell.api.run(\"pset.add_pset\", model,\n    product=wall, name=\"ACME_WallData\")\nifcopenshell.api.run(\"pset.edit_pset\", model, pset=custom_pset, properties={\n    \"CostCode\": \"STR-W-001\",\n    \"InstallDate\": \"2026-03-15\",\n    \"Inspector\": \"J. Doe\"\n})\n```\n\n### Pattern 7: Slab and Column Creation\n\n```python\n# IfcOpenShell: IFC4\n# Slab with polyline footprint\nslab = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcSlab\", name=\"Floor Slab\", predefined_type=\"FLOOR\")\nslab_rep = ifcopenshell.api.run(\"geometry.add_slab_representation\", model,\n    context=body, depth=0.25,\n    polyline=[(0.0, 0.0), (10.0, 0.0), (10.0, 8.0), (0.0, 8.0)])\nifcopenshell.api.run(\"geometry.assign_representation\", model,\n    product=slab, representation=slab_rep)\nifcopenshell.api.run(\"geometry.edit_object_placement\", model, product=slab)\nifcopenshell.api.run(\"spatial.assign_container\", model,\n    relating_structure=storey, products=[slab])\n\n# Column with profile\ncolumn = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcColumn\", name=\"Column C1\")\nprofile = ifcopenshell.api.run(\"profile.add_parameterised_profile\", model,\n    ifc_class=\"IfcRectangleProfileDef\", XDim=0.3, YDim=0.3)\ncol_rep = ifcopenshell.api.run(\"geometry.add_profile_representation\", model,\n    context=body, profile=profile, depth=3.0)\nifcopenshell.api.run(\"geometry.assign_representation\", model,\n    product=column, representation=col_rep)\nifcopenshell.api.run(\"geometry.edit_object_placement\", model, product=column)\nifcopenshell.api.run(\"spatial.assign_container\", model,\n    relating_structure=storey, products=[column])\n```\n\n---\n\n## Version Notes\n\n### IFC2X3 vs IFC4+ Entity Differences\n\n| Feature | IFC2X3 | IFC4 \u002F IFC4X3 |\n|---------|--------|----------------|\n| OwnerHistory | REQUIRED on all rooted entities | OPTIONAL |\n| IfcWallStandardCase | EXISTS (use for layered walls) | DEPRECATED (use IfcWall with PredefinedType) |\n| IfcBuildingStorey | Only valid spatial container | IfcBuildingStorey + IfcSpace + IfcFacility |\n| Property set types | IfcPropertySingleValue only | Adds IfcPropertyBoundedValue, IfcPropertyTableValue |\n| Material sets | IfcMaterialList (legacy) | IfcMaterialConstituentSet (preferred) |\n\n### IFC4X3 Infrastructure Entities (Not Available in IFC2X3\u002FIFC4)\n\n- `IfcBridge`, `IfcBridgePart`\n- `IfcRoad`, `IfcRoadPart`\n- `IfcRailway`, `IfcRailwayPart`\n- `IfcTunnel`, `IfcTunnelPart`\n- `IfcAlignment`, `IfcLinearElement`\n- `IfcFacility`, `IfcFacilityPart`\n\n### Aggregation Hierarchy by Schema\n\n| Schema | Standard Hierarchy |\n|--------|-------------------|\n| IFC2X3 | IfcProject → IfcSite → IfcBuilding → IfcBuildingStorey → IfcSpace |\n| IFC4 | IfcProject → IfcSite → IfcBuilding → IfcBuildingStorey → IfcSpace |\n| IFC4X3 | IfcProject → IfcSite → IfcFacility (or IfcBuilding\u002FIfcBridge\u002FIfcRoad) → IfcFacilityPart (or IfcBuildingStorey) → IfcSpace |\n\n### Type-to-Occurrence Mapping (Common Elements)\n\n| Element Type | Occurrence Class | Notes |\n|-------------|-----------------|-------|\n| IfcWallType | IfcWall | IFC2X3: also IfcWallStandardCase |\n| IfcSlabType | IfcSlab | Use predefined_type: FLOOR, ROOF, BASESLAB, LANDING |\n| IfcColumnType | IfcColumn | |\n| IfcBeamType | IfcBeam | |\n| IfcDoorType | IfcDoor | IFC2X3: IfcDoorStyle (not IfcDoorType) |\n| IfcWindowType | IfcWindow | IFC2X3: IfcWindowStyle (not IfcWindowType) |\n| IfcCurtainWallType | IfcCurtainWall | |\n\n---\n\n## Common Operations\n\n### Set Up Geometric Contexts\n\n```python\n# IfcOpenShell: IFC4\n# Root context (REQUIRED before any subcontexts)\nmodel3d = ifcopenshell.api.run(\"context.add_context\", model,\n    context_type=\"Model\")\n\n# Body subcontext (REQUIRED for 3D solid geometry)\nbody = ifcopenshell.api.run(\"context.add_context\", model,\n    context_type=\"Model\", context_identifier=\"Body\",\n    target_view=\"MODEL_VIEW\", parent=model3d)\n\n# Optional: Axis subcontext (for wall\u002Fbeam centerlines)\naxis = ifcopenshell.api.run(\"context.add_context\", model,\n    context_type=\"Model\", context_identifier=\"Axis\",\n    target_view=\"GRAPH_VIEW\", parent=model3d)\n\n# Optional: Plan context (for 2D representations)\nplan = ifcopenshell.api.run(\"context.add_context\", model,\n    context_type=\"Plan\")\nplan_body = ifcopenshell.api.run(\"context.add_context\", model,\n    context_type=\"Plan\", context_identifier=\"Body\",\n    target_view=\"PLAN_VIEW\", parent=plan)\n```\n\n### Position Elements with Transformation Matrix\n\n```python\n# IfcOpenShell: IFC4\nimport numpy as np\n\n# Place wall at specific X, Y, Z coordinates\nmatrix = np.eye(4)\nmatrix[0][3] = 5.0   # X offset = 5 meters\nmatrix[1][3] = 2.0   # Y offset = 2 meters\nmatrix[2][3] = 0.0   # Z offset = 0 meters (ground level)\n\nifcopenshell.api.run(\"geometry.edit_object_placement\", model,\n    product=wall, matrix=matrix)\n\n# Rotate element 90 degrees around Z axis\nimport math\nangle = math.radians(90)\nrotation_matrix = np.array([\n    [math.cos(angle), -math.sin(angle), 0, 0],\n    [math.sin(angle),  math.cos(angle), 0, 0],\n    [0,                0,               1, 0],\n    [0,                0,               0, 1]\n])\nifcopenshell.api.run(\"geometry.edit_object_placement\", model,\n    product=wall, matrix=rotation_matrix)\n```\n\n### Shared Property Sets Across Multiple Elements\n\n```python\n# IfcOpenShell: IFC4\n# Create pset on first element\npset = ifcopenshell.api.run(\"pset.add_pset\", model,\n    product=wall1, name=\"Pset_WallCommon\")\nifcopenshell.api.run(\"pset.edit_pset\", model, pset=pset, properties={\n    \"IsExternal\": True, \"FireRating\": \"REI90\"\n})\n\n# Share same pset with additional elements\nifcopenshell.api.run(\"pset.assign_pset\", model,\n    products=[wall1, wall2, wall3], pset=pset)\n```\n\n---\n\n## Visual Alternative: IfcSverchok\n\nFor node-based visual IFC creation, use **IfcSverchok** (31 nodes). Key nodes: `SvIfcCreateProject`, `SvIfcCreateEntity`, `SvIfcApi`. Refer to: `sverchok-impl-ifcsverchok`\n\n## Reference Links\n\n- [API Method Signatures](references\u002Fmethods.md) — Complete signatures for all creation-related API methods\n- [Working Code Examples](references\u002Fexamples.md) — End-to-end model creation examples\n- [Anti-Patterns](references\u002Fanti-patterns.md) — Common creation mistakes and how to avoid them\n","# IFC Model Creation Workflows\n\n## Quick Reference\n\n### Decision Tree: Starting a New IFC Model\n\n```\nCreating a new IFC model?\n├── Production model with proper header\u002Fmetadata?\n│   └── YES → model = ifcopenshell.api.run(\"project.create_file\", version=\"IFC4\")\n│\n└── Bare-minimum test file?\n    └── model = ifcopenshell.file(schema=\"IFC4\")\n        └── WARNING: No header, no project, no units. Add these manually.\n```\n\n### Decision Tree: Choosing IFC Schema Version\n\n```\nWhich schema version?\n├── Building\u002Farchitecture project?\n│   ├── Legacy compatibility needed? → IFC2X3\n│   │   └── WARNING: OwnerHistory is REQUIRED on all rooted entities\n│   └── Modern project? → IFC4\n│\n├── Infrastructure project (roads, bridges, tunnels)?\n│   └── IFC4X3\n│       └── Adds: IfcBridge, IfcRoad, IfcTunnel, IfcAlignment\n│\n└── Unsure? → Default to IFC4\n```\n\n### Decision Tree: Element Creation Order\n\n```\nBuilding an IFC model from scratch?\nFollow this EXACT order:\n\n1. Create file         → project.create_file\n2. Create IfcProject   → root.create_entity\n3. Assign units        → unit.assign_unit\n4. Add contexts        → context.add_context (Model + Body subcontext)\n5. Create spatial hierarchy:\n   a. IfcSite           → root.create_entity + aggregate.assign_object\n   b. IfcBuilding       → root.create_entity + aggregate.assign_object\n   c. IfcBuildingStorey  → root.create_entity + aggregate.assign_object\n6. Create types (optional but recommended):\n   a. IfcWallType etc.  → root.create_entity\n   b. Assign materials  → material.add_material_set + material.assign_material\n7. Create elements:\n   a. Create entity     → root.create_entity\n   b. Add geometry      → geometry.add_wall_representation (etc.)\n   c. Assign geometry   → geometry.assign_representation\n   d. Set placement     → geometry.edit_object_placement\n   e. Assign container  → spatial.assign_container\n   f. Assign type       → type.assign_type\n8. Add properties       → pset.add_pset + pset.edit_pset\n9. Write file          → model.write(\"output.ifc\")\n```\n\n### Critical Warnings\n\n- **ALWAYS** use `ifcopenshell.api.run()` for entity creation. NEVER use `model.create_entity()` directly — the API handles GlobalId generation, OwnerHistory, and validation automatically.\n- **ALWAYS** create the spatial hierarchy (Project → Site → Building → Storey) before creating physical elements. Elements without spatial containment are invisible in most BIM viewers.\n- **ALWAYS** assign spatial containment via `spatial.assign_container` for physical elements (walls, slabs, columns, doors). Without containment, elements float in the model with no spatial context.\n- **ALWAYS** set up geometric contexts (Model → Body subcontext) before creating geometry. Geometry without a context cannot be displayed.\n- **ALWAYS** assign units via `unit.assign_unit` immediately after creating the project. Without units, all dimensions are ambiguous.\n- **NEVER** skip `geometry.edit_object_placement` after creating an element. Without a placement, the element has no position in 3D space.\n- **NEVER** create physical elements and types with mismatched IFC classes. An IfcWall occurrence MUST use IfcWallType, not IfcSlabType.\n- **IFC2X3 ONLY**: OwnerHistory is REQUIRED on every rooted entity. The `root.create_entity` API handles this automatically, but ONLY if an owner\u002Fuser has been set via `owner.set_user`. Call `owner.set_user` before creating any entities in IFC2X3.\n\n---\n\n## Essential Patterns\n\n### Pattern 1: Complete IFC4 Model from Scratch\n\n```python\n# IfcOpenShell: IFC4\nimport ifcopenshell\nimport ifcopenshell.api\n\n# Step 1: Create file with proper header\nmodel = ifcopenshell.api.run(\"project.create_file\", version=\"IFC4\")\n\n# Step 2: Create project\nproject = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcProject\", name=\"My Project\")\n\n# Step 3: Assign SI units (meters, radians)\nifcopenshell.api.run(\"unit.assign_unit\", model)\n\n# Step 4: Set up geometric context\nmodel3d = ifcopenshell.api.run(\"context.add_context\", model,\n    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# Step 5: Create spatial hierarchy\nsite = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcSite\", name=\"Default Site\")\nbuilding = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuilding\", name=\"Building A\")\nstorey = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuildingStorey\", name=\"Ground Floor\")\n\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[site], relating_object=project)\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[building], relating_object=site)\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[storey], relating_object=building)\n\n# Step 6: Create wall with geometry\nwall = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcWall\", name=\"Wall 001\")\nrepresentation = ifcopenshell.api.run(\"geometry.add_wall_representation\",\n    model, context=body, length=5.0, height=3.0, thickness=0.2)\nifcopenshell.api.run(\"geometry.assign_representation\", model,\n    product=wall, representation=representation)\nifcopenshell.api.run(\"geometry.edit_object_placement\", model, product=wall)\nifcopenshell.api.run(\"spatial.assign_container\", model,\n    relating_structure=storey, products=[wall])\n\n# Step 7: Add properties\npset = ifcopenshell.api.run(\"pset.add_pset\", model,\n    product=wall, name=\"Pset_WallCommon\")\nifcopenshell.api.run(\"pset.edit_pset\", model, pset=pset, properties={\n    \"IsExternal\": True,\n    \"LoadBearing\": True,\n    \"FireRating\": \"REI90\"\n})\n\n# Step 8: Write\nmodel.write(\"output.ifc\")\n```\n\n### Pattern 2: IFC2X3 Model with Required OwnerHistory\n\n```python\n# IfcOpenShell: IFC2X3\nimport ifcopenshell\nimport ifcopenshell.api\n\n# Create IFC2X3 file\nmodel = ifcopenshell.api.run(\"project.create_file\", version=\"IFC2X3\")\n\n# REQUIRED for IFC2X3: Set up owner BEFORE creating any entities\nperson = ifcopenshell.api.run(\"owner.add_person\", model,\n    identification=\"jdoe\", family_name=\"Doe\", given_name=\"John\")\norg = ifcopenshell.api.run(\"owner.add_organisation\", model,\n    identification=\"ACME\", name=\"ACME Engineering\")\nuser = ifcopenshell.api.run(\"owner.add_person_and_organisation\", model,\n    person=person, organisation=org)\napplication = ifcopenshell.api.run(\"owner.add_application\", model)\nifcopenshell.api.run(\"owner.set_user\", model, user=user)\n\n# Now create entities: OwnerHistory is automatically attached\nproject = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcProject\", name=\"Legacy Project\")\nifcopenshell.api.run(\"unit.assign_unit\", model)\n\nsite = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcSite\", name=\"Site\")\nbuilding = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuilding\", name=\"Building\")\nstorey = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuildingStorey\", name=\"Ground Floor\")\n\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[site], relating_object=project)\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[building], relating_object=site)\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[storey], relating_object=building)\n```\n\n### Pattern 3: Spatial Hierarchy with Multiple Storeys\n\n```python\n# IfcOpenShell: IFC4\n# After project, units, and contexts are set up:\nsite = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcSite\", name=\"Main Site\")\nbuilding = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuilding\", name=\"Office Block\")\n\n# Create multiple storeys\nbasement = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuildingStorey\", name=\"Basement\")\nground = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuildingStorey\", name=\"Ground Floor\")\nfirst = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuildingStorey\", name=\"First Floor\")\nroof = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcBuildingStorey\", name=\"Roof\")\n\n# Aggregate: Project → Site → Building → all storeys\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[site], relating_object=project)\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[building], relating_object=site)\nifcopenshell.api.run(\"aggregate.assign_object\", model,\n    products=[basement, ground, first, roof], relating_object=building)\n\n# Set storey elevations using object placement\nimport numpy as np\nfor storey_obj, elevation in [(basement, -3.0), (ground, 0.0),\n                               (first, 3.5), (roof, 7.0)]:\n    matrix = np.eye(4)\n    matrix[2][3] = elevation  # Z translation = elevation\n    ifcopenshell.api.run(\"geometry.edit_object_placement\", model,\n        product=storey_obj, matrix=matrix)\n```\n\n### Pattern 4: Creating Elements with Type Assignment\n\n```python\n# IfcOpenShell: IFC4\n# Create a wall type with material layers\nwall_type = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcWallType\", name=\"WT-200 External\")\n\n# Set up material layers for the type\nlayer_set = ifcopenshell.api.run(\"material.add_material_set\", model,\n    name=\"WT-200\", set_type=\"IfcMaterialLayerSet\")\nbrick = ifcopenshell.api.run(\"material.add_material\", model,\n    name=\"Brick\", category=\"brick\")\ninsulation = ifcopenshell.api.run(\"material.add_material\", model,\n    name=\"Insulation\", category=\"mineral wool\")\nplaster = ifcopenshell.api.run(\"material.add_material\", model,\n    name=\"Gypsum Plaster\", category=\"gypsum\")\n\nlayer1 = ifcopenshell.api.run(\"material.add_layer\", model,\n    layer_set=layer_set, material=brick)\nifcopenshell.api.run(\"material.edit_layer\", model,\n    layer=layer1, attributes={\"LayerThickness\": 0.102})\nlayer2 = ifcopenshell.api.run(\"material.add_layer\", model,\n    layer_set=layer_set, material=insulation)\nifcopenshell.api.run(\"material.edit_layer\", model,\n    layer=layer2, attributes={\"LayerThickness\": 0.080})\nlayer3 = ifcopenshell.api.run(\"material.add_layer\", model,\n    layer_set=layer_set, material=plaster)\nifcopenshell.api.run(\"material.edit_layer\", model,\n    layer=layer3, attributes={\"LayerThickness\": 0.018})\n\nifcopenshell.api.run(\"material.assign_material\", model,\n    products=[wall_type], type=\"IfcMaterialLayerSet\", material=layer_set)\n\n# Create wall occurrences and assign the type\nwall1 = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcWall\", name=\"Wall 001\")\nwall2 = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcWall\", name=\"Wall 002\")\nifcopenshell.api.run(\"type.assign_type\", model,\n    related_objects=[wall1, wall2], relating_type=wall_type)\n```\n\n### Pattern 5: Creating Openings (Doors and Windows)\n\n```python\n# IfcOpenShell: IFC4\n# Prerequisites: wall exists, body context exists, storey exists\n\n# Create opening element\nopening = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcOpeningElement\", name=\"Door Opening\")\nopening_rep = ifcopenshell.api.run(\"geometry.add_wall_representation\",\n    model, context=body, length=0.9, height=2.1, thickness=0.2)\nifcopenshell.api.run(\"geometry.assign_representation\", model,\n    product=opening, representation=opening_rep)\nifcopenshell.api.run(\"geometry.edit_object_placement\", model,\n    product=opening)\n\n# Cut opening in wall (boolean subtraction)\nifcopenshell.api.run(\"void.add_opening\", model,\n    opening=opening, element=wall)\n\n# Create door and fill the opening\ndoor = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcDoor\", name=\"Door 001\")\nifcopenshell.api.run(\"void.add_filling\", model,\n    opening=opening, element=door)\nifcopenshell.api.run(\"spatial.assign_container\", model,\n    relating_structure=storey, products=[door])\n```\n\n### Pattern 6: Property Sets and Quantity Sets\n\n```python\n# IfcOpenShell: IFC4\n# Add standard property set to wall\npset = ifcopenshell.api.run(\"pset.add_pset\", model,\n    product=wall, name=\"Pset_WallCommon\")\nifcopenshell.api.run(\"pset.edit_pset\", model, pset=pset, properties={\n    \"Reference\": \"WT-200\",\n    \"IsExternal\": True,\n    \"LoadBearing\": True,\n    \"FireRating\": \"REI60\",\n    \"ThermalTransmittance\": 0.28\n})\n\n# Add quantity set\nqto = ifcopenshell.api.run(\"pset.add_qto\", model,\n    product=wall, name=\"Qto_WallBaseQuantities\")\nifcopenshell.api.run(\"pset.edit_qto\", model, qto=qto, properties={\n    \"Length\": 5.0,\n    \"Height\": 3.0,\n    \"Width\": 0.2,\n    \"GrossSideArea\": 15.0,\n    \"NetSideArea\": 13.11,\n    \"GrossVolume\": 3.0\n})\n\n# Custom property set (use project-specific prefix, NOT \"Pset_\")\ncustom_pset = ifcopenshell.api.run(\"pset.add_pset\", model,\n    product=wall, name=\"ACME_WallData\")\nifcopenshell.api.run(\"pset.edit_pset\", model, pset=custom_pset, properties={\n    \"CostCode\": \"STR-W-001\",\n    \"InstallDate\": \"2026-03-15\",\n    \"Inspector\": \"J. Doe\"\n})\n```\n\n### Pattern 7: Slab and Column Creation\n\n```python\n# IfcOpenShell: IFC4\n# Slab with polyline footprint\nslab = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcSlab\", name=\"Floor Slab\", predefined_type=\"FLOOR\")\nslab_rep = ifcopenshell.api.run(\"geometry.add_slab_representation\", model,\n    context=body, depth=0.25,\n    polyline=[(0.0, 0.0), (10.0, 0.0), (10.0, 8.0), (0.0, 8.0)])\nifcopenshell.api.run(\"geometry.assign_representation\", model,\n    product=slab, representation=slab_rep)\nifcopenshell.api.run(\"geometry.edit_object_placement\", model, product=slab)\nifcopenshell.api.run(\"spatial.assign_container\", model,\n    relating_structure=storey, products=[slab])\n\n# Column with profile\ncolumn = ifcopenshell.api.run(\"root.create_entity\", model,\n    ifc_class=\"IfcColumn\", name=\"Column C1\")\nprofile = ifcopenshell.api.run(\"profile.add_parameterised_profile\", model,\n    ifc_class=\"IfcRectangleProfileDef\", XDim=0.3, YDim=0.3)\ncol_rep = ifcopenshell.api.run(\"geometry.add_profile_representation\", model,\n    context=body, profile=profile, depth=3.0)\nifcopenshell.api.run(\"geometry.assign_representation\", model,\n    product=column, representation=col_rep)\nifcopenshell.api.run(\"geometry.edit_object_placement\", model, product=column)\nifcopenshell.api.run(\"spatial.assign_container\", model,\n    relating_structure=storey, products=[column])\n```\n\n---\n\n## Version Notes\n\n### IFC2X3 vs IFC4+ Entity Differences\n\n| Feature | IFC2X3 | IFC4 \u002F IFC4X3 |\n|---------|--------|----------------|\n| OwnerHistory | REQUIRED on all rooted entities | OPTIONAL |\n| IfcWallStandardCase | EXISTS (use for layered walls) | DEPRECATED (use IfcWall with PredefinedType) |\n| IfcBuildingStorey | Only valid spatial container | IfcBuildingStorey + IfcSpace + IfcFacility |\n| Property set types | IfcPropertySingleValue only | Adds IfcPropertyBoundedValue, IfcPropertyTableValue |\n| Material sets | IfcMaterialList (legacy) | IfcMaterialConstituentSet (preferred) |\n\n### IFC4X3 Infrastructure Entities (Not Available in IFC2X3\u002FIFC4)\n\n- `IfcBridge`, `IfcBridgePart`\n- `IfcRoad`, `IfcRoadPart`\n- `IfcRailway`, `IfcRailwayPart`\n- `IfcTunnel`, `IfcTunnelPart`\n- `IfcAlignment`, `IfcLinearElement`\n- `IfcFacility`, `IfcFacilityPart`\n\n### Aggregation Hierarchy by Schema\n\n| Schema | Standard Hierarchy |\n|--------|-------------------|\n| IFC2X3 | IfcProject → IfcSite → IfcBuilding → IfcBuildingStorey → IfcSpace |\n| IFC4 | IfcProject → IfcSite → IfcBuilding → IfcBuildingStorey → IfcSpace |\n| IFC4X3 | IfcProject → IfcSite → IfcFacility (or IfcBuilding\u002FIfcBridge\u002FIfcRoad) → IfcFacilityPart (or IfcBuildingStorey) → IfcSpace |\n\n### Type-to-Occurrence Mapping (Common Elements)\n\n| Element Type | Occurrence Class | Notes |\n|-------------|-----------------|-------|\n| IfcWallType | IfcWall | IFC2X3: also IfcWallStandardCase |\n| IfcSlabType | IfcSlab | Use predefined_type: FLOOR, ROOF, BASESLAB, LANDING |\n| IfcColumnType | IfcColumn | |\n| IfcBeamType | IfcBeam | |\n| IfcDoorType | IfcDoor | IFC2X3: IfcDoorStyle (not IfcDoorType) |\n| IfcWindowType | IfcWindow | IFC2X3: IfcWindowStyle (not IfcWindowType) |\n| IfcCurtainWallType | IfcCurtainWall | |\n\n---\n\n## Common Operations\n\n### Set Up Geometric Contexts\n\n```python\n# IfcOpenShell: IFC4\n# Root context (REQUIRED before any subcontexts)\nmodel3d = ifcopenshell.api.run(\"context.add_context\", model,\n    context_type=\"Model\")\n\n# Body subcontext (REQUIRED for 3D solid geometry)\nbody = ifcopenshell.api.run(\"context.add_context\", model,\n    context_type=\"Model\", context_identifier=\"Body\",\n    target_view=\"MODEL_VIEW\", parent=model3d)\n\n# Optional: Axis subcontext (for wall\u002Fbeam centerlines)\naxis = ifcopenshell.api.run(\"context.add_context\", model,\n    context_type=\"Model\", context_identifier=\"Axis\",\n    target_view=\"GRAPH_VIEW\", parent=model3d)\n\n# Optional: Plan context (for 2D representations)\nplan = ifcopenshell.api.run(\"context.add_context\", model,\n    context_type=\"Plan\")\nplan_body = ifcopenshell.api.run(\"context.add_context\", model,\n    context_type=\"Plan\", context_identifier=\"Body\",\n    target_view=\"PLAN_VIEW\", parent=plan)\n```\n\n### Position Elements with Transformation Matrix\n\n```python\n# IfcOpenShell: IFC4\nimport numpy as np\n\n# Place wall at specific X, Y, Z coordinates\nmatrix = np.eye(4)\nmatrix[0][3] = 5.0   # X offset = 5 meters\nmatrix[1][3] = 2.0   # Y offset = 2 meters\nmatrix[2][3] = 0.0   # Z offset = 0 meters (ground level)\n\nifcopenshell.api.run(\"geometry.edit_object_placement\", model,\n    product=wall, matrix=matrix)\n\n# Rotate element 90 degrees around Z axis\nimport math\nangle = math.radians(90)\nrotation_matrix = np.array([\n    [math.cos(angle), -math.sin(angle), 0, 0],\n    [math.sin(angle),  math.cos(angle), 0, 0],\n    [0,                0,               1, 0],\n    [0,                0,               0, 1]\n])\nifcopenshell.api.run(\"geometry.edit_object_placement\", model,\n    product=wall, matrix=rotation_matrix)\n```\n\n### Shared Property Sets Across Multiple Elements\n\n```python\n# IfcOpenShell: IFC4\n# Create pset on first element\npset = ifcopenshell.api.run(\"pset.add_pset\", model,\n    product=wall1, name=\"Pset_WallCommon\")\nifcopenshell.api.run(\"pset.edit_pset\", model, pset=pset, properties={\n    \"IsExternal\": True, \"FireRating\": \"REI90\"\n})\n\n# Share same pset with additional elements\nifcopenshell.api.run(\"pset.assign_pset\", model,\n    products=[wall1, wall2, wall3], pset=pset)\n```\n\n---\n\n## Visual Alternative: IfcSverchok\n\nFor node-based visual IFC creation, use **IfcSverchok** (31 nodes). Key nodes: `SvIfcCreateProject`, `SvIfcCreateEntity`, `SvIfcApi`. Refer to: `sverchok-impl-ifcsverchok`\n\n## Reference Links\n\n- [API Method Signatures](references\u002Fmethods.md) — Complete signatures for all creation-related API methods\n- [Working Code Examples](references\u002Fexamples.md) — End-to-end model creation examples\n- [Anti-Patterns](references\u002Fanti-patterns.md) — Common creation 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 building IFC models from scratch -- creating projects, spatial structure, walls, slabs, columns, openings, property sets, and type assignments. Prevents the critical mistake of skipping IfcOwnerHistory (required in IFC2X3) or not establishing spatial containment. Covers the complete creation workflow using ifcopenshell.api from project to element level. Keywords: IFC creation, create project, spatial structure, IfcWall, IfcSlab, IfcColumn, IfcOwnerHistory, api.run, root.create_entity, model from scratch, create IFC file, new IFC project.\n","Designed for Claude Code. Requires IfcOpenShell Python library.","main","9bb7acf0c2ec4f44373969cb14e55af3c9a8385f","plugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-creation","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-creation",{"tool":40,"command":41},"bunx","bunx skills add lagzgabrielmuller-dot\u002Fkit-ingenieria-3d --skill ifcos-impl-creation",{"tool":43,"command":44},"pnpm","pnpm dlx skills add lagzgabrielmuller-dot\u002Fkit-ingenieria-3d --skill ifcos-impl-creation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-creation\u002FSKILL.md",true,[48,54,58],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fanti-patterns.md","REFERENCE","参考文档",9983,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-creation\u002Freferences\u002Fanti-patterns.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fexamples.md",16758,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-creation\u002Freferences\u002Fexamples.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fmethods.md",18657,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fifcopenshell\u002Fimpl\u002Fifcos-impl-creation\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",[],[]]