sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin] Stepped Extrude [Updated 20121106]

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

      @pbacot said:

      there is a CAD application that I used that would interpret the height of contours in plan by the user drawing a section line. Another idea to specify the relative heights.

      This sounds very complicated, I'll see what I can do.

      @chris fullmer said:

      Does it work with lines? If not, could you adjust it to work with lines? The user would click on a line and the script would select all connected and move it vertically by 1 unit, then 2 units, 3, etc.

      No, it works only with faces. I think I can add that, it will take some time, though.

      Thanks for trying it out.

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

        No rush, it might be a nice feature to add if you feel like adding something. Thanks!

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

        1 條回覆 最後回覆 回覆 引用 0
        • sdmitchS 離線
          sdmitch
          最後由 編輯

          @rami_lpm said:

          [
          @chris fullmer said:

          Does it work with lines? If not, could you adjust it to work with lines? The user would click on a line and the script would select all connected and move it vertically by 1 unit, then 2 units, 3, etc.

          No, it works only with faces. I think I can add that, it will take some time, though.

          Thanks for trying it out.

          rami, Add this code to the onLeftButtonDown def. It will handle the edges or curves.

           best.pushpull dist,false
          else
           best = ph.picked_edge
           unless best==nil
            @clickno += 1
            dist=@clickno*@step
            trans=Geom;;Transformation.translation([0,0,dist])
            unless best.curve
             edges=best.all_connected
             verts=[];edges.each{|e| verts<<e.vertices}
             verts.flatten!; verts.uniq!
             verts.each{|v| Sketchup.active_model.entities.transform_entities(trans,v)}
            else
             Sketchup.active_model.entities.transform_entities(trans,best.curve)
            end
           end
          
          

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

          http://sdmitch.blogspot.com/

          1 條回覆 最後回覆 回覆 引用 0
          • sumasterS 離線
            sumaster
            最後由 編輯

            Thank you very much

            Thank you,
            SUmaster

            1 條回覆 最後回覆 回覆 引用 0
            • boofredlayB 離線
              boofredlay
              最後由 編輯

              Nice. A much needed tool.

              http://www.coroflot.com/boofredlay

              1 條回覆 最後回覆 回覆 引用 0
              • rami_lpmR 離線
                rami_lpm
                最後由 編輯

                It's updated. Thanks for that snippet.

                1 條回覆 最後回覆 回覆 引用 0
                • J 離線
                  JGA
                  最後由 編輯

                  Great idea, thanks (again).

                  Regards,
                  JGA

                  1 條回覆 最後回覆 回覆 引用 0
                  • srxS 離線
                    srx
                    最後由 編輯

                    Thanks! It could be useful for making stairs also... or SU logo 😄

                    www.saurus.rs

                    1 條回覆 最後回覆 回覆 引用 0
                    • B 離線
                      Ben Ritter
                      最後由 編輯

                      Thank you Ramiro.

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

                        Cool! 😎
                        Works fine with the Multiple Offset by Sdmitch 😉

                        sol.jpg

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

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

                          Have you the same but only for lines ? ( with no PushPull of faces )
                          Like this
                          only lines are moving with Stepped Extrude , and there is no creation of faces !

                          like a creation of levels of terrain for example 😄

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

                          1 條回覆 最後回覆 回覆 引用 0
                          • pbacotP 離線
                            pbacot
                            最後由 編輯

                            Pilou, The first post claims this is possible. I haven't tried. Peter

                            MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

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

                              No it's draw also a face when you click a line like when you click on a face! 😉

                              I just want stepp the lines ! 😄

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

                              1 條回覆 最後回覆 回覆 引用 0
                              • sumasterS 離線
                                sumaster
                                最後由 編輯

                                Hi rami_lpm AND sdmitch,

                                a Need of previous history Amount/Distance . . . .

                                means create 2 face and use this tool and 1st face extrude 1 m. and 2nd face extrude the same amount . . .

                                now its not working . . . . .

                                thanks . . . .

                                Thank you,
                                SUmaster

                                1 條回覆 最後回覆 回覆 引用 0
                                • bsintzelB 離線
                                  bsintzel
                                  最後由 編輯

                                  Simple, functional, useful and free...what more can one ask for. Well done 👍

                                  I've taken obfuscating to a whole new level!

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • R 離線
                                    rv1974
                                    最後由 編輯

                                    The perfect fuse of simplicity and effectiveness.
                                    Salute to the authors.

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • I 離線
                                      icepam
                                      最後由 編輯

                                      Thanks for a much useful plugin. I had coded something similar in AutoLisp a few years ago to do this in Autocad, precisely for stairs and contours.

                                      @rami_lpm said:

                                      @pbacot said:

                                      ... interpret the height of contours in plan by the user drawing a section line.

                                      This sounds very complicated, I'll see what I can do.

                                      I think this could be simpler than it sounds, maybe one of the forum's rubymasters could help out with the code. Here's how i would imagine it:
                                      Method 1, should work with lines:
                                      -User draws a line across the contours he wishes to raise and sets H=riser height.
                                      -Plugin figures if it's a generally horizontal or vertical line (is that necessary?)
                                      -Plugin finds all intersection points and makes an array ordered based on their X (or Y?) coordinate
                                      -Plugin traverses array raising each line by H x its index in the array.

                                      Method 2, perhaps this is the solution for faces?
                                      -User selects all faces that need to be raised (by window or select all or whatever... if one by one, it's just the current method)
                                      -User draws a line L through all said faces
                                      -Plugin filters out non-faces from selection and makes an array as above, ordered by X or Y coordinate of mid-point of segment created by intersection between line L and each face.
                                      -Plugin traverses and raises as above.

                                      Hope this makes sense!

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

                                        No possibility to add the other options? As asked in my old request here 😉

                                        Now we have a =a + x 😉

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

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

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • C 離線
                                          caronte01
                                          最後由 編輯

                                          Great simple tool, perfect for stairs. Will try it as soon as I have a chance!

                                          Thanks!

                                          santiago

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • rami_lpmR 離線
                                            rami_lpm
                                            最後由 編輯

                                            icepam: I'm a bit math-challenged, so it will take some time.
                                            pilou: It really should work with lines. About your request, what does the 'list' option do?
                                            Thanks everyone for the comments

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

                                            Advertisement