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

    [Plugin] Deck Builder (Updated 23-Jun-2015)

    Scheduled Pinned Locked Moved Plugins
    56 Posts 19 Posters 50.5k Views 19 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.
    • pilouP Offline
      pilou
      last edited by

      it's not me that can answer to these questions! ๐Ÿ˜ณ

      sea.jpg

      Frenchy Pilou
      Is beautiful that please without concept!
      My Little site :)

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

        You might be falling foul of the v2017 changes to how references and id's work.
        I'm currently rewriting my ExtrudeTools because of it.

        Previously [<=v2016] you could get an array of the entities within a container [say ents=group.entities.to_a] and then when you used group.explode those references saved in 'ents' would still be valid in their new context [although you might need to trap for merged entities etc], but then their id's were 'transitory' between sessions.

        But in v2017 now those saved references are found to be 'invalid' after the group.explosion, this is because during the explosion those entities are now deleted and replicated in their new context, but now using their same enduring id's across sessions.
        The references now return as deleted entities 'invalid' !
        This can be sidestepped by recoding, with say ents=group.explode - which gives 'ents' as an array of what results from the explosion.

        TIG

        1 Reply Last reply Reply Quote 0
        • pilouP Offline
          pilou
          last edited by

          An hard work additionnal for the coders if that must be made for each script! ๐Ÿ˜ฎ

          Frenchy Pilou
          Is beautiful that please without concept!
          My Little site :)

          1 Reply Last reply Reply Quote 0
          • sdmitchS Offline
            sdmitch
            last edited by

            @pilou said:

            An hard work additionnal for the coders if that must be made for each script! ๐Ÿ˜ฎ

            I don't have SU2017 and may never but, if you would open the Ruby Console, run the plugin and post the errors reported, maybe I can fix the problem.

            Nothing is worthless, it can always be used as a bad example.

            http://sdmitch.blogspot.com/

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

              sdmitch - here's the error:

              
              Error; #<NoMethodError; undefined method `definition' for nil;NilClass>
              C;/Users/Jim/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/Deck Builder.rb;531;in `add_railing'
              C;/Users/Jim/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/Deck Builder.rb;225;in `onLButtonDown'
              
              

              Hi

              1 Reply Last reply Reply Quote 0
              • sdmitchS Offline
                sdmitch
                last edited by

                @tig said:

                You might be falling foul of the v2017 changes to how references and id's work.
                I'm currently rewriting my ExtrudeTools because of it.

                Previously [<=v2016] you could get an array of the entities within a container [say ents=group.entities.to_a] and then when you used group.explode those references saved in 'ents' would still be valid in their new context [although you might need to trap for merged entities etc], but then their id's were 'transitory' between sessions.

                But in v2017 now those saved references are found to be 'invalid' after the group.explosion, this is because during the explosion those entities are now deleted and replicated in their new context, but now using their same enduring id's across sessions.
                The references now return as deleted entities 'invalid' !
                This can be sidestepped by recoding, with say ents=group.explode - which gives 'ents' as an array of what results from the explosion.

                So this is what we have to look forward to with each new release!!!!

                Updated .rbz's at Plugin Store and my blog.

                Nothing is worthless, it can always be used as a bad example.

                http://sdmitch.blogspot.com/

                1 Reply Last reply Reply Quote 0
                • pilouP Offline
                  pilou
                  last edited by

                  Seems perfect! ๐Ÿ˜Ž
                  Sans titre - 17.jpg

                  Frenchy Pilou
                  Is beautiful that please without concept!
                  My Little site :)

                  1 Reply Last reply Reply Quote 0
                  • sdmitchS Offline
                    sdmitch
                    last edited by

                    Love your "basic" designs. You should use your imagination more. NOT!!!!

                    Nothing is worthless, it can always be used as a bad example.

                    http://sdmitch.blogspot.com/

                    1 Reply Last reply Reply Quote 0
                    • pilouP Offline
                      pilou
                      last edited by

                      Alas life is to short! Now no time to pass more 5 minutes for something! ๐Ÿ˜‰

                      Frenchy Pilou
                      Is beautiful that please without concept!
                      My Little site :)

                      1 Reply Last reply Reply Quote 0
                      • pilouP Offline
                        pilou
                        last edited by

                        Your new version is excellent and very elegant! ๐Ÿ‘
                        And surprise Spindles are components! ๐Ÿ˜Ž
                        So mad replacement or modifications are now easily possible! ๐Ÿ‘

                        (trick: explode circle or polygon if they are "alone")

                        Deckv6.jpg

                        Frenchy Pilou
                        Is beautiful that please without concept!
                        My Little site :)

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

                        Advertisement