Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create IFC test helper functions #543

Merged
merged 5 commits into from Jan 20, 2023

Conversation

oo-bldrs
Copy link
Contributor

PR to introduce some basic helper functions to create parts of an IFC project tree structure.

Perhaps this should go into a dedicated helper directory/structure in the future as we accumulate more items like this.

@netlify
Copy link

netlify bot commented Jan 13, 2023

Deploy Preview for bldrs-share ready!

Name Link
🔨 Latest commit e917ee8
🔍 Latest deploy log https://app.netlify.com/sites/bldrs-share/deploys/63cabc464a223e0008961026
😎 Deploy Preview https://deploy-preview-543--bldrs-share.netlify.app/sb
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Member

@pablo-mayrgundter pablo-mayrgundter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, very useful!

One concern, nanoid looks cool but isn't quite the same UUID as IFC

https://technical.buildingsmart.org/resources/ifcimplementationguidance/ifc-guid/

We already have the uuid pkg in our node_modules, so maybe just use it?

@oo-bldrs
Copy link
Contributor Author

@pablo-mayrgundter Thanks for the heads up.

That explains why in IFC project files I saw something that didn't resemble a UUID, but I incorrectly assumed it was a different library.

In the future, I'll look into creating a small library that generates values that align with the IFC-GUID standard.

@oo-bldrs oo-bldrs merged commit 9985a90 into bldrs-ai:main Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

None yet

2 participants