SketchUp Plugin using C++ SDK

SketchUp Plugin using C++ SDK

Postby deelip » Sat Oct 18, 2008 8:10 pm

Hello, I need to create a SketchUp plug-in using their C++ SDK. I downloaded the SDK today but could not find any information on how to create a Win32 DLL that SketchUp can recognize to be a plug-in. Does anyone have the source code of a sample C++ SketchUp plugin which they can share? If not, can someone point me to a place where I can get the help I need. Thanks in advance.

Deelip Menezes
http://www.deelip.com
0

deelip 
 

Re: SketchUp Plugin using C++ SDK

Postby Al Hart » Tue Feb 03, 2009 6:49 am

See if you can find something called "simple Extension". It creates a DLL which can have functions callable from SU Ruby, and can access the SketchUp classes directly.
0
Al Hart
IRender nXt from Render Plus
User avatar
Al Hart 
PluginStore Author
PluginStore Author
 

Re: SketchUp Plugin using C++ SDK

Postby Al Hart » Thu Jul 30, 2009 5:35 pm

I have a DLL compiled from C++ code and I need to create objects in Ruby that correspond to the C++ objects in the DLL and consequently call the C++ code from Ruby.


You need the SketchUp Simple Extension. I will try to find a copy for you.

Does anyone else have a copy and/or has anyone had any luck getting a copy from SketchUp?

(As an aside, I would very much like a Mac version of this - but my attempts to find one have not been successful)
0
Al Hart
IRender nXt from Render Plus
User avatar
Al Hart 
PluginStore Author
PluginStore Author
 

Re: SketchUp Plugin using C++ SDK

Postby thomthom » Sun Mar 28, 2010 4:51 pm

hmm... I can't seem to find this "SketchUp Simple Extension" either... :(
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: SketchUp Plugin using C++ SDK

Postby Al Hart » Sun Mar 28, 2010 5:25 pm

Hey Al,

Thanks for checking.

I believe Sang has (or will have) simple extensions in our SDK soon, but in the meantime it's perfectly okay to distribute this. The more people who know the techniques, the better.

Cheers,
mark

On Jan 19, 2008 11:13 AM, Al Hart <al.hart@renderplus.com> wrote:
Mark,

We obtained an interface called Simple Extension, which is the basis for our Ruby interfaces to C++ code.
// SimpleExtension.cpp : Defines the initialization routines for the DLL.
//
//=============================================================================
// Copyright 1999-2006 @Last Software
//=============================================================================

This does not seem to be part of the SDK which SketchUp releases to developers.


Send me a Private Message, or an email to al.hart@renderplus.com and I will send you a copy.
0
Al Hart
IRender nXt from Render Plus
User avatar
Al Hart 
PluginStore Author
PluginStore Author
 

Re: SketchUp Plugin using C++ SDK

Postby tbd » Sun Mar 28, 2010 9:11 pm

why not attaching to the post as it is ok to distribute it ?
0
SketchUp Ruby Consultant | Podium 1.x developer
http://plugins.ro
User avatar
tbd 
 

Re: SketchUp Plugin using C++ SDK

Postby thomthom » Tue Mar 30, 2010 12:02 am

Gotto say - this "simple extension" look more complicated than TDB's extension sample...
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: SketchUp Plugin using C++ SDK

Postby driven » Fri Apr 09, 2010 10:39 am

Hi All and Al,

I've been in contact with JetBrains [RubyMine] about setting up an open source project to write a free RM-Plugin specifically for SU, they've agreed to free licenses for 'community' participants and students.

I have had an offer from a highly capable java/ruby software engineer [SCF member who works for Eclipse] to get a test version up and running asap.

While he and the US sleeps, I'm trying to find bits and pieces to make his task easier and thought a copy of this would be useful to him. I'm guessing it would, tell me if I'm wrong... or is there a better way in.

I'll do an update on my "need Help with SU editor" thread when I know it's all going ahead and in what direction, but PM me if you have any off topic queries.

Obviously a Mac equivalent is high on my list...

john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: SketchUp Plugin using C++ SDK

Postby Al Hart » Mon Apr 12, 2010 6:13 pm

I found it pretty useful - especially after I created a lot macros and routines to do common things.

I'll send you a link to it by PM

Note - it contains a copyright from Google, so you may not be able to include it in an Open Source project without their permission.
0
Al Hart
IRender nXt from Render Plus
User avatar
Al Hart 
PluginStore Author
PluginStore Author
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Extensions & Applications Discussions

Who is online

Users browsing this forum: No registered users and 1 guest

Visit our sponsors: