[Plugin] bim-tools 0.13.4(june 22, 2015)
-
@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!
-
Thanks for your work!! It's awesome!
-
Brewaky,
It's been a while since I test your plugin. It has improved a lot! The interface is looking good and uncluttered and seems practical. However the plugin does not seem to fit to real use yet.
Are you still aiming at that or have you stopped developing it?
The things I find difficult to handle are the following:
-
The plugin is great in defining thickness for any kind of geometry I throw at it. This for itself would be a great addition to Sketchup if only the remove BIM Properties button would do that. The problem is that, when I remove those properties, somethings still remain there and mess with the model later. Sometimes it creates a bugsplat, sometimes it shows new geometry. Would it be possible to remove everything and keep only the groups the plugin created?
-
Sometimes when changing wall thickness Sketchup simply crashes;
-
When one applies different materials to the inner and outer faces, they disappear if you insert a window or redefine thickness;
-
When inserting a window it correctly creates the opening with thickness. However if one wants to define a different opening inside and outside, the best way to do that would be by inserting the opening in the inner wall in a process similar as the one shown in the next link:
Window to Cut Hole on Thick Wall | SketchUcation
In this tutorial, we demonstrate how to create a component (more exactly a complex component) that can cut the holes on both the outer and inner faces of a thick wall in SketchUp.
(sketchucation.com)
The problem is, if you insert any kind of component on the inner wall, it will soon disappear in the workflow and lead to a bugsplat in the long run.
If you want I can submit you some models for examples of what I am trying to tell you about.
Keep up the good work!
-
Advertisement