Sverchok Impl Topologic 标志

Sverchok Impl Topologic

组织
Impertio-Studio
sverchok-impl-topologic

Use when working with TopologicSverchok for building topology analysis -- CellComplex workflows, space adjacency graphs, dual graphs, or energy simulation preparation. Prevents the common mistake of using mesh-based operations for topology analysis instead of non-manifold TopologicSverchok operations. Covers CellComplex-based BIM workflows, room connectivity, and envelope analysis. Keywords: TopologicSverchok, CellComplex, adjacency graph, dual graph, topology, non-manifold, room connectivity, energy simulation, building envelope, daylight analysis, solar, space adjacency.

概览

发布者Impertio-Studio
代码仓库Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package
技能名称sverchok-impl-topologic
星标数
44
复刻数
5
附带文件
3
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Impertio-Studio 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Sverchok Impl Topologic AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/tree/main/skills/sverchok/impl/sverchok-impl-topologic
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package.git /tmp/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package
mkdir -p .claude/skills
cp -r /tmp/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/skills/sverchok/impl/sverchok-impl-topologic .claude/skills/sverchok-impl-topologic
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Sverchok Impl Topologic,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Sverchok Impl Topologic。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Sverchok Impl Topologic 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

sverchok-impl-topologic

Quick Reference

What Is TopologicSverchok

TopologicSverchok integrates the topologicpy non-manifold topology (NMT) library with Sverchok's parametric node system. It enables hierarchical and topological representations of architectural spaces, buildings, and artefacts through 326 nodes organized by topology class.

  • 326 nodes in the nodes/Topologic/ directory
  • Non-manifold topology: lines, surfaces, and volumes coexist simultaneously
  • AEC workflows: envelope analysis, space adjacency, dual graphs, energy simulation
  • Integrations: IFC (ifcopenshell), OpenStudio/EnergyPlus, Speckle, Neo4j, DGL
  • License: AGPL-3.0
  • Repository: https://github.com/wassimj/TopologicSverchok
  • Python API: https://topologicpy.readthedocs.io

Topology Class Hierarchy

ClassDimensionAEC ExampleKey Nodes
Vertex0DColumn insertion pointVertexByCoordinates, VertexEnclosingCell
Edge1DStructural beam axisEdgeByVertices, EdgeLength, EdgeDirection
Wire1D compositeRoom boundary outlineWireByEdges, WireRectangle, WireIsClosed
Face2DWall surface, floor slabFaceByEdges, FaceArea, FaceTrimByWire
Shell2D compositeBuilding envelopeShellByFaces, ShellByLoft, ShellIsClosed
Cell3DRoom volumeCellByFaces, CellVolume, CellInternalVertex
CellComplex3D non-manifoldMulti-room buildingCellComplexByFaces, CellComplexDecompose
ClusterMixedBuilding groupClusterByTopologies, ClusterType

Critical Warnings

NEVER confuse Topologic topology objects with Blender mesh data — they are completely different representations. Convert with TopologyByGeometry (Blender to Topologic) or TopologyBlenderGeometry (Topologic to Blender).

NEVER pass raw Blender vertex coordinates directly to Topologic nodes — always use VertexByCoordinates to create Topologic Vertex objects first.

NEVER assume all faces in a CellComplex are planar — TopologicSverchok requires planar geometry; use TopologyIsPlanar to verify before building CellComplex structures.

ALWAYS check optional dependency availability before using IFC, Energy, Speckle, or Neo4j nodes — these require separate installations of ifcopenshell, OpenStudio, specklepy, or py2neo.

ALWAYS use CellComplexDecompose to categorize faces as external/internal/non-manifold before querying building envelope — non-manifold faces are shared between cells and should not be treated as exterior surfaces.

Decision Tree

Need to analyze building spaces topologically?
├── From Blender geometry → TopologyByGeometry -> CellComplexByFaces
├── From IFC file → IFCReadFile -> TopologyByImportedIFC
├── Room adjacency → CellComplexByFaces -> CellAdjacentCells
├── Dual graph (rooms=nodes, walls=edges) → GraphByTopology
└── Envelope faces → CellComplexDecompose -> filter external faces

Need to run energy simulation?
├── From topology → EnergyModelByTopology -> EnergyModelRunSimulation
├── From IFC → EnergyModelByImportedIFC -> EnergyModelExportToOSM
├── Export for EnergyPlus → EnergyModelExportToIDF
└── Query results → EnergyModelQuery (reports, tables, rows, columns)

Need to analyze space connectivity?
├── Space graph → GraphByTopology (CellComplex input)
├── Shortest path between rooms → GraphShortestPath
├── Centrality analysis → GraphBetweennessCentrality / GraphDegreeCentrality
└── Export graph → GraphExportToCSV

Need to work with IFC?
├── Read IFC → IFCReadFile
├── Extract elements → IFCBuildingElements
├── Create spaces → IFCCreateSpaces
├── Clash detection → IFCClashDetection
└── Connect elements → IFCConnectBuildingElements

Installation

Requirements

DependencyVersionRequired
Blender>= 4.0Yes
Sverchok>= 1.2.0Yes
topologicpylatestYes (auto-installed)
NumPy>= 1.22.4Yes
ifcopenshelllatestFor IFC nodes
OpenStudio>= 3.4.0For Energy nodes
honeybee-energy>= 1.91.49For HB nodes
specklepy>= 2.7.6For Speckle nodes
py2neo>= 2021.2.3For Neo4j nodes
DGLlatestFor DGL/ML nodes

Installation Steps

  1. Download TopologicSverchok ZIP from https://github.com/wassimj/TopologicSverchok
  2. In Blender: Edit > Preferences > Add-ons > Install
  3. Select the ZIP file — do NOT extract first
  4. Enable the add-on in the list
  5. Use the InstallDependencies node on first use to install topologicpy and optional packages

Essential Patterns

Pattern 1: Build a CellComplex from Blender Geometry

Sverchok node tree setup:
Object In (Blender object) -> [vertices, edges, faces]
   -> TopologyByGeometry (Topology object)
   -> CellComplexByFaces (CellComplex)
   -> CellComplexDecompose (external faces, internal faces, non-manifold faces)

The TopologyByGeometry node converts Blender mesh data (vertex coordinates + face indices) into a Topologic Topology. Planar geometry only — non-planar faces will cause errors. CellComplexByFaces merges all faces into a non-manifold structure where shared faces become internal boundaries between cells.

Pattern 2: Room Adjacency Graph

CellComplex
   -> GraphByTopology (direct=True, viaSharedTopologies=True, toExteriorTopologies=False)
   -> Graph object
      -> GraphVertices -> list of room vertices
      -> GraphEdges -> list of shared-wall edges
      -> GraphShortestPath (vertexA, vertexB) -> Wire path
      -> GraphDepthMap (startVertex) -> distance map

GraphByTopology creates a dual graph where each Cell becomes a vertex and shared Faces (internal walls/slabs) become edges. Set direct=True for cell-to-cell edges via shared faces. The output Graph supports all standard graph operations (shortest path, centrality, community detection).

Pattern 3: Building Envelope Analysis

CellComplex
   -> CellComplexDecompose
      -> externalFaces -> FaceArea (total envelope area)
      -> internalFaces -> FaceArea (total internal surface area)
      -> nonManifoldFaces -> (shared between cells — zero-thickness boundaries)
   -> filter externalFaces by FaceFacingToward (direction=[0,0,1]) -> roof faces
   -> filter externalFaces by FaceFacingToward (direction=[0,0,-1]) -> floor faces
   -> remaining externalFaces -> wall faces

Pattern 4: Energy Simulation from Topology

CellComplex (building geometry)
   -> EnergyModelByTopology (
        building=cellcomplex,
        weatherFilePath="path/to/weather.epw",
        floorLevels=[0, 3, 6, 9],
        glazingRatio=0.4,
        coolingTemp=25.0,
        heatingTemp=20.0
      )
   -> EnergyModel
      -> EnergyModelRunSimulation (osBinaryPath, outputFolder)
      -> EnergyModelQuery (reportName, tableName, columnName)
      -> simulation results (heating/cooling loads)

Pattern 5: IFC to Topologic Workflow

IFCReadFile (path) -> IFC file object
   -> IFCBuildingElements (ifc, elementType="IfcWall") -> wall topologies
   -> TopologyByImportedIFC -> Topology objects
   -> CellComplexByFaces -> building topology
   -> GraphByTopology -> adjacency graph

Alternatively use EnergyModelByImportedIFC for direct IFC-to-energy-model conversion without intermediate topology steps.


Common Operations

Node Categories Overview

CategoryNode CountPurpose
Vertex10Point creation, distance, containment
Edge12Linear elements, direction, length
Wire16Connected edge paths, primitives
Face26Surface elements, area, normals
Shell10Connected face collections
Cell20Volumetric elements, primitives
CellComplex10Non-manifold building models
Cluster2Mixed topology collections
Topology50Base operations (boolean, transform, I/O)
Graph36Adjacency, pathfinding, analysis
EnergyModel20OpenStudio/EnergyPlus simulation
IFC10IFC file operations
HB (Honeybee)8Honeybee energy model
DGL18Deep graph learning
Speckle17Speckle interoperability
Dictionary8Metadata key-value storage
Color5Visualization coloring
Neo4j5Graph database export
Matrix4Transformation matrices

Key Node Reference

CellComplex Nodes
NodeInputsOutputsDescription
CellComplexByFacesfaces, tolerancecellcomplexMerge faces into non-manifold CellComplex
CellComplexByCellscellscellcomplexMerge cells by shared faces
CellComplexDecomposecellcomplexexternalFaces, internalFaces, nonManifoldFaces, externalVertices, internalVerticesDecompose by location/type
CellComplexExternalBoundarycellcomplexshellGet outer envelope shell
CellComplexInternalBoundariescellcomplexfacesGet internal boundary faces
CellComplexNonManifoldFacescellcomplexfacesGet non-manifold (shared) faces
CellComplexPrismorigin, width, length, height, uSides, vSides, wSidescellcomplexSubdivided box
Graph Nodes
NodeInputsOutputsDescription
GraphByTopologytopology, direct, viaSharedTopologies, toExteriorTopologiesgraphBuild dual graph from topology
GraphShortestPathgraph, vertexA, vertexBpath (Wire)Dijkstra shortest path
GraphAllPathsgraph, vertexA, vertexBpathsAll paths between vertices
GraphDepthMapgraph, startVertexdepthMapDistance from start vertex
GraphAdjacentVerticesgraph, vertexverticesDirect neighbors
GraphVerticesgraphverticesAll graph vertices
GraphEdgesgraphedgesAll graph edges
GraphDensitygraphdensityEdge density ratio
GraphDiametergraphdiameterMaximum shortest path
GraphMSTgraphmstMinimum spanning tree
Topology Base Nodes
NodeInputsOutputsDescription
TopologyByGeometryvertices, edges, facestopologyBlender mesh to Topologic
TopologyBlenderGeometrytopologyvertices, edges, facesTopologic to Blender mesh
TopologyBooleantopologyA, topologyB, operationtopologyUnion/Difference/Intersection
TopologyAdjacentTopologiestopology, topologyTypetopologiesFind adjacent entities
TopologySubTopologiestopology, subTopologyTypetopologiesExtract sub-entities
TopologySuperTopologiestopology, superTopologyTypetopologiesFind containing entities
TopologySharedTopologiestopologyA, topologyB, topologyTypetopologiesFind shared entities
TopologyDictionarytopologydictionaryGet attached metadata
TopologySetDictionarytopology, dictionarytopologyAttach metadata
TopologyAnalyzetopologystringDescribe topology structure
TopologyExportToJSONMK2topology, pathsuccessExport to JSON file
TopologyByImportedJSONMK2pathtopologyImport from JSON file

Dictionary Nodes for Metadata

Topologic entities carry attached dictionaries for BIM data:

NodePurpose
DictionaryByKeysValuesCreate dictionary from key-value lists
DictionaryValueAtKeyRead value for a specific key
DictionarySetValueAtKeyWrite/update a value
DictionaryKeysGet all keys
DictionaryValuesGet all values
DictionaryByObjectPropertiesExtract Blender object custom properties

Reference Links

Cross-References

  • ifcos-impl-geometry — IFC geometry input for TopologicSverchok workflows
  • sverchok-impl-custom-nodes — Custom node development for TopologicSverchok extension

Official Sources

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Sverchok Impl Topologic AI 技能有什么作用?

Use when working with TopologicSverchok for building topology analysis -- CellComplex workflows, space adjacency graphs, dual graphs, or energy simulation preparation. Prevents the common mistake of using mesh-based operations for topology analysis instead of non-manifold TopologicSverchok operations. Covers CellComplex-based BIM workflows, room connectivity, and envelope analysis. Keywords: TopologicSverchok, CellComplex, adjacency graph, dual graph, topology, non-manifold, room connectivity, energy simulation, building envelope, daylight analysis, solar, space adjacency.

为什么在 TypingMind 中使用 Sverchok Impl Topologic?

因为您只需安装一次,就能搭配任何模型使用。Sverchok Impl Topologic 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Sverchok Impl Topologic?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/tree/main/skills/sverchok/impl/sverchok-impl-topologic。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Sverchok Impl Topologic?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Sverchok Impl Topologic 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Sverchok Impl Topologic 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Sverchok Impl Topologic AI 技能免费吗?

是的。Impertio-Studio 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇