Coder Social home page Coder Social logo

ifc_voxelisation_cityjson_store's Introduction

ifc_voxelisation_cityjson_store

vocalisation ifc files

current progress

1. From IFC to OBJ done

use ifcconvert , we don't remove any furniture or windows or door

2. From OBJ to memory done

we parse the outputed surface into memory, if u want to check, u can call voxelgrid.out_put_all_voxel_to_obj to output voxel in selected label

4. Voxelisation of triangles done

how to run the file

cd build make hw03 + the obj file from converted ifc file u can generate several result:

  1. a cityjson file with building exterior wall and building parts's reconstructed surface
  2. seperate cityjson files with different building part
  3. the obj form of reconstruction surface
  4. the voxel of the exterior surface of wall and each building rooms named "voxellabelled" exterior wall:

image

each room:

image

cityjson file:

image

image

image

generated file list:

image

meaning of different output

voxels_labelled: the intermediate voxel of labelled room and wall envelope(voxels_labelled.obj. the obj file of voxels labelled as different building part, 1 is wall, 0 is exterior, bigger than 1 is different rooms, -1 is unlabelled meaning wall in the interior of building or small room that is too small to reach x,y,z threhold in threhold, the -1 labelled is not oupt and remained as vaccum, different labels is outputted differently) voxel_label_part: result of marching cube(label_voxel_part_label.obj, the isosurface of marching suce) cityjson file: the output result on cityjson(building_final_result.json is assembled cityjson including all building part, label_voxel_part_num.json is different parts/rooms of building)

how to change resolution

the default resolution is 0.25, u can open main.cpp and change variable unit to adjust resolution but we strongly dont recommend u to do that, because we dont implement octree method to merge those adjacent voxels, so the output result consist of many small meshes and take loads of space, that's why we only use 0.25, but u can have a try to do that, as long as ur computer has enough memory

ifc_voxelisation_cityjson_store's People

Contributors

zhangchi233 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.