paireks / dotbimpy

Python library for dotbim.
MIT License
45 stars 6 forks source link

How to verify whether a .bim file is correctly formatted? #9

Open krzysztofarendt opened 1 month ago

krzysztofarendt commented 1 month ago

Hi @paireks ! Thanks for your work on .bim!

What is the best way to check whether a .bim file is correctly formatted? Up to now I have been testing if my files are correctly displayed in Online 3D Viewer.

I have been writing a reader/writer for .bim for my hobby project and I noticed that:

It could be useful to have a function like dotbim_health_status(path_to_file) which would e.g.:

Is there anything like this? I am pretty sure there is not in dotbimpy, but maybe in some other project of yours?

paireks commented 1 month ago

Hello @krzysztofarendt :)

You are absolutely right, this request for some automatic checker exist and from time to time I remind myself about it, I even created a reminder right there: https://github.com/paireks/dotbim/issues/34, but still I haven't started it yet.

Right now when someone is creating a .bim builder I always try to help as much as I can, and try to verify the files myself on some platforms, manually. So you can send me on email or here some .bim files, I will try to check if something is wrong, or if something could be better :)

Automatic verification system would be great. Maybe it won't catch all the potential problems, but there are some that could be verified for sure!

If you'd like to check your files: feel free to send it to me to check, and if you'd like to try to build dotbim_health_status here - I would be also happy with such contribution :)

Best regards, Wojciech :)

krzysztofarendt commented 1 month ago

Thanks, let's stay in touch!