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

    [Plugin] Simple Loft alpha 0.1b -- UPDATED May-15-09

    Scheduled Pinned Locked Moved Plugins
    251 Posts 88 Posters 148.7k Views 88 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.
    • Chris FullmerC Offline
      Chris Fullmer
      last edited by

      @TIG - Really??? That's cool. I need to explore that. I don't feel like I understand entities. vs. active_entities very well yet. I might have another version ready for release today and I'll include that in it. Thanks!

      @Coldsteel - Sepo was right, that is the plugin crashing because you didn't have the same amount of segments on the top and bottom splines. When you reverted to the older version, your splines all have the same amount of segments so it is working. But the new version will work also with those same splines.

      Great feedback everyone! Thanks so much.

      Chris

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 Reply Last reply Reply Quote 0
      • C Offline
        coldsteel
        last edited by

        obviously two lines have different number of segments
        but it can work under the earlier version
        that's funy 🎉


        QQ截图未命名.png

        1 Reply Last reply Reply Quote 0
        • C Offline
          coldsteel
          last edited by

          So that explains it
          哈哈

          1 Reply Last reply Reply Quote 0
          • Chris FullmerC Offline
            Chris Fullmer
            last edited by

            Ahh, that picture is more clear.

            In the 2nd version I'm quickly adding and deleteing construction points, and the way I had implemented it crashed the plugin in the middle of making construction points if the segments did not match.

            I already had to fix it in the version I'm working on because I'm trying to make it work VERY smoothly with any number of segments. I have high(poly) hopes for the next version.

            Chris

            Lately you've been tan, suspicious for the winter.
            All my Plugins I've written

            1 Reply Last reply Reply Quote 0
            • C Offline
              coldsteel
              last edited by

              I really appreciate you 👍

              1 Reply Last reply Reply Quote 0
              • S Offline
                sepo
                last edited by

                Hmmm... I am having a problem. It worked no problem but now just stopped. It is giving me error
                Error: #<NoMethodError: undefined method start' for #<Sketchup::Face:0x72aa908>> C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:234:in order_points'
                C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233:in each' C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233:in order_points'
                C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:65:in `onLButtonUp'
                C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233

                Error: #<NoMethodError: undefined method all_connected' for nil:NilClass> C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:61:in onLButtonUp'
                C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233
                Error: #<NoMethodError: undefined method start' for #<Sketchup::Face:0x72aa908>> C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:234:in order_points'
                C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233:in each' C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233:in order_points'
                C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:65:in onLButtonUp' C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:61 Error: #<NoMethodError: undefined method all_connected' for nil:NilClass>
                C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:61:in onLButtonUp' C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233 Error: #<NoMethodError: undefined method start' for #Sketchup::Face:0x72aa908>
                C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:234:in order_points' C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233:in each'
                C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233:in order_points' C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:65:in onLButtonUp'
                C:/Program Files/Google/Google SketchUp 7/Plugins/clf_simple_loft/clf_simple_loft.rb:233

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sepo
                  last edited by

                  screen grab


                  error.jpg

                  1 Reply Last reply Reply Quote 0
                  • Chris FullmerC Offline
                    Chris Fullmer
                    last edited by

                    Sounds like you have a tiny face attached to one of those splines. Look closely. The script doesnt check for that - yet. Once I get out of beta testing I'll have that all included (and I'm still in alpha, so it might be a little while).

                    Chris

                    Lately you've been tan, suspicious for the winter.
                    All my Plugins I've written

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      notareal
                      last edited by

                      Wow!

                      Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sepo
                        last edited by

                        Spot on...Chris...it was minute face... 👍

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

                          I can't see any little face in that picture.
                          But you can from the code ?
                          Can you read the matrix Chris? 😲

                          Get Upa !

                          1 Reply Last reply Reply Quote 0
                          • Chris FullmerC Offline
                            Chris Fullmer
                            last edited by

                            matrix-animated.gif

                            The first line was what gave it away:

                            Error: #<NoMethodError: undefined method `start' for #Sketchup::Face:0x72aa908>

                            I could tell it found a face, and I'm very aware that my script will break upon finding faces (and images, text, groups, components, 3dpolylines, etc) , so it was a safe guess. 😆

                            Chris

                            Lately you've been tan, suspicious for the winter.
                            All my Plugins I've written

                            1 Reply Last reply Reply Quote 0
                            • I Offline
                              ilay7k
                              last edited by

                              Chris, thanks a'lot.

                              1 Reply Last reply Reply Quote 0
                              • MALAISEM Offline
                                MALAISE
                                last edited by

                                I see now a lot of use on Geology and/or GIS displays.
                                A small thanks compared to your works 👍 👍

                                MALAISE

                                La Connaissance n'a de valeur que partagée

                                1 Reply Last reply Reply Quote 0
                                • H Offline
                                  haynesc
                                  last edited by

                                  Vista : 7 pro ...

                                  sketchup crashes when using loft inside components

                                  1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    AcesHigh
                                    last edited by

                                    @sepo said:

                                    Spot on...Chris...it was minute face... 👍

                                    it was so small it was more like a millisecond face 😆

                                    1 Reply Last reply Reply Quote 0
                                    • GaieusG Offline
                                      Gaieus
                                      last edited by

                                      @haynesc said:

                                      Vista : 7 pro ...

                                      sketchup crashes when using loft inside components

                                      ...as well as in groups. See here: http://www.sketchucation.com/forums/scf/viewtopic.php?p=157130#p157130 - hopefully it will be easy to fix.

                                      Gai...

                                      1 Reply Last reply Reply Quote 0
                                      • Chris FullmerC Offline
                                        Chris Fullmer
                                        last edited by

                                        Sorry about the group crashing thing. TIG has helped explain that to me and it should fixed in the next release (which will hopefully be soon!, but no promises).

                                        Chris

                                        Lately you've been tan, suspicious for the winter.
                                        All my Plugins I've written

                                        1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sepo
                                          last edited by

                                          lol You 2 have same avatars.

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

                                            Just invert one horizontally 💚

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

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

                                            Advertisement