All Projects → wallabyway → mapboxRevit

wallabyway / mapboxRevit

Licence: MIT license
View Revit models inside Mapbox

Projects that are alternatives of or similar to mapboxRevit

FlexLM-License-Usage-Logger
python utility script to parse and log the lmutil lmstat results on a FlexLM server
Stars: ✭ 20 (-13.04%)
Mutual labels:  revit
speckle-sharp
.NET SDK, Schema and Connectors: Revit, Rhino, Grasshopper, Dynamo, ETABS, AutoCAD, Civil3D & more.
Stars: ✭ 214 (+830.43%)
Mutual labels:  revit
migrant service map
Refugees welcome
Stars: ✭ 23 (+0%)
Mutual labels:  mapbox
deck.gl-time-series-widget
A React Time Slider implementation for DECK.GL - (non)temporal data - by CPU filtering ⌛
Stars: ✭ 19 (-17.39%)
Mutual labels:  mapbox
ciclomapa
Beautiful, interactive & open bike maps of Brazilian cities. Powered by OpenStreetMap.
Stars: ✭ 56 (+143.48%)
Mutual labels:  mapbox
Onboxframework
A framework for building Cross-Platform Revit Apps
Stars: ✭ 41 (+78.26%)
Mutual labels:  revit
RevitExportObjAndGltf
The Revit-based plug-in realizes the export of 3D files in obj or gltf format, which may have small material problems, which can be improved in the later stage; because the project needs to engage in the secondary development of Revit in the near future, similar plug-ins are rarely found on the Internet Related information will be recommended to…
Stars: ✭ 42 (+82.61%)
Mutual labels:  revit
theweekendest
Real-time New York City subway service map
Stars: ✭ 51 (+121.74%)
Mutual labels:  mapbox
Revit2glTF
An open source glTF format exporter for Autodesk Revit.
Stars: ✭ 143 (+521.74%)
Mutual labels:  revit
SpeckleRevit
Archived, dev moved to https://github.com/speckleworks/SpeckleRevitReboot
Stars: ✭ 17 (-26.09%)
Mutual labels:  revit
RevitExtensions
Extensions for Revit plugin development
Stars: ✭ 37 (+60.87%)
Mutual labels:  revit
dekart
GIS Visualisation for Amazon Athena and BigQuery
Stars: ✭ 131 (+469.57%)
Mutual labels:  mapbox
RevitFamilyBrowser
Browser for .rfa Revit family files
Stars: ✭ 82 (+256.52%)
Mutual labels:  revit
rdeck
Deck.gl widget for R
Stars: ✭ 71 (+208.7%)
Mutual labels:  mapbox
3d-earth
🌏🌎🌍 3D Earth with Mapbox GL, D3.js and Three.js
Stars: ✭ 68 (+195.65%)
Mutual labels:  mapbox
pwa-maps
A presentation on using OpenMapTiles and service workers to turn an interactive map into an offline-capable Progressive Web App.
Stars: ✭ 44 (+91.3%)
Mutual labels:  mapbox
districtr
A free, open-source web app for drawing districting plans.
Stars: ✭ 68 (+195.65%)
Mutual labels:  mapbox
mapbox-covid19
Yet another map for covid 19 using mapbox
Stars: ✭ 20 (-13.04%)
Mutual labels:  mapbox
lascallesdelasmujeres
Proyecto colaborativo para fomentar la generación de contenidos en OSM y Wikipedia, sobre mujeres.
Stars: ✭ 45 (+95.65%)
Mutual labels:  mapbox
maptalks.mapboxgl
MapboxglLayer for maptalks.js
Stars: ✭ 51 (+121.74%)
Mutual labels:  mapbox

View Revit files inside MapBox

View Revit models inside Mapbox, and click on Revit properties.

DEMO: https://wallabyway.github.io/mapboxRevit/

Notes

  • Click on the model to view properties (via the Forge API. Alternatively, use props.db sqlite DB file instead)
  • Use svf-extract to convert Revit file to glTF (see glTF folder)

Bugs

  • Currently the mapbox raycaster does not match correctly, so it cannot get the correct DBID from the gltf.node.name

mapbox-static

Other examples of MapBox with Revit data:

References

Property SQLite Database usage

The demo is currently querying Forge service to retrieve meta-data given the dbID selected.

Alternatively, you can use the props.db sqlite database file, located in the folder /gltf. Load the file in sqlite and query for properties associated with the dbID you click on.

Example

We will replicate the property panel in Forge Viewer.

properties

  1. We selected the 'wall' and it's DBID is 2594. I used NOP_VIEWER.getSelection() to get the value.

  2. Now open props.db file in a SQLite browser.

  3. To filter on ids.id = 2594 use this SQL command:

select ids.external_id, attrs.name, attrs.category, attrs.data_type, vals.value from _objects_eav eavs
left join _objects_id ids on ids.id = eavs.entity_id 
left join _objects_attr attrs on attrs.id = eavs.attribute_id
left join _objects_val vals on vals.id = eavs.value_id where ids.id = 2594 order by eavs.entity_id
  1. This returns the results:
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	parent	__parent__	11	2107
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	instanceof_objid	__instanceof__	11	2107
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Level	__internalref__	11	5
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Location Line	Constraints	20	Wall Centerline
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Base Constraint	Constraints	20	Level 2
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Base Offset	Constraints	3	-500.0
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Base is Attached	Constraints	1	0.0
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Base Extension Distance	Constraints	3	0.0
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Top Constraint	Constraints	20	Up to level: Roof Line
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Unconnected Height	Constraints	3	3500.0
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Top Offset	Constraints	3	0.0
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Top is Attached	Constraints	1	0.0
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Top Extension Distance	Constraints	3	0.0
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Room Bounding	Constraints	1	1
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Related to Mass	Constraints	1	0.0
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Structural	Structural	1	0.0
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Enable Analytical Model	Structural	1	0.0
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Structural Usage	Structural	20	Non-bearing
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Length	Dimensions	3	19702.0
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Area	Dimensions	3	43.2957000000004
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Volume	Dimensions	3	8.15002486322177
c85e5be0-d8d5-4148-836f-b55e711ef373-00068ac9	Type Name	Identity Data	20	SIP 202mm Wall - conc clad

...and matches what's in the Forge viewer's property panel (see above).

Also note that the glTF converted files contain additional meta-data.

  • the gltf node 'name' is a string version of the dbID
  • the metadata.json file contains the Revit files [lat, long], which you can feed into Mapbox for positioning of the model.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].