Questions tagged [sketchup]

Trimble SketchUp is a simple, easy-to-use 3D drawing program. Originally created by @Last Software, then purchased by Google in 2006 before Trimble acquired it in 2012. SketchUp has a Ruby API for creating extensions/plugins and a C SDK for reading and writing .skp files.

Trimble SketchUp is a simple, easy-to-use 3D drawing program. Originally created by @Last Software, then purchased by Google in 2006 before Trimble acquired it in 2012.

SketchUp offers third party developers with a Ruby API for creating extensions/plugins and a C SDK for reading and writing .skp files.

The C SDK was introduced in SketchUp 2013 and supersedes the old C++ SDK in previous versions.

287 questions
2
votes
2 answers

Circle appears after pushpull on a trapezoid face

I'm new to Sketchup scripting. When I extrude face2 below, a circle appears at the base of the face. It only appears after the pushpull and it doesn't appear if I extrude face1. Face1 and face2 are supposed to be the first two walls of a box. Could…
Jan Huus
  • 63
  • 8
2
votes
2 answers

How to sum two dimensional arrays

I have a two dimensional array = [[12,34,35,21],[10,14,23,17],...] infinity. I would like to do this in ruby; arr1 =…
2
votes
1 answer

Unable to get the location bound of Sketchup model using Sketchup Ruby API

I have a Sketchup 3d model that is geo-located. I can get the geo-location of the model as follows :- latitude = Sketchup.active_model.attribute_dictionaries["GeoReference"]["Latitude"] longitude =…
Neelesh
  • 666
  • 6
  • 17
2
votes
1 answer

Convert .dae to x3dom

Is there a way I can render a 3D model (in .dae, I'm using SketchUp) into a x3dom? I looked up online, but can't find the way. Hope someone can help.
user3673449
  • 347
  • 2
  • 5
  • 20
2
votes
1 answer

How to import a triangle mesh into SketchUp with small faces?

I'm trying to import a triangle mesh from file (e.g., .3ds, .dae). However, it seems that some of the faces (triangles) are being ignored. If I scale the model by 10x before importing, then the triangles are in tact. Is there a way to force sketchup…
Alec Jacobson
  • 6,032
  • 5
  • 51
  • 88
2
votes
1 answer

Sketchup Get Entity By component name

To work on an element, I use the following for the definition. ref = Sketchup.active_model.entities[0] refdef = ref.definition is there a way in which I can get the entitiy by its name (component name) instead of entities[0] etc
Calipso
  • 957
  • 3
  • 15
  • 33
2
votes
2 answers

convert .skp file to .obj file without sketchup pro

I want to convert .skp models to .obj in ubuntu 14.04. I have searched for any free version software for a good conversion.. but did not get any suitable answer and stuck here. Any hint is most welcome...
okay
  • 31
  • 1
  • 1
  • 4
2
votes
1 answer

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…
Jeremy
  • 63
  • 1
  • 7
2
votes
3 answers

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 I'm trying to get the…
Arto Uusikangas
  • 1,889
  • 5
  • 20
  • 33
2
votes
2 answers

SketchUp -> Canvas

I've been searching for a while for how to get a 3d model we built in SketchUp to be shown on a web page. I found three.js and saw that I could export it to a .dae and use the ColladaLoader to load it. Unfortunately I haven't been able to get…
Miles
  • 1,615
  • 4
  • 17
  • 42
2
votes
1 answer

scenekit model from sketchup disappears

I am playing around with scene kit. I do not know a lot about modeling but i created a very basic Sketchup model with no materials or textures. I exported the model from ketchup and imported it into the scene. As i move the camera around towards one…
Rohan Panchal
  • 1,211
  • 1
  • 11
  • 28
2
votes
1 answer

How to make a hollow cylinder in SketchUp using the Ruby API

What I need to accomplish is basically a cylinder whose walls have zero thickness. Now if you need to understand better what I mean by this, imagine manually drawing a circle, then using the pushpull tool to make it a cylinder, after which you…
knotwhirl
  • 21
  • 3
2
votes
0 answers

shaderlight: All my images are rendering black. How to fix?

I am using sketch up pro to create a model, and just downloaded shader light for rendering the scenes, yesterday it was working fine. and today, rendering is just showing black images, tried many times but getting same output. please help.
sona
  • 31
  • 7
2
votes
1 answer

Unity 3D Performance Issues with 3D Models

I'm trying to develop a Vuforia Augmented Reality Project on Unity 3D. One of my friends is providing me a construction's 3D Model on different formats like .FBX .3DS and .blend We have a huge trouble with performance. When we use .blend files, even…
dreamend
  • 59
  • 4
  • 19
2
votes
2 answers

View Google Sketchup (.skp) files on the web (Rehash)

Can anyone point me to any libraries or products that will allow me to pass a Google Sketchup SKP file in and as a result view the 3D model on a website in either Silverlight, Flash or HTML Canvas? I know both Flash & Silverlight now support 3D out…
Chris Kolenko
  • 1,020
  • 17
  • 32
1 2
3
19 20