PageSourceSearch

https://xeokit.io/assets/js/e8ff99be.ff8314fb.js

js xeokit.io collected 2026-10-03 22:53:45 UTC 3,304 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkxeosaurus=self.webpackChunkxeosaurus||[]).push([[5285],{10197:e=>{e.exports=JSON.parse('{"permalink":"/blog/viewing-an-ifc-model-with-xktloaderplugin","source":"@site/blog/2024-05-23-viewing-an-ifc-model-with-xktloaderplugin.mdx","title":"Viewing an IFC Model with XKTLoaderPlugin","description":"Introduction","date":"2024-05-23T00:00:00.000Z","tags":[{"inline":false,"label":"xeokit","permalink":"/blog/tags/xeokit","description":"xeokit related"}],"readingTime":2.245,"hasTruncateMarker":true,"authors":[{"name":"xeokit","url":"https://github.com/xeokit/","imageURL":"https://github.com/xeokit.png","key":"xeokit","page":null}],"frontMatter":{"slug":"viewing-an-ifc-model-with-xktloaderplugin","title":"Viewing an IFC Model with XKTLoaderPlugin","authors":["xeokit"],"tags":["xeokit"]},"unlisted":false,"prevItem":{"title":"Viewing .BIM in a xeokit Viewer","permalink":"/blog/viewing-bim-in-a-xeokit-viewer"},"nextItem":{"title":"Viewing Multiple Models","permalink":"/blog/viewing-multiple-models"}}')},10720:(e,t,i)=>{i.d(t,{R:()=>r,x:()=>a});var o=i(36672);const n={},l=o.createContext(n);function r(e){const t=o.useContext(l);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:r(e.components),o.createElement(l.Provider,{value:t},e.children)}},82554:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>s,contentTitle:()=>a,default:()=>u,frontMatter:()=>r,metadata:()=>o,toc:()=>c});var o=i(10197),n=i(23420),l=i(10720);const r={slug:"viewing-an-ifc-model-with-xktloaderplugin",title:"Viewing an IFC Model with XKTLoaderPlugin",authors:["xeokit"],tags:["xeokit"]},a="Viewing an IFC Model with XKTLoaderPlugin",s={authorsImageUrls:[void 0]},c=[{value:"Introduction",id:"introduction",level:2}];function d(e){const t={a:"a",code:"code",h2:"h2",p:"p",...(0,l.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h2,{id:"introduction",children:"Introduction"}),"\n",(0,n.jsxs)(t.p,{children:["In this mini-tutorial, we'll use xeokit's ",(0,n.jsx)(t.code,{children:"[convert2xkt](<https://xeokit.github.io/xeokit-convert/docs/>)"})," CLI tool to convert an IFC 4.3 model into xeokit's native XKT geometry format, which we'll then view in the browser using a xeokit Viewer."]}),"\n",(0,n.jsx)(t.p,{children:"The XKT format compresses models into a compact payload from which xeokit can load large numbers of objects over the Web in seconds, at full geometric precision."}),"\n",(0,n.jsxs)(t.p,{children:["For our IFC model, we'll use an architectural model from the ",(0,n.jsx)(t.a,{href:"https://knowledge.autodesk.com/support/revit-products/getting-started/caas/CloudHelp/cloudhelp/2020/ENU/Revit-GetStarted/files/GUID-61EF2F22-3A1F-4317-B925-1E85F138BE88-htm.html",children:"Revit Sample Project Files"}),". When that's converted and loaded into our viewer, it will look like the example below."]}),"\n",(0,n.jsx)(t.p,{children:"This model contains 5512 visible objects, with 283238 triangles, and a xeokit Viewer can usually load it over a good Internet connection in ~2 seconds."})]})}function u(e={}){const{wrapper:t}={...(0,l.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.