sketchucation logo sketchucation
    • 登入
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Shape Bender Beta

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

      gr8fzy1
      Incidentally, please 'purge' SKPs before attaching them.
      Model Info > Statistics > Purge Unused... OR my Purge-Tool
      The original in 2.55Mb but purged it's only 28kb !
      You must have had some complex components and materials unused?
      Here's what was not needed in the posted SKP:

      C:/Users/TIG/Desktop/Shape Bender test-PurgeLog.txt

      Purged Unused...

      Components: 8
      Component#3
      Component#2
      light-point-2
      ivyleaf_3
      ivyleaf_2
      ivyleaf_1
      Component#1
      Susan

      Layers: 0

      Materials: 12
      black
      <Beige>1
      Color_B24
      <LightGray>
      0135_DarkGray
      96,96,96
      jean blue
      <Charcoal>
      efeu1
      Color_F12#1
      Ivy2d#1
      Ivy_stem

      Styles: 0

      #EOF

      TIG

      1 條回覆 最後回覆 回覆 引用 0
      • G 離線
        gr8fzy1
        最後由 編輯

        @tig said:

        The 'line' you are asked to pick initially needs to be parallel to the Red axis and it should not touch anything else. BUT YOU HAVE IT TOUCHING THE VERY OBJECT THAT YOU WANT TO BEND! It might 'work'... but it will/might give unpredictable results, with no preview before bending!
        Your supplied SKP has two lines parallel to the Red axis; ONE of these touches nothing, so it will work! USE THAT.
        The length of the 'line' and the 'arc', and the location of them relative to the object that's to be bent will affect the 'bending' - experiment with some different settings...
        IT WORKS FOR ME.[attachment=1:gywgvp4p]<!-- ia1 -->Capture.PNG<!-- ia1 -->[/attachment:gywgvp4p]

        See, THAT'S what I don't get. In I did it just like he did in the video. I drew the line right from one end of the component to the other: Just like he did on his demonstration ramp. But here you are telling me to use the dummy line I created?

        I've tried doing it like you suggested. I select the component, click the shape bender Icon, and it asks me to "Please select a single line that lies on the Red Axis". But then it won't let me click on the separate line. And then when I try to select them like he did in the video (Select the line, Select the component, click Shape bender) I get this error message:

        [attachment=0:gywgvp4p]<!-- ia0 -->Shape Bender 3.png<!-- ia0 -->[/attachment:gywgvp4p]

        Perhaps it is clashing with another plug in...should I provide a screen shot with my plugins list?

        @tig said:

        gr8fzy1
        Incidentally, please 'purge' SKPs before attaching them.
        Model Info > Statistics > Purge Unused... OR my Purge-Tool
        The original in 2.55Mb but purged it's only 28kb !
        You must have had some complex components and materials unused?
        Here's what was not needed in the posted SKP:

        C:/Users/TIG/Desktop/Shape Bender test-PurgeLog.txt

        Purged Unused...

        Components: 8
        Component#3
        Component#2
        light-point-2
        ivyleaf_3
        ivyleaf_2
        ivyleaf_1
        Component#1
        Susan

        Layers: 0

        Materials: 12
        black
        <Beige>1
        Color_B24
        <LightGray>
        0135_DarkGray
        96,96,96
        jean blue
        <Charcoal>
        efeu1
        Color_F12#1
        Ivy2d#1
        Ivy_stem

        Styles: 0

        #EOF

        And as for purging my SKP, I have no idea where those textures and such came from! I didn't import any components or even USE the bucket tool. Just rectangle, pencil, arch and push/pull! SKP is now purged.

        How do you get that purge log?


        Error Message.

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

          You select the group/component.
          Run the tool.
          Select the Line.
          Select the Curve.
          Adjust the start/end if desired
          Enter to get the bent clone.
          ...
          If the Line touches any other geometry it will fail.
          If the Line touches the group/component you probably won't get a preview of the bent form.
          The Clone will be offset from the Curve by the same amount as the original is offset from the Line.
          ...
          The error message you show suggests you have the group/component select AND a Line [or two] when you start the tool BUT you must have only the one thing - a group or a component-instance... THEN run the tool, then pick the Line... then pick the Curve...
          ...
          Have you moved all of the parts to one axes' quadrant to be doubly sure ?
          Run it with the Ruby Console open and report any error messages you get.
          ...
          What other scripts do you have loading?
          ...
          The Purge log is an option from my Purge script - see the Plugins Index...
          ...

          TIG

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

            Also, is there any chance you changed the model's axis, or the axis of the template so that it always loads skewed?

            Try tight clicking on the axis and if there is an option to "Reset" then click, it and that will set your axis back to the world axis, and shape bender only works on the world axis.

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

            1 條回覆 最後回覆 回覆 引用 0
            • G 離線
              gr8fzy1
              最後由 編輯

              @tig said:

              You select the group/component.
              Run the tool.
              Select the Line.
              Select the Curve.
              Adjust the start/end if desired
              Enter to get the bent clone.

              What other scripts do you have loading?

              Run it with the Ruby Console open and report any error messages you get.

              That's just it. I can do the first to steps no problem. But then when I get to the part to select the line, it won't let me....I can click on that line forever, but nothing will happen. Also, I don't have that horizontal line under my mouse cursor like it shows in the videos.

              What do you mean by having other scripts loading? I'm only using Shape bender at the time, no others.

              I ran it with the ruby window open and I get this message:
              Error: #<TypeError: can't convert nil into String>
              C:/Program Files/Google/Google SketchUp 8/Plugins/clf_shape_bender.rb:161:in create_cursor' C:/Program Files/Google/Google SketchUp 8/Plugins/clf_shape_bender.rb:161:in make_cursors'
              C:/Program Files/Google/Google SketchUp 8/Plugins/clf_shape_bender.rb:131:in activate' C:/Program Files/Google/Google SketchUp 8/Plugins/clf_shape_bender.rb:1017:in select_tool'
              C:/Program Files/Google/Google SketchUp 8/Plugins/clf_shape_bender.rb:1017
              Error: #<TypeError: no implicit conversion from nil to integer>
              C:/Program Files/Google/Google SketchUp 8/Plugins/clf_shape_bender.rb:168:in set_cursor' C:/Program Files/Google/Google SketchUp 8/Plugins/clf_shape_bender.rb:168:in onSetCursor'
              Error: #<TypeError: no implicit conversion from nil to integer>
              C:/Program Files/Google/Google SketchUp 8/Plugins/clf_shape_bender.rb:168:in set_cursor' C:/Program Files/Google/Google SketchUp 8/Plugins/clf_shape_bender.rb:168:in onSetCursor'
              C:/Program Files/Google/Google SketchUp 8/Plugins/clf_shape_bender.rb:176:in `onMouseMove'
              C:/Program Files/Google/Google SketchUp 8/Plugins/clf_shape_bender.rb:168

              When ever I click on the line or move the mouse, it keeps repeating errors 2 and 3 over and over again.

              @chris fullmer said:

              Also, is there any chance you changed the model's axis, or the axis of the template so that it always loads skewed?

              Try right clicking on the axis and if there is an option to "Reset" then click, it and that will set your axis back to the world axis, and shape bender only works on the world axis.

              When I learned that the items were supposed to be drawn on the red axis, I DID rotate the model and the curve, but I didn't alter the axis. To be sure that that wasn't the problem, I made a new model drawn completely on the red axis, curve and all. No rotation. It's still not working. And don't worry TIG, I purged this one...:pNew model arch, from the ground up. Same results.

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

                I have to believe it's an install error or a conflicting plugin. It worked for me with no problems.

                Have you tried removing all non-native plugins from the directory other than Shape Bender and Progressbar.rb?


                Arch%20Test%202.skp

                Etaoin Shrdlu

                %

                (THERE'S NO PLACE LIKE)

                G28 X0.0 Y0.0 Z0.0

                M30

                %

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

                  OK!! now we have these errors it's clear that you haven't installed the tool properly when they were extracted from the zipped set.
                  When you install it you need its main file clf_shape_bender_loader.rb file in the Plugins folder.
                  You also need a subfolder within Plugins named 'clf_shape_bender', containing these files: Capture.PNG You will also need progressbar.rb in Plugins - that is available from http://www.Smustard.com

                  TIG

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

                    No! Progressbar.rb should be in the Plugins directory.

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 條回覆 最後回覆 回覆 引用 0
                    • G 離線
                      gr8fzy1
                      最後由 編輯

                      @tig said:

                      OK!! now we have these errors it's clear that you haven't installed the tool properly when they were extracted from the zipped set.
                      When you install it you need its main file clf_shape_bender_loader.rb file in the Plugins folder.
                      You also need a subfolder within Plugins named 'clf_shape_bender', containing these files: [attachment=1:gu9q4ffr]<!-- ia1 -->Capture.PNG<!-- ia1 -->[/attachment:gu9q4ffr] You will also need progressbar.rb in Plugins - that is available from http://www.Smustard.com

                      The first time I ran it, it SAID that I needed the progressbar.rb, so I already downloaded that and installed it.

                      Well, after a little trial and error with the shape bender subfolder (I had put the loader.rb in there as well, so the shape bender wouldn't load. ^////^) I tried it out and it WORKED!

                      [attachment=0:gu9q4ffr]<!-- ia0 -->Shape Bender 4.png<!-- ia0 -->[/attachment:gu9q4ffr]

                      Thank you for the help everyone! And you too TIG, for the clues on PURGING. I had some files that were almost 6MB that purged down to only 900K.


                      YAY!

                      1 條回覆 最後回覆 回覆 引用 0
                      • G 離線
                        gr8fzy1
                        最後由 編輯

                        @dave r said:

                        No! Progressbar.rb should be in the Plugins directory.

                        I know, I already fixed that.

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

                          is possible for the next version add the feature to adapt to surfaces?

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

                            Hey,

                            It's a very powerful tool. However, I tried to do a vertical 3D text along a curve wall. It always stop at the message " 1% End @? (1 of 5) Searching for objects to explode. Do you know what the problem is? really hope this could work. Thanks.

                            Silvia

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

                              It's probably not 'stopped', but just taking ages to complete.
                              Can you rotate the parts onto the red/X-axis ?
                              It might speed things up...

                              TIG

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

                                Though that 1%END@? looks suspicious. Can you upload the model?

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

                                1 條回覆 最後回覆 回覆 引用 0
                                • X 離線
                                  Xorthan
                                  最後由 編輯

                                  Hi there.
                                  I started using SketchUp on my Mac.
                                  I downloaded ShapeBender, as well as ProgressBar, and put both in my Plugins folder.
                                  I restarted SketchUp, and don't find a ProgressBar like in your video... is that because I'm using a Mac? Is there someone here who has an idea what I'm doing wrong?

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

                                    Progressbar is just a plugin which is use by other plugins (like ShapeBender for instance). You will have to activate SB (I think) under SketchUp > Preferences > Extensions then restart SU and find it toolbar button where they are on the Mac (on Windows, they are under the View menu but I know Mac is different here)

                                    Gai...

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • X 離線
                                      Xorthan
                                      最後由 編輯

                                      @gaieus said:

                                      Progressbar is just a plugin which is use by other plugins (like ShapeBender for instance). You will have to activate SB (I think) under SketchUp > Preferences > Extensions then restart SU and find it toolbar button where they are on the Mac (on Windows, they are under the View menu but I know Mac is different here)

                                      Thanks for the reply; I went to SketchUp > Preferences > Extensions, and didn't see anything about ShapeBender there, the only extension that wasn't checked was Ruby Script Examples, which I checked, but I still don't have a status bar or he bender button from the video...

                                      Any other ideas?

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

                                        Hm. It should be there - unless Chris programmed it differently for Mac (which I doubt)

                                        extensions.png
                                        Have you unpackedthe content of that zip file? Simply copying it to your Plugins folder will not install the plugin. See some instructions/guidelines below
                                        http://forums.sketchucation.com/viewtopic.php?f=323&t=35746

                                        Gai...

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

                                          The Shape Bender extension swill show on Mac in Preferences>Extensions as it does on a windows machine. It sounds to me as if you didn't unpack the Shape Bender file or didn't unpack it correctly.

                                          Etaoin Shrdlu

                                          %

                                          (THERE'S NO PLACE LIKE)

                                          G28 X0.0 Y0.0 Z0.0

                                          M30

                                          %

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • X 離線
                                            Xorthan
                                            最後由 編輯

                                            @dave r said:

                                            The Shape Bender extension swill show on Mac in Preferences>Extensions as it does on a windows machine. It sounds to me as if you didn't unpack the Shape Bender file or didn't unpack it correctly.

                                            Okay, maybe I didn't see Shape Bender in the Extensions list before... I see it now. And it's checked. I also have the Progress Bar downloaded, and progressbar.rb is in my plugins folder. I still don't have a progress bar in SketchUp...

                                            I tried moving progressbar.rb to the plugins > utilities, just to see what would happen, but when I opened up SketchUp is gave me a warning, so I moved to back to plugins, and got no warning, but also no icon that looks anything like the video. ??

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

                                            Advertisement