• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Real-time Interactive Rendering

Scheduled Pinned Locked Moved SketchUp Feature Requests
sketchup
1 Posts 1 Posters 1.5k Views 1 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.
  • E Offline
    Ellipser
    last edited by 23 Feb 2014, 20:40

    Hi, this is my first post, so I should just say "Hi" before asking the forum a question.

    Let's say I want to send lines of code to Sketchup in real time
    from a separate C++ program. Like, let's say I have a CNC machine and I want
    Sketchup to constantly update the screen with new graphics which would indicate
    where a cutting tool is located. How would I do this?

    I would need some way of sending real-time data to Sketchup.

    Already there is the Ruby console on Sketchup. It allows me to type in lines
    of code which get converted into an image on Sketchup. Now, basically I want to take this a step further, and have a separate program do it in real time.

    This could be used for a bunch of different reasons. I could interface Sketchup with a
    microcontroller input, and say have a mock-up of a car's speedometer. From a potentiometer input, I'd like to adjust what the speedometer reads on the screen in real-time.

    Or, maybe I want to create a video-game in which inputs from a controller allow you to
    walk through a neighborhood.

    How would I go about this? This might be something kind of fun. Basically, is there some method by which you can feed ruby scripts to Sketchup from a separately running program?

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

    Advertisement