Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

Sketchup plugin

Bioloid robot kit from Korean company Robotis; CM5 controller block, AX12 servos..
5 postsPage 1 of 1
5 postsPage 1 of 1

Sketchup plugin

Post by billyzelsnack » Fri May 18, 2007 3:15 pm

Post by billyzelsnack
Fri May 18, 2007 3:15 pm

I wrote a plugin for Sketchup. Here's a video of it in action..

phpBB [media]


I'm using the models Jon converted to DWG.

I'm not sure how far I am going to take this, but I've been wanting to mess around with the Sketchup API and this was a nice small project to experiment with.
I wrote a plugin for Sketchup. Here's a video of it in action..

phpBB [media]


I'm using the models Jon converted to DWG.

I'm not sure how far I am going to take this, but I've been wanting to mess around with the Sketchup API and this was a nice small project to experiment with.
Last edited by billyzelsnack on Fri May 18, 2007 3:32 pm, edited 1 time in total.
billyzelsnack
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am

Post by limor » Fri May 18, 2007 3:24 pm

Post by limor
Fri May 18, 2007 3:24 pm

WOW!
how does this work exactly?
:shock: :shock:

(you can just copy-paste the "Embed" line on the youtube page)
phpBB [media]
WOW!
how does this work exactly?
:shock: :shock:

(you can just copy-paste the "Embed" line on the youtube page)
phpBB [media]
limor
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK

Post by billyzelsnack » Fri May 18, 2007 3:37 pm

Post by billyzelsnack
Fri May 18, 2007 3:37 pm

Ok. Embedded the video.

Sketchup has a Ruby plugin interface. Using the WIN32API module you can call out to a DLL. I added a start and stop button. When you hit start it connects to the robot and sets up a frame callback. Each frame it just goes and asks the DLL for the servo positions.

The tricky part is that Sketchup doesn't support rigging. It has a concept of hierarchy via components and that's what I ended up using to fake it.
Ok. Embedded the video.

Sketchup has a Ruby plugin interface. Using the WIN32API module you can call out to a DLL. I added a start and stop button. When you hit start it connects to the robot and sets up a frame callback. Each frame it just goes and asks the DLL for the servo positions.

The tricky part is that Sketchup doesn't support rigging. It has a concept of hierarchy via components and that's what I ended up using to fake it.
billyzelsnack
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am

Post by Pev » Fri May 18, 2007 6:58 pm

Post by Pev
Fri May 18, 2007 6:58 pm

That is awesome!!!!!!!!!!!!!
That is awesome!!!!!!!!!!!!!
Carl
-------------------------
www.alt-view.co.uk
Pev
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 547
Joined: Sun Feb 26, 2006 1:00 am
Location: UK

Post by Toughbeard » Fri May 18, 2007 10:52 pm

Post by Toughbeard
Fri May 18, 2007 10:52 pm

LOL dont know what just happened but if we can have that instead of the motion editor that would be awesome...

simply great work...
LOL dont know what just happened but if we can have that instead of the motion editor that would be awesome...

simply great work...
Toughbeard
Robot Builder
Robot Builder
Posts: 17
Joined: Thu May 03, 2007 11:57 pm


5 postsPage 1 of 1
5 postsPage 1 of 1