You cannot post messages because this group is only available as an archive.
Description:
Google SketchUp contains a Ruby application programming interface (API) for users who want to extend the functionality of SketchUp. The Ruby API enables you to create new tools for SketchUp. This group provides an area to exchange ideas for new Ruby scripts, assist with implementation, or to simply talk about Ruby.
|
|
|
Future of the Ruby API discussion
|
| |
Hi Everyone,
As you may know, the Google SketchUp Help Group and the SketchUp Pro
Help Group are merging together. As part of the migration effort this
discussion will be locked for further posts. This Group will remain
available, however, for archival search. To post new questions about
this topic please visit the Ruby API & SketchUp SDK discussion or the... more »
|
|
how to make a webdialog NOT to remember size and position ?
|
| |
I've created a webdialog and I don't want to remember its last
position and size, so everytime I reopen it, to reopen in the
predefined position.
On SketchUp Ruby API Reference it says like this:
dialog = UI::WebDialog.new dialog_title, scrollable, preferences_key,
width, height, left, top, resizable... more »
|
|
how to select certain faces in component?
|
| |
Hello!
I'm using this code to select the faces inside a group or component
and to add a color on that faces. But I'd like to add different colors
on certain faces:
-faces that are in [x,y,0] plane to have one color (red)
-faces that are in [x,0,z] and [0,y,z] to have other color (blue)
-and, by exclusion, faces that are not oriented on a certain plane, to... more »
|
|
OFFSET A LINE
|
| |
I want to offset a line parallel at a given distance, any ideas?
Thank you
|
|
Draw box from Excel or CSV file
|
| |
Does anyone have a script example for me that allows me to draw with
Ruby one (or many) box(es) using an Excel spreadsheet as input? The
box geometry would be defined in Excel. Alternatively, the data could
be defined in a CSV file exported from Excel.
|
|
view.pick_helper and X-ray mode
|
| |
Hi all,
Let us assume that the camera's eye is inside of a cube and all faces
of the cube are
transparent (alpha = 0.5) , so we can see the outside and we have
cpoints, edges, and faces
outside of the cube.
I am wondering if there is a way to get the list of entities outside
of the cube using... more »
|
|
how to split a script in several files?
|
| |
As I'm just starting with ruby I have a lot of problems. So I'm very
happy to find answers in this discuttion group. I want to thank you
all for this.
My new question is as follows:
I want to split a script in several files because it becomes too long
and difficult for me to trace it.
So in the end I will have a "MyPlugins" directory in the Plugins... more »
|
|
windows with tabs in SU, or WebDialog ?
|
| |
Hy!
I'm wondering if there is a way to do a window with tabs for sketchup.
Like Materials, for example where are two tabs: SELECT and EDIT.
Or the only way to do this is by making a webdialow which will contain
the interface?
|
|
Subcomponents in component
|
| |
Hi all,
I was trying to look into a 3D object in model and discover all "sub-
components" it has inside, using Ruby API. Does anybody know how to
get this info? I'll really appreciatte any help about this. Thanks in
advance.
|
|
Open a website in webdialog
|
| |
Hello,
how can i load an external website ([link]) in an webdialog?
Can somebody give me some tipps or could post the code for an Ruby
skript?
Thanks!
greets martin
|
|
|