[Plugin] SketchUpBIM: Building Modeling made easy!

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby jolran » Sat Dec 10, 2011 2:01 pm

Thanks for the feedback D_e_x. Yeah, know about "families"..

Unclex. Unit conversion should be trivial for D_e_x to fix?
Like Thomthom suggested.
OR heres a version that works in "my plugin" code. I think I saw something similar in one of
JIM's plugins.

Code: Select all
def unitconverter(value)
   conv_val = [1.0, 12.0, 25.4, 2.54, 0.0254]
   unit_mode = Sketchup.active_model.options["UnitsOptions"]["LengthUnit"] # 0=inch 1=ft 2=mm 3=cm 4=m
   value = value / conv_val[unit_mode]   
   return value
end


However I will switch to Thomthoms suggestion later on. It's more logical and simpler.
If I understood him right it should be something like.


Code: Select all
(value.to_f).to_l


Edit: Confirmed it works for me anyway. Thanks ThomThom! A bunch less code.
0
User avatar
jolran 
PluginStore Author
PluginStore Author
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby d_e_x » Sat Dec 10, 2011 2:18 pm

brewsky wrote:reading your license... I hope you can be persuaded to change that, would be great if defining BIM could really be a community thing :D

Cheers, and keep up the good work!


Thanks Jan! I am sure my friends and I will come back to you when we start writing the specs for the IFC import/export utility :)

b/w SketchUpBIM uses the BSD license which in my knowledge, is the most lenient license in the industry today! As this article (http://opendevice.blogspot.com/2007/06/best-gnu-gpl-vs-bsd-comparison-ever.html) states: "If you want to give your software away for free, use BSD. If you want to share your software, use the GPL."

bigstick wrote:This is such a huge task that I do wonder whether it is too much for one person. The point I made some time ago for creation of a 'framework' which could be used by lots of Ruby coders might still be a relevant one. We have lots of plugins, for windows, doors, stairs, roofs, joists, slabs, foundations, columns, beams etc. Wouldn't it be cool if they were all compliant with this BIM principle!
I accept that ensuring consistency with the standard might be tricky, but it might be worth looking into.


Thanks bigstick, I have downloaded this package. At the first glance, it came to me as more relevant to generic 3d modeling, as opposed to the concept of a "framework" and specifically, building modeling. But defi very interesting :) - I'll take a detailed look at this.
0

d_e_x 
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby d_e_x » Sat Dec 10, 2011 2:30 pm

unclex wrote:how change the feet to meter?


jolran wrote:Unit conversion should be trivial for D_e_x to fix?


unclex, joel,

metric units is definitely moving to the top of the development list. However, I do want to spend a few more days before getting back to the code. I would like to collect as much feedback as possible from the community. I want to know if there are any stop-ship bugs, or any other critical features that are important to the people who would like to do "BIM in SketchUp" :)

right now.. let me get you excited about the video tutorial. It should be online in another hour!!
0

d_e_x 
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby thomthom » Sat Dec 10, 2011 4:25 pm

jolran wrote:
Code: Select all
(value.to_f).to_l



Do you need to_f.to_l ?

Remember, you have Numeric.to_l and String.to_l. You might be doing more conversion than needed.

SU's Ruby API has methods built in so you really do not need to do much work yourself. If you find yourself doing conversion methods, you might be reinventing the wheel.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby jolran » Sat Dec 10, 2011 6:46 pm

Do you need to_f.to_l ?


Hmm, yes the way I did it. I got an error "cannot convert to float" at first.
But now I see you mentionString.to_l. Doh! Totally overlooked that :knockout: . It should do the trick. (The value is coming as a string from webdialog)
Think there was some problems in values coming from dialog at that time.
SU's Ruby API has methods built in so you really do not need to do much work yourself. If you find yourself doing conversion methods, you might be reinventing the wheel.


That's why I brought the subject up here(again), since some users has requested metrics and I got the impression d_e_x was gonna try invent some new method. I could be wrong of course, but just tried to help :)
0
Last edited by jolran on Sat Dec 10, 2011 7:06 pm, edited 2 times in total.
User avatar
jolran 
PluginStore Author
PluginStore Author
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby d_e_x » Sat Dec 10, 2011 6:50 pm

Here is the "Basic Tutorial" for SketchUpBIM. It is about 12 minutes. Request to all users to spend these 12 minutes to get a quick start!

0

d_e_x 
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby brewsky » Sat Dec 10, 2011 8:11 pm

d_e_x wrote:b/w SketchUpBIM uses the BSD license which in my knowledge, is the most lenient license in the industry today!

Hi Dex,

I'm no license expert, but BSD sounds ok.

You might want to check your license file's exact contents, the way I read it it seems to be a bit more restrictive than you meant it to be ;). It says "is not permitted" where I would expect "are permitted provided that..."

Cheers,
Jan
0
User avatar
brewsky 
PluginStore Author
PluginStore Author
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby utiler » Sun Dec 11, 2011 12:29 am

WOW, d_e_x; I'm excited!!!!! This is a very impressive project!

I'm going to make some notes and post some questions as soon as I can..


Congratulations on such a fine start!! :thumb:
0
purpose/expression/purpose/....
User avatar
utiler 
Top SketchUcator
 

Postby majid » Sun Dec 11, 2011 11:13 am

just to say thank you, that is great. revit is easy to use and so lots of lazy minded (like me ) sometimes migrate there, . I like "smart" of SU ( it is smart and needs smart minds too), ,,,, just thank you again
0
My perspective shortcuts book: https://bit.ly/30Tdbce
User avatar
majid 
Top SketchUcator
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby fionmacool » Sun Dec 11, 2011 11:45 pm

This is a brilliant start Dex. It will scare the bejaysis out of many BIM... let's call them "enthusiasts" out there. I have wanted to see SU being used this way for ages, and due to not being well versed in programming, I have been only an armchair supporter. Here is a post I created in June 2010 on the SketchUpIreland blog regarding SU and BIM:
http://sketchupireland.blogspot.com/2010/06/sketchup-natural-bim-platform.html#links

Keep up the good work! Will be delighted to see a metric version of the plugin and a function for creating objects. I know everyone wants everything perfect and they want it yesterday- but seriously- thanks for doing this!

:D
0
Zere are still some architectes zat do not know ow to use ze SketchUp..... Zis is unbelievable....
User avatar
fionmacool 
Premium Member
Premium Member
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby Elibjr » Mon Dec 12, 2011 1:08 am

d_e_x,

Wow, I just want to say thank you and your crew for starting such an awesome plugin. I have used Revit and this reminds me of those basic principles. I think you should try to figure out a way to do specific opening sizes for windows and doors, curtain walls, and foundations next. Putting together a quick tower was simple. If the slabs were generated as components and not just groups that would be even better ... maybe. That way you could put a railing on a balcony slab and have it replicate to each successive level. This is the first time I could tell my "Autodesk evangelists" friends that Sketchup is so much more capable that any closed source product.... if not for ideas like this. This is why Blender is so great too, It's people like you and Fredo6, TIG, Didier Bur, Thomthom, Chris Fullmer, Jim, Al & Rich Hart, Whaat and so may more that make this the most dangerous site for any high end software company. It's stuff like this that will make (and have made) companies like Next Limit, Chaos Group, Autodesk and others to take note. Keep up the good work... also thank the admin for creating this website. This is why Sketchup will become the most powerful design package in the world... can wait for version 9!
0
User avatar
Elibjr 
Premium Member
Premium Member
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby brewsky » Mon Dec 12, 2011 10:17 am

Elibjr wrote:If the slabs were generated as components and not just groups that would be even better ... maybe.

I've been thinking about the same thing, but I think using groups is the best thing here, otherwise the component-selector gets cluttered with sooo many walls and slabs...
Maybe the best approach is to after creating the building-parts to combine the slab-group and railing-components as one big component if you need this repetition?

d_e_x, what are your thoughts on this?

Cheers,
Jan
0
User avatar
brewsky 
PluginStore Author
PluginStore Author
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby Bep » Mon Dec 12, 2011 2:52 pm

0
"History is written by the winners"
User avatar
Bep 
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby d_e_x » Mon Dec 12, 2011 3:04 pm

utiler wrote:WOW, d_e_x; I'm excited!!!!! This is a very impressive project!
I'm going to make some notes and post some questions as soon as I can..
Congratulations on such a fine start!! :thumb:


Thanks Andrew, I'll look forward to it!
dex
0

d_e_x 
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby d_e_x » Mon Dec 12, 2011 3:17 pm

fionmacool wrote:This is a brilliant start Dex. It will scare the bejaysis out of many BIM... let's call them "enthusiasts" out there. I have wanted to see SU being used this way for ages, and due to not being well versed in programming, I have been only an armchair supporter. Here is a post I created in June 2010 on the SketchUpIreland blog regarding SU and BIM:
http://sketchupireland.blogspot.com/2010/06/sketchup-natural-bim-platform.html#links

Keep up the good work! Will be delighted to see a metric version of the plugin and a function for creating objects. I know everyone wants everything perfect and they want it yesterday- but seriously- thanks for doing this!

:D


Thanks :) I have started following your blog - very interesting and thought-provoking.

Metric units are on top of the development stack. "function for creating objects" - could you explain what you mean't here? No specifics required, I just would like to understand your suggestion; the way you are thinking about it.
0

d_e_x 
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby d_e_x » Mon Dec 12, 2011 3:31 pm

Elibjr wrote:d_e_x,
Wow, I just want to say thank you and your crew for starting such an awesome plugin. I have used Revit and this reminds me of those basic principles. I think you should try to figure out a way to do specific opening sizes for windows and doors, curtain walls, and foundations next. Putting together a quick tower was simple.

specific sizes for windows and door is already possible in this initial version and foundations is on the development list. Curtain walls (wow!), once I get a development team of 10, I'll pounce on the non-structural primitives as well :) Actually, now that I think about it, I know of a simple way to implement curtain walls.

Elibjr wrote:If the slabs were generated as components and not just groups that would be even better ... maybe. That way you could put a railing on a balcony slab and have it replicate to each successive level.

my thoughts in the follow-up post.

Elibjr wrote: This is the first time I could tell my "Autodesk evangelists" friends that Sketchup is so much more capable that any closed source product.... if not for ideas like this. This is why Blender is so great too, It's people like you and Fredo6, TIG, Didier Bur, Thomthom, Chris Fullmer, Jim, Al & Rich Hart, Whaat and so may more that make this the most dangerous site for any high end software company. It's stuff like this that will make (and have made) companies like Next Limit, Chaos Group, Autodesk and others to take note. Keep up the good work... also thank the admin for creating this website. This is why Sketchup will become the most powerful design package in the world... can wait for version 9!


thanks a ton for the encouragement!
0

d_e_x 
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby d_e_x » Tue Dec 13, 2011 5:43 pm

brewsky wrote:
Elibjr wrote:If the slabs were generated as components and not just groups that would be even better ... maybe.

I've been thinking about the same thing, but I think using groups is the best thing here, otherwise the component-selector gets cluttered with sooo many walls and slabs...Maybe the best approach is to after creating the building-parts to combine the slab-group and railing-components as one big component if you need this repetition? d_e_x, what are your thoughts on this?
Cheers,
Jan


jan,

In SketchUpBIM, all elements that CAN be defined and stored with the help of parametric properties ONLY, are categorized as Groups. Generally speaking, these elements are structural engineering primitives like walls, columns, and beams. Other elements that require additional architectural details like fences, door/window casings etc may qualify as components. It becomes very interesting with elements like slabs - in such elements, the architectural world starts to overlap the structural engineering world. I have seen these challenges in my past life :)

We are looking at a very exciting feature that will become a critical addition to the software in a future version. And for this feature, we might have to switch some of our primitives to components. So, I think the choice between Groups and Components are in part determined by their intention of use. In our case, and in this first version, groups were sufficient.
0

d_e_x 
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby d_e_x » Tue Dec 13, 2011 6:17 pm

Bep wrote:Maybe interesting , http://www.ifcwiki.org/index.php/Free_Software
Bep


excellent resource; would come in very handy when we start working on the IFC Import/Export functionality.

Thanks Bep!
0

d_e_x 
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby Jpac » Tue Dec 13, 2011 11:45 pm

By any chance would this effort by the National Renewable Energy Laboratory work with your efforts?
http://openstudio.nrel.gov/
It looks like energy modeling using intelligent SketchUp models. I've not used it, but it looks intriguing.
0
User avatar
Jpac 
Premium Member
Premium Member
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby bigstick » Fri Dec 16, 2011 4:22 pm

OpenStudio does a good job simplifying EnergyPlus for SketchUp users, but its usability was (when I last used it, and I suspect still is) a bit complex and involved compared with what most of us are used to.

I'm sure it will be a must-have tool in due course, but I can't see how it could be practically linked to SketchUpBIM.

In OpenStudio you have to redefine your spaces in SU using new geometry which OpenStudio understands. There are strict rules about relationships between spaces and whether they touch or not. How spaces are created is (or was last time I used it) critical.

It's very very complicated to turn a complex 3d model into a simplified energy model automatically, and even if you do it, there may be so many anomalies and things that need to be corrected, that it will probably be a lot quicker and easier to remodel your spaces from scratch, snapping to existing surfaces.

So quite apart from the complexity of linking with OpenStudio (there's a lot here for the guys to do in making the basic BIM premise work well), I wonder whether there is much point in doing it at all.

Keep on going as you are d_e_x, we're all pumped and rooting for you :)
0
User avatar
bigstick 
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby driven » Fri Dec 16, 2011 5:53 pm

Error Loading File /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchUpBIM
no such file to load -- /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchUpBIM


hi,
something's not quite right, I get this 'on load message' on mac and
if I have SuSolid.rbs active, I get
Error Loading File /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchUpBIM
no such file to load -- /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchUpBIM/susolid


it functions but the Toolbar always opens on start even when I turn it off before closing so it won't.

john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby d_e_x » Sat Dec 17, 2011 2:40 pm

driven wrote:Error Loading File /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchUpBIM
no such file to load -- /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchUpBIM

hi,
something's not quite right, I get this 'on load message' on mac and
if I have SuSolid.rbs active, I get
Error Loading File /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchUpBIM
no such file to load -- /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchUpBIM/susolid


John, SuSolid.rbs is not a SketchUpBIM file. So, this should not reside in the SketchUpBIM folder. Is it possible that you have a few files/plugins mixed up on your computer? We have tested the plugin on Mac, and it works fine without any errors.
The SketchUpBIM.zip file contains the SketchUpBIM sub-folder and the SketchUpBIM.rbs file. You need to copy this sub-folder and the file under the /SketchUp 8/SketchUp/Plugins folder. Hope this helps.

driven wrote:it functions but the Toolbar always opens on start even when I turn it off before closing so it won't.
john

Yes. Thanks John. This is a noted limitation on the Mac. In the next version, we will add some explicit code to fix this.
0

d_e_x 
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby driven » Sat Dec 17, 2011 8:58 pm

d_e_x wrote:John, SuSolid.rbs is not a SketchUpBIM file. So, this should not reside in the SketchUpBIM folder. Is it possible that you have a few files/plugins mixed up on your computer?


The reason I am pointing it out is that I definitely don't have the files or folders "mixed up", it looks more like you have an 'susolid' method in your scrambled file that's at odds with an 'susolid' method in 'SuSolid.rbz' which is also scrambled.

I can't see into either .rbz files, but I only see the generated error from yours.

john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby TIG » Sat Dec 17, 2011 9:43 pm

If 'you' [or others] use __FILE__ in compiled scripts you can get weird results - e.g. if another tool has done the same and loads 'adjacent' to yours.
Your base-level loader in the Plugins folder doesn't need to be compiled [what's confidential about a 'loader' ??] - so it can be a .rb file and successfully use __FILE__ - but avoid any __FILE__ references inside .rbs files ! :geek:
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby d_e_x » Mon Dec 19, 2011 5:07 pm

driven wrote:The reason I am pointing it out is that I definitely don't have the files or folders "mixed up", it looks more like you have an 'susolid' method in your scrambled file that's at odds with an 'susolid' method in 'SuSolid.rbz' which is also scrambled.


TIG wrote:If 'you' [or others] use __FILE__ in compiled scripts you can get weird results - e.g. if another tool has done the same and loads 'adjacent' to yours. Your base-level loader in the Plugins folder doesn't need to be compiled [what's confidential about a 'loader' ??] - so it can be a .rb file and successfully use __FILE__ - but avoid any __FILE__ references inside .rbs files ! :geek:


verified the following:
1. "suSolid" is not used in SketchUpBIM as a method name or otherwise.
2. __FILE__ is not used in the 'loader' script or any other script files. The code uses a lot of "require" statements to reference other files. Is this in any way a cause of concern?

In any case, we plan to test this on a clean Mac with a new installation of SketchUp. In the meantime, if any other Mac users have come across this warning/error, please let me know.

Dex
0

d_e_x 
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby d_e_x » Wed Dec 28, 2011 7:31 am

1500+ Downloads! In less than 3 weeks!!

Thank You all for your support!

SketchUpBIM on YouTube: http://www.youtube.com/user/SketchUpBIM

SketchUpBIM on RubyLibraryDepot: http://modelisation.nancy.archi.fr/rld/ ... php?id=934
0

d_e_x 
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby andras2 » Wed Dec 28, 2011 2:55 pm

Hi. This tool is very welcome. However, unfortunately BIM is not only 3D modeling. What about switching btw. 2D/3D view? Wall components, profiles, hatching, schedules all that takes something Building Information Modeller. Architects who use BIM also create the 3D and 2D documentation at the same time like in case of Archicad or Revit or a very cheap and very good Ashampoo 3D Architect or visualbuilding.co.uk something Arcon style. I hope you are taking in consideration these things as well otherwise it is just Building Modelling without Information. This initiate is very good I hope you develop an affordable and useful BIM product in the near future. Good luck.
0

andras2 
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby d_e_x » Mon Jan 02, 2012 7:51 am

andras2 wrote:Hi. This tool is very welcome. However, unfortunately BIM is not only 3D modeling. What about switching btw. 2D/3D view?

Hi Andras, the current version allows the users to seamlessly switch b/w 2D and 3D views. The tool uses Layers in SketchUp to switch b/w plan and 3D views. Addition of elevation views is also on the product roadmap.

andras2 wrote:Wall components, profiles, hatching, schedules all that takes something Building Information Modeller. Architects who use BIM also create the 3D and 2D documentation at the same time like in case of Archicad or Revit or a very cheap and very good Ashampoo 3D Architect or visualbuilding.co.uk something Arcon style. I hope you are taking in consideration these things as well otherwise it is just Building Modelling without Information.

Documentation is a very important component of BIM. There are several ideas floating in our team - one of them is to use Layout and enhance its functionality to a higher level for engineering documentation. Layout API is not available today; however it might be possible that Google may expose it at some point. Otherwise, we'll have to look for some other free/cheap option.

andras2 wrote:This initiate is very good I hope you develop an affordable and useful BIM product in the near future. Good luck.
0

d_e_x 
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby TIG » Mon Jan 02, 2012 1:26 pm

On the issue of documentation I have recently been working with someone on a similar project for O&Ms, and it was finally decided to use an MHT format file.
You can write one in Word and it's like a zip file containing all of the usual html stuff.
You can add text, tables, images, sets of Layout pages [as images] etc...
You can index/bookmark-link it within itself, or to external files kept within its own subfolder, even open files/apps on the host PC, OR go out onto the www - so linking to manufacturer's sites for specs etc is very easy...
You can link images as bookmarks... and with a little effort you can split images into separately linked areas, so that clicking on a particular part of an image goes to a specific link etc [click the door and the door-guy's site opens, click the window etc]...
You can even add javascript bits [but that needs a manual edit of the HTML code!]

An MHT file opens in your current Browser like IE [needs a plugin for FF etc].
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] SketchUpBIM: Building Modeling made easy!

Postby d_e_x » Tue Jan 10, 2012 12:57 pm

TIG wrote:On the issue of documentation I have recently been working with someone on a similar project for O&Ms, and it was finally decided to use an MHT format file.
You can write one in Word and it's like a zip file containing all of the usual html stuff.
You can add text, tables, images, sets of Layout pages [as images] etc...
You can index/bookmark-link it within itself, or to external files kept within its own subfolder, even open files/apps on the host PC, OR go out onto the www - so linking to manufacturer's sites for specs etc is very easy...
You can link images as bookmarks... and with a little effort you can split images into separately linked areas, so that clicking on a particular part of an image goes to a specific link etc [click the door and the door-guy's site opens, click the window etc]...
You can even add javascript bits [but that needs a manual edit of the HTML code!]

An MHT file opens in your current Browser like IE [needs a plugin for FF etc].


Thanks TIG.

There are 2 types of documentation in BIM - (a) drawing - 2D, 3D views, isometric views, elevations, section views, etc.: which ideally should be automatically created at the click of a button if you already have a 3D model. These documents have standard formats (view of the model, related annotations, bill of materials, info box etc.). For such documents, Layout or a third party 3D tool will be useful as they are primarily related to the 3D drawing itself. (b) the more text based documentation with diagrams etc (something like most CAD softwares produce). These documents give information on joints, materials, beams, columns, floors etc. For this purpose, mht, as you suggested will be a good choice. Will keep in mind!

- Dex
0

d_e_x 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: dvcl, Google Bot and 10 guests

Visit our sponsors: