• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin][WIP][OpenSource] Bezier Surface

Scheduled Pinned Locked Moved Plugins
245 Posts 69 Posters 47.4k Views
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.
  • T Offline
    thomthom
    last edited by 4 Dec 2014, 23:29

    @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
    • B Online
      Box
      last edited by 4 Dec 2014, 23:48

      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
      • J Offline
        JQL
        last edited by 5 Dec 2014, 11:13

        @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
        • J Offline
          JQL
          last edited by 5 Dec 2014, 11:18

          @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
          • T Offline
            thomthom
            last edited by 6 Dec 2014, 15:20

            @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 24 Dec 2014, 19:21

              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
              • T Offline
                thomthom
                last edited by 27 Dec 2014, 17:37

                @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
                • T Offline
                  thomthom
                  last edited by 27 Dec 2014, 18:03

                  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
                  • T Offline
                    thomthom
                    last edited by 27 Dec 2014, 18:19

                    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
                    • J Offline
                      JQL
                      last edited by 28 Dec 2014, 00:47

                      @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
                      • T Offline
                        thomthom
                        last edited by 28 Dec 2014, 14:41

                        @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 9 Jan 2015, 21:37

                          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 9 Jan 2015, 22:01

                            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 10 Jan 2015, 01:20

                              Whoa, excellent SU modelling, Cmeed!

                              MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                thomthom
                                last edited by 10 Jan 2015, 15:08

                                @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 10 Jan 2015, 20:08

                                  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 11 Jan 2015, 20:08

                                    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
                                    • T Offline
                                      thomthom
                                      last edited by 12 Jan 2015, 11:16

                                      @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
                                      • T Offline
                                        thomthom
                                        last edited by 12 Jan 2015, 11:17

                                        @cuttingedge said:

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

                                        It's coming along. 😄

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

                                        1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          saldstudio
                                          last edited by 9 Dec 2015, 15:12

                                          hello,

                                          im litttle confused with this plugin. Ive got latest version, and toolbar looks different

                                          http://s18.postimg.org/jsbuls3ih/bar.jpg

                                          Its about some older version, that had triangle surface?
                                          And how can I precize manipulate with green, bezzier lines (to modify shape)?
                                          Always when I try to model sommething symmetricval, I fail, becouse I cant do the same thing on both sides, becouse those green lines cant react with sketchup tricks (like shift+direction, or set lenght manualy).

                                          Still great work and plugin 😄

                                          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