sketchucation logo sketchucation
    • Login
    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!
    Urasik Extensions | Lots of new extensions to check out Learn More

    [Plugin] FredoBend - v1.2l - 10 Apr 26

    Scheduled Pinned Locked Moved Plugins
    52 Posts 11 Posters 2.7k Views 11 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.
    • A Offline
      AISmebel
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • A Offline
        AISmebel
        last edited by AISmebel

        @fredo6 I also want to suggest that after using the plug-in, the components do not deform, bend in shape and retain their component properties. This will give more options to the users of your plugin. As an example, I additionally created objects made using the Flowify plugin. It transfers components without distortion, but the components lose their connection to each other, if you can implement this in your plugin, it will be great.
        Test.skp - This is the model you asked for

        panixiaP fredo6F 2 Replies Last reply Reply Quote 0
        • panixiaP Offline
          panixia @AISmebel
          last edited by

          @AISmebel said:

          the triangulating line that appears after using the plugin should become soft+smooth

          Nope.
          It should be soft = true; smooth = true AND cast shadows = false otherwise it will not work.

          @AISmebel said:

          I also want to suggest that after using the plug-in, the components do not deform, bend in shape and retain their component properties

          I agree +20 on this!
          I already said that in the original discussion on Trimble forum and I 100% stand on that.
          Slicing should be optional. The default behavior should be "deform only", that would make more sense.

          A 1 Reply Last reply Reply Quote 0
          • panixiaP Offline
            panixia @fredo6
            last edited by panixia

            @fredo6 said:

            I am not sure it is possible to identfy and carry over the quad mesh, because of the slicing.

            I guess it's super-difficult when you need to slice (so you are creating new geometry with new vertex-order/face-IDs), but it's actually quite easy when you just need to deform.
            The key is that you apply preemptive triangulation (with different properties for planar quads/planar n-gons) at the very beginning of the deforming operation in order to stabilize vertex order, edge properties and UV mapping, then you can safely preserve/restore everything once the deformation is done.

            I'm not a programmer, but I managed to formalize the whole algorithm decently enough that Claude can execute that brilliantly (based on the steps that I use to do manually in order to stabilize a mesh for proper Subdivision/Uv-mapping workflow).

            I achieved good deformations which are reliably preserving quads, and UV mapping with decent fallback methods for n-gons.
            I was planning to share the code with you regardless (for review before publishing it on Sketchucation), I think it could be interesting if you could integrate (and probably improve) it in some of your plugins, this one could be a clear candidate.

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              AISmebel @panixia
              last edited by

              @panixia said:

              Нет.
              Должно быть soft = true; smooth = true И cast shadows = false, иначе это не сработает.

              I was sure that I was not giving complete information, but I wrote that I knew)) I think Fredo knows exactly what it's about and how it should be. But still, thanks for the correction, maybe this way we will get the desired result faster)

              1 Reply Last reply Reply Quote 0
              • A Offline
                AISmebel @panixia
                last edited by

                @panixia said:

                Я планировал поделиться с вами кодом в любом случае (для проверки перед публикацией на Sketchucation), думаю, было бы интересно, если бы вы интегрировали (и, возможно, улучшили) его в некоторые из ваших плагинов, этот может стать подходящим вариантом.

                I would like to ask you to share this interesting plugin. I created a lot of interesting things myself with the help of Claude. It's interesting to see what others are doing.

                panixiaP 1 Reply Last reply Reply Quote 0
                • fredo6F Offline
                  fredo6
                  last edited by

                  With FredoBend v1.2b, you can normally keep the quad properties by turning off:

                  • Slicing
                  • remove coplanar edge
                  • soften edges

                  Here is a video showing the process.

                  FredoBends - Quads.mp4

                  Here is the test file. Tell me if this is OK.

                  test quads 2.skp

                  A 1 Reply Last reply Reply Quote 0
                  • fredo6F Offline
                    fredo6 @AISmebel
                    last edited by

                    @AISmebel said:

                    I also want to suggest that after using the plug-in, the components do not deform, bend in shape and retain their component properties

                    I don't understand what you mean.

                    The component / group property is kept. If you bend a component. the output is a component. Same for subcomponents.

                    However, all the content of the container is made unique, because bending is not a transformation but a creation of geometry. This has nothing to do with slicing.

                    panixiaP A 2 Replies Last reply Reply Quote 0
                    • panixiaP Offline
                      panixia @fredo6
                      last edited by

                      @fredo6 said:

                      I also want to suggest that after using the plug-in, the components do not deform, bend in shape and retain their component properties

                      I don't understand what you mean.

                      Wow, I realize that I didn't understand correctly the proposal, so I retreat my + 20 on this.
                      Because you basically can't do that in Sketchup (you'd need some sort of modifier system similar to the 3dsMax one to accomplish this).
                      I understood that he was talking about a non-slicing behavior instead (which would be preferable).

                      1 Reply Last reply Reply Quote 0
                      • panixiaP Offline
                        panixia @AISmebel
                        last edited by

                        @AISmebel said:

                        I would like to ask you to share this interesting plugin. I created a lot of interesting things myself with the help of Claude. It's interesting to see what others are doing.

                        It's currently in the last (I hope so) alpha stage, I'll need to fix a couple of edge cases before it can go beta.

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          AISmebel @fredo6
                          last edited by

                          @fredo6 said:

                          Вот тестовый файл. Скажите, пожалуйста, всё ли в порядке.

                          тестовые квадрокоптеры 2.skp

                          2.mp4

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            AISmebel @fredo6
                            last edited by

                            @fredo6 said:

                            Я не понимаю, что вы имеете в виду.

                            Свойство компонента/группы сохраняется. Если вы изгибаете компонент, на выходе получается компонент. То же самое относится и к подкомпонентам.

                            Однако всё содержимое контейнера уникально, поскольку изгибание — это не трансформация, а создание геометрии. Это не имеет ничего общего с разрезанием.

                            Perhaps I did not state my thought correctly, perhaps I got confused in the terms, or perhaps my translator did not translate it correctly) I want to say the following: when we use a plugin, is it possible not to deform the component so that the component does not lose its connection with its own kind? As an example in the video, I used the Copy Along Curve plugin. He arranged the components in an arc without deforming or making the components unique.

                            3.mp4

                            1 Reply Last reply Reply Quote 0
                            • fredo6F Offline
                              fredo6
                              last edited by

                              Plugins like Copy Along Curve just move and rotate the objects to position them along the curve. So, this is not really bending and it is another use case.

                              For FredoBend, it is possible to add an option where only the top container is modified, leaving the sub-container not deformed.

                              A 1 Reply Last reply Reply Quote 0
                              • alexpacio2013A Offline
                                alexpacio2013
                                last edited by alexpacio2013

                                It doesn't work for me. With my sketchup 2025 full of plugins, it doesn't work. In practice, if I place the object on a line or a curve, it doesn't get curved. While if I install it on sketchup 2026 with very few plugins, it works. There are some incompatibilities, but it doesn't give me any errors. Anyway, congratulations, it's fantastic.
                                [link text](Here is a video In the first case it is that if up 2025 and in the second scatchup 2026
                                https://community.sketchucation.com/post/1620017)

                                Rich O BrienR 1 Reply Last reply Reply Quote 0
                                • Rich O BrienR Offline
                                  Rich O Brien Moderator @alexpacio2013
                                  last edited by

                                  @alexpacio2013 said:

                                  It doesn't work for me

                                  If there are errors in the Ruby Console you should post those to help Fredo determine the cause.

                                  I presume you have an updated LibFredo installed.

                                  Download the free D'oh Book for SketchUp 📖

                                  alexpacio2013A 1 Reply Last reply Reply Quote 0
                                  • alexpacio2013A Offline
                                    alexpacio2013 @Rich O Brien
                                    last edited by

                                    @Rich-O-Brien Latest version of FredoBend 1.2b and FredoLib 15.9a. Everything is up to date.
                                    Ruby console
                                    [#Sketchup::ComponentInstance:0x0000018ac36785f0]
                                    [#Sketchup::Group:0x0000018aca8649c0]
                                    [#Sketchup::Group:0x0000018aca8649c0]
                                    [#Sketchup::Group:0x0000018aca8649c0]
                                    #<NameError: uninitialized constant Array::Fixnum>
                                    C:/Users/roberto.bolletta/AppData/Roaming/SketchUp/SketchUp 2025/SketchUp/Plugins/mx_constructtools/mx_constructtools.rb:12:in block in sum' C:/Users/roberto.bolletta/AppData/Roaming/SketchUp/SketchUp 2025/SketchUp/Plugins/mx_constructtools/mx_constructtools.rb:11:in upto'
                                    C:/Users/roberto.bolletta/AppData/Roaming/SketchUp/SketchUp 2025/SketchUp/Plugins/mx_constructtools/mx_constructtools.rb:11:in sum' c:/users/roberto.bolletta/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/fredo6_fredobend/fredobendcurvetool.rbe:1792:in courbe_register'
                                    c:/users/roberto.bolletta/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/fredo6_fredobend/fredobendcurvetool.rbe:1693:in placement_manage' c:/users/roberto.bolletta/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/fredo6_fredobend/fredobendcurvetool.rbe:1667:in placement_dragging_move'
                                    c:/users/roberto.bolletta/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/fredo6_fredobend/fredobendcurvetool.rbe:424:in onMouseMove' #<NameError: uninitialized constant Array::Fixnum> C:/Users/roberto.bolletta/AppData/Roaming/SketchUp/SketchUp 2025/SketchUp/Plugins/mx_constructtools/mx_constructtools.rb:12:in block in sum'
                                    C:/Users/roberto.bolletta/AppData/Roaming/SketchUp/SketchUp 2025/SketchUp/Plugins/mx_constructtools/mx_constructtools.rb:11:in upto' C:/Users/roberto.bolletta/AppData/Roaming/SketchUp/SketchUp 2025/SketchUp/Plugins/mx_constructtools/mx_constructtools.rb:11:in sum'
                                    c:/users/roberto.bolletta/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/fredo6_fredobend/fredobendcurvetool.rbe:1792:in courbe_register' c:/users/roberto.bolletta/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/fredo6_fredobend/fredobendcurvetool.rbe:1693:in placement_manage'
                                    c:/users/roberto.bolletta/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/fredo6_fredobend/fredobendcurvetool.rbe:1667:in placement_dragging_move' c:/users/roberto.bolletta/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/fredo6_fredobend/fredobendcurvetool.rbe:424:in onMouseMove'

                                    fredo6F 1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      rv1974
                                      last edited by

                                      Looks great Fredo. This is destructive one, isn't it? No way to edit afterwards

                                      fredo6F 1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        AISmebel @fredo6
                                        last edited by

                                        @fredo6 said:

                                        Для FredoBend можно добавить опцию, при которой изменяется только верхний контейнер , а подконтейнер остается недеформированным.

                                        I think that's what you need. At least it would be great to experience it. Thank you.

                                        1 Reply Last reply 👍 Reply Quote 0
                                        • fredo6F Offline
                                          fredo6 @alexpacio2013
                                          last edited by

                                          @alexpacio2013 said:

                                          mx_constructtools

                                          It looks like the plugin mx_constructtools is redefining a base method (Array#sum), which is not a good practice and is dangerous for other plugins. This is causing the error.

                                          1 Reply Last reply Reply Quote 0
                                          • fredo6F Offline
                                            fredo6 @rv1974
                                            last edited by

                                            @rv1974 said:

                                            Looks great Fredo. This is destructive one, isn't it? No way to edit afterwards

                                            The bent object is of course new geometry.

                                            However, as shown in the main video:

                                            • the original object is untouched
                                            • If you modify this original object, you can update the bent object in one click.
                                            • you can also edit the bent object and change the bending parameters. If the original object has been modified, the new bent object will be updated.
                                            • there is an option to save a copy of the original object to an external file. This is for the case where you delete the original object in the model, including its definition.
                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement