SketchUcation Plugin Store

 

 

SketchUp API Wish List

SketchUp API Wish List

Postby RichMorin » Sun Apr 29, 2012 12:57 am

As you may know, Scott Lininger recently posted an encouraging entry on the SketchUp API blog:

... I'm here to assure you that Trimble is committed to preserving the vitality of SketchUp’s developer community. ... In the longer term, I expect [this change] to improve the state of our APIs and developer resources. Trimble wants to invest strongly in SketchUp as a platform, and advance its mission of "3D for Everyone." ...

-- A new home for SketchUp
http://sketchupapi.blogspot.com/2012/04 ... tchup.html


I am quite willing (nay, delighted) to believe that "Trimble wants to invest strongly in SketchUp as a platform". What I'm not sure about is what this could mean for me as a developer.

Over the past several years, many of us have made suggestions, only to be told "that's a great idea, but the resources aren't available". Well, what if the resources were available? What projects should Scott propose to Trimble and/or John Bacus?

Well-known "clean up" items aside, what new projects would we like Scott to propose? What things could his team do if they had (say) another half-dozen programmers?

FYI: Constructive comments and suggestions are welcome, but please take any negativity elsewhere. We all have gripes about the past and worries about the future; this topic isn't the place for them. Let's see if we can give Scott some help, while he's busy packing for the move...

I'll start with some general items:

  • concurrency (eg, actors, distributed Ruby)
  • debugging support (eg, logging framework)
  • documentation (eg, API, best practices, examples)
  • interpreter (eg, Ruby 1.9.x, mruby)
  • library support (eg, full standard library, gem access)
  • plugin management (eg, installation, signing, vetting)
  • plugin namespacing (eg, classes and modules, files)

API changes really deserve their own section, eg:

  • improved access to menu items
  • improved API for WebDialogs (eg, WebSockets)

What am I missing, folks? (ducks)

-r
User avatar
RichMorin
 
Posts: 114
Joined: Thu Oct 29, 2009 11:12 pm
Location: San Bruno, CA, USA
Name: Rich Morin
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: interior design
Level of SketchUp: Beginner

Re: SketchUp API Wish List

Postby thomthom » Sun Apr 29, 2012 3:48 am

I could make a very loooong post. Better wait until I've sovered uip.!
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17545
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: SketchUp API Wish List

Postby kwalkerman » Wed May 02, 2012 2:32 pm

*Make it possible to explode components within Sketchup.active_model.start_operation and Sketchup.active_model.abort_operation tags... without crashing Sketchup

*Allow me to selectively lock components - I'd like to be able to supply the user with a component they can move, rotate & copy, but can't edit the internal definition.
kwalkerman
 
Posts: 135
Joined: Mon Feb 08, 2010 9:48 pm
Name: Karen

Re: SketchUp API Wish List

Postby thomthom » Wed May 02, 2012 2:43 pm

kwalkerman wrote:*Make it possible to explode components within Sketchup.active_model.start_operation and Sketchup.active_model.abort_operation tags... without crashing Sketchup

Got an example of this? I've never experienced this.
(Sure you don't have some observers attached that is misbehaving? Or that you are not holding on to stale entity references?)
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17545
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: SketchUp API Wish List

Postby daiku » Wed May 02, 2012 6:24 pm

Expose the dimension objects in the API.
daiku
 
Posts: 213
Joined: Mon Nov 12, 2007 2:54 pm
Location: Minneapolis
Name: Clark Bremer

Re: SketchUp API Wish List

Postby TIG » Thu May 03, 2012 12:19 am

Expose Text and Section-Planes in the API.
TIG
User avatar
TIG
Global Moderator
 
Posts: 13914
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: SketchUp API Wish List

Postby kwalkerman » Thu May 03, 2012 12:34 am

thomthom wrote:
kwalkerman wrote:*Make it possible to explode components within Sketchup.active_model.start_operation and Sketchup.active_model.abort_operation tags... without crashing Sketchup

Got an example of this? I've never experienced this.
(Sure you don't have some observers attached that is misbehaving? Or that you are not holding on to stale entity references?)


I have had this issue on various machines running both SU7 and SU8. After exploding a group, the program crashes on commit_operation. I am unable to reproduce it right this moment in the ruby console or webconsole, which is curious.
kwalkerman
 
Posts: 135
Joined: Mon Feb 08, 2010 9:48 pm
Name: Karen

Re: SketchUp API Wish List

Postby Dan Rathbun » Sun May 06, 2012 10:49 am

A Geom::Axis class.
User avatar
Dan Rathbun
Top SketchUcator
 
Posts: 4069
Joined: Tue Oct 06, 2009 3:06 am
Location: Florida, USA
Name: Dan Rathbun
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

Re: SketchUp API Wish List

Postby lestercavey » Mon May 07, 2012 9:04 pm

Retrieve the location and dimensions of any Group shape created from "Draw -> Shapes", even after it has been moved or resized.
lestercavey
 
Posts: 5
Joined: Mon May 07, 2012 8:59 pm
Name: Lester Cavey

Re: SketchUp API Wish List

Postby Dan Rathbun » Tue May 08, 2012 3:52 am

lestercavey wrote:Retrieve the location and dimensions of any Group shape created from "Draw -> Shapes", even after it has been moved or resized.

That is a plugin (with a submenu,) not part of the API.
User avatar
Dan Rathbun
Top SketchUcator
 
Posts: 4069
Joined: Tue Oct 06, 2009 3:06 am
Location: Florida, USA
Name: Dan Rathbun
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

Re: SketchUp API Wish List

Postby Jeff Hammond » Tue May 08, 2012 3:56 am

layout api
dotdotdot
User avatar
Jeff Hammond
Global Moderator
 
Posts: 4308
Joined: Thu Jan 24, 2008 11:16 pm
Location: newyorkcity
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: SketchUp API Wish List

Postby lestercavey » Tue May 08, 2012 8:31 pm

Well, since "Draw -> Shapes" is a plugin, my wish is to include SketchUp API Group subclasses of common 3D shapes (Box, Cylinder, etc). Those subclasses would be able to return the shape's current size and location, even after transformations and scaling take place.
lestercavey
 
Posts: 5
Joined: Mon May 07, 2012 8:59 pm
Name: Lester Cavey

Re: SketchUp API Wish List

Postby thomthom » Wed May 09, 2012 9:10 am

lestercavey wrote:Well, since "Draw -> Shapes" is a plugin, my wish is to include SketchUp API Group subclasses of common 3D shapes (Box, Cylinder, etc). Those subclasses would be able to return the shape's current size and location, even after transformations and scaling take place.

Surely you can just use the current API for that?
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17545
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: SketchUp API Wish List

Postby pc0158 » Wed May 09, 2012 5:02 pm

kwalkerman wrote:*Allow me to selectively lock components - I'd like to be able to supply the user with a component they can move, rotate & copy, but can't edit the internal definition.


Agree. For example, I have a sundial object that, once created, can be moved around via translation and still work find but will break if it is rotated on any axis. It would be nice to prevent users from rotating it, while permitting scaling and translation.

Maybe this is possible with a DC (including some morphing when gross changes in latitude/longitude take place) but this is just a hobby with me; I'm not willing to shell out for the pro version.
pc0158
 
Posts: 5
Joined: Mon May 07, 2012 4:58 pm

Re: SketchUp API Wish List

Postby kwalkerman » Wed May 09, 2012 10:13 pm

pc0158 wrote:
kwalkerman wrote:*Allow me to selectively lock components - I'd like to be able to supply the user with a component they can move, rotate & copy, but can't edit the internal definition.


Agree. For example, I have a sundial object that, once created, can be moved around via translation and still work find but will break if it is rotated on any axis. It would be nice to prevent users from rotating it, while permitting scaling and translation.

Maybe this is possible with a DC (including some morphing when gross changes in latitude/longitude take place) but this is just a hobby with me; I'm not willing to shell out for the pro version.


There are some things you can do with dynamic components. You can fix the rotation or the location, and restrict scaling. However, if the user can edit the component definition, they can still create problems.
kwalkerman
 
Posts: 135
Joined: Mon Feb 08, 2010 9:48 pm
Name: Karen

Re: SketchUp API Wish List

Postby RichMorin » Wed May 09, 2012 10:45 pm

To keep my initial posting brief, I mentioned some wish list items without providing any explanations. Here are some follow-up posts which clarify what I have in mind:

Wish List - plugin management and namespacing http://forums.sketchucation.com/viewtopic.php?f=180&t=45083

Wish List - Ruby interpreter and libraries
http://forums.sketchucation.com/viewtopic.php?f=180&t=45148

Other posts of this type may be forthcoming; watch for titles of the form "Wish List - ...".

-r
User avatar
RichMorin
 
Posts: 114
Joined: Thu Oct 29, 2009 11:12 pm
Location: San Bruno, CA, USA
Name: Rich Morin
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: interior design
Level of SketchUp: Beginner

Re: SketchUp API Wish List

Postby aadbuild » Tue May 15, 2012 4:25 am

HI all I have been working on a ruby now for over 4 years, I created it so that I can draw faster and smarter. It is almost finished and I think it will change the way home owners Architects and builder design and create domestic homes whilst creating a bill of quantities, orders and quotation requests (BIM). Now I have a ruby that is very comprehensive that has cost me a lot of money to build for my self. I was wondering if anyone had any advice on the best way to release it or what I should do to protect my intellectual property? I beleive it will revolutionalise the way we draw homes in Sketchup.
Andrew Dwight, NW Sydney Australia
aadbuild.com

Something different done in Sketchup take a look at shipping container transformation. animated in Sketchup

http://www.youtube.com/watch?v=9YxFuJYFgsY
aadbuild
Premium Member
Premium Member
 
Posts: 97
Joined: Sat Jan 05, 2008 9:59 am
Location: Sydney Australia
Name: aadbuild
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: SketchUp API Wish List

Postby thomthom » Tue May 15, 2012 8:04 am

aadbuild wrote:I was wondering if anyone had any advice on the best way to release it or what I should do to protect my intellectual property?

Use the Scrambler: https://developers.google.com/sketchup/ ... stributing (See Step 2)
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17545
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: SketchUp API Wish List

Postby AdamB » Fri May 18, 2012 1:49 pm

aadbuild wrote:HI all I have been working on a ruby now for over 4 years, I created it so that I can draw faster and smarter. It is almost finished and I think it will change the way home owners Architects and builder design and create domestic homes whilst creating a bill of quantities, orders and quotation requests (BIM). Now I have a ruby that is very comprehensive that has cost me a lot of money to build for my self. I was wondering if anyone had any advice on the best way to release it or what I should do to protect my intellectual property? I beleive it will revolutionalise the way we draw homes in Sketchup.


Just my 0.02 worth. You need to be clear what you're trying to achieve.

Scrambler won't stop people copying your IP, though it does provide some basic protection to stop people peeking at how you do what you do.

If this is going to be a commercial venture beyond earning some 'beer bucks' money, you do need more than Scrambler.

Adam
Developer of LightUp http://www.light-up.co.uk
User avatar
AdamB
LightUp
 
Posts: 744
Joined: Wed Dec 12, 2007 10:49 am
Location: Brighton, UK
Name: AdamB

Re: SketchUp API Wish List

Postby RichMorin » Fri May 18, 2012 3:43 pm

Please, folks, don't hijack this topic (or any topic, really) for unrelated discussions. Just start a new topic with an appropriate Subject; your karma will benefit greatly ...
User avatar
RichMorin
 
Posts: 114
Joined: Thu Oct 29, 2009 11:12 pm
Location: San Bruno, CA, USA
Name: Rich Morin
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: interior design
Level of SketchUp: Beginner

Re: SketchUp API Wish List

Postby Dan Rathbun » Sat May 19, 2012 4:28 pm

    Fix the Set class (dang it!)

    see my beta fix here (and how easy it is!): viewtopic.php?f=180&t=45443
    User avatar
    Dan Rathbun
    Top SketchUcator
     
    Posts: 4069
    Joined: Tue Oct 06, 2009 3:06 am
    Location: Florida, USA
    Name: Dan Rathbun
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: education
    Level of SketchUp: Advanced

    Re: SketchUp API Wish List

    Postby aadbuild » Sun May 20, 2012 10:43 pm

    Sorry about that I was not thinking. :oops:
    There are many improvements that would be fanatastic if were added. Has there been any thing mentioned that we will still be able to access the back end of Sketchup? Or do we have to become some sort of partner with Trimble and only a select few will have access? No point in asking for more access when there is a possibility we will have less. It would be greatto get a comment from the powers to be
    Andrew Dwight, NW Sydney Australia
    aadbuild.com

    Something different done in Sketchup take a look at shipping container transformation. animated in Sketchup

    http://www.youtube.com/watch?v=9YxFuJYFgsY
    aadbuild
    Premium Member
    Premium Member
     
    Posts: 97
    Joined: Sat Jan 05, 2008 9:59 am
    Location: Sydney Australia
    Name: aadbuild
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: architecture
    Level of SketchUp: Advanced

    SketchUcation One-Liner Adverts

    by Ad Machine » 5 minutes ago

    Vertex Tools for SketchUp. Take control over each vertex with this vertex editor for SketchUp.

    Premium Members get 20% discount!

    Ad Machine
    Robot
     
    Posts: 2012


    Return to Developers' Forum

    Who is online

    Users browsing this forum: arn2008, wolpes and 10 guests