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
1
vote
1 answer

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…
Agnel Kurian
  • 57,975
  • 43
  • 146
  • 217
1
vote
1 answer

How to infer the corner of the group?

I have tried many different things but I have not found a way to infer to the point selected by red circle.
rzajac
  • 1,591
  • 2
  • 18
  • 37
1
vote
1 answer

how to use add_dimension_linear

Since Sketchup 14 there is a new API function add_dimension_linear see http://www.sketchup.com/intl/en/developer/docs/ourdoc/entities#add_dimension_linear In trying to understand and use it I have looked for some examples and discussions…
Wolfgang Fahl
  • 15,016
  • 11
  • 93
  • 186
1
vote
1 answer

Dynamic Component Attributes of Arc's in Sketchup

I have a 3 point arc in my drawing. The dynamic attributes provided in standard are the same as for rectangles. Is there a way to define the 3 points as attributes to be able to change them dynamically afterwards?
Calipso
  • 957
  • 3
  • 15
  • 33
1
vote
1 answer

Ruby code "Automatic Sketchup" icosahedron

Hi my name is Jim and I am having a very hard time just displaying my first ruby Sketchup code on the sketchup page. I have Windows 8 Sketchup 2016 pro The code in the file below is basically copied out of the book " Automatic Sketchup " I am so new…
130jim
  • 11
  • 3
1
vote
2 answers

Render Sketchup model API

I am looking for a SDK/API for rendering a Sektchup (.skp) model file in a Qt application. I've found the Sketchup SDK but no hint on rendering. All I need would be a still-image in one of the standard perspectives, but panning, rotating and zooming…
Arne
  • 1,111
  • 2
  • 11
  • 22
1
vote
2 answers

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…
Agnel Kurian
  • 57,975
  • 43
  • 146
  • 217
1
vote
1 answer

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\…
Andrei
  • 10,918
  • 12
  • 76
  • 110
1
vote
1 answer

Sketchup wall thickness

I have this figure and I need to set the walls thickness. I need this for 3D printer. I tried to use the Push/Pull tool but I can't use this for rounded corners. How can I do in my case ?
0x3d
  • 460
  • 1
  • 8
  • 27
1
vote
1 answer

How to create a UI.inputbox which prompts for browse path? [SketchUp 8 API]

I have a ruby script for SketchUp 8 which collects data and needs to write it into a csv file. When the code creates the csv file, I want an inputbox to show up which asks for the filename and directory to save too. Does anyone know how to create…
Ruts
  • 286
  • 1
  • 18
1
vote
1 answer

Delete all observers on Sketchup.active_model.shadow_info

Is there a way to delete all observers listening to Sketchup.active_model.shadow_info ? something like Sketchup.active_model.shadow_info.remove_all_observers()
johowie
  • 2,475
  • 6
  • 26
  • 42
1
vote
1 answer

How to use Sketchup Examples

I am trying to write a sketchup exporter. That will take a model that is currently inside sketchup and export it to a custom format. I know that the sketchup sdk comes with some example projects such as skp2xml. How do I use this example file? It…
marsh
  • 2,592
  • 5
  • 29
  • 53
1
vote
1 answer

Problems with some textures in XNA

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…
Jimmy Engtröm
  • 1,998
  • 4
  • 23
  • 34
1
vote
1 answer

Sketchup run script in background

I am trying to create a Sketchup script that emulates the native autosave functionality of OS X, by saving whenever possible. However, I can't seem to run the script without it causing Sketchup to stop responding (for obvious reasons). How can I get…
PopKernel
  • 4,110
  • 5
  • 29
  • 51
1
vote
0 answers

Sketchup Component Behavior

I create a component definition: SUComponentDefinitionRef comp_def = SU_INVALID; SUComponentDefinitionCreate(&comp_def); SUComponentBehavior behavior; behavior.component_always_face_camera = true; SUComponentDefinitionSetBehavior(comp_def,…
ecw
  • 11
  • 1