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

    [Plugin][WIP][OpenSource] Bezier Surface

    Scheduled Pinned Locked Moved Plugins
    245 Posts 69 Posters 47.4k Views 69 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.
    • KrisidiousK Offline
      Krisidious
      last edited by

      Thanks Oxer.

      By: Kristoff Rand
      Home DesignerUnique House Plans

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        @box said:

        If you type 2 enter, in other words try to set the subdivisions to 2, it will bug splatt.

        I have reproduced this and created a fix. The fix will appear in TT_Lib2 however. I'm still looking into a couple of other issues - so I'm not pushing an update right now. Just be careful no to change the subdivs to less than 3 until Bezier Surface and TT_Lib2 is updated.

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

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          @box said:

          I found a little problem with it.
          If you scale to 0 as a way of straightening an edge it freezes and won't update the surface. If you get out of edit mode and go back in an move a point it will revert to the unscaled skin.

          http://i155.photobucket.com/albums/s296/storeben/SU/0Scale.gif

          This is turning out to be trickier to fix. What happens is that when you scale the edges it currently scales the handles. So when you scale to zero it scales the handles to zero and all kind of bad things happen.
          I need to add the implicit handle scaling as an option (by default off is probably best). Also need to prevent handles from becoming completely zero length - or some way to restore them.
          There is also an issue in the current way the scaling that once you have scaled to zero, nothing will scale back. That is even tricker to fix.

          I need to split this out into multiple fixes.

          You can check the status in the Issue Tracker:
          https://bitbucket.org/thomthom/bezier-surface/issues?status=new%26amp;status=open

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

          1 Reply Last reply Reply Quote 0
          • BoxB Offline
            Box
            last edited by

            Thanks for looking into it Thomthom, it's such a good tool, with amazing potential.
            I tried Bezier Triangle today from EH and it's nowhere near as good.

            1 Reply Last reply Reply Quote 0
            • JQLJ Offline
              JQL
              last edited by

              @thomthom said:

              @jql said:

              (Thomthom - I submited the bugsplats.)

              Which platform and what OS? Did you mention Bezier Surface in the BugSplats?

              Win7 SU2015 64bits and I believe I did mention Bezier Surface

              www.casca.pt
              Visit us on facebook!

              1 Reply Last reply Reply Quote 0
              • JQLJ Offline
                JQL
                last edited by

                @oxer said:

                Other suggestion, it would be very interesting if you could adjust the control points to a external geometry of the bezier surface, like the inference in SU, so you can adjust quickly your bezier surface to a predefined shape.

                Would be perfect.

                And what if you'd pick a quadface (defined in quadface tools) and convert it on a bezier patch.

                www.casca.pt
                Visit us on facebook!

                1 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  @thomthom said:

                  @box said:

                  If you type 2 enter, in other words try to set the subdivisions to 2, it will bug splatt.

                  I have reproduced this and created a fix. The fix will appear in TT_Lib2 however. I'm still looking into a couple of other issues - so I'm not pushing an update right now. Just be careful no to change the subdivs to less than 3 until Bezier Surface and TT_Lib2 is updated.

                  I've uploaded a new version of TT_Lib2 which should fix the crash. You can now safely set the segments down to 1 if you like.

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

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

                    I am getting this error message in SKP 2015

                    I wonder if "Error: #<Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8>" refers to the fact the default new plugins folder path is the "USER" and in my language it´s USUÁRIO with that accent over the A.

                    Error Loading File C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/core.rb
                    Error: #<Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8>
                    C:/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:109:in end_with?' C:/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:109:in rescue in require'
                    C:/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:35:in require' C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/core.rb:117:in block in module:BezierSurfaceTools'
                    C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/core.rb:115:in each' C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/core.rb:115:in module:BezierSurfaceTools'
                    C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/core.rb:33:in <top (required)>' C:/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb:197:in require'
                    C:/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb:197:in load' C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface.rb:42:in register_extension'
                    C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface.rb:42:in <module:BezierSurfaceTools>' C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface.rb:15:in module:Plugins'
                    C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface.rb:14:in <module:TT>' C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface.rb:13:in <top (required)>'

                    1 Reply Last reply Reply Quote 0
                    • thomthomT Offline
                      thomthom
                      last edited by

                      @aceshigh said:

                      I wonder if "Error: #<Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8>" refers to the fact the default new plugins folder path is the "USER" and in my language it´s USUÁRIO with that accent over the A.

                      Yes ... but I thought I had fixed that. Exactly what version do you have installed?

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

                      1 Reply Last reply Reply Quote 0
                      • thomthomT Offline
                        thomthom
                        last edited by

                        Meh! I can reproduce this. Another Ruby encoding issue with filesystem functions. I think I have a fix for this. Look for an update.

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

                        1 Reply Last reply Reply Quote 0
                        • thomthomT Offline
                          thomthom
                          last edited by

                          Just realized I'd forgotten to push a couple of other fixes so I uploaded a new version now (0.1.3). Live on PluginStore - pending review on Extension Warehouse.

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

                          1 Reply Last reply Reply Quote 0
                          • JQLJ Offline
                            JQL
                            last edited by

                            @thomthom said:

                            Just realized I'd forgotten to push a couple of other fixes so I uploaded a new version now (0.1.3). Live on PluginStore - pending review on Extension Warehouse.

                            Aren't you the one reviewing extensions on EW? That seems beurocratic... 😎

                            BTW what a great tool you have here... full of possibilities!

                            Would rival the rotated rectangle tool/pushpull combo if my buildings weren't so... well... flat!

                            Thanks again Thomthom!

                            www.casca.pt
                            Visit us on facebook!

                            1 Reply Last reply Reply Quote 0
                            • thomthomT Offline
                              thomthom
                              last edited by

                              @jql said:

                              Aren't you the one reviewing extensions on EW? That seems beurocratic... 😎

                              I'm not the sole person handling it. And it wouldn't be right for me to review my own extension. 😉

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

                              1 Reply Last reply Reply Quote 0
                              • cmeedC Offline
                                cmeed
                                last edited by

                                GREAT TOOL!
                                So easy to use. this took me 30 minutes, it's not anatomically correct but I think you can get quite close .
                                I've had limited time using this, is there a bug when you try to use it over an image, I tried drawing the patches over a reference image but the tool wouldn't work. When I clicked inside the box there was just a mesh of quad. the Bezier surface tools didn't appear.
                                To make this image I just started afresh. I will endeavour to try again soon to see if this is a problem or not.


                                ANATOMY1.jpg

                                1 Reply Last reply Reply Quote 0
                                • cmeedC Offline
                                  cmeed
                                  last edited by

                                  encountered a problem. All the patches have disappeared and it's now one mesh. Can't seem to get the patches back but I had great fun while it lasted.
                                  Can't wait till I have more time to play with this
                                  Cheers
                                  Chris


                                  ANATOMY2.jpg

                                  1 Reply Last reply Reply Quote 0
                                  • pbacotP Offline
                                    pbacot
                                    last edited by

                                    Whoa, excellent SU modelling, Cmeed!

                                    MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                                    1 Reply Last reply Reply Quote 0
                                    • thomthomT Offline
                                      thomthom
                                      last edited by

                                      @cmeed said:

                                      encountered a problem. All the patches have disappeared and it's now one mesh. Can't seem to get the patches back but I had great fun while it lasted.
                                      Can't wait till I have more time to play with this
                                      Cheers
                                      Chris

                                      I think that's the bug which I have a fix for already - will be released soon. I found that the bezier tool wouldn't always activate.

                                      Though it appear to work again if I first draw a new temp patch.

                                      Just to confirm, do you get any errors in the Ruby Console?

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

                                      1 Reply Last reply Reply Quote 0
                                      • cmeedC Offline
                                        cmeed
                                        last edited by

                                        Sorry no i didn't look at the ruby console.
                                        So in future - do I have the ruby window open while I work or open it when something's happened. Just do I know for next time.
                                        Great work. (As always)
                                        C

                                        1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          cuttingedge
                                          last edited by

                                          I got it finally working.. It will do wonders for me...For once, I have a feeling Im working in Max environment. Clean mesh... Thank you so so much Thomthom. I look at you and I see possibilities for our beloved SU to conquer the 3d world..May your kind multiply..

                                          BTW, Im still awaiting updates for the non destructive SubD..

                                          1 Reply Last reply Reply Quote 0
                                          • thomthomT Offline
                                            thomthom
                                            last edited by

                                            @cmeed said:

                                            Sorry no i didn't look at the ruby console.
                                            So in future - do I have the ruby window open while I work or open it when something's happened. Just do I know for next time.
                                            Great work. (As always)
                                            C

                                            Before - otherwise it won't be recorded. So if you experience problems, undo, open Ruby Console and try again.

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

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 12 / 13
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement