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

    My ruby's

    Scheduled Pinned Locked Moved Plugins
    22 Posts 12 Posters 4.2k Views 12 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.
    • B Offline
      bellwells
      last edited by

      The extrude tool is not working for me neither in SU5 nor SU6. I can get the dialogue box (select a face>Plugins>JS Extrude) and enter my data but nothing happens. Any thoughts? I'll check back in the AM.

      Ron

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

        Just a thought... are you extruding in a direction that is possible?
        (I mean not in 90 degrees from the surface normal.)
        And of cause you'll have to click ok.
        Other than that I dont know. Are you on Mac or Windows?

        And Coen, I want people to come to my site to download.

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

          Two more scripts added.

          JS Shadow Threshold
          Set the threshold for when a transparent object will cast shadows.
          Works on either entire model or a selection.

          JS Shadow Control
          Set if a selection should cast or receive shadows.

          Get them at my site: http://www.pixero.com

          Enjoy! πŸ˜„

          Jan

          1 Reply Last reply Reply Quote 0
          • ToboboT Offline
            Tobobo
            last edited by

            Thanks for the align tool. It'll make my job a lot easier. Those trees will be in line now. (muah ha ha)

            Toby

            Philippians 4:13

            I can do everything through him who gives me strength.

            1 Reply Last reply Reply Quote 0
            • I Offline
              Insitebuilders
              last edited by

              JS

              Not sure if I'm missing somethg, is there a way to get a translucent surface (like the glass in a window) to receive a shadow (using JS ShadowControl)? Or is this for opaque objects? Also, at say 75% translucence (>) should the object be casting a faded shadow? I haven't been able to make that work....

              BTW thanks for these tools, especially your Zoom Selected tool, I've always had to ident the object in the Outliner, the use 3 shortcuts, to Edit, Hide the rest of the model, and then zoom extents. When you issued that one it became one step and I thank you ea time I use it.

              Thx again.

              /D

              1 Reply Last reply Reply Quote 0
              • B Offline
                bellwells
                last edited by

                @pixero said:

                Just a thought... are you extruding in a direction that is possible?
                (I mean not in 90 degrees from the surface normal.)
                And of cause you'll have to click ok.
                Other than that I dont know. Are you on Mac or Windows?

                And Coen, I want people to come to my site to download.

                Jan,

                Sorry it took me so long to acknowledge your reply. As is often the case, it was my fault-operator error.
                Thanks.

                Ron

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

                  Added small update to jsBackgroundColor.rb so you now can control ground color as well.

                  favicon

                  (www.pixero.com)

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

                    While working on another script I stumbled on this (camera.focal_length) in the docs.
                    I haven't seen this before and since I repeatedly have had problems with using field of view I though I'd share it.
                    Here is a small script called jsFocalLength that lets you set the cameras focal length in mm. You'll find it under Camera menu.

                    favicon

                    (www.pixero.com)

                    1 Reply Last reply Reply Quote 0
                    • tbdT Offline
                      tbd
                      last edited by

                      is not the same as entering "35mm" in VCB while on Zoom tool ?

                      SketchUp Ruby Consultant | Podium 1.x developer
                      http://plugins.ro

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

                        Ok, I never knew it was there. Anyway, if anyone wants it...

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

                          Added js Frame Step. A script for showing a specified frame of an animation.
                          You need at least two scenes for it to work. Type in the frames per second you use (Typically: NTSC 30, PAL 25, Film 24) and then the frame you want to go to.

                          Added js Camera Tool. A script for offseting camera rotation and translation numericly.

                          favicon

                          (www.pixero.com)

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

                            Updated my jsMoveTool at a request. Now press ctrl (Apple key on Mac) to move 1/10 the entered value and Shift to move 10 * the entered value. (And press alt for moving in Z direction as before.)
                            Thanks to Rick W for fixing a bug.

                            Get it at my site http://www.pixero.com

                            Enjoy! πŸ˜„

                            1 Reply Last reply Reply Quote 0
                            • 2 Offline
                              2myChaGrin
                              last edited by

                              Thanks so much for you work Jan. I use your scripts quite often and have never officially said thank you.

                              1 Reply Last reply Reply Quote 0
                              • Z Offline
                                zed252000
                                last edited by

                                πŸ‘
                                this will be helpful.
                                thanks!

                                Whatever we IMAGINE....

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  brechtix
                                  last edited by

                                  The new and improved jsmovetool is handy for adjusting dimensions as well.

                                  Eagerly awaiting Layout 1.0 with ruby...

                                  Brecht.

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    matt77
                                    last edited by

                                    Hi Pixero,,

                                    Many Thanks for the scripts, especially the JS frame step,

                                    this isn't necessarily a request for you but I'm surprised this hasn't been discussed more.
                                    Could this not be incorporated or adapted so that it could be used with some rendering software to produce animations. Unless i missed something I'd have thought this would have jumped on many others.

                                    either way

                                    many Thanks

                                    Matt

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

                                    Advertisement