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

    Iron Ruby?

    Scheduled Pinned Locked Moved Developers' Forum
    7 Posts 2 Posters 698 Views 2 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.
    • G Offline
      Gruff
      last edited by

      Anyone experiment with Iron Ruby?

      I'm looking for someone to lend a hand with setting it up on my PC.
      I have VS.NET 2008 Standard Edtion. (Comes with VB & C#)

      Thanks,

      Resistance is .... Character Forming. Grin

      1 Reply Last reply Reply Quote 0
      • C Offline
        cjthompson
        last edited by

        I've looked into it a little bit, but the problem is that iron ruby is meant to run ruby code in .NET, not the other way around.
        Not to mention that sketchup uses it's own class library.
        What are you looking for, exactly?

        EDIT: After looking some more into it, Iron Ruby can run .NET code. But because Sketchup uses it's own API you can't attach iron ruby, as far as I know.

        1 Reply Last reply Reply Quote 0
        • G Offline
          Gruff
          last edited by

          @cjthompson said:

          After looking some more into it, Iron Ruby can run .NET code. But because Sketchup uses it's own API you can't attach iron ruby, as far as I know.

          SketchUp exposes a SketchUpLib that supposedly you can access through C++ which MS VS Supports along with C#. I am thinking that there might be a way to latch onto the SketchUp Ruby API with a work around. Perhaps a C++ Interop wrapper that Iron Ruby could exploit.

          The main reason I want to get an understanding of Iron Ruby is so that I can use the VS Debugger with Ruby and someday... (Hope against Hope) Intellisense. Which is a huge step forward twards learning a language in OOP.

          Another reason is that I am comfortable with the MS Visual Studio IDE. Finally I would hope that one could use Ruby with the Windows Forms tools.

          Resistance is .... Character Forming. Grin

          1 Reply Last reply Reply Quote 0
          • C Offline
            cjthompson
            last edited by

            I don't know if this is what you are looking for, but have you looked into Ruby in Steel? it's a VS extension for Ruby. I found the free version works well for me. I'm not sure what you mean by using the Windows forms tools, though.

            As for the SketchupLib, that's a bit over my head. I'm still a .NET noob.

            1 Reply Last reply Reply Quote 0
            • G Offline
              Gruff
              last edited by

              @cjthompson said:

              have you looked into Ruby in Steel? it's a VS extension for Ruby. I found the free version works well for me. I'm not sure what you mean by using the Windows forms tools, though.

              Isn't Ruby in Steel used to create Web based apps?

              Web programming is not area. I write Windows Desktop Apps.

              Resistance is .... Character Forming. Grin

              1 Reply Last reply Reply Quote 0
              • C Offline
                cjthompson
                last edited by

                Ruby in Steel just allows you to type .rb files in VS, although I think I misunderstood you. Are you trying to find an IDE to write scripts or are you trying to find a way to connect .NET Applications with Sketchup?

                1 Reply Last reply Reply Quote 0
                • G Offline
                  Gruff
                  last edited by

                  @cjthompson said:

                  Ruby in Steel just allows you to type .rb files in VS, although I think I misunderstood you. Are you trying to find an IDE to write scripts or are you trying to find a way to connect .NET Applications with Sketchup?

                  First:
                  I would like to use the best IDE for the job.
                  A Good Debugger with the ability to step througb code and hopefully a level of intellisense. VS should provide both.
                  Even if I have to write pseudo modules that mimic the SU API I feel I would be miles ahead of using a text editor.

                  Second:
                  Of course I would like to find a way to drive Sketchup from VS. If it means I can use other VS languages so much the better. If it means I have to learn Ruby in VS... Less desireable from my standpoint but not out of the question.

                  I've been poking around the Iron Ruby forum and it looks like IR is based on the Dot.NET framework and requires it to function. It also appears that Iron Ruby is not really ready for public consumption within VS at this time. They are still working toward version 1.00

                  Cheers,

                  Resistance is .... Character Forming. Grin

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

                  Advertisement