[Plugin] bim-tools 0.13.4(june 22, 2015)
-
IMO the difference between building the moon landing vehicle, and a house. Is that the first has a complex, but easily stated mission. Go to the moon, and get the astronauts back to earth. A house on the other hand, is fairly simple, yet accomplishes the complex mission required to shelter, and advance the institution family.
It was Louis Kahn that taught the difference between art and architecture. An Artist can express the futility of war by drawing a cannon with square wheels, an Architect must make them round. He poetically mused that a brick "wants to be an arch". That ultimately Architecture has a immutable unseen form that fixes it's place in human culture.
A fork has an essential form that makes it a fork. It matters little that it is baroque, or modern in style. The Architect's skill is to deduce this essential form.
-
@dan rathbun said:
I didn't think it was worth it.. as IFC is an XML data file. Ruby already has libraries to work with XML files, that are cross platform.
Hi Dan,
It seems no ruby XML libraries are included with SketchUp, is this correct?
Is there an easy way to add, for example, REXML to my plugin directory instead of requiring a full ruby install for every user?-Jan
-
@brewsky said:
@dan rathbun said:
I didn't think it was worth it.. as IFC is an XML data file. Ruby already has libraries to work with XML files, that are cross platform.
Is there an easy way to add, for example, REXML to my plugin directory instead of requiring a full ruby install for every user?
Correct. SU does not distribute the Ruby Libraries, only the interpreter.
Distro'ing Ruby libs in your plugin folder can cause version problems. You'll also likely find that those libs have dependancies on other libs, and so on... and so on...
Some coders have done it for single lib files.. but in that case, it's always best to first try and load from the user's full install by just requiring a lib file normally (wrapped in begin .. rescue LoadError block), if the rescue clause gets executed then you can load your copy from your plugin subfolder. That way if the user later installs full Ruby or updates to a newer version your plugin can take advantage of it.
But really... what we need to move toward, is every user having a special full Ruby install beneath the Sketchup program folder, "tweaked" just for use with Sketchup. Then the "system" Ruby install can be left alone to do other non-Sketchup things.
-
I have made a first attempt at an export-to-IFC script for the walls plugin I posted earlier.
The method used to generate the required IFC data is quite "crude", and it's still only simple walls, but is't a start!I've been able to open the resulting files in a couple of viewers:
- Nemetschek IFC Viewer
- Solibri Model Viewer
- TNO IFC Engine Viewer
Check out the google-code page for download and brief tutorial:
http://code.google.com/p/bim-tools/Maybe there's someone with the ability to try the exporter on one of the big BIM programs?
I would love to hear what they make of it!- Jan
-
Jan,
I renamed the topic "[Plugin] bim-tools" so this plugin will appear in the Index (and to bump it in case anyone missed it.)
-
It was under the impression that this was in the Alpha stage, still very much a work in progress.
Why was it moved to the Plugins forum? It's not ready for 'prime' time.
-
@dan rathbun said:
Why was it moved to the Plugins forum? It's not ready for 'prime' time.
Mostly to raise awareness of the plugin.
-
Guys, I think this is a great idea with huge potential. I'm really interested in the direction this might take.
-
Thanks Jim!
Although a lot of work needs to be done before it can handle a full building model, I'm trying to add small functional pieces to the program so it can be used without being complete.
I just figured I have been updating the google-code project without reporting back here, I will try to post my progress more often!
I recently added the ability to provide some IFC meta-data(such as project name and description), and improved the menu so sections can be folded, to remove some of the noise/clutter.
Currently I'm working on a wall-opening function.
When that's finished(and has a functional IFC-exporter), I think it's a good demo of the idea, and maybe even usefull for some people(simple building interior walls?). -
I think need change this name bim-tools to skp2ifc ,BIM is very very big !
-
@unknownuser said:
I think need change this name bim-tools to skp2ifc ,BIM is very very big !
I know the scope of a project like this is huge, and probably way to much for one person in his spare time.
It depends on the interpretation of the term "BIM", but IFC alone(and all the necessary tools for defining the objects) is probably equally big...If anyone has some spare time they are welcome to help out .
The IFC export is an important part of the project, but not it's only purpose.
I would like a designer to be able to assign building properties to faces of a simple building model. Just by way of: "click side-face" = "wall", "click top-face" = "roof".
Every face with an "IFC-label" can be exported to IFC, and then be re-used in a "real" BIM-model. -
It's getting real fun now!
I have improved the walls, so that a component with the options "glue" and "cut opening" will cut a hole through the wall just like it would in a simple face!I still have to figure out how to best link the hole with the cutting component, so they move together... and add IFC data so I can update the exporter...
-
Looks exiting!
-
WOW....! I have been following this thread since it began and am all of a sudden getting excited!!!!!
Well done, Brewsky! -
Thanks!
Here is the first demo version with wall-openings:
BIM Tools for SketchUp - demo wall opening
It cuts openings, AND you can copy and move them around on the wall!How to use:
- draw some lines and select them
- open bim-tools plugin
- open "create" menu
- click "walls from selection"
- create a new component with the options "Glue to": Any or Vertical, "Cut opening". And make sure you draw a face or closed profile on the X/Y plane, just like any cutting component.
- Glue the component to the side of the wall
- Now it should cut a hole in the wall in the shape of the outer profile(s).
Best use a nested group/component if you don't want geometry other than the profile interfering with the hole.
Known bugs/limitations:
- It's still slow with complex wall openings
- you can still move opening geometry outside of wall
- moving multiple openings together will only cut 1 hole
Please let me know if you find more...
The IFC exporter does not yet include the wall openings.
-
Hi Jan,
Thanks for the update. Would you put the download in the first post of this topic, and update the Subject: to reflect the new version and/or date? Having the download in the first post makes it easier for everyone to find the download. Updating the Subject: allows the plugin to appear in the "Recent Updates" section of the Plugins Index. Thanks.
-
@jim said:
Would you put the download in the first post of this topic, and update the Subject: to reflect the new version and/or date?
Hi Jim,
Thanks for your help! I'm still a bit of a newbie on the forum
I had no idea the plugins list was generated from the topic-subjects!The reason I didn't post the download in the first post is that the exporter is not fully functional, but I realise now that in this way it's not easy to find the latest version...
I'll update to the first post!
-
hi,
i've got a installation error
(see attachment)bim-tools.rb and bim-tools folder is in the plugins folder from sketchup
i use sketch up pro 8 version 8.0.11751
os lion 10.7.2anyone a solution for this problem?
greetings
tobi
-
Hi
require 'bim-tools\ObjectLibrary.rb' require 'bim-tools\parts\opening.rb'
will not run on mac...
open the ruby file and change those to
require 'bim-tools/ObjectLibrary.rb' require 'bim-tools/parts/opening.rb'
back slashes in the path don't work, when you've done that, Change any others and then see what errors come next, and fix or post those...
or report success...
john
-
Epic work Jan! I think we actually only need a few IFC compliant object types to get basic interoperability with the major BIM apps.
Walls and openings are of course the most important, but when we have floors and roofs as well, I suspect most of the work will have been done.
When it's working on the Mac, I'll definitely try it out - excellent!
Advertisement