google-sketchup

Google Sketchup API - to a Windows App?

How can one interface with Google Sketchup, via the API, from a Windows App? I was looking at something written in C#/VB.NET but its seems like the only available Google Sketchup API is for Ruby. Any ideas on how to use that Ruby API from .NET? Is Ruby only serverside or can it be processed locally, offline? ...

Embed Sketchup model in website?

How would you embed a google sketchup model inside a website as seen HERE? Click 3d view in the top right corner of the image. ...

Export to dxf from Google Sketchup

How can I write text entities to a dxf file? I found a script that can export Sketchup drawings to dxf files, unfortunately it was ignoring layers and text. I fixed it so it outputs the proper layer, but I cannot figure out how to get it to output the text. I have it to the point where it pops up a message when it comes across a text ...

Virtual Tour using sketch up, ajax, flash technologies.

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there's none, which will be a good approach in creating a virtual tour? Flash or Ajax? ...

Using Blender/SketchUp Models in OpenGL

I'm making a renderer using OpenGL. I have textured models in Blender / Sketchup (I can exchange between the two easily), and I'd like to be able to export those files into my renderer. My initial idea was to simply export the raw faces and render those triangles, but I'd like to easily slice my texture files into texture coordinates as ...

Code completion for Sketchup Ruby API

Hello does anyone know of a program that has support for code completion for Sketchup Ruby API. Thanx for answers Ladislav ...

Sketchup (.skp) in flash or silverlight C#

Hey, Can anyone point me in the right direction when it comes to parsing a skp and displaying a 3d model on a website through silverlight or flash ...

Using ASP.NET c# with Sketchup Ruby Extension

I'm an ASP.NET c# developer using VS2010 as my development platform. I am interested in accessing Sketchup models using a web form interface. Has anyone done this? I am looking for a simple "Hellow World" web application that uses the Ruby Extension model. ...

Is there a Google 3d Warehouse API?

Does anyone know if there is an official or unofficial API for Google 3D warehouse. I know of the iPhone app NaviCAD, which shows Collada models from Google Warehouse - it has search, most-viewed, most-recent functionality; so I guess it is using some sort of API to get that data. But I couldn't find any auch api after searching around. ...

Summarize object area with a Hash in Ruby

require 'sketchup' entities = Sketchup.active_model.entities summa = Hash.new for face in entities next unless face.kind_of? Sketchup::Face if (face.material) summa[face.material.display_name] += face.area end end Im trying to get the structure in the array as such: summa { "Bric...

Sum up Area for material in Components, Google Sketchup

I am making a plugin to sum up the area of all the material in a Sketch. I have succeeded in getting all the faces and such, but now the Components come into the picture. Im using the term single or multi leveled component as i dont know any better way to explain the occurence of having a component inside an component and so on. I have...

Sketchup C# export to web programmatically

Hi everyone, I'm looking for a bit of direction when it comes to Sketchup models. Currently I'm trying to upload a sketchup model to a website and programmatically creating all the images for a 3d viewer. Does anyone have any advice? ...

draw a curve Sketchup using ruby

Below are some point 3d 15.733798,20.019757,23.006311 15.733798,19.847666,23.006311 15.723798,19.847666,23.006311 15.723798,20.019757,23.006311 15.733798,20.019757,23.006311 and this is a vector 0.0,0.0,-0.1 Is it possible to draw a curve from the information above in sketchup? Thank you ...

Display Browsable 3D models in Browser

Statement: I have a 3D model ready in Google SketchUp Pro. Problem Statement: I need to display the model in a webpage. I need the model to be browsable (The user can navigate his way through it like on Google Earth) I need the model to be update-able (If I update something in SketchUp, I should be able to easily port changes till the...

Problems with some textures in XNA

Hi I have made a model using Sketchup, and have tested rendering it using Blender and it looks great. However loading it in XNA has two problems. 1. One of the textures becomes see-thru not entierly transparent but items below on the inside of the model is visible (this is not the case in blender). 2. I have a rounded part on the model...

What is different between Ruby in standard OS X distribution, RVM and MacPorts?

I have asked a question on SuperUser about updating Ruby version in Google SketchUp. It seems that there is something different between Ruby shipped with the standard OS X distribution, and Ruby installed by RVM or MacPorts. I get the following error message when I try to use RVM's or MacPorts' Ruby 1.9.1 Exception Type: EXC_BREAKPOINT...

How to update Ruby in Google SketchUp?

Currently Google SketchUp for Mac has Ruby version 1.8.5 which I find a bit outdated. I can update Ruby to 1.8.7 (OSX's version) by the following commands $ cd /Applications/Google\ SketchUp\ 7/SketchUp.app/Contents/Frameworks/Ruby.framework/Versions/Current $ ls Headers/ Resources/ Ruby $ ls Headers/ config.h defines.h inter...

Quickest Way to create Face and Edge objects in Sketchup

I have to render a mesh of a few thousand polygons in Google Sketchup. I find that add_face tends to get slower as the number of faces in the model increases. I believe this to be due to some edge detection algorithm that Sketchup is running behind the scenes. Hopefully, there should be some way to suppress this edge detection or other p...

walking through a building created in google sketchup

I am looking for a way to take a model of a building and allow people to walk through it like a video engine. We are also looking to run this on a viz wall, which requires OpenGL on Linux and be open source. But Something running on windows or closed source on Linux would be better than nothing. I have found Panda3D, but I am not sure...

Google Sketchup C++ SDK: SkpWriter usage

I am trying to use Google's Sketchup C++ SDK (latest version) to export a 3D model to a Sketchup file. One of the problems I am facing is that the header files refer to an "sapi" folder which does not exist in the source tree. I need to figure out how I can get a reference to the ISketchUpApplication interface. Can someone provide me w...