• Login
sketchucation logo sketchucation
  • Login
🤑 30% Off | Artisan 2 on sale until April 30th 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 14 Dec 2012, 09:16

    😄

    Hope to show off more fun stuff once I've completed the rewrite of the core needed to implement the next set of tools and features. Ran into a little roadblock. 😕

    I feel quite bad for having teased people with this for two years! 😞

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

    1 Reply Last reply Reply Quote 0
    • C Offline
      cotty
      last edited by 14 Dec 2012, 09:49

      @thomthom said:

      I feel quite bad for having teased people with this for two years! 😞

      In German we say "Vorfreude ist die schönste Freude."
      No idea if the google translation "Anticipation is half the fun." make sense?!

      May the force be with you...

      my SketchUp gallery

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 14 Dec 2012, 10:05

        At some point the anticipation isn't fun any more...

        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
          jolran
          last edited by 14 Dec 2012, 10:41

          Wow, performance seems very quick. 👍
          May I ask, is it all Ruby?

          1 Reply Last reply Reply Quote 0
          • T Offline
            thomthom
            last edited by 14 Dec 2012, 11:13

            @jolran said:

            Wow, performance seems very quick. 👍
            May I ask, is it all Ruby?

            At the moment, yes. Though I expect that eventually some will need to be ported to C - like I did with Vertex Tools. But the biggest bottleneck is SketchUp itself - in that adding geometry gets slower the more geometry is already in the model. 😞

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

            1 Reply Last reply Reply Quote 0
            • I Offline
              iichiversii
              last edited by 14 Dec 2012, 16:30

              Take your time TT, looking forward to the release, it will be an addition to vertex tools, keep up the great work 👍

              Bring on the Rain...

              1 Reply Last reply Reply Quote 0
              • J Offline
                jolran
                last edited by 14 Dec 2012, 19:14

                @unknownuser said:

                But the biggest bottleneck is SketchUp itself - in that adding geometry gets slower the more geometry is already in the model

                You mean the total amount of edges-faces in model or the subdividing procedure?

                But still, all Ruby you say. That looks like you got some nice realtime response, thought you pulled some C extension on it already.

                Hope you find time to do some more tutorials on C-extensions later then 😉

                1 Reply Last reply Reply Quote 0
                • C Offline
                  cuttingedge
                  last edited by 14 Dec 2012, 20:53

                  This should be at the very core of Sketchup's future release.. Amazing tool. Your'e brilliant Thomas!..I believe you could author a toolset like T-spline!

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    thomthom
                    last edited by 15 Dec 2012, 11:50

                    @jolran said:

                    You mean the total amount of edges-faces in model or the subdividing procedure?

                    Yea, as SketchUp adds geometry it will check the added geometry for intersections and merging. Meaning that for every entity you add it will loop over every other entity. So it's not even a linear degradation of performance - it's just get horribly slow quickly. 😞

                    @jolran said:

                    But still, all Ruby you say. That looks like you got some nice realtime response, thought you pulled some C extension on it already.

                    At the moment it's ok for the tests I do. I mean, it's not the biggest test models because I haven't made the tools to create anything useful. But once the tools are taking into place I need to focus on performance and the calculation of the bezier curves will most likely need to be ported to C.
                    At the moment I reduce the subdivisions when the tools are editing the mesh, for a faster response. But I might try to just draw virtual mesh with OpenGL draw commands, like I played around with in my Catmull-clart subdivision experiment: http://sketchucation.com/forums/viewtopic.php?f=333&t=47691&p=427968#p427968
                    Problem with that is there is no shading of the polygons, so you lose some feeling of the surface since it's just flat shading. Not sure how to do that in the end - kindof hopes for some amazing new feature in SketchUp that will make this easier.

                    @jolran said:

                    Hope you find time to do some more tutorials on C-extensions later then 😉

                    I have some projects that need C Extensions, and usually when I venture off into unknown territories I need to write stuff down so I remember it. Tutorials, guides or blog posts are great for this. It forces you to think about what you think you know.

                    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 15 Dec 2012, 11:51

                      @cuttingedge said:

                      I believe you could author a toolset like T-spline!

                      I don't know about that, least not yet. I'm struggling with the math of plain ol' bezier patches. T-Splines is some very clever stuff.

                      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
                        jchau2007
                        last edited by 26 Mar 2013, 22:45

                        TT,
                        Please update us as to where you are at with the Bezier Surfae tool development. We are all waiting on this one for a long time. Well let say you are crossing over two franchises, from Google to now Trimble.

                        thanks,
                        James

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          thomthom
                          last edited by 26 Mar 2013, 23:25

                          Yea, it's been taking a long time. It's been a much bigger project than I'd imagined.

                          I've done, what I think, is most of the core. I've begun to work on the tools to manipulate the meshes now.

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

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            dmatho
                            last edited by 30 Mar 2013, 19:47

                            Where's the "Super Like" button? 👍

                            1 Reply Last reply Reply Quote 0
                            • simon le bonS Offline
                              simon le bon
                              last edited by 30 Mar 2013, 23:28

                              @thomthom said:

                              Yea, it's been taking a long time. It's been a much bigger project than I'd imagined.

                              I've done, what I think, is most of the core. I've begun to work on the tools to manipulate the meshes now.

                              "Courage" Thom! this is going to be a wonderful tool, an indispensable one. May be your "Chef d'oeuvre".

                              ++simon

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                thomthom
                                last edited by 31 Mar 2013, 11:11

                                I think it's best if I aim for a more basic first release - then do more continuous smaller updates evolving it.

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

                                1 Reply Last reply Reply Quote 0
                                • I Offline
                                  interior_design
                                  last edited by 7 Sept 2014, 17:03

                                  Many thanks Mr. Thomas for the great efforts in providing very useful plugines for SU. I really aspire to have this plugin into geometry application of SU very soon. I know it is a big project that you didn't imagine it would take that much of time, but at least you got an idea now about the remaining percentage of completing this project.

                                  Regards,

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    thomthom
                                    last edited by 21 Nov 2014, 12:23

                                    Bezier Surface is now free and open source!
                                    http://www.thomthom.net/thoughts/2014/11/bezier-surface-for-sketchup-is-now-open-source/

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

                                    1 Reply Last reply Reply Quote 0
                                    • pbacotP Offline
                                      pbacot
                                      last edited by 21 Nov 2014, 15:38

                                      Woohoo! (where is everyone?). Thanks TT!

                                      MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                                      1 Reply Last reply Reply Quote 0
                                      • U Offline
                                        unclex
                                        last edited by 21 Nov 2014, 15:54

                                        It's really nice!!!!!!!!
                                        But unfortunately, I can only drug out the Purple Grid, cannot double clicked and continued, just showing
                                        Bezier Surface Updating.....
                                        win8.1x64 @SU2015x64 & SU2013, both happened
                                        Should be there any bugs with others plugins?

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          thomthom
                                          last edited by 21 Nov 2014, 18:20

                                          @unclex said:

                                          But unfortunately, I can only drug out the Purple Grid, cannot double clicked and continued, just showing
                                          Bezier Surface Updating.....

                                          Can you share example model or screenshot?
                                          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
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 6
                                          • 7
                                          • 8
                                          • 12
                                          • 13
                                          • 6 / 13
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement