sketchucation logo sketchucation
    • Login
    1. Home
    2. tsugua
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    T
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 1

    Posts

    Recent Best Controversial
    • New to Ruby / Sketchup

      Hi There,

      I am having a problem encoding a URL in Sketchup's Ruby. I am trying to communicate with a web enabled device that accepts commands through simple url get. I can get the device talking with sketch up using simple commands but with some of the more complex commands the device is using non standard web characters and I am having trouble with that.

      For example I want to send to a url http://192.168.1.1/exe.cgi?cmd=f1a{#255,#255,#255}

      I have everything looking good in ASCII but when it passes to the url it stops at the first {

      I have tried some of the ruby encoding options but it doesn't seem like sketchup supports anything beyond simple string and integer commands.

      Any suggestions would be greatly appreciated.

      Thanks,

      posted in Developers' Forum
      T
      tsugua
    • 1 / 1