• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] SketchUpBIM: Building Modeling made easy!

Scheduled Pinned Locked Moved Plugins
128 Posts 37 Posters 84.7k 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.
  • I Offline
    Ineshtine
    last edited by 15 Jun 2012, 16:06

    @d_e_x said:

    LightUp / SketchUpBIM conflict has been reported by some other users as well. We will investigate this issue, and get in touch with the LightUp team to fix this issue. Apologies for the inconvenience. We'll have this fixed in the upcoming release.

    Dex

    The problem is usually with your global variables. If you use $pluginDir = "c:/BIM" and another plugin uses $pluginDir = "c:/Other" then the last one who load will change the variable $pluginDir in all loaded plugins. So make sure you name your global variables accordingly. For example, use $bim_pluginDir instead of $pluginDir

    What? you haven't tried Raylectron yet?

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 15 Jun 2012, 16:13

      @ineshtine said:

      The problem is usually with your global variables. If you use $pluginDir = "c:/BIM" and another plugin uses $pluginDir = "c:/Other" then the last one who load will change the variable $pluginDir in all loaded plugins. So make sure you name your global variables accordingly. For example, use $bim_pluginDir instead of $pluginDir

      No - the best thing is to not use global variables! Ever! Play nice with the environment your plugin live in and wrap everything in your own unique namespace module. No global variables and no global methods or constants that gets added to the Object class and inherited throughout every other class.
      I wrote down some guidelines for avoiding clashes with other plugins etc: http://www.thomthom.net/thoughts/2012/01/golden-rules-of-sketchup-plugin-development/

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

      1 Reply Last reply Reply Quote 0
      • I Offline
        Ineshtine
        last edited by 15 Jun 2012, 17:46

        @thomthom said:

        No - the best thing is to not use global variables! Ever! Play nice with the environment your plugin live in and wrap everything in your own unique namespace module. No global variables and no global methods or constants that gets added to the Object class and inherited throughout every other class.
        I wrote down some guidelines for avoiding clashes with other plugins etc: http://www.thomthom.net/thoughts/2012/01/golden-rules-of-sketchup-plugin-development/

        TT, I was pointing out the possible problem and a simple fix using search/replace rather then changing the whole code!

        What? you haven't tried Raylectron yet?

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 20 Aug 2012, 08:28

          It appear that this plugin doesn't work that well when installed to a location to anything other than the Plugins folder. Toolbar icons, webdialogs.

          Usually when I see this behaviour it's because the plugin uses Sketchup.find_support_file to build the paths to the resources. A better practice is to build the path relative to the file itself, using __FILE__. I see all the files are rbs files - where __FILE__ will not work. But You can instead create an unscrambled loader which stores the path it's installed to for later use by the scrambled files. That way users can install the plugin to any location.

          The reason people install to other locations is that they want to share plugins between SketchUp versions or computer. It's become popular to install plugins to a shared Dropbox folder. That's why it's a good thing to write plugins that work from any location.

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

          1 Reply Last reply Reply Quote 0
          • P Offline
            Phil Rader AIA
            last edited by 20 Aug 2012, 17:26

            I notice an odd behavior when I have SketchupBIM installed.

            IF I activate layer 0 in the layers dialog all layers are turned on, The camera view is changed to Isometric, and The camera is zoomed to extents:

            see this video:

            404 Not Found

            favicon

            (www.nvizeon.com)

            This behavior only happens when SketchupBIM is installed.

            Is this a know bug or is this a "feature" built-into the plugin?

            http://www.philrader.com

            1 Reply Last reply Reply Quote 0
            • P Offline
              Phil Rader AIA
              last edited by 25 Aug 2012, 02:28

              I have disabled this plugin as it is too invasive of the user interface. It forced a zoom extents and isometric view and all layers on when a file is opened instead of opening the file to the last saved view.

              I'll try it out again though as it definitely has potential to be very useful.

              http://www.philrader.com

              1 Reply Last reply Reply Quote 0
              • R Offline
                RICALBUR
                last edited by 25 Aug 2012, 15:06

                Thank you, I will try it

                1 Reply Last reply Reply Quote 0
                • E Offline
                  Edson
                  last edited by 8 Sept 2012, 17:40

                  I am not sure the points I am about to make have not been made before. in that case, I apologize for the repetition. here they go.

                  1. one of the first lessons one learns about good modeling practices is: keep layer 0 the active layer ALWAYS. SketchupBIM puts not only all entities modeled on a given elevation on a specific named layer – which is good – but also puts all the geometry (edges and faces) in that layer.
                  2. all the elements created are solid groups – again initially a good thing – but if one needs to create 20 columns SketchupBIM creates 20 groups whereas any good modeling practice would indicate those columns were components, for obvious reasons.
                  3. the tool forces one to model everything from a center line alignment. I, for one, would welcome the possibility of choosing the alignment that suits me best.
                  4. wall segments always overlap. an autoclean feature would be very nice.
                  5. why can't a new segment wall start from a corner or from the surface of a wall? they tend to all grab the center line of the wall.
                  6. pardon me, but the standard way to view the model is awful. one of the great things about designing in 3D is to be able to simulate what the object will be like when viewed in real life. what is the point in viewing the model in a distorted way in which what is far away looks bigger than what is close to you? I really do not care for the fact that it replicates some engineering apps. who is this tool meant for? the developers should be clear about that.

                  all in all, a promising tool but still needs to have more built-in flexibility. as it is it tends to force one to work in a specific way and not a better one.

                  edson mahfuz, architect| porto alegre β€’ brasil
                  http://www.mahfuz.arq.br

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    d_e_x
                    last edited by 11 Sept 2012, 10:16

                    @unknownuser said:

                    IF I activate layer 0 in the layers dialog all layers are turned on, The camera view is changed to Isometric, and The camera is zoomed to extents: see this video: http://www.nvizeon.com/su/ZOOM_ISSUE.mp4
                    Is this a know bug or is this a "feature" built-into the plugin?

                    @unknownuser said:

                    It forced a zoom extents and isometric view and all layers on when a file is opened instead of opening the file to the last saved view. I'll try it out again though as it definitely has potential to be very useful.

                    Hi Phil,

                    Thank you for your feedback. We will make the following changes to the upcoming version of SketchUpBIM:

                    1. Prevent "Zoom Extents" when a file is re-opened. The new version will retain the original camera position.
                    2. When "Layer0" is clicked, the automatic display shall apply to only those layers with SketchUpBIM elements. The other layers shall retain their default display toggle.

                    Dex

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      Phil Rader AIA
                      last edited by 12 Sept 2012, 03:51

                      @d_e_x said:

                      @unknownuser said:

                      IF I activate layer 0 in the layers dialog all layers are turned on, The camera view is changed to Isometric, and The camera is zoomed to extents: see this video: http://www.nvizeon.com/su/ZOOM_ISSUE.mp4
                      Is this a know bug or is this a "feature" built-into the plugin?

                      @unknownuser said:

                      It forced a zoom extents and isometric view and all layers on when a file is opened instead of opening the file to the last saved view. I'll try it out again though as it definitely has potential to be very useful.

                      Hi Phil,

                      Thank you for your feedback. We will make the following changes to the upcoming version of SketchUpBIM:

                      1. Prevent "Zoom Extents" when a file is re-opened. The new version will retain the original camera position.
                      2. When "Layer0" is clicked, the automatic display shall apply to only those layers with SketchUpBIM elements. The other layers shall retain their default display toggle.

                      Dex

                      1.Good Plan...I don't like "plugins" or other software that "makes" decisions for me without my permission.
                      2.Why would you alter the behavior of the standard SketchUp layers dialog...IE: if your plugin is installed or NOT when I click on layer 0 in the standard SketchUP dialog window the behavior should be the same. If you want a user to implement your tools create your own layer dialog or create a new layer called SUBIM that when clicked gives you the desired effects from your plugin. I do not expect anything to change when I activate layer 0...nada...nothing except that layer 0 becomes the active layer, unless layer 0 is turned off in which case all objects on layer 0 will now be visible...if clicking the activate radio button on layer 0 in your new version will change the "standard" out of the box SU behavior than I would still consider that invasive and not a desired result. Just my opinion.

                      http://www.philrader.com

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        thomthom
                        last edited by 12 Sept 2012, 07:21

                        I agree with Phil. I don't like it when a plugin takes over and changes the SketchUp environment.

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

                        1 Reply Last reply Reply Quote 0
                        • PixeroP Offline
                          Pixero
                          last edited by 12 Sept 2012, 11:04

                          I agree. Thats why I've uninstalled it.
                          There should at least be settings so that the user can choose IF he wants the plugin to do such things.

                          1 Reply Last reply Reply Quote 0
                          • AdamBA Offline
                            AdamB
                            last edited by 30 Oct 2014, 05:27

                            You're correct Phil. I looked at this plugin and if Layer 0 is changed it throws away your current camera view and forces a hard wired direction using a parallel projection view! πŸ˜’

                            I know this is an old thread but just for the record, they never contacted LightUp about their plugin problems.

                            Adam

                            Developer of LightUp Click for website

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

                            Advertisement