Git Product home page Git Product logo

html-build's Introduction

Building description using custom HTML entities

Developed based on conversations with JosepMariaPujol for his super awesome thesis project. Now expanded to include conversations with aothms. This repo is focused on defining custom HTML entities that represent (IFC) building entities with minimal CSS to define layers of attributes and properties.

This has now been further expanded to include an IFC converter to HTML-Build repo using ifcOpenShell. This was then explored by students in the DTU course Advanced BIM (41934).

Aim

Define a set of custom entities for building elements within an index.html file using HTML5 principles (in the first instance, this means only using HTML, CSS and JS).

Objectives:

1) Provide useful information

  • Provide a useful description of the building wihtout having to open the full 3d model.
  • Be possible to adapt or create a custom view for specific use cases.

html-build-basic

Basic building description result in HTML with some CSS

2) Standardised

  • Provide a common file format across softwares / systems following IFC / ISO / National standards as much as possible.
  • Use HTML5 principles to solve building modelling challenges, for instance IfcPropertySets would be defined in Cascading Style Sheets (CSS).
project- {
	display:block;
	padding:5px;
	font-family: Arial, Helvetica, sans-serif;
	font-size:12px;
	background-color:#ccc;
	width:100%;
	border:none;
	color:#1b1b1b;
	margin:auto;
	padding-bottom:50px;
}

CSS example for project- custom entity (just display) instance attributes and properties would be contained in further CSS files declared in the document head.

3) Human editable

  • Be super easy to learn (from)
  • fun for humans to hack.
<html>
	<head> <!--- this contains property links and entity attributes in css ---> </head>
	<body>
		<project->
			<site->
				<building->
					<floor-></floor->
				</building->
			</site->
		</project->
	</body>
</html>

Basic building description example in HTML

4) Extendable

  • Possible to add new entities?
  • Custom entities should support links to Linked data, Speckle streams, IFC.js and other emerging AEC web technologies.
<!--- possible example of extension --->
		<project- src="[(url) link to IFC.js / speckle stream etc.]">
			<site->
				<building->
					<!--- alternatively an entity could have link(s) --->
					<floor-></floor->
				</building->
			</site->
		</project->
	</body>
<html>

This repo contains a minimal example with the basic CSS file. Other examples will be added soon.

html-build's People

Contributors

timmcginley avatar josepmariapujol avatar

Forkers

christinaq8

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.