Grasshopper

algorithmic modeling for Rhino

Information

Slingshot!

Slingshot! is an Open Source plug-in for connecting Grasshopper to relational databases

Slingshot! features collection of components for reading, writing, and managing relational database systems using SQL.

Website: http://wiki.theprovingground.org/slingshot
Members: 175
Latest Activity: Nov 12, 2018



Querying a Mesh

Queries are used to progressively assemble a mesh within Grasshopper using information stored in MySQL database tables on a remote computer.

Visualize the Database using a Web Browser

A Grasshopper model being generated and visualized in Google Chrome.


Search a Genome Database

 

Store iterations from Galapagos to search through alternatives.

 

 

 

More videos and tutorials are available at the Slingshot! Wiki.....

Discussion Forum

Problem with connection 2 - the mission 1 Reply

Hi!I'm using an old version of Slingshot for quite while. In my definition, I access a remote PostgreSQL database via ODBC Driver. Consequently, I use the ODBC query component. Since this version (of…Continue

Tags: postgresql, connectionproblem, slingshot

Started by eugênio moreira. Last reply by naysok Sep 8, 2018.

SQLite - how to connect to Slingshot?

Hi Everyone This might be an easy one for someone - I'm just a little bit new to this.Just wondering if someone could provide some guidance on how to set up Slingshot to work with SQLite?The…Continue

Started by David Schwarzman Apr 12, 2018.

Slingshot Reading Excel 1 Reply

Hi, I'm trying to use the Slingshot from the updated installer (64bit) to read an excel file (.xlsx). I'm also using Office 2016 64bit. But I got errors like these: System.NullReferenceException:…Continue

Tags: excel, slingshot

Started by David Chen. Last reply by Sean Carr Mar 6, 2018.

How to deal with Twitter node? 8 Replies

Maybe I just cant find the relevant information but how to decode this search result?how,…Continue

Started by Philipp. Last reply by book learnin Oct 26, 2017.

News From the Development Site

Comment Wall

Comment

You need to be a member of Slingshot! to add comments!

Comment by Nathan Miller on January 8, 2012 at 1:17am

Greetings,

I have created a page for Slingshot! documentation and tutorials...  It is still a work-in-progress but hopefully it is information new users will find helpful.

http://slingshot-dev.wikidot.com/tutorials

Comment by Nathan Miller on December 15, 2011 at 2:31am

Dear Slingshot! Database users,

I have created a user survey in the hopes of improving the plug-in and determining new development possibilities.

User Survey

Please take a moment and fill it out!

Best,

Nathan

Comment by Nathan Miller on December 11, 2011 at 7:46pm

Something that may be of help to everyone:  http://www.connectionstrings.com

While I have provided a few connection components, they may not be appropriate for all cases.  ConnectionStrings.com is a great resource for finding the correct means of connecting to a remote database.

-Nathan

Comment by Nathan Miller on December 10, 2011 at 12:33pm

Pedro, I looked into your issue further and I am able to replicate the error if the connection string is incorrect.  Make sure you specify the database name you are connecting to.

Additionally, some SQL queries supported in MySQL are not supported in Postgres or there may be slight differences in syntax... for example "SHOW databases;" is not supported in Postgres.

-Nathan

Comment by Nathan Miller on December 9, 2011 at 3:03pm

I will take another look at the ODBC driver tonight to see if I can replicate your error.  It seems to be working fine with my install of Postgres which makes me think that your DB configuration may be a little different.

Comment by Pedro Arrobas da Silva on December 9, 2011 at 4:30am

Apparently all settings seem to be fine. Server is running on localhost, default port. Databases already loaded and ODBC drivers updated. The only problem is accessing them via grasshopper. I've managed to establish connection to a mysql server, but no success with postgres.

Comment by Nathan Miller on December 7, 2011 at 9:55am

Pedro, You may to need to verify your Server IP and Port.  Are you accessing the Postgres server though localhost or is this for remote access?

Comment by Pedro Arrobas da Silva on December 7, 2011 at 3:40am

hello,

I'm trying to use slingshot's latest version with Postgres, and somehow when i try to connect it, it always returns the same message:

{0}
0. System.Data.Odbc.OdbcException: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
at System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
at System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions)
at System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.Odbc.OdbcConnection.Open()
at SlingshotDB.GHODBC_QUERY.SolveInstance(IGH_DataAccess DA)

Does any1 know how to solve this problem?

Tks a lot,

Pedro.

Comment by Nathan Miller on October 13, 2011 at 5:40am

Slingshot! Database v0.8.0.0 has been released.  This is a major update with new features and workflow (and probably bugs!)  Read more here.

Comment by Nathan Miller on September 11, 2011 at 5:13pm
Minor update available:  Slingshot! GH+MySQL v0.7.2.1
 

Members (175)

 
 
 

About

Translate

Search

© 2020   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service