sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Lamella Roofs

    Scheduled Pinned Locked Moved Plugins
    63 Posts 25 Posters 47.9k Views 25 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.
    • flyer50F Offline
      flyer50
      last edited by

      Sorry to distrube again

      for two days the plugin was working
      but now it stops again and in ruby console I can see

      ....
      Compound mitre saw cuts (Option A)
      Horizontal angle 39.68
      Vertical angle 93.62

      Compound mitre saw cuts (Option B)
      Horizontal angle 5.65
      Vertical angle 39.82
      Error: #<NoMethodError: undefined method make_unique' for nil:NilClass> D:/Program Files/sketchup/Plugins/lamella_roof.rb:289:in lamella_roof'
      D:/Program Files/sketchup/Plugins/lamella_roof.rb:1038

      Pls. how can I solve this problem?

      Flyer

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        Have you recently installed or enabled a new app, like Sketchy Physics or a nascent BIM tool ?
        It looks like the code is first copying a group and then using make_unique on it.
        The API's group.copy returns the new group, so that can then be used with the method .make_unique, BUT some tools [like SP] mess with some native methods and return nil rather than the new group, so things fail...
        Try uninstalling the recent/problem tools and retest...

        TIG

        1 Reply Last reply Reply Quote 0
        • flyer50F Offline
          flyer50
          last edited by

          @tig said:

          Have you recently installed or enabled a new app, like Sketchy Physics or a nascent BIM tool ?

          Yes unfortunately.
          I removed bim-tools.rb program and in ruby console I have the following text, but the program can complete the cycle... and I can see the model
          ......
          ...

          Compound mitre saw cuts (Option A)
          Horizontal angle 39.68
          Vertical angle 93.62

          Compound mitre saw cuts (Option B)
          Horizontal angle 5.65
          Vertical angle 39.82
          WARNING: make_unique is a deprecated methodof Sketchup:Group
          WARNING: make_unique is a deprecated methodof Sketchup:Group
          WARNING: make_unique is a deprecated methodof Sketchup:Group

          (x,y) coordinates of vertices on the face of the lamella
          -568.80, 142.75
          -554.67, 0.00
          ....
          ..

          grazie
          Flyer

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            Some of these half-baked BIM tools add observers and/or mess with some of the native API methods.
            In the Lamella tool's code there is probably a cp=group.copy...cp.make_unique code-combo which is being messed up by this [unfairly!]. the group.copy should return a reference to the new group, if the method is messed up it can return 'nil', then the cp.make_unique fails, as will any further operations using 'cp' as the new group's reference, which now isn't the expected 'Group' object but a 'Nil' object ! ...

            The Console output about 'mitering' is the tool's output to report what it's doing.
            The 'warning' about 'deprecated-method' is a known error from the API - sometimes groups copied via the API MUST be 'made unique' - otherwise changing one changes the others[s] - just like component-instance editing does. So the warning is 'spurious'...

            There now seems nothing of concern there.

            TIG

            1 Reply Last reply Reply Quote 0
            • flyer50F Offline
              flyer50
              last edited by

              Thanks for your welcome help

              ciao e grazie

              flyer

              1 Reply Last reply Reply Quote 0
              • R Offline
                rv1974
                last edited by

                It produces very nice geometry ๐Ÿ‘
                I wish this tool could generate LR based on given surface.

                1 Reply Last reply Reply Quote 0
                • Q Offline
                  qn
                  last edited by

                  Excellent...

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

                    Some help please?
                    Error after running ruby?

                    lamella_roof
                    Error: #<NameError: undefined local variable or method `lamella_roof' for main:Object>
                    (eval)

                    Sounds simple to solve but how?

                    1 Reply Last reply Reply Quote 0
                    • Dave RD Offline
                      Dave R
                      last edited by

                      Check under Security for permission. Are full permissions granted for all users?

                      Do you have SketchyPhysics installed? If you look back through the thread you'll see that others found sketchyPhysics caused problems with this plugin.

                      Etaoin Shrdlu

                      %

                      (THERE'S NO PLACE LIKE)

                      G28 X0.0 Y0.0 Z0.0

                      M30

                      %

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

                        The plugin Lamella_roof is not working at all under the new Sketchup pro 2013.
                        Sketchup itselve stops completely.
                        I had no problems with Sketchup 8!
                        Has anyone else the same experiance when upgrading to version 2013?

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

                          @johnminister said:

                          Some help please?
                          Error after running ruby?

                          lamella_roof
                          Error: #<NameError: undefined local variable or method `lamella_roof' for main:Object>
                          (eval)

                          Sounds simple to solve but how?

                          Thanks Dave, I install sketchpro 8 back and it is working.
                          Has someone used it win Sketchpro 2013? It's not working?

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

                            @dave r said:

                            Check under Security for permission. Are full permissions granted for all users?

                            Do you have SketchyPhysics installed? If you look back through the thread you'll see that others found sketchyPhysics caused problems with this plugin.

                            Still not working in a clean 2013, it is in sketchpro 8?
                            Got a complete hangup with a error report back and had to start sketchup again.

                            1 Reply Last reply Reply Quote 0
                            • Dave RD Offline
                              Dave R
                              last edited by

                              I just tested it on my Mac with SU2013 and it works fine. You didn't answer my question about having SketchyPhysics.

                              Etaoin Shrdlu

                              %

                              (THERE'S NO PLACE LIKE)

                              G28 X0.0 Y0.0 Z0.0

                              M30

                              %

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

                                @dave r said:

                                I just tested it on my Mac with SU2013 and it works fine. You didn't answer my question about having SketchyPhysics.

                                Dave,
                                As I wrote I had a clean install which is not holding any plugins except the roof one.
                                It was working in windows sketchup 8 and not in 2013.
                                After excuting the roof plugin sketchup was more sketchdown.
                                I was asked to send a error file thats it.

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

                                  @dave r said:

                                  Check under Security for permission. Are full permissions granted for all users?

                                  Do you have SketchyPhysics installed? If you look back through the thread you'll see that others found sketchyPhysics caused problems with this plugin.

                                  @dave r said:

                                  I just tested it on my Mac with SU2013 and it works fine. You didn't answer my question about having SketchyPhysics.

                                  Dave Thank for your help after disabling V-Ray rendering plugin the roof plug works fine.
                                  The Lamella plugin works great it's a pitty the hidden sample beam is not compleet with all uniek parts and Isolated from the rest.
                                  The workflow after opening the rubyconsole is not CNC conform. But overall it great tools for building one!
                                  Thank to Tim Warner.

                                  1 Reply Last reply Reply Quote 0
                                  • TIGT Offline
                                    TIG Moderator
                                    last edited by

                                    There are several 'rogue' plugins that interfere with legit plugins - often during some 'group' operations and/or 'entities' observers - this can cause the legit plugin to stall/fail or in the worse case result in the rogue bugsplatting...
                                    These are listed in a 'quarantine' list...
                                    In addition...
                                    SketchyPhysics
                                    Some versions of the recent Vray beta [I think the later versions are OK, so getting that installed might stop the 'clash' ?]
                                    Older versions of Podium?
                                    Some of the newer BIM tools which install overly aggressive observers.

                                    To test for these problem plugin[s] use the SketchUcation Plugins Manager to disable suspected files, and restart SketchUp so they no longer load. This way you can quickly find the problem[s] and leave them disabled...
                                    Then when you need to use a problem tool load it temporarily [orange button], when SketchUp restarts again that tool is again disabled.
                                    ๐Ÿค“

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • F Offline
                                      Fred01
                                      last edited by

                                      Dear Tim,
                                      Im an old fart just looking for old school equations for lamella roof construction, ie formulae for timber member outer radius , length ,end bevel angles etc given a roof width and height, cant find anything under Zollinger or Junkers.
                                      Regards,
                                      Fred

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

                                      Advertisement