您当前的位置: 首页 >  3d

qianbo_insist

暂无认证

  • 0浏览

    0关注

    399博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

介绍一个3d bim模型展示开源项目

qianbo_insist 发布时间:2021-07-08 21:40:50 ,浏览量:0

3d-bim-models-threejs

3d-bim

bim是building information model 意思是建筑信息模型,本开源项目是使用nodejs,html5,threejs 制作而成,服务端及其简单,主要是在前端的展示上面

使用legend 标识

legend 使用颜色来分类让人一目了然,意味着建造过程中优秀,好,一般,问题,差,非常差的情况使用颜色来标识在模型上。

模型的分块详细情况

模型分块情况

整体效果

在这里插入图片描述

服务代码

使用的express来做httpserver

const express = require('express');
const path = require('path');

const app = express();

const PORT = process.env.PORT || 5000;

// Set static folder
app.use(express.static(path.join(__dirname, 'public')));

app.listen(PORT, () => console.log('Server listening on port ' + PORT));
html

使用threejs来展示,模型为obj,带颜色信息

DOCTYPE html>

  
    
    
    
    
    
    
    
    


    
    
    
    
    
    
  
  
    
      
        dvr
        layers
        query_builder
      
      
        dvrLegendclear
        
          
            
              
              
              
              
              
              
             
           
         
       
       
          layersSwitcherclear
          
            
              
                
                  
                    
                      Retaining structure
                        
                        
                      
                    
                    
                      Substructure
                        
                        
                      
                    
                    
                      Superstructure
                        
                        
                      
                    
                    
                      Span locks
                        
                        
                      
                    
                  
                
              
            
          
        
        
          query_builderHistoryclear
          
            
              
                
                  
                    
                      2012
                        
                        
                      
                    
                    
                      2007
                        
                        
                      
                    
                    
                      2002
                        
                        
                      
                    
                  
                
              
            
          
        
        
          
            
            
          
        
        
          
            Detailsclear
            Object
            Object type
            Element
            Inspection date
            Inspector
            Comments
          
          Condition
          
            
          
          
          
            200220072012
          
        
        
          
        
        
    
  

下载

代码和模型下载

关注
打赏
1663161521
查看更多评论
立即登录/注册

微信扫码登录

0.0525s