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!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Client (sockets communication) in Ruby on Sketchup

    Scheduled Pinned Locked Moved Developers' Forum
    2 Posts 2 Posters 882 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.
    • N Offline
      neino
      last edited by

      Is it possible to write Ruby client for GoogleSketchup that communicate by sockets with ex. Java server?
      I fail on
      require "socket"
      that is not found on Sketchup...

      EDIT: After install Ruby in C:\Programs\Ruby192 the error is still the same. What Should I change/do to use sockets library under Sketchup?

      any help?

      1 Reply Last reply Reply Quote 0
      • Dan RathbunD Offline
        Dan Rathbun
        last edited by

        @neino said:

        EDIT: After install Ruby in C:\Programs\Ruby192 the error is still the same. What Should I change/do to use sockets library under Sketchup?

        Sketchup cannot use Ruby in the 1.9.x trunk.

        You should install a branch of Ruby in the 1.8.x trunk, and recommend the same version and patch level that matches the interpreter DLL distro'd with Sketchup 8:

        ****Ruby Binary Installer(s):

        • Ruby (v1.8.6-p287) Windows One-Click Installer

        Other posts on the sockets issue:

        Interest in a Networking Sockets Workaround

        Clients <--> Server Communication (Sockets?)

        Requiring Socket on Mac crashes SU

        I'm not here much anymore.

        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