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!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update

    Pipe-along-path

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

      I have an update 'in progress'.
      Which will allow you to work in any units/formats.
      It's be easy to set an alternative default in the code too...
      But I still can't see where the splat is coming from 😕

      TIG

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

        GREAT

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

          Well... 😲
          I found the cause, 😄
          but I can't find a coded workaround... 😞
          I noticed that some of the lines forming the path were not quite horizontal... SlightSkew.PNG If the pipe's extrusion diameter is at a certain threshold then the coded FollowMe fails, I suspect its something to do with tolerances as the pipe twists around the form the side's segments can't intersect and form the pipe-run.
          See the screen-grab when I use it on two individual pieces successfully...
          Hidden Geometry ON, exploded and intersected. Bits.PNG If I 'flatten' the slightly sloping lines it will 'PipeAlongPath' just fine [front one]. Capture.PNG If I copy the top-most circle from that one and paste it onto the original path [or simply draw a flat circle on the top-end of the path] [the back-one], then select the path and use the native FollowMe on that circular face it will make the pipe with the slightly sloping sections... NativeFollowMe.PNG Because the slight slopes of the paths and the diameter threshold are not obviously linked I can't see how to trap it consistently.
          I tried introducing a vector check on a pipe sections of multiple part pipes, and if that piece of pipe is within a limit of being coplanar with the next section etc, then it was made as if it were coplanar [the vertices are slightly adjusted in the Z]... But it's clunky and awkward... 😕 This example in Xray shows that some of the verties in the paths have to be adjusted by ~1" to get PipeAlongPath to make the extrusion with the coded-followme, but the native-FollowMe works OK without that tweak - it's plain weird 😒ForcedCoplanarLines.PNG Comments appreciated - I'll hold off issuing any updates until someone responds... 🤓

          TIG

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

            Interesting. I see the issue but it did work for me. I wonder how the path got drawn with those very small errors.

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

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

              It works for me too, at say 4" or 6" diamter, but when I go up to ~40" if freezes as the coded-followme gets stuck in an unbreakable loop, trying to decide how to proceed around the slight twist!!
              The native-FollowMe succeeds using the same geometry... BUT one might reasonably supposed that both of the methods used very similar algorithms!
              Unfortunately there is no 'direct access': in code it's simply face.followme(edges) - which works 99/9% of the time, until someone contrives a combo of very slightly skewed paths that trips it up...

              Sometimes pipes do need a slight fall to 'drain' etc.
              But this is <0.375 degrees - aka 'flat'.
              So if I force it 'flat' in parts as I've indicated, then it works...
              BUT I don't want to make the pipe's path subtly different from the user's selected edges, unless I really need to...

              TIG

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

                Please do not fret about the rare freezes. Kindly work on the default input box stuff mentioned above - if you so feel inclined. Speaking of 'inclined' - yes this particular pipe run is sloped for drainage. Even with such runs the plugin rarely freezes and Mr.TIG deserves accolades.

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

                  Construction points are appearing when I explode a pipe-along-path group. This only seems to be happening recently - maybe after I updated to the latest version? If it was engineered into the script, I am interested to know the purpose. I can't delete them by "edit>delete guides" because guides that I have set up permanently in my model will disappear - regardless of being in a locked group. And selecting and erasing each guide point is time consuming.

                  1 條回覆 最後回覆 回覆 引用 0
                  • cottyC 離線
                    cotty
                    最後由 編輯

                    @pipingguy said:

                    I can't delete them by "edit>delete guides" because guides that I have set up permanently in my model will disappear - regardless of being in a locked group. And selecting and erasing each guide point is time consuming.

                    You can use Thomthoms selection tools to select all guide points in a group and delete them in one step.

                    my SketchUp gallery

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

                      Why not just opt for no C points when you make the pipe?

                      Screenshot - 3_2_2014 , 5_46_17 AM.png

                      I can see that some folks could use those C points as data points for locating the pipe in space. You could export their coordinates to a spreadsheet, for example, and manipulate them.

                      Why are you using guidelines as "permanent" features in your model? They weren't intended for that.

                      Etaoin Shrdlu

                      %

                      (THERE'S NO PLACE LIKE)

                      G28 X0.0 Y0.0 Z0.0

                      M30

                      %

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

                        The Cpoints are optional.
                        Answer 'No' to stop them being added during that session.
                        Their function is to allow snapping at nodes etc.
                        If you want to edit the script with Notepad++, so the default is 'No' find the line reading:
                        @cpoints = "Yes"
                        and change it to
                        @cpoints = "No"
                        You can also change other defaults - for example if you always want 12 segments...

                        TIG

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

                          I thought I had the latest version which I downloaded from the rhin.crai.archi site. (if said site is obsolete, why does it still exist?) Then I accessed TIG via the the author pull-down menu in sketchucation's plugin store and did not see 'pipe-along-path' listed. (I was not provided with the option to scroll to a next page). Then I used the plugin store's search feature and found it. So now that I am up to date, I would suggest giving the users a way to change the input box default to suit their typical work habits. With me, it's always inches and the inside diameter is always zero.

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

                            You didn't read TIG's last post? He gave you a way to change the default settings.

                            If you're always going to want a zero inside diameter and no C points, you could use Tube Along Path instead.

                            Etaoin Shrdlu

                            %

                            (THERE'S NO PLACE LIKE)

                            G28 X0.0 Y0.0 Z0.0

                            M30

                            %

                            1 條回覆 最後回覆 回覆 引用 0
                            • BoxB 離線
                              Box
                              最後由 編輯

                              Or Didier's Lines2Tubes which is available from the plugin store.
                              http://sketchucation.com/forums/viewtopic.php?p=88592#p88592

                              1 條回覆 最後回覆 回覆 引用 0
                              • cottyC 離線
                                cotty
                                最後由 編輯

                                @pipingguy said:

                                Then I accessed TIG via the the author pull-down menu in sketchucation's plugin store and did not see 'pipe-along-path' listed. (I was not provided with the option to scroll to a next page).

                                You have to change from "recent" to "full list" to see all the plugins from one author...

                                my SketchUp gallery

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

                                  column lines - xlines - guides.skp
                                  As to Dave R's question, "Why are you using guidelines as "permanent" features in your model? They weren't intended for that." In AutoCAD I create XLINEs and place them in a locked and faded layer and assign them a specific color. This now establishes a secure column line grid upon which the rest of the model is measured and coordinated from. I suppose I could create a grid using intersecting lines in sketchup, erase the resulting faces, and put them in a locked group. But they would blend into the remaining myriad of lines. At least with construction lines, they are dashed so they don't stand out to much, yet are quickly recognizable. (see attached SU partial model) Perhaps you can tell me of a popular plugin that generates dashed lines? BTW - what does 'place inline' mean in the reply editor regarding the attachment of a file?

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

                                    Sorry. OK - I will look at the script with notepad. But I literally have not dealt with any kind of of computer code since an introductory course into Fortran or whatever it was back in the early seventies. something about flowcharts / if yes, then / if false then....blah blah. And then we put the code into an IBM punchcard machine. (junior high school) LOL!!!!

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

                                      so after two hours purging malware/bloatware/spyware and every other ware that came along for the ride when I downloaded the fusion installer required to install notepad++, I think I will stay away from fiddling with codes and the like.

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

                                        Notepad++ is a respectable product and if installed from their site it should not have other hidden baddies... http://notepad-plus-plus.org/download/v6.5.4.html
                                        I'll be reissuing PipeAlongPath shortly [edited entirely in Notepad++ !]
                                        I will be adding some optimistation tools...

                                        TIG

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

                                          yeah - that's where I got the infection from (http://notepad-plus-plus.org/download/v6.5.4.html) 😞

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

                                            So I guess my suggestion of Tube Along Path didn't work for you?

                                            Etaoin Shrdlu

                                            %

                                            (THERE'S NO PLACE LIKE)

                                            G28 X0.0 Y0.0 Z0.0

                                            M30

                                            %

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

                                            Advertisement