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

    Code Profiling

    Scheduled Pinned Locked Moved Developers' Forum
    28 Posts 8 Posters 4.3k Views 8 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.
    • W Offline
      Whaat
      last edited by

      @unknownuser said:

      get started with that link, makefiles are peanuts compared with COM and finding problems in RubyInline πŸ˜‰

      Thanks! I will definitely try this at some point.

      So, other than having full Ruby installed and a development environment such as PellesC, is there anything that needs to be done for this to work?

      I would still love to see an actual SketchUp related example where you pass values from Ruby to the C extension and then back again.

      SketchUp Plugins for Professionals

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

        If you ever saw SimuTerra, that was an an app that was made into a C extension from Ruby. As far as I am aware, it suffered from none of the issues mentioned by Adam. It was blazingly fast to manipulate terrains with SimuTerra. (sp?)

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

          Whaat: I created a simple extension that creates a class SUExt with method add which adds 1 to the input at http://bitbucket.org/tbd/suext/src/

          there are no error checking and it is a minimal example that compiles with PellesC (free C compiler) and it can be used in SketchUp

          have fun

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

          1 Reply Last reply Reply Quote 0
          • W Offline
            Whaat
            last edited by

            @unknownuser said:

            Whaat: I created a simple extension that creates a class SUExt with method add which adds 1 to the input at http://bitbucket.org/tbd/suext/src/

            there are no error checking and it is a minimal example that compiles with PellesC (free C compiler) and it can be used in SketchUp

            have fun

            Thanks so much for taking the time to do this!

            SketchUp Plugins for Professionals

            1 Reply Last reply Reply Quote 0
            • T Offline
              tomasz
              last edited by

              @whaat said:

              Thanks so much for taking the time to do this!

              +1!

              Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

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

                I thought you were a github man?

                Hi

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

                  @unknownuser said:

                  I thought you were a github man?

                  I like more github as a repository site but I like even more Mercurial as DVCS πŸ˜‰ and I was lazy to create a bridge to git using hg-git

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

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

                    I tried once to see it was possible to use the same folder for both systems. I just set each one to ignore the repos and configs of the other. It appeared to work; at least in my simple test folder.

                    I tried and hg-git also, although it took some extra installation and setup. It also seemed to work just fine, although I had more warnings than I cared for - made me nervous.

                    Hi

                    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