sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] bim-tools 0.13.4(june 22, 2015)

    Scheduled Pinned Locked Moved Plugins
    206 Posts 37 Posters 218.9k Views 37 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • brewskyB Offline
      brewsky
      last edited by

      @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!

      Sketchup BIM-Tools - http://sketchucation.com/forums/viewtopic.php?p=299107

      1 Reply Last reply Reply Quote 0
      • J Offline
        johnnygitarr
        last edited by

        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.2

        anyone a solution for this problem?

        greetings

        tobi


        Bildschirmfoto 2011-12-02 um 16.30.04.png

        1 Reply Last reply Reply Quote 0
        • D Offline
          driven
          last edited by

          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

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

          1 Reply Last reply Reply Quote 0
          • bigstickB Offline
            bigstick
            last edited by

            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!

            1 Reply Last reply Reply Quote 0
            • fionmacoolF Offline
              fionmacool
              last edited by

              Wow! BIM in Sketchup.... I have to try this! Merci.
              😎

              Zere are still some architectes zat do not know ow to use ze SketchUp..... Zis is unbelievable....

              1 Reply Last reply Reply Quote 0
              • pbacotP Offline
                pbacot
                last edited by

                @fionmacool said:

                Wow! BIM in Sketchup.... I have to try this! Merci.
                😎

                "...in ZEE sketch-UP"

                MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                1 Reply Last reply Reply Quote 0
                • D Offline
                  d_e_x
                  last edited by

                  @brewsky said:

                  @dan rathbun said:

                  they were working on an exporter at one time... it never was released as far as I can tell.
                  http://ifc2skpforum.websitetoolbox.com/post?id=2515651

                  An exporter won't be as simple as an importer I guess. Somehow you need to add "building properties" to the "empty" SketchUp geometry.
                  That's exactly what I want to do, not try to re-build revit/archicad in sketchup, but create simple building elements that can be translated/labeled to meaningful objects, which could be re-used(via IFC) in CAD systems.

                  • faces can be given thickness and labeled "wall", "floor" or "roof"
                  • edges can be used as paths for profiles(like my current plugin) and labeled "wall", "floor" or "beam"

                  OMG! great minds think alike πŸ˜„

                  I have been working on the same exact thing for the past few months! I call it SketchUpBIM. Finally, found some courage yesterday to post it on sketchucation. It provides simple tools to create building elements like walls, floors, slabs etc. in SketchUp. Hopefully soon.. these will go out as IFC; and hopefully u can help me with this πŸ˜‰

                  check it out: http://forums.sketchucation.com/viewtopic.php?f=323&t=41840. It might come in handy at your work. other BIM experts, please also feel free to comment!

                  Dex

                  1 Reply Last reply Reply Quote 0
                  • brewskyB Offline
                    brewsky
                    last edited by

                    Hi Tobi,

                    I'm sorry, I didn't see your post until now. I'm reading all over the forum, and missing this 😳 . Somehow I got unsubscribed from the thread...

                    I will look into the problem, as John says, it probably has to do with the backslashes.

                    Does anyone have tips on how to best implement the (back)slashes in file-paths cross-platform?
                    I've tried a few different things, but don't now what's best...

                    Cheers,
                    Jan

                    Sketchup BIM-Tools - http://sketchucation.com/forums/viewtopic.php?p=299107

                    1 Reply Last reply Reply Quote 0
                    • brewskyB Offline
                      brewsky
                      last edited by

                      @didier bur said:

                      Hi,
                      Just a side note: to install, create a folder "bimtools" in the Plugins folder, and put the html file in it.

                      Hi Didier! Thanks for the explanation. I forgot to mention how to install and use it.

                      Here some additional info:

                      • The plugin creates a "BIM Tools" option in the plugins menu.
                      • When you select this, a webdialog appears with options(wall-width and wall-height).
                      • Select some edges(they must be horizontal) and click the button in the dialog, it will generate a wall section on every edge with the given width and height.

                      It nicely fixes the corners of all connecting edges, except for walls with different widths/heights and for very short edges.
                      intersecting-walls.jpg
                      I was browsing the forum today and noticed that Thomthom's street generator uses a similar principle. the biggest difference seems to be that my walls are separate objects and the streets are nicely glued together(and have a lot more options).

                      Sketchup BIM-Tools - http://sketchucation.com/forums/viewtopic.php?p=299107

                      1 Reply Last reply Reply Quote 0
                      • brewskyB Offline
                        brewsky
                        last edited by

                        Hi Toby!

                        I just posted a new version(0.9.2), I hope it runs on mac! (sorry can't test it myself).

                        I removed all backslashes from filepaths as John sugested.

                        Cheers!
                        Jan

                        Sketchup BIM-Tools - http://sketchucation.com/forums/viewtopic.php?p=299107

                        1 Reply Last reply Reply Quote 0
                        • Dan RathbunD Offline
                          Dan Rathbun
                          last edited by

                          @brewsky said:

                          Does anyone have tips on how to best implement the (back)slashes in file-paths cross-platform?

                          somepath = %q[a/path\to/some\sub\directory] somepath = File.expand_path(somepath)

                          I'm not here much anymore.

                          1 Reply Last reply Reply Quote 0
                          • fionmacoolF Offline
                            fionmacool
                            last edited by

                            Sorry, I can't get this to work on Mac.... bummer.

                            I had to edit the objectlibrary.rb file to insert "/btobjects.rb" instead of "\btobjects.rb", and this allowed the plugin to load without an error. However, all I got was a dialogue that didn't seem to work. Did I miss anything? Check out the image below.

                            https://lh3.googleusercontent.com/-lFsCqo1K1aQ/T0OazTGGB0I/AAAAAAAAAbk/vWtbEVPI894/s800/Screen%2520shot%25202012-02-21%2520at%252013.02.35.png

                            Zere are still some architectes zat do not know ow to use ze SketchUp..... Zis is unbelievable....

                            1 Reply Last reply Reply Quote 0
                            • thomthomT Offline
                              thomthom
                              last edited by

                              @fionmacool said:

                              I had to edit the objectlibrary.rb file to insert "/btobjects.rb" instead of "\btobjects.rb", and this allowed the plugin to load

                              All paths in Ruby should use forward slashes - this to ensure cross platform functionality.

                              Thomas Thomassen β€” SketchUp Monkey & Coding addict
                              List of my plugins and link to the CookieWare fund

                              1 Reply Last reply Reply Quote 0
                              • brewskyB Offline
                                brewsky
                                last edited by

                                @fionmacool said:

                                However, all I got was a dialogue that didn't seem to work. Did I miss anything? Check out the image below.

                                Too bad I can't test it myself, the dialog is a webdialog, only tested on internet explorer.
                                I can however download safari for PC to test the javascript/html, I'll look into that.

                                During the past months I have re-written my bim-tools plugin from scratch, I think the new concept is a very solid foundation for expanding it into a great BIM-modeller in the SketchUp way of modelling.(I also simplified the dialog, hope it works on mac out of the box...)

                                The latest code is on google-code: http://code.google.com/p/bim-tools/

                                I'm currently hunting for bugs, brave people can give it a try πŸ˜‰ , preview added to the post.

                                At this moment there is a toolbar with 3 buttons:

                                • The first opens the webdialog with options for BIM elements.
                                • the second cobnverts selected faces into "BIM objects"
                                • the third, switches the display between the original "source faces," and generated "BIM" geometry.
                                  The contents of the webdialog adapts to the selected BIM elements(will go wrong once in a while). BIM elements will transform with the source faces...

                                It is still very easy to screw up the model, for example:

                                • scaling faces
                                • "Splitting" of faces
                                • simultaneously change "name" or "description" for several elements at once.
                                • each edge can only have two faces
                                • also connecting faces on the same plane still give an error message.

                                The project is getting much fun!!! πŸ˜„


                                Preview, not ready for real use!

                                Sketchup BIM-Tools - http://sketchucation.com/forums/viewtopic.php?p=299107

                                1 Reply Last reply Reply Quote 0
                                • thomthomT Offline
                                  thomthom
                                  last edited by

                                  @brewsky said:

                                  Too bad I can't test it myself, the dialog is a webdialog, only tested on internet explorer.
                                  I can however download safari for PC to test the javascript/html, I'll look into that.

                                  I had a quick look at the code - see it uses .set_html - which is bugged under OSX after Safari 5.0.6 update.
                                  Made inline-comment in the Google repository for file: bt_dialog.rb

                                  also made a couple of other notes.

                                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                  List of my plugins and link to the CookieWare fund

                                  1 Reply Last reply Reply Quote 0
                                  • brewskyB Offline
                                    brewsky
                                    last edited by

                                    @thomthom said:

                                    I had a quick look at the code - see it uses .set_html - which is bugged under OSX after Safari 5.0.6 update.

                                    Too bad .set_html is bugged, I rather liked this method for updating my webdialog. Do you have any suggestions on how to replace it? The only thing I can think of is a whole lot of javascript...

                                    @thomthom said:

                                    Made inline-comment in the Google repository for file: bt_dialog.rb
                                    also made a couple of other notes.

                                    Thanks for looking into it, unfortunately I can't seem to find your comments in the google-code project. πŸ˜• I don't have any experience yet with the code review functionality. Can you point me in the right direction? Any comments are most welcome!

                                    Sketchup BIM-Tools - http://sketchucation.com/forums/viewtopic.php?p=299107

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      driven
                                      last edited by

                                      @brewsky said:

                                      Too bad .set_html is bugged, I rather liked this method for updating my webdialog. Do you have any suggestions on how to replace it? The only thing I can think of is a whole lot of javascript...

                                      I got half of your script working with a little aditional ruby to write a temp file and then use .set_file on mac.
                                      I just realised it was with the oldest version, so if I try again with the latest it may all work...
                                      L'll let you know.
                                      john

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

                                      1 Reply Last reply Reply Quote 0
                                      • brewskyB Offline
                                        brewsky
                                        last edited by

                                        @driven said:

                                        I got half of your script working with a little aditional ruby to write a temp file and then use .set_file on mac.

                                        Ha! good idea! a bit of a dirty hack, but sounds like a great solution while waiting for the sketchup team to fix the direct set_html method!

                                        Thanks! when it works I'll gladly use it!
                                        Cheers! Jan

                                        Sketchup BIM-Tools - http://sketchucation.com/forums/viewtopic.php?p=299107

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          driven
                                          last edited by

                                          @brewsky said:

                                          waiting for the sketchup team to fix the direct set_html method!

                                          Well, I wouldn't hold my breath for that, because it's not actually broken... It's a security feature of webkit.

                                          The server [in our case SU] creates the WebDialog headless when you use set_html.

                                          By default WebKit blocks local file access, if there is no record of the 'user' is making or agreeing to the request.

                                          When you use set_file the source is coming from a 'user/local' so WebKit allows that domain access to it's own resources.

                                          If it's only the button images then encoding base64 is dead easy on mac.

                                          Just downloaded the latest and there are path issues... john

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

                                          1 Reply Last reply Reply Quote 0
                                          • thomthomT Offline
                                            thomthom
                                            last edited by

                                            Here is my workaround for the .set_html issue:
                                            http://forums.sketchucation.com/viewtopic.php?f=180&t=39842&p=352375#p352375

                                            The discussion it came from is here: http://forums.sketchucation.com/viewtopic.php?f=180&t=39842#p351886

                                            Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                            List of my plugins and link to the CookieWare fund

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 10
                                            • 11
                                            • 3 / 11
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement