sketchucation logo sketchucation
    • 登入
    ℹ️ 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

    已排程 已置頂 已鎖定 已移動 Plugins
    251 貼文 88 Posters 148.7k 瀏覽 88 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Dave RD 離線
      Dave R
      最後由 編輯

      Here you go Chris. I hope it helps.


      thread_bez_loft[1].skp

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 條回覆 最後回覆 回覆 引用 0
      • N 離線
        nomeradona
        最後由 編輯

        wow thanks a million...

        visit my blog: http://www.nomeradona.blogspot.com

        1 條回覆 最後回覆 回覆 引用 0
        • EscapeArtistE 離線
          EscapeArtist
          最後由 編輯

          Hey Chris, I just started having some trouble with this plugin. Maybe you can decipher what I'm doing wrong; I know the plugin works so it must be something that I'm doing. Here's the console output:

          
          Error; #<NoMethodError; undefined method `all_connected' for nil;NilClass>
          L;/Modeling/Sketchup Google/Plugins/clf_simple_loft/clf_simple_loft.rb;61;in `onLButtonUp'
          L;/Modeling/Sketchup Google/Plugins/clf_simple_loft/clf_simple_loft.rb;186
          Error; #<ArgumentError; Cannot convert argument to Sketchup;;Point3d>
          L;/Modeling/Sketchup Google/Plugins/clf_simple_loft/clf_simple_loft.rb;189;in `add_cpoint'
          L;/Modeling/Sketchup Google/Plugins/clf_simple_loft/clf_simple_loft.rb;189;in `end_handles'
          L;/Modeling/Sketchup Google/Plugins/clf_simple_loft/clf_simple_loft.rb;186;in `each_index'
          L;/Modeling/Sketchup Google/Plugins/clf_simple_loft/clf_simple_loft.rb;186;in `end_handles'
          L;/Modeling/Sketchup Google/Plugins/clf_simple_loft/clf_simple_loft.rb;94;in `onReturn'
          L;/Modeling/Sketchup Google/Plugins/clf_simple_loft/clf_simple_loft.rb;61
          

          I'm applying the plugin to 3 bezier curves, the plugin generates construction points and then stops.

          1 條回覆 最後回覆 回覆 引用 0
          • TIGT 離線
            TIG Moderator
            最後由 編輯

            EscapeArtist

            ...onLButtonUp...
            line=60  best = ph.best_picked
            line=61  all_best = best.all_connected
            line=62  @shapes_edges << best.all_connected
            

            It's failing to find anything you have selected when you release the mouse-button... Are you picking anything ? It falls over since 'best' = 'nil' and nil can't have connected edges...
            Chris: before 'all_best = ' you could test for 'best' and re-run the main functions if it's nil, e.g.

            if not best
              ### run me again ###
              return nil
            end#if
            

            ...

            TIG

            1 條回覆 最後回覆 回覆 引用 0
            • EscapeArtistE 離線
              EscapeArtist
              最後由 編輯

              Yep, absolutely picking something. I know the plugin works because I drew two other curves and tested it, the loft worked just fine; so it must be a problem with the curve set I was initially using. Maybe it doesn't work on curves that were part of a face. I had to draw faces to get the curves to lay flat on specific axes and then deleted the faces, leaving the curves behind. I'm probably missing knowledge about a change that happens to edges that were part of a face and how it affects the plugin.

              edit:

              Solved:

              That was the problem, edges/curves that were part of a face will not loft. I worked around the problem by grouping the planes, exiting the group, and then drawing the curves on the faces. The lines went where I wanted and the integrity of the curve was preserved in order for loft to work.

              1 條回覆 最後回覆 回覆 引用 0
              • P 離線
                publied
                最後由 編輯

                Chris,
                a smart substitute of the old curve stitcher! they spare my time. thank you!

                hire me@ http://www.publied.it !

                1 條回覆 最後回覆 回覆 引用 0
                • Chris FullmerC 離線
                  Chris Fullmer
                  最後由 編輯

                  @unknownuser said:

                  No possibility to automate the clicks of curves? 😉
                  the 10 curves are made with the Grow plug by Tig

                  So I've been thinking about this, and what if I made it so that holding down the mouse button (click and drag) would add lines in the order you cross over them. You can let go and then re-click and drag to add more splines to the selection set. I think that would do the trick. Then just hit enter once you've selected all the splines you want to use.

                  Would that be a good solution?

                  Chris

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

                  1 條回覆 最後回覆 回覆 引用 0
                  • pilouP 離線
                    pilou
                    最後由 編輯

                    Marvelous 👍
                    The only problem for you is the order of the curves 😉
                    image of the original post

                    http://forums.sketchucation.com/download/file.php?id=27140

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

                    1 條回覆 最後回覆 回覆 引用 0
                    • Chris FullmerC 離線
                      Chris Fullmer
                      最後由 編輯

                      @chris fullmer said:

                      what if I made it so that holding down the mouse button (click and drag) would add lines in the order you cross over them.

                      No, the order of the curves becomes the users problem to figure out. It will all depend on how you click and drag over the splines. 😉

                      Chris

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

                      1 條回覆 最後回覆 回覆 引用 0
                      • GaieusG 離線
                        Gaieus
                        最後由 編輯

                        So Chris you got to the point to quote yourself. I've only seen this from elderly politicians so far. 😲

                        Gai...

                        1 條回覆 最後回覆 回覆 引用 0
                        • Chris FullmerC 離線
                          Chris Fullmer
                          最後由 編輯

                          I wasn't quoting myself, I was re-explaining myself 😄

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

                          1 條回覆 最後回覆 回覆 引用 0
                          • D 離線
                            Daniel S
                            最後由 編輯

                            Each spline must have the same amount of segments and with Fredo´s Bezier plugin it´s easy to create this (has an option for Precision: total number of segments of the generated curve).
                            I just try this option with Loft alpha and:
                            Loft.gif
                            It´s great combination of plugins.

                            Daniel S

                            1 條回覆 最後回覆 回覆 引用 0
                            • Chris FullmerC 離線
                              Chris Fullmer
                              最後由 編輯

                              Wow, that's pretty impressive! I do have a working version I'm testing that works with splines with different segment counts, but it won't be released for a while I'm sure. So thanks for posting that great work-around!

                              That's a pretty cool model too!

                              Chris

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

                              1 條回覆 最後回覆 回覆 引用 0
                              • MarianM 離線
                                Marian
                                最後由 編輯

                                😮 😲

                                http://marian87.deviantart.com/

                                1 條回覆 最後回覆 回覆 引用 0
                                • pilouP 離線
                                  pilou
                                  最後由 編輯

                                  It's the same with Grow plug's TIG above as you copy move Size Transfom the same curve before the Loft Chris plug 💚

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

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • pilouP 離線
                                    pilou
                                    最後由 編輯

                                    So seems perfect! ☀
                                    ps Auto reference can't be a bad thing 😆
                                    By me Myself and I 😉
                                    And sorry for not seen with more attention your previous explanation! 😳
                                    I was just dazzled that you restart your crazzy plug! 😄

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

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • S 離線
                                      Sergio Morera
                                      最後由 編輯

                                      Dear Chris, thank you very much for another wonderful utility. All your hard work is much appreciated by the sketchup community. The talent and commitment of people like you is what makes sketchup a decent modelling application. My respects!!!

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • A 離線
                                        accabrera
                                        最後由 編輯

                                        This is amazing! thanks !

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • JClementsJ 離線
                                          JClements
                                          最後由 編輯

                                          Daniel, you should create a dozen or so sets of "face profiles" (ie., adult male, adult female, baby, skinny face, fat face, etc.). Combine that with human head face photos (different colored hair, facial hair, makeup, different skin tones..) which then could be projected or mapped onto a lofted surface by the user or maybe done via another script. The user could mix and match. Heck, do the same for torsos.

                                          You and Chris could market this as "Doll Builder". Perhaps gamers would buy it in droves. ☀

                                          John | Illustrator | Beaverton, Oregon

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • JClementsJ 離線
                                            JClements
                                            最後由 編輯

                                            Nice job, Chris!

                                            Using Fred0's Polyline Segmentorit is a snap to make all the curve's have the same number of segments. [HINT: a collaboration ...]

                                            Now if there was a way to handle closed curves... ??
                                            In the attached I deleted one segment in each curve, then lofted. Since each curve is planar, maybe after the loft is applied, their-open ends could be "auto-stitched" and then smoothed with the initial lofted-surface?

                                            In this example the top-most contour's surface can't be closed. Anyway to make a "dome" from it by selecting it and expressing the "slope/bulge" of the dome by entering the number of segments?

                                            Just some ideas to mull over.

                                            Regards, John


                                            _Simple Loft and Fred06.skp

                                            John | Illustrator | Beaverton, Oregon

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 9 / 13
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement