bldrs-ai / share Goto Github PK
View Code? Open in Web Editor NEWShare is a web-based BIM & CAD collaboration platform.
Home Page: http://bldrs.ai
Share is a web-based BIM & CAD collaboration platform.
Home Page: http://bldrs.ai
Probably grow the ItemProperties panel with tabs
The link sharing component should include an optional QR code
Possible libs:
This is a tracking bug for TODOs.
src/utils/asserts.js should import tests for each function that test the relevant conditions, then just add throw Error if test is false. This is to help with cases where the caller might want to log (as warn or error) instead of fail.
Consider using JSONata queries on the IFCjs JSON as the advanced query format.
Probably under some menu like about or profile or smth.
Also include version in analytics.
e.g. prePick call is generating this stack trace.
but switching models via change of URL, e.g. to https://bldrs.ai/share/v/gh/IFCjs/test-ifc-files/main/Others/479l7.ifc, gives no problem.
We currently run yarn lint locally with a pre-commit script. This should be run on git checks to get that green PR button love.
https://bldrs.ai/share/v/p/tinyhouse.ifc/84
Click on the Project elt in the NavTree and then open the properties panel gives stack track and white screen of death.
Open file currently opens a system dialog, but should tell the user the upload is temporary and alternatively point them to a guide on the Wiki showing how to host IFCs on GitHub, G Drive & Dropbox and then use them in Bldrs.
We chopped up the original requirements doc to start moving things here, but also didn't have a lot for Versioning requirements. That wasn't just being lazy ;) Our idea for versioning is to pass through GitHub functionality to the app. We don't expect everything to be useful as git is overly complicated, but some subset of versioning functionality.
https://github.com/Swiss-Property-AG/Portfolio/blob/main/KNIK.ifc
the "main" path segment is the branch the file is in, and without any further information, this means the HEAD version of the main branch. That currently works.
Supporting these means both in the URL (see also https://github.com/bldrs-ai/Share/wiki/URL-Structure) and also in the UI, by having some component to help explore previous versions and branches.
EDIT(Aug 18): The Share URL structure actually already supports versioning! So changing this issue to track development of the UI control. Example of versioned file:
Stretch: Lastly, we'd like to support checking in changes and resolving diffs. This is where things get complicated, so we'll need to revisit this more later.
If thereβs a file in the git repo, make the URL to share it formulaic, so we can share the IFCs in a repo before we implement the full UI directory component.
Full requirement:
https://docs.google.com/document/d/1JgLDfkghG6wqyYIplCQisSqyUK2XnRu43UEUEwAe8YI/edit#heading=h.1cwhpa145gax
Current cam positions are working repeatably when both position and target location are included in the url:
.../share/v/p/index.ifc#c:-15.18,9.32,52.05,14.69,8.96,11.19
But toggling the flag viewer.IFC.loadIfcUrl(..., fitToFrame=true|false, ...) yields slightly different results (below). We're good with the default of fitToFrame=false, but that means no autofit for uploaded models. I have a workaround for now which is to enable this flag after the first load. Pretty lame
but this means there's yet another camera parameter needed to specify camera after a frame refit, which may happen after a double-click centering. I haven't seen this yet, but probably an issue
Code walk starts in IFCjs:
https://github.com/IFCjs/web-ifc-viewer/blob/92ca8c8117e942fc7e452859bd999ee2f8eebc79/viewer/src/ifc-viewer-api.ts#L139
https://github.com/IFCjs/web-ifc-viewer/blob/92ca8c8117e942fc7e452859bd999ee2f8eebc79/viewer/src/components/context/camera/controls/orbit-control.ts#L37
Then over to the camera-controls library:
https://github.com/yomotsu/camera-controls/blob/07fc3c2c8ebae2816a56a80e1cbc2f6892d20a58/dist/camera-controls.module.js#L913
with loadIfcUrl(fitToFrame=false), we get the right position, but needs the temporary workaround so that later models get autofit:
I want to use loadIfcUrl(fitToFrame=true) all the time, but the recorded position (from above) gets jogged over:
Users should be able to click on a link to open a tool that performs some function/manipulation on their IFC tile
error occurs on load
The NavTree broke completely, and then after a partial fix showed element types as names, not element names.
The selection of an IFC element causes latency in the application for the models larger than 20MB.
Enable monitoring of separate portions of the app to diagnose the problem areas that require performance optimization.
Page is blank with error fro web-ifc. Fix is ready.
Setup GA4. Added event tracking for open and search.
Cleanup names and values for property set.
We already have some properties handled well, but need to handle more cases.
This appears to help: https://www.npmjs.com/package/jest-transform-css
e.g. in a sample IFC:
#49124= IFCMATERIALCONSTITUENT('Component 1 in St\X2\00FC\X0\tzensegment 1',$,#10932,$,$);
These look like extended characters that need to be decoded.. currently we're just passing through the backslash.
We need to have a Image button preview of a screenshot of Tinyhouse, which when you click takes you to the GitHub path to the Momentum tinyhouse project.
This will also require some comments setup on their repo to work well.
But really for now we just need the button somewhere.
Maybe we tuck settings into an expando or accordion or move it back out into a separate ControlButton
How about using the "b" from our logo as our favicon?
Also, reminder for myself to add a useful title sub-path, e.g.:
"BLDRS: tinyhouse/.../window" something?
To enable information management for building elements we need to be able to extract the data from an ifc in a structured way. Depending on the source of the ifc, each element (e.g. walls, slabs, windows) contains a set of ifc property sets and attributes.
As a BIM coordinator I want to be able to use this information across various workflows and across various tools.
In a first step the information could be extracted by the user providing information on what elements and what property sets/attributes are needed. Ideally the tool would show an overview of the elements and property sets/attributes and the user could select the data for the extract. Additionally, this could also be part of an API for buildrs.
We should include an tracking event to count how often users are opening IFCs. This will also may help distinguish crawler traffic from real use.
Enable typescript + define types for the viewer
Asking for /foo.png works on localhost and production but does not work on the personal fork.
iOS & Android
Adding on to #26, we need to use routing for:
We're including gtags in our pages, but should have a cookie toggle for this. I'm thinking a bar:
Cookies: [F----N----T]
With a slider from F<->T
F: functional: e.g. theme, list of recent URLs
N: navigational: things which change URL
T: telemetry: fine-grained
I think a trim version of this could be included in the About panel and suffice for our gdpr notice.
'nuff said.
But actually, this should go along with Bldrs logo as the index.ifc, and a tooltip prompt for the open dialog to make sure users know what to do. Probably depends on #114 being live.
Wire snackbar to model loading
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.