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

    [Plugin] Shape Bender Beta

    Scheduled Pinned Locked Moved Plugins
    1.3k Posts 331 Posters 1.7m Views 329 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TIGT Offline
      TIG Moderator
      last edited by

      @aceshigh said:

      Chris, Ive run into trouble at my first try to bend something. I have this vertical X shaped lattice of triangular beams. I am not able to bend it in no way 😞

      It was composed of a group with subgroups inside. I exploded everything inside, so its just meshes inside a group. Still, it doesnt work 😞

      Explode all of the sub-groups etc and finally the main group. Its contents remain highlighted - immediately regroup these - it should work now...

      TIG

      1 Reply Last reply Reply Quote 0
      • david_hD Offline
        david_h
        last edited by

        I concur . .. however the term "Oscar" is copywrighted either by those people that make the movie awards or by the people that make the hot dogs and baloney (which are probably the same people)

        so We need to come up with a different award name. . ..how about. .

        oh I dunno. .. .

        THE RUBY!!!


        ruby.jpg

        If I make it look easy...It is probably easy

        1 Reply Last reply Reply Quote 0
        • david_hD Offline
          david_h
          last edited by

          Yup . ..this is a much easier way to bend steel.


          20090409092840_15s.jpg

          If I make it look easy...It is probably easy

          1 Reply Last reply Reply Quote 0
          • tinanneT Offline
            tinanne
            last edited by

            Chris AWESOME script and thank you for the videos! Watching someone work with the ruby really helps me to understand how to use it and where it will apply to my needs. Great job and thank you again!

            Executive Director : American Society of Architectural Illustrators
            AIP 30 Competition opens soon. ASAI.org

            Architectural Rendering

            1 Reply Last reply Reply Quote 0
            • free agentF Offline
              free agent
              last edited by

              very cool thank you 😎

              http:i167.photobucket.comalbumsu143FreeAgent84bug.gif

              1 Reply Last reply Reply Quote 0
              • B Offline
                boilingsnow
                last edited by

                @unknownuser said:

                Yup . ..this is a much easier way to bend steel.

                But the model you pasted can also be created easily without shape bender.

                1 Reply Last reply Reply Quote 0
                • david_hD Offline
                  david_h
                  last edited by

                  Very true, But not as fun.

                  If I make it look easy...It is probably easy

                  1 Reply Last reply Reply Quote 0
                  • Chris FullmerC Offline
                    Chris Fullmer
                    last edited by

                    All right, thanks for the comments so far! I've got lots to think about. That bug where it smooths the end faces if your shape lines ep exactly with the line......I'll have to think about that. Its sort of done on purpose, but that is an exception where it is not desireable. I'll see if I can think of a way for it to be smarter.

                    I'm working on groups and components as we speak. That is my #1 frustration with the script is that it explodes everything and it won't take components. I'd like to get that fixed and updated tonight. We'll see πŸ˜„ Thanks everyone, seriously!

                    Chris

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

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      BTM
                      last edited by

                      Great!! 2 things: 1, why do a few random lines appear when I use it?
                      bend.jpg
                      also, sketchup said that there were problems, and when I agreed to let it fix them, this was the message:

                      Results of Validity Check.
                      
                      CLoop (39755) for CFace (39754) has zero area
                      Loop 0 of CFace (39754) is an invalid outer loop
                      Entity CFace (39754) should be erased - done
                      CLoop (39760) for CFace (39759) has zero area
                      Loop 0 of CFace (39759) is an invalid outer loop
                      Entity CFace (39759) should be erased - done
                      CLoop (40274) for CFace (40273) has zero area
                      Loop 0 of CFace (40273) is an invalid outer loop
                      Entity CFace (40273) should be erased - done
                      CLoop (40279) for CFace (40278) has zero area
                      Loop 0 of CFace (40278) is an invalid outer loop
                      Entity CFace (40278) should be erased - done
                      CLoop (43115) for CFace (43114) has zero area
                      Loop 0 of CFace (43114) is an invalid outer loop
                      Entity CFace (43114) should be erased - done
                      CLoop (43500) for CFace (43499) has zero area
                      Loop 0 of CFace (43499) is an invalid outer loop
                      Entity CFace (43499) should be erased - done
                      
                      1 Reply Last reply Reply Quote 0
                      • Chris FullmerC Offline
                        Chris Fullmer
                        last edited by

                        Hmmm, very interesting.

                        Well, the lines appear because a face is being bent in a way that it is not able to do, so SketchUp steps in and adds the extra lines so that it can bend as needed. I'd be interested if anyone out there has a method for determining what faces are going to need that extra geometry so I can add the lines myself beforehand.

                        The invalid geometry actually probably has a lot to do with problem above. Invalid geometry can be fixed automatically, the worst that can happen is that it will delete a few bad faces. Ok, thats not really ideal. So hopefully I'll get it fixed πŸ˜„

                        On a happier note, I got the script to work with groups and components. I've got a few other things I want to try to implement tonight before I post the update though. So far so good.

                        Chris

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

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          BTM
                          last edited by

                          And up arrow isn't toggling orientation.

                          1 Reply Last reply Reply Quote 0
                          • Chris FullmerC Offline
                            Chris Fullmer
                            last edited by

                            @unknownuser said:

                            And up arrow isn't toggling orientation.

                            Really? Thats too bad. If the model is complex, it will take a second or two to "toggle". Its not necessarily immediate. It might need to think about it for a bit.

                            So if you've waited patiently and its still not working, that is no good. Could you open the Ruby Console and see if it gives any errors when you press the up arrow key?

                            Chris

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

                            1 Reply Last reply Reply Quote 0
                            • jeff hammondJ Offline
                              jeff hammond
                              last edited by

                              just a by-the-way going back to the perpendicular face/mac osx
                              the up arrow does work with this script on macs so it's probably something to do with the gear's geometry.

                              dotdotdot

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                BTM
                                last edited by

                                Actually, I tried it with a simple rectangle as well. It give no errors in the console, nothing happens at all. πŸ˜• With the console opened, I selected the (rectangle) group, then shape bend, then the straight line, then curved. after I selected the curved line, I pressed the up arrow. Nothing happens at all. Am I doing something wrong?

                                1 Reply Last reply Reply Quote 0
                                • jeff hammondJ Offline
                                  jeff hammond
                                  last edited by

                                  it sounds like you're doing it properly.. that did happen to me once yesterday (didn't get any response from the up arrow and i wasn't getting the green outline showing a preview bend.. (it was after i tried a super complex shape being bent to a weird 3d curve -- i was trying to break the ruby πŸ˜„ and succeeded)
                                  i quit sketchup and relaunched and it worked again.
                                  try that.

                                  dotdotdot

                                  1 Reply Last reply Reply Quote 0
                                  • Chris FullmerC Offline
                                    Chris Fullmer
                                    last edited by

                                    Hmm, here's the order of operations:

                                    Select a group (must be a group, not a component in the current version of the script)
                                    Activate the script
                                    Select a straight line - must be drawn on the red axis. It will add "start" and "end" tags to it if it was selected correctly.
                                    Select the curve. Now the grids should appear and you should be able to press the up arrow.

                                    Hope that helps,

                                    Chris

                                    Jeff, I found a better method for the up arrow key. I still need to implement it in the perpendicular face tools script though - I probably will have time for that tomorrow.

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

                                    1 Reply Last reply Reply Quote 0
                                    • Chris FullmerC Offline
                                      Chris Fullmer
                                      last edited by

                                      @unknownuser said:

                                      i was trying to break the ruby πŸ˜„ and succeeded)

                                      I've tried hard to make it unbreakable.....but it has tried harder to remain breakable πŸ˜„

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

                                      1 Reply Last reply Reply Quote 0
                                      • Chris FullmerC Offline
                                        Chris Fullmer
                                        last edited by

                                        UPDATED! v 0.2 Beta

                                        A few major improvements. Now you can bend a component or a group. It can be scaled or rotated however you want, no need to explode and re-group immediately before using the plugin anymore. The shape to bend can also be comprised of groups and components. The script will explode them all by necessity though.

                                        Also I added dynamic highlighting. Now when you move the mouse over a line or curve that is an acceptable selection, it is highlighted. This should help make it easier to know what is an acceptable line or curve.

                                        Hopefully it is more stable now. I've tweaked a few other spots in the code, but nothing major. Just those 2 things listed above. Let me know if I broke anything, or if you like what I fixed.

                                        Chris

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

                                        1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          watkins
                                          last edited by

                                          Dear Chris,

                                          Many thanks for you wonderful new plugin. I should like to thank you for your generosity too. It is greatly appreciated.

                                          I assume you meant 10 April and not 10 March.

                                          Kind regards,
                                          Bob

                                          1 Reply Last reply Reply Quote 0
                                          • Dave RD Offline
                                            Dave R
                                            last edited by

                                            Chris, I didn't have any trouble with the plugin yesterday when I tried it. When I woke up this morning there was an e-mail froma friend who was trying it. He sent it to me and I'm getting the same weird results. See the screen grab. The group starts out as long has the straight line. I tried it without the swirly thing at the end and get the same results. I've also tried changing the length of the curve but without luck. I discovered that it depends upon which direction the straight line is drawn. If the line is drawn from right to left, the geometry is added as shown. I also notice that if the curve is drawn from right to left the start and end points are transposed compared to the line.

                                            Right to left-drawn line:
                                            bend tim.jpg

                                            Left to right-drawn line, right to left-drawn curve
                                            bend tim2.jpg

                                            Left to right-drawn line, left to right drawn curve
                                            bend tim3.jpg

                                            Is there any chance of getting the plugin to ignore the direction of the drawn lines and curves?
                                            Edited to add, I tried it with the new version and got the same results.

                                            Etaoin Shrdlu

                                            %

                                            (THERE'S NO PLACE LIKE)

                                            G28 X0.0 Y0.0 Z0.0

                                            M30

                                            %

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 63
                                            • 64
                                            • 2 / 64
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement