sketchucation logo sketchucation
    • Login
    1. Home
    2. tsugua
    3. Posts
    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!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
    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