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.
    • A Offline
      AcesHigh
      last edited by

      @Pilou: does Moi has a Sweep2Rail too?

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

        @jmmad said:

        Chris i think found a little bug.
        When I try to loft two lines inside a group SU crashes.
        Everything else is working perfect

        This is a great idea.... but I can't get it to work at all - I suspect a clash with another script - I'm investigating...
        To get it work with a group/definition edit just change line #36 from:
        @ents = @model.entities
        to
        @ents = @model.active_entities
        then it should be OK...

        TIG

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

          @unknownuser said:

          does Moi has a Sweep2Rail too?

          Of course! That is basic function in nurbs program 😄

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

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

            is this my su7's bug?


            why ??

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

              No it is not bug. Plugin tells you that you do not have same number of segments. The top one has more segments than the arc.

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

                but now something change
                because I replace the ‘Simple Loft alpha 0.1b version ’ by 'the early version'
                why
                ❓


                QQ截图未命名.png

                1 Reply Last reply Reply Quote 0
                • X Offline
                  xrok1
                  last edited by

                  nice one 😉

                  “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                  http://www.Twilightrender.com try it!

                  1 Reply Last reply Reply Quote 0
                  • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 12
                                            • 13
                                            • 2 / 13
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement