[Plugin] bim-tools 0.13.4(june 22, 2015)
-
Revit Import Error
Hi Jan
Thanks for this incredible effort.
I'm having some problems importing the IFC file into Revit 2013. I've attached the Revit error message and my skp file for you to look at.
Also, will it be possible to create bim elements with more complex surfaces, e.g. quad-based surfaces generated from curviloft, EEby, soap skin bubble etc?
Cheers
Joel
-
@ludnid said:
sketchup crashed while working within a group and specifically while trying to use the paint bucket tool.
I will look into it, it should never interfere with your day-to-day SketchUp-ing!
It probably has something to do with the observers the plugin uses.The first thing I want to do is make a on/off button that disables the observers(or even the entire plugin if possible). That should make sure there occur any problems when not using the plugin itself.
Does anyone have tips on implementing this? I think it would be nice if I could minimize the toolbar to a single button to show that the plugin is not active...
-
@ivreich said:
I'm having some problems importing the IFC file into Revit 2013. I've attached the Revit error message and my skp file for you to look at.
Hi Joel!
Thanks for sharing this model!
It points me to some "internationalization" bugs I wasn't yet aware of(mixing up commas and dots in numbers and the like).
Is it possible to get a more detailed report from the revit ifc-importer?
I can't make out the id's it reports in the screenshot.@ivreich said:
Also, will it be possible to create bim elements with more complex surfaces, e.g. quad-based surfaces generated from curviloft, EEby, soap skin bubble etc?
I still have a lot of ideas to improve the plugin.
The greatest challenge will be to translate things like complex surfaces to a usable/editable object in revit through IFC.Cheers!
Jan -
when starting sketchup after installing BIM tools I get an error:
Error Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/bim-tools/clsBtEntity.rb
undefined local variable or method `ο»Ώ' for main:Objectplease help
Frank -
@hygicell said:
when starting sketchup after installing BIM tools I get an error:
Error Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/bim-tools/clsBtEntity.rb undefined local variable or method `ο»Ώ' for main:ObjectToo bad that I can't reproduce the error, and I don't really understand it either.
It seems that it tries to load an unnamed method for the main ruby object.
Is there anyone who can give me any tips on troubleshooting this?I learned a thing or two about better usage of "modules".
I'm currently implementing this, I hope it will fix this error too. -
Do a find in your .rb files' code for a loose `
Perhaps someone open the .rb in a wordprocessor and added formating to the text -
@tig said:
Do a find in your .rb files' code for a loose `
Perhaps someone open the .rb in a wordprocessor and added formating to the textWhile searching for a loose ` with grep, grep showed some strange characters before the first character of the script in the file mentioned in the error. I checked the formatting, and this file seems to be the only one encoded in UTF-8 with BOM(some microsoft addition to UTF-8: "Byte Order Mark"), while the others are without BOM. Could this explain the error?
I have not yet found a loose `, but I will also check the rest of the files.
I found that the "normal" ruby error is something like "NameError: undefined local variable or method `a' for #", where it uses two different markers surrounding the method/variable name. Only in the case of my plugin there is nothing between the markers...
-
@hygicell said:
when starting sketchup after installing BIM tools I get an error
Hi Frank!
Can you give this version a try?
I removed the offending file , see if it helps...
bim-tools-0.12.1.zipCheers!
Jan -
@brewsky said:
@tig said:
I checked the formatting, and this file seems to be the only one encoded in UTF-8 with BOM(some microsoft addition to UTF-8: "Byte Order Mark"), while the others are without BOM. Could this explain the error?
YES. For maximum cross-platform compatibility set Notepad++ defaults for .rb files to "UTF8 without BOM (ANSI as UTF8)" with UNIX end of line chars.
-
Thanks Dan!
-
@dan rathbun said:
YES. For maximum cross-platform compatibility set Notepad++ defaults for .rb files to "UTF8 without BOM (ANSI as UTF8)" with UNIX end of line chars.
Why UNIX EOL?
-
@thomthom said:
@dan rathbun said:
YES. For maximum cross-platform compatibility ... with UNIX end of line chars.
Why UNIX EOL?
Well do you really want to have to distribute your plugins in two editions, one with Mac EOLs and one with DOS/Windows EOLs ?Remember that Ruby was developed on Unix-like systems, and loves UNIX EOLs. MS Windows hates files with Mac EOLs. The Mac OSX descends from BSD Linux, so has no problem with UNIX EOLs, and I'm not sure about DOS/Windows EOLS.
It makes sense to set your code editor's default EOL to something that both platforms can read without problems.
-
I have written all my plugins with Windows EOL (CR+LF) and I've never had any problems using them on OSX due to EOL.
-
EOL and BOM seem as different things, other than they are probably both part of the used UTF format(microsoft or Unix).
Is that correct? -
@brewsky said:
EOL and BOM seem as different things, other than they are probably both part of the used UTF format(microsoft or Unix).
Is that correct?EOL is just End Of Line characters - used in any encoding. But there are different mutations.
BOM is a Unicode feature indicating the endianness of the current Unicode encoding.
-
Hi Jan,
somehow I must have forgotten to click on a "follow this post button",
I thought this would go automatically
so it is only now I see your prompt reactions, folks, sorry for that !!
and thanks to allfirst I tried installing the new version using Thomthom's installer directly over the old one
same error resultnext I first deleted the bim tools folder before reinstalling, again with Thomthom's installer
errors eliminated as far as Bim tools is concernedthanks
Frank
@brewsky said:
@hygicell said:
when starting sketchup after installing BIM tools I get an error
Hi Frank!
Can you give this version a try?
I removed the offending file , see if it helps...
[attachment=0:1h3u0vc0]<!-- ia0 -->bim-tools-0.12.1.zip<!-- ia0 -->[/attachment:1h3u0vc0]Cheers!
Jan -
-
@brewsky said:
Or place self-cutting components! http://support.google.com/sketchup/bin/answer.py?hl=en&answer=114533
I've tried many times to create self-cutting components, but it never ever works. Have followed every single step to the letter in the instructions, but components refuse to cut through single surfaces.
Anyone else having this problem? I'm running Sketchup Pro v8.0.14346...
Joel
-
@ludnid said:
Removing the recent installations found bim tools to be the culprit . Does anyone have the same problem?
I have changed a few things in an attempt to prevent the crashes you experienced.
I have added a new button that enables/disables all observers(which I believe to be the problem).I hope you can try this new version(0.12.2) to see if it's fixed, especially when you put it in "manual-mode"(top-left button=red).
And thanks for reporting the problem!
-
@ivreich said:
I've tried many times to create self-cutting components, but it never ever works.
The most simple example to see it work is to draw a big square face(this is the "wall") and inside draw a small square(the "window").
Then select the window-face including it's edges, then right-click --> make component. Now all the options for a cutting component are set automatically(because the face is actually already "cutting").If you remove the window-face(keep the outer edges, they will cut the hole!), now if you close the component you should have a hole in the wall!
Advertisement