Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Using the API to draw models *outside* the Sketchup software
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Aerilius  
View profile  
 More options Apr 24 2012, 12:04 pm
From: Aerilius <aeril...@googlemail.com>
Date: Tue, 24 Apr 2012 09:04:15 -0700 (PDT)
Local: Tues, Apr 24 2012 12:04 pm
Subject: Re: Using the API to draw models *outside* the Sketchup software

Hi,
The Ruby API <https://developers.google.com/sketchup/docs/ourdoc/sketchup>is a module/classes that "communicate" with the closed-source C++ code
inside the program SketchUp. The methods of the API itself don't create or
modify a model, they just call the corresponding methods inside SketchUp.
That means the Ruby API works only for SketchUp plugins that run on Windows
or OS X. The Ruby API does not work stand-alone with a standard Ruby
installation.

The C++ SDK <https://developers.google.com/sketchup/docs/downloadsdksubmit>is for reading and writing SketchUp files (understanding the skp file
format). You would not only use it to write SketchUp *plugins *in C++ code,
but also (outside of SketchUp) to add to *another software* the ability to
read or convert skp files. I don't know enough about the SDK, but maybe it
also has methods to modify geometry.
So from the data in your database, you would calculate the needed geometry
(either with normal mathematical formulars, or maybe the SDK has more
convenient methods) and then write that geometry into a new skp file using
the SDK.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.