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.
    • BoxB Offline
      Box
      last edited by

      Yes indeed, was just looking at that. a long error I think repeated.
      Error: #<ArgumentError: Cannot convert argument to Sketchup::Point3d> C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/bezier_patch_quad.rb:528:inintersect_line_line'
      C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/bezier_patch_quad.rb:528:in interpolate_points' C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/bezier_patch_quad.rb:553:in interpolate_interior'
      C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/bezier_patch_quad.rb:262:in refresh_interior' C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/bezier_surface.rb:1046:in block in refresh_automatic_patches'
      C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/bezier_surface.rb:1044:in each' C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/bezier_surface.rb:1044:in refresh_automatic_patches'
      C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/bezier_surface.rb:1026:in update_after_transformation' C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/bezier_surface.rb:427:in transform_entities'
      C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/operator_gizmo.rb:105:in block in init_gizmo' C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/TT_Lib2/gizmo_manipulator.rb:65:in call'
      C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/TT_Lib2/gizmo_manipulator.rb:65:in block (2 levels) in initialize' C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/TT_Lib2/gizmo_manipulator.rb:319:in call'
      C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/TT_Lib2/gizmo_manipulator.rb:319:in block in initialize' C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/TT_Lib2/gizmo_manipulator.rb:1504:in call'
      C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/TT_Lib2/gizmo_manipulator.rb:1504:in onMouseMove' C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/TT_Lib2/gizmo_manipulator.rb:473:in onMouseMove'
      C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/TT_Lib2/gizmo_manipulator.rb:156:in onMouseMove' C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/operator_gizmo.rb:70:in onMouseMove'
      C:/Users/Ben/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/operator_manager.rb:56:in trigger_event'

      It appears this keeps repeating, but I could be wrong.

      Edit: on a second look it doesn't repeat, but is very very long.

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

        @thomthom said:

        I'm really baffled that people find it usable in any sense - considering it's so much that's missing.

        i bet what people could do out of Sub-d "as it is" would be even more surprising πŸ˜›

        1 Reply Last reply Reply Quote 0
        • PixeroP Offline
          Pixero
          last edited by

          I have one request that would make it much more useful.
          Add support for editing without messing up UVs like your vertex tools works.

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

            @box said:

            Yes indeed, was just looking at that. a long error I think repeated.

            Edit: on a second look it doesn't repeat, but is very very long.

            Thanks for posting the error message.

            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

              So are there instructions or tutorials for this?

              MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

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

                @thomthom said:

                @jeff hammond said:

                .

                here's a simple introductory example.. maybe something a lot of people can use..
                seamless background for rendering

                Wow, tutorials already! 😲 I'm really baffled that people find it usable in any sense - considering it's so much that's missing.

                heh.. i was just thinking it was a way to show the scale/rotate/move options available via the gizmo.. also a way to point out that using a radius isn't the best way to build a psyche wall..

                tangent blends aren't the smoothest since they abruptly change from one direction to another and you will see a more defined line in light/reflections.. you want something that eases into the transition.. bezier surface provides this type of blend (a little more control/ snapping of control points is necessary but as is, it still gets the job done.)

                here's a tangent fillet vs one with G3 continuity for example:

                radius fillet on the left -- G3 on the right

                dotdotdot

                1 Reply Last reply Reply Quote 0
                • pilouP Offline
                  pilou
                  last edited by

                  @unknownuser said:

                  Error: #<NoMethodError: undefined method `parent' for nil:NilClass>
                  C:/Users/Pilou/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ChrisP_PutsCompOnFace.rb:21:in `definition'
                  

                  Looks like this extension has injected itself into the system somewhere. Maybe it modified .definition. What happens if you remove that extension?
                  (Also, where did you get that extension?)

                  Removed and all works fine πŸ˜‰
                  This extension is from a French developper πŸ˜‰ Cplassais
                  Look his other plug at PluginStore ColorEdge
                  he made also Explode View (with me πŸ˜‰
                  And numerous other ones it site

                  Frenchy Pilou
                  Is beautiful that please without concept!
                  My Little site :)

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

                    @pbacot said:

                    So are there instructions or tutorials for this?

                    Not much. I basically released this because I haven't been keeping up development lately. So I had thought it was more of a preview and perhaps invite some developers to perhaps contribute in an open source project. However it appear to have drawn a bit more attention than I expected.
                    There are a couple of videos, though I'm not sure if they are visible in the PluginStore - at least I could not find where they ended up. Though they should be linked in this thread, and on the EW description page. You'll also find them from my YouTube channel.

                    But they really are just teasers and not how to.

                    I'm also about to go on vacation for a week so I'll be slow to respond and won't be able to produce anything soon. (I'm in short of time in general.) Meanwhile I'd encourage people to share their experiences on the forum.

                    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

                      @pilou said:

                      Look his other plug at PluginStore ColorEdge
                      he made also Explode View (with me πŸ˜‰
                      And numerous other ones it site

                      But the one that cause problems, that not publicly available? I was hoping to be able to inspect it and then see if I could reach out to the author and ask that he can release a new version that doesn't conflict.

                      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

                        @jeff hammond said:

                        tangent blends aren't the smoothest since they abruptly change from one direction to another and you will see a more defined line in light/reflections.. you want something that eases into the transition.. bezier surface provides this type of blend (a little more control/ snapping of control points is necessary but as is, it still gets the job done.)

                        Got a wireframe of that mesh? I'm curious to what makes out the difference. (I'm wondering if my SUbD tool might address that.)

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

                        1 Reply Last reply Reply Quote 0
                        • pilouP Offline
                          pilou
                          last edited by

                          @unknownuser said:

                          But the one that cause problems, that not publicly available? I was hoping to be able to inspect it and then see if I could reach out to the author and ask that he can release a new version that doesn't conflict.

                          Components on face by CPlassais

                          Frenchy Pilou
                          Is beautiful that please without concept!
                          My Little site :)

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

                            @thomthom said:

                            Got a wireframe of that mesh? I'm curious to what makes out the difference. (I'm wondering if my SUbD tool might address that.)

                            the render mesh looks like this:

                            blendRenderMesh.jpg

                            the tangent one has all facets at equal angles/sizes whereas the g3 blend starts off mellower then gradually tightens..

                            at the highest end, this stuff only really matters if you're designing surfaces for cars etc but at the midTOlow end, some of it can & should trickle down into sketchup/architecture/furniture/etc.

                            dotdotdot

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

                              @pilou said:

                              Components on face by CPlassais

                              That is using the exact code that smartdrop.rb uses - which is bugged and breaks the Ruby API.

                              
                              class Sketchup;;Group
                                      def definition
                                              return(entities[0].parent)
                                      end
                              end
                              
                              

                              I'm about to take a weeks vacation so I'll be off the grid. Pilou, since you worked with him, care to follow up with him on the issue? Request that he updates his extension to not modify the Ruby API?

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

                              1 Reply Last reply Reply Quote 0
                              • pilouP Offline
                                pilou
                                last edited by

                                No problem I will send him this advice! πŸ˜„

                                Frenchy Pilou
                                Is beautiful that please without concept!
                                My Little site :)

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

                                  Hi Thomthom and guys, can anyone move a point with a fixed measurement?

                                  Each time I try to move say 2m to the side, the measurement box assumes I want 2 subdivisions and the SU bugsplats. Is it only me and maybe a plugin clash or does it happen to more users?

                                  I think subdivision is really important to be able to input quickly, but distance is even more. What would you feel about introducing subdivisions as "2s" while "2" would be used for units?

                                  (Thomthom - I submited the bugsplats.)

                                  What a wonderful plugin this is! Such an intuitive way of modeling surfaces!

                                  Thanks,

                                  JoΓ£o

                                  www.casca.pt
                                  Visit us on facebook!

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

                                    Yes for me using the Gizmo defaults to subdivisions and will bug splat if you try 2.
                                    However, the Move tool works properly with measurements, including 2m.

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

                                      I think this will become the skinning plugin of choice for bodywork and such very quickly.
                                      For example: You know how fiddly it can be to set up the sections to make a nice curviloft helicopter, or a smooth hood for you car etc etc
                                      This Huey skin took no time at all, it's all done by eye, a little more effort or a framework to work to and you would have lovely clean skins.


                                      Huey.JPG

                                      1 Reply Last reply Reply Quote 0
                                      • pep75P Offline
                                        pep75
                                        last edited by

                                        Another brilliant plugin ThomThom!!! Great!!!

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

                                          Another situation where surface is brilliant.
                                          The ten minute custom shaped bathtub.
                                          The bath itself and it's edge are a solid skin, theoretically printable.

                                          http://i155.photobucket.com/albums/s296/storeben/SU/Bath.png

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

                                            @box said:

                                            Yes for me using the Gizmo defaults to subdivisions and will bug splat if you try 2.
                                            However, the Move tool works properly with measurements, including 2m.

                                            Yes I noticed that move works...

                                            Shame also that we can't scale to 0.

                                            Those are the only things that make this imperfect, otherwise the tool is GORGEOUS to work with!

                                            www.casca.pt
                                            Visit us on facebook!

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

                                            Advertisement