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

    Is anything impossible?

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    63 Posts 20 Posters 8.7k Views 20 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.
    • thomthomT Offline
      thomthom
      last edited by

      What about parametric patch modelling in SU? πŸ˜‰

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

      1 Reply Last reply Reply Quote 0
      • GaieusG Offline
        Gaieus
        last edited by

        Ah yes, and texturing and distorted UVMapping (don't say there is Whaat's plugin because all the job is done in external apps now, with UV Tools 2)
        πŸ˜‰

        Gai...

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

          i think it's possible to get things to look similar to other things but once you get into the true measurements and shapes, everything is screwed up and there's really no way to draw certain shapes accurately.. kwisten's picture is one example.. i'm sure i could make something look similar but if i tried to build it, many of the surfaces would be kinked etc..

          an example of something i've tried for years to do accurately in SU is :

          screen.jpg

          i recently gave up trying and realized i need to learn a new app.. i drew that very quickly and accurately using rhino and i can still go back and edit the surfaces once they're formed (changing the continuity of the blends etc)..

          so yeah, i'd say SU can be used for highly accurate drawings up to a certain point but then it falls flat on it's face.. the flipside is that for the things SU is best at, it can't really be beat in terms of speed & freedom..

          dotdotdot

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

            Jeff, that screenshot, that's what I have in mind with Patch modelling in SU. After making that Teapot plugin, which consisted of Bezier Patches - I have been toying with the idea of making a tool to make parametric patches in SU.

            There are two ways around this I see it working:
            Like 3DSMax' Patch tool - you have 4 vertices and control handles attached to each vertex. (there are 4 points then which I then have to interpolate)
            Or, having direct control to each 16 control points.

            Link Preview Image
            Rendering Cubic Bezier Patches

            favicon

            (web.cs.wpi.edu)

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

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

              @thomthom said:

              Jeff, that screenshot, that's what I have in mind with Patch modelling in SU. After making that Teapot plugin, which consisted of Bezier Patches - I have been toying with the idea of making a tool to make parametric patches in SU.

              the problem (or challenge) i see with creating a simple patch tool is that it would work like soap skin & bubble in that it's only thinking of the patch itself and it's outer edges while ignoring the mating surfaces.. that's the trick, getting the mating surfaces and the patch to blend smoothly..

              here's a surface analysis of the picture i posted above. all of the surfaces and their shapes are considered instead of rhino simply trying to fill in a hole.
              zebra.jpg

              dotdotdot

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

                "mating surfaces"?

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

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

                  @thomthom said:

                  "mating surfaces"?

                  ha, yeah, i was hoping that was understandable πŸ˜„

                  basically, taking the picture i posted, the mating surfaces(?) are doing 3 different things..

                  click pic for larger

                  i think it would be very hard (impossible?) for SU to analyze the surfaces in that shot and ensure the resulting patch blends properly.. i think it would create a bunch of kinks instead of one smooth continuous surface.

                  dotdotdot

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

                    for example, i think this would happen with a sketchup patch tool:

                    screen3.jpg

                    for that, i only used the edges to make a patch instead of considering the adjoining surfaces.. while it will fill the hole and possibly even look OK on the computer, it's unusable for real world applications.

                    for comparison, the smooth one again:

                    zebra.jpg

                    dotdotdot

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

                      So you're talking about kinks in UV mapping - not the geometry?

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

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

                        no, the geometry.. those zebra stripes are just a rhino feature for analyzing smoothness & nothing to do with texture mapping.. i guess it's hard to describe how to view it unless you've tried it yourself..

                        it's basically telling you that if you were to run your hand over some of the blends (in the bad version) that you would feel a noticeable valley near the concave blend and a peak at flat blend.. a bit of both on the convex blend..

                        the valley created by the concave blend is very bad.. here's a shot looking down at the structure from above/behind.. you'll see the patch comes in at a hard angle an creates a very noticeable valley instead of a smooth continuous surface.

                        screen4.jpg

                        dotdotdot

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

                          It should be possible to make transitions between patches smooth.

                          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
                            dedmin
                            last edited by

                            And another story is to try manufacture that kind of shapes from SketchUP! I also started using Rhino.
                            http://web.mac.com/rhino3dtv/TV/Tutorials/Tutorials.html

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

                              @thomthom said:

                              It should be possible to make transitions between patches smooth.

                              i would truly be amazed! that's for sure..

                              if you're going to go down that route, you'd basically want to make sure all of the bezier splines(?) used to make the patch make tangent connections to the mesh lines in the adjoining surfaces..

                              dotdotdot

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

                                A Bezier Patch is a set of 4x4 control points. From that a series of Bezier curves is generated in the horizontal and vertical direction. Getting adjacent patches to be smooth should be accomplished by making the opposite control-points tangent to each other. (At least in theory if I understand it correctly.) I should be starting on making a prototype soon.

                                What I'm also playing around with is Modifier stacks to these patches. So you can add a modifier to extrude (add thickness) to the patches.

                                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

                                  Another plus with the bezier patches is that UV mapping them should be relatively easy, at it's all in regular quad/triangle grids.

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

                                  1 Reply Last reply Reply Quote 0
                                  • soloS Offline
                                    solo
                                    last edited by

                                    Maybe I'm issing something here but according to the images above, SU's most primative tools can be used, namely 'from contours' in the sandbox toolset.

                                    I did a quick mock up.


                                    patch1.jpg


                                    patch2.jpg

                                    http://www.solos-art.com

                                    If you see a toilet in your dreams do not use it.

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

                                      @solo said:

                                      Maybe I'm issing something here

                                      yes, i think so..
                                      that's what i'm saying about making something look sort of right in sketchup but it being totally wrong in real world dimensions..

                                      for one pete, your blended surface has two giant flat triangles where as the desired surface has no flat areas at all.

                                      dotdotdot

                                      1 Reply Last reply Reply Quote 0
                                      • GaieusG Offline
                                        Gaieus
                                        last edited by

                                        AND it would never be editable.

                                        Gai...

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

                                          model thisPicture 3.png
                                          sorry is that OT? Been enjoying watching you guys outdo yourself.

                                          MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                                          1 Reply Last reply Reply Quote 0
                                          • Chris FullmerC Offline
                                            Chris Fullmer
                                            last edited by

                                            What I discovered about Jeff a while ago, and needs to be kept in mind when trying to answer ihs questions:

                                            He designs professional skateboard ramps in Sketchup and they actually get built using his 3d models as a base for dimensions. 😲

                                            So solutions that appear to work in Sketchup, often do not really work. Like in Solo's example, it fills the gap nicely, but imagine trying to skate on it. Everything needs to be smooth, no angled transitions, no flat planes alowed.

                                            Seriously Jeff, I'm amazed at what you are able to do in SU. That it even fits into your skateboard park modeling workflow amazes me.

                                            I do think that a patch solution might be possible if it could take into account the adjoining surfaces Thom. I guess it has handles that you would pull out and align to the neighbors?

                                            Good luck to you on this πŸ˜„

                                            Chris

                                            Lately you've been tan, suspicious for the winter.
                                            All my Plugins I've written

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement