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

    Joint Push Pull Classic (Old version) - v2.2a - 26 Apr 17

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

      You are right, I didn't tried to scale it up by 100. It was the trick.
      I got it in les than 2 mns.

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

        All Sketchup processes that create new edges/facets [pushpull, followme, intersect, scripted tools doing similar things], can fail if the resultant geometry is tiny.
        Sketchup/OpenGL cannot cope with things < ~0.1mm.
        There are tolerances built in to allow two points in space that are not exactly coincident to be regarded as 'equal', otherwise it'd be difficult to do many operations as calculations must always be somewhat approximated. This can mean that two very very close points might not form a line between them, as Sketchup expects two different points, the missing line then fails to split an existing face during an intersect or to complete a loop for a face, which is then missing...
        Using a tool like JPP on a very complex mesh with small resultant parts [like this thin curtain] might end up with some tiny bits of geometry/faces missing - it can even splat given the right errors...
        The trick of Scaling things up x10 or x100 etc, creating the facets etc, will avoid the tininess issues.
        Any Scaling of the tiny parts back down afterwards isn't an issue - very tiny things can exist, it's just their creation that causes issues.

        Incidentally, there can be similar issues with very very large objects too, because the enormous numerical values get ever approximated too... In that case scale down, process then scale up.

        Sketchup is really designed to model building and related objects.
        So doing complex modeling on the innards of a swiss-wristwatch [or an entire city] at 'real size' can/will cause issues at some point...

        TIG

        1 條回覆 最後回覆 回覆 引用 0
        • W 離線
          wtrouser
          最後由 編輯

          That makes sense to me... thanks for the explanation. My issue is that I had already tried scaling the model up x100, and it still froze. Additionally, I've only had JPP work for me a small percentage of the time in the past, with models of varying sizes/complexities. It may simply be that I've got the wrong computer/SU version/plugin version combo. Until I'm willing to pony up the money for upgraded hardware/software, I really can't complain too much.

          [edit] This might help... after I hit 'go' on a JPP process, the computer will think for a bit, the plugin status bar at the bottom will progress left to right, and the faces I'm trying to pull will eventually appear. The cursor will change back to a pointer and all will seem well. After I then move the cursor, whether right after the process or even several hours later, the pointer will change into a spinning pinwheel and I'm frozen. It seems like my computer might be freezing after the process is done.

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

            Hi wtrouser,
            I don't know if that could be caused by SU7, but on SU8, if we take care to be in requested conditions as TIG explained, it seems to work fine. Annyway, if we make the same job on the same model several times, we can see that we cannot trust the progress bar. Sometimes it freezes at different percentages. but as the process seems to ends correctly, that's not a problem.
            So, unfortunately, you may have to wait to upgrade to SU8 to get it working correctly. 😞.

            Regards,
            Alain

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

              Totally agree, THE MOST USEFUL PLUGIN ALL OVER!!!
              Thank you, thank you, thank you!!!

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

                Hi All

                I had a problem with Joint Push Pull. I solved it as I was composing this post, and decided to post the solution in case anyone else is stuck.

                I was trying to use Joint Push Pull to thicken a curved shell into a 3D object.

                In the attached screenshot you can see I have selected all the faces in the shell and invoked the Joint Push Pull.

                PROBLEM

                Only some of the selected faces are being extruded. The rest are just being ignored.
                Win XP Pro SP3, 32 bit machine 4.00GB RAM installed.
                Sketchup 8.0.16846
                JointPushPull v2.0b

                SOLUTION

                In plugins\JPP_Dir_20\jointpushpull_main.rb

                Change MAX_VISUAL_FACES = 1000
                to MAX_VISUAL_FACES = 10000 (or whatever is a reasonable number for your model)

                Hope that helps someone 😄

                Cheers

                Scott


                JPP ignoring part of selection.jpg

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

                  Hi Scott,
                  Some of us, and me, experienced such kind of problems but it was due to a "small" scale which causes the plugin to not be able to correctly compute the extruded faces.
                  We don't know how big your model is and its size and its edges size but your experience is interesting and could give us something else to think about in case of problems.
                  Thx,
                  Alain

                  1 條回覆 最後回覆 回覆 引用 0
                  • jgbJ 離線
                    jgb
                    最後由 編輯

                    Tig

                    A suggestion if I may. 🎉

                    Sometimes JPP can take "forever" to complete, even seem like it's hung. Other times it zips along in a sprightly fashion. Seems no connection to complexity, I've had a 30 face push take about 3 minutes and a 150 face push take about 40 seconds.

                    However on more than one long push a very few seconds into the push I realized I was in feet and not inches, so the result would have been scrapped in any event. I normally push/pull the pre-surface well beyond the dimension I want and key in the actual dimension, then hit enter twice, so I don't get a visual clue to my error. Other times I just don't want to wait what will be a very long wait.

                    JPP needs a cancel or quit button. 💭


                    jgb

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

                      @jgb said:

                      Tig

                      A suggestion if I may. 🎉

                      ...

                      JPP needs a cancel or quit button. 💭

                      Are you suggesting this should be done by TIG?

                      Etaoin Shrdlu

                      %

                      (THERE'S NO PLACE LIKE)

                      G28 X0.0 Y0.0 Z0.0

                      M30

                      %

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

                        JPP is not mine...
                        Also quitting a script once it starts is difficult.
                        The tool's author [Fredo] does have some tricks to quit a running tool [ESC?] - but this is at the expense of splitting it into sub-packets of processing, so at each changeover a key-press can be spotted, which slows down the overall processing time noticeable...
                        There's no such thing as a free-lunch... 😕

                        TIG

                        1 條回覆 最後回覆 回覆 引用 0
                        • fredo6F 離線
                          fredo6
                          最後由 編輯

                          I plan to refresh the JPP script and address the problem of generation of the geometry. JPP is quite old now and since then, I have been able to understand better how SU works for performance and reliability.

                          Fredo

                          1 條回覆 最後回覆 回覆 引用 0
                          • dereiD 離線
                            derei
                            最後由 編輯

                            @unknownuser said:

                            I plan to refresh the JPP script and address the problem of generation of the geometry. JPP is quite old now and since then, I have been able to understand better how SU works for performance and reliability.

                            Fredo

                            👍 👍 👍 😄

                            DESIGNER AND ARTIST DEREI.UK

                            1 條回覆 最後回覆 回覆 引用 0
                            • jgbJ 離線
                              jgb
                              最後由 編輯

                              @dave r said:

                              @jgb said:

                              Tig

                              A suggestion if I may. 🎉

                              ...

                              JPP needs a cancel or quit button. 💭

                              Are you suggesting this should be done by TIG?

                              Sorry, No slight intended. 😳
                              I sometimes get confused which Ruby Magician did what.

                              Also; In my experience (dated for sure) Key Down Polling inside an outer or mid loop should not really affect performance, unless you are forced to use a nested call.


                              jgb

                              1 條回覆 最後回覆 回覆 引用 0
                              • thomthomT 離線
                                thomthom
                                最後由 編輯

                                Problem is that you cannot poll keys within the SU API.

                                Thomas Thomassen — SketchUp Monkey & Coding addict
                                List of my plugins and link to the CookieWare fund

                                1 條回覆 最後回覆 回覆 引用 0
                                • jgbJ 離線
                                  jgb
                                  最後由 編輯

                                  @thomthom said:

                                  Problem is that you cannot poll keys within the SU API.

                                  OK, I stand corrected. 😎

                                  Key polling is a fundamental function. Can't believe those who designed the API left that one out. 😮


                                  jgb

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • thomthomT 離線
                                    thomthom
                                    最後由 編輯

                                    There is much to be desired in the API...

                                    Thomas Thomassen — SketchUp Monkey & Coding addict
                                    List of my plugins and link to the CookieWare fund

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • L 離線
                                      liuwuran
                                      最後由 編輯

                                      Thanks a lot ,very useful 😍

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • T 離線
                                        Takashi_Komuro
                                        最後由 編輯

                                        What advantages and functions of the Joint Push Pull ?

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

                                          @takashi_komuro said:

                                          What advantages and functions of the Joint Push Pull ?
                                          Read the guidance notes on the first page of this thread, there is even a help-pdf file you can download...
                                          There are also examples throughout the thread...
                                          Put simply, by using JPP you can 'extrude' preselected facets that form a surface so they have a 'thickness', in ways that are not possible using the native PushPull tools...

                                          TIG

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

                                            @unknownuser said:

                                            What advantages and functions of the Joint Push Pull ?

                                            The only automatic easy way to make thickness! 😄

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

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

                                            Advertisement