sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    [Plugin] SurfaceGen (0.9.0b) β€” 28 April 2012

    Scheduled Pinned Locked Moved Plugins
    69 Posts 25 Posters 60.9k Views 25 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.
    • N Offline
      notareal
      last edited by

      @tig said:

      You already have 'pi' [in lowercase] as a function?

      Also now in axes... get improvement with other functions too πŸ˜„

      Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

      1 Reply Last reply Reply Quote 0
      • D Offline
        driven
        last edited by

        BTW.. the varying size of content seen by jim is most likely due to your using [ font-size: 8pt; ] as although 1px=0.75pt different browsers treat pt oddly,

        with safari, in SU, on my mac 8pt is reading as 8px and everything fits if a bit small.

        learn from the mistakes of others, you may not live long enough to make them all yourself...

        1 Reply Last reply Reply Quote 0
        • N Offline
          notareal
          last edited by

          Got some inspiration from http://abdelhamid394.blogspot.com/


          surfacegen_SU.jpg

          Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

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

            This is very cool.
            Two questions:
            Is there any noise available? If not that would be a great addition.
            I've tried with rand but that isn't noise. 😞

            A few links to good sites with functions and equations for surfaces would also help getting up to speed.

            1 Reply Last reply Reply Quote 0
            • D Offline
              Diggsey
              last edited by

              I've updated the first post with version 0.8.

              @Pixero
              What exactly do you mean by noise? Surely just adding (rand-0.5) will put noise on the graph?

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jim
                last edited by

                Thanks, Diggsey.

                Just a minor annoyance. Since the dialog steals the focsus, whenever I select a Surface, my SU shortcuts don't work. For example, select the Surface to move it - press the 'm' shortcut to Move it - can't Move it because the dialog got the keypress. 😞

                Hi

                1 Reply Last reply Reply Quote 0
                • D Offline
                  Diggsey
                  last edited by

                  Unfortunately, I don't think there's a way to give focus back to SketchUp from ruby. (Someone correct me if I'm wrong!)

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    Jim
                    last edited by

                    I don't think so either, and I realize a small change in workflow is all that's required - but as the saying goes "old habits die hard." No worries.

                    Hi

                    1 Reply Last reply Reply Quote 0
                    • TIGT Offline
                      TIG Moderator
                      last edited by

                      If you pick a surfacegen-entity the surfacegen-dialog appears.
                      Minimize that surfacegen-dialog.
                      The focus will then return to the SKP window.
                      So now you can use shortcuts etc to Move the selected entity etc.
                      Restore the surfacegen-dialog to change the surfacegen-entity's settings... πŸ€“

                      TIG

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

                        @diggsey said:

                        What exactly do you mean by noise? Surely just adding (rand-0.5) will put noise on the graph?

                        With random numbers there is no relationship between a given random and the next random.
                        Noise however, produces a naturally ordered smooth sequence of numbers with makes it more useful when creating surfaces or textures. (Think surface displacement to create waves and clouds.)
                        Here's a few links that explain it better than I can:

                        http://en.wikipedia.org/wiki/Simplex_noise
                        http://www.noisemachine.com/talk1/
                        http://webstaff.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf

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

                          Instant roof. πŸ˜„

                          instant_roof.jpg

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            d12dozr
                            last edited by

                            @diggsey said:

                            Just uploaded a fairly major update to the first post!
                            ...
                            @d12dozr
                            Helpful error message are now shown when an expression is invalid.

                            Thank you...helps me take my baby steps πŸ˜†

                            One thing...when I start a new SU file from File -> New, the dialog for SurfaceGen doesn't pop up. It does work if I close SU down completely and restart. I can draw the boundary box, but then cannot do anything else. I opened the Ruby Console while opening a new file, but didn't get any error messages.

                            3D Printing with SketchUp Book
                            http://goo.gl/f7ooYh

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              robert111
                              last edited by

                              nice roof Pixero

                              but your fonction is not visible.

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

                                -abs(x)+sin(8*y)

                                The rest I think you can see in the picture.

                                1 Reply Last reply Reply Quote 0
                                • OxerO Offline
                                  Oxer
                                  last edited by

                                  Thanks Diggsey for this incredible plugin! πŸ‘
                                  I have translated the plugin to spanish language.
                                  SurfaceGen v0.8 spanish version

                                  "The result is the end what is important is the process" by Oxer
                                  [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                                  1 Reply Last reply Reply Quote 0
                                  • N Offline
                                    noteman8.0
                                    last edited by

                                    nice plugin....THX

                                    1 Reply Last reply Reply Quote 0
                                    • L Offline
                                      LannorMov
                                      last edited by

                                      Me gusta este pluguin,se ve interesante, pero lo veo un poco complicado y de poco uso en Arquitectura, no sΓ© si en otras carreras sea tan ΓΊtil. Voy a buscarle una funciΓ³n. gracias Oxer.

                                      1 Reply Last reply Reply Quote 0
                                      • 66searcher6 Offline
                                        66searcher
                                        last edited by

                                        @Diggsey
                                        πŸ‘ great plugin ! πŸ‘ great job !

                                        http://hamidtoliat.deviantart.com/

                                        1 Reply Last reply Reply Quote 0
                                        • L Offline
                                          LannorMov
                                          last edited by

                                          El otro dia dije "Gracias Oxer" cuando en realidad querΓ­a decir "Gracias Diggsey"
                                          Disculpa.

                                          1 Reply Last reply Reply Quote 0
                                          • 66searcher6 Offline
                                            66searcher
                                            last edited by

                                            a test :


                                            Capture.JPG

                                            http://hamidtoliat.deviantart.com/

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

                                            Advertisement