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!
    ⚠️ Update | Sketchucation Tools 5.0.8 released with licensing improvements and bugfixes Download

    Ruby Documentation - you can help update it!

    Scheduled Pinned Locked Moved Developers' Forum
    14 Posts 7 Posters 4.0k Views 7 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.
    • J
      Jim
      last edited by

      @unknownuser said:

      @jim said:

      Would it make sense to create a sub-forum for this?

      For just one post? Please clarify.

      Todd has asked for this community to contribute SketchUp Ruby API documentation updates. My thought was that it would be easier for Todd to find and manage these document-related posts if they had their own sub-forum.

      @unknownuser said:

      On the topic of adding subforums, there is a common consensus - at least among the Moderators - to add as few new forums as possible. We actually prefer to shrink the index even further, but we've arrived at the point where we have ditched all the useless forums pretty much.
      That said, once the transfer is complete (just 12 pages to go ladies and gents!) we will shortly introduce User Groups to the board. This is a feature that allows for people to 'subscribe' to whatever forums they want to see on the index. This way people can see as many or as few forums and subforums as they like. If someone wants to see less forums they can just unsubscribe to them, yet maintain full access to them, regardless of their subscription. (Needless to say, these subscriptions are free, as is always the case for everything in the entire SketchUp Community Forums.)

      I understand.

      Hi

      1 Reply Last reply
      Reply Quote 0
      • T
        todd burch
        last edited by

        In my opinion, everything is working fine. When I have seen discussions that warranted clarifications in the doc, I've updated the doc and mentioned the update in those threads.

        What I had outlined above was a fairly formal process, and now I see it really doesn't need to be that formal. So far, the rate of changes hasn't even been close to overwhelming.

        I guess now I would suggest that if a discussion occurs where it is mentioned the doc needs updating, and I don't see it and acknowledge that "I'm on it", then someone could PM me to alert me to the thread where the discussion is already taking place.

        Todd

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

          I've created a bookmark-able search to make it easy to locate the [ruby doc] requests:

          404 Not Found

          favicon

          (www.sketchucation.com)

          If I've missed any doc requests, let me know.

          Hi

          1 Reply Last reply
          Reply Quote 0
          • D
            Direct
            last edited by

            Hello all,
            I'm not sur it's the right place but ...
            I would like to know if, instead of the default ruby console, it exist a user development interface like in C language, that let you program, debug inline (step by step etc.)
            If exist such an "interactive" editor/interface it's really pretty hard to find where.
            If it does not πŸ‘Ž it really missing.

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

              A quick forum search for "Debug" should give you a few results.

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

              1 Reply Last reply
              Reply Quote 0
              • D
                Direct
                last edited by

                @thomthom said:

                A quick forum search for "Debug" should give you a few results.

                Thanks

                1 Reply Last reply
                Reply Quote 0
                • R
                  RobertCarlRice
                  last edited by

                  def ChangeCircleRadius( circle, center, radius )
                  	pts = Array.new
                  	curve = circle.first.curve
                  	curve.vertices.each do | vertex |
                  		vec = vertex.position - center
                  		vec.length = radius
                  		pts << center + vec
                  	end
                  	curve.move_vertices( pts )
                  end
                  
                  1 Reply Last reply
                  Reply Quote 0
                  • J
                    Jim
                    last edited by

                    Robert - nice bit of code there.

                    I added the code tags around your ruby code. The code tags make the formatting a little nicer. Hope you won't mind.

                    Last but not least - welcome to the forum.

                    Hi

                    1 Reply Last reply
                    Reply Quote 0
                    • H
                      huckrorick
                      last edited by

                      This link leads to lots of dead end links.
                      http://groups.google.com/group/SketchUp-Plugins-Dev
                      Is this still functioning as you describe?

                      Huck

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

                        @huckrorick said:

                        This link leads to lots of dead end links.
                        http://groups.google.com/group/SketchUp-Plugins-Dev
                        Is this still functioning as you describe?

                        Huck

                        That's an old outdated link.

                        This is the current API reference: http://code.google.com/intl/nb/apis/sketchup/docs/index.html

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

                        1 Reply Last reply
                        Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better πŸ’—

                        Register Login
                        • 1 / 1
                        • First post
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement