About Steve Baer
Basic Information
About Steve Baer
- Platform
- Both
- Location
- Seattle
- Occupation
- Typing
Statistics
Total Posts
- Total Posts
- 1,249
- Posts Per Day
- 1.62
Visitor Messages
- Total Messages
- 8
- Most Recent Message
- 05-16-2011
Blog
- Total Entries
- 19
- Last Blog Entry
- Python Goodies - the sorted function 10-18-2011 05:35 PM
General Information
- Last Activity
- Yesterday 08:29 PM
- Join Date
- 04-06-2010
- Referrals
- 6
7 Friends
Showing Friends 1 to 7 of 7
by
Steve Baer on 10-18-2011 at 05:35 PM
There are so many nice little features of python. Here's a good one to learn; the sorted function.
sorted(iterable[, cmp[, key[, reverse]]]) - http://wiki.python.org/moin/HowTo/Sorting/
This function takes a list and returns a sorted version of the list. That's nice...... but I wouldn't write a blog post about this if that was all this function does. Here's what I really like about the sorted function, the optional key argument. This argument lets you define a function
Read More
by
Steve Baer on 06-27-2011 at 09:14 PM
Disclaimer: I have very little experience with numpy and scipy so you are going to do better by searching google for support with these libraries. This blog is about getting these libraries to run in Rhino.
Yes it is possible now!!!
Okay, here's what I did to get numpy/scipy running in Rhino
1 - Install Rhino 5 (32bit version)
numpy/scipy uses C++ DLLs which need to be compiled for a specific platform. Currently numpy/scipy for IronPython will only run
Read More
by
Steve Baer on 06-17-2011 at 04:31 PM
YES!!! This could lead to some incredible applications.
http://research.microsoft.com/en-us/...cts/kinectsdk/
Now if they only had a version that clipped to your monitor and tracked your fingers...
by
Steve Baer on 06-02-2011 at 07:48 PM
I received a question on accessing the ShapeWays API from my last "Outside the Box" blog and figured I should dig in and figure out what is going on. Shapeways has a web service API that uses SOAP and a WSDL page (http://en.wikipedia.org/wiki/Web_Ser...ption_Language) as described here
http://www.shapeways.com/api
This API is a bit different than the REST API which I wrote a script to access in my previous blog post. In order to use this API, I ended up
Read More
by
Steve Baer on 06-01-2011 at 07:52 PM

One of the nice bits that we have access to in Rhino python is the Task Parallel Library that is built into .NET 4
http://msdn.microsoft.com/en-us/libr...ing.tasks.aspx
This set of classes and functions makes it relatively easy to write things like parallel for loops in which every iteration of the loop may be processed on different threads. This nice thing about parallel for loops
Read More