Fun and expertly-produced video made using SketchUp and SketchyPhysics.
Showing posts with label lego. Show all posts
Showing posts with label lego. Show all posts
LDraw .dat Importer for SketchUp
My simple .dat importer for Sketchup is now avalable on bitbucket.
It is very "prototype", but is still useful if you want to get difficult LDraw (Lego) parts into SketchUp.
This plugin could do a lot more, but I don't find a lot of time to work on it; which is why I create the bitbucket repo.
It is very "prototype", but is still useful if you want to get difficult LDraw (Lego) parts into SketchUp.
This plugin could do a lot more, but I don't find a lot of time to work on it; which is why I create the bitbucket repo.
Lego Architecture
I'm sure many of you have seen the new architecture series coming from Lego.
I was curious about the size of buildings. Assuming the bricks in this image are standard bricks, then this is about the actual size of this model.


I posted a .ldr file here.
I was curious about the size of buildings. Assuming the bricks in this image are standard bricks, then this is about the actual size of this model.


I posted a .ldr file here.
The House That Jeff Built
He thought some readers might like to build it, and I thought that was a cool idea too. So, trying out my plugin, I was able to load SketchUp with all the parts needed to build this set (except this one part.) The plugin fetches the Peeron page for the set, parses out the part #, quantity and color, and then populates the model with Components.
The plugin needs a SketchUp library of components whose names match the part number in the inventory. I have about 100 parts of the library finished, and will be making it available with the plugin.
This is a publicly-editable model, so download it, work on it, and upload your changes. (I reserved the right to approve changes.)
When it's finished, I would like to test another part of the Lego plugin - creating build instructions from the model. At first I thought printed instructions were what I wanted, but why not just use SketchUp - the SketchUp model IS the instructions.
By using Scenes, you can step through each step of the build. In a model like this (bottom-up), the steps can be mostly automated because each vertical layer of bricks can be assumed to be a step. And that is exactly how this image was created.
Small Lego Gallery
I created these images while writing the ldraw importer - sort of as a "screen test" for Lego parts in SketchUp. Nothing terribly interesting, but there they are.
I was going to post the model also, but I seem to have lost it. Oh well, here's Obi Wan and Luke's Landspeeder:
Importing Lego Sets in SketchUp
Little House, Dormer Build Sheet
This is a contact sheet built from images exported from A SketchUp model. The model is not mine and was importer using my SketchUp LDraw importer plugin. The plugin uses the STEP command in the LDraw file to create a new SketchUp::Layer for each Step.
With all the Layers in place, Scenes can be automatically added, and animations created using SketchUp's built-in animation features.
Model: Little House, Dormer
Lego (LDraw) Build Instructions in SketchUp
I've been playing around with Legos in SketchUp (again). I've added some cool features to the importer - like creating build steps on import, and color coding each step. Each step also gets its own Layer, so you can toggle them on/off as you like. I hope soon it will be possible to create high-quality build instructions right from SketchUp.
The exporter works alright the way it is, but I'm working on incorporating the same build-step system into that. The user would need to create a Layer for each Step in the build.
Once that is done, you should be able to use SketchUp for the entire lego design and build process. The exporter is LDraw compatable, so you can load the output into any other LDraw software you use.
I have some ideas about lego-specific tools for placing and rotating parts, but we'll see how that goes...
The updates are not ready yet, but hopefully soon (a week?)
The exporter works alright the way it is, but I'm working on incorporating the same build-step system into that. The user would need to create a Layer for each Step in the build.
Once that is done, you should be able to use SketchUp for the entire lego design and build process. The exporter is LDraw compatable, so you can load the output into any other LDraw software you use.
I have some ideas about lego-specific tools for placing and rotating parts, but we'll see how that goes...
The updates are not ready yet, but hopefully soon (a week?)
Lego Color Library
Plugin: ldraw.rb
The ldraw.rb can import ldraw.org .dat files.
The ldraw format does not lend itself well to SketchUp. In a nutshell, ldraw was developed at a time when parts were created in a text editor by hand. So to make that easier, dozens (if not hundreds) of primitives were created upon which parts were built. So when you load an ldraw part into SketchUp, the parts are pretty heavy with nested components and duplicate edges. I might add an option to "explode primitives." That would create a single component per part, and take care of duplicate edges.
Another major problem is face orientation. Faces are drawn arbitrarily facing in or out.
Yet, if you need a complex part that already exists in ldraw, this plugin can be a time saver.
Download ldraw.rb

House With Porch by Jeff Stebel
The ldraw format does not lend itself well to SketchUp. In a nutshell, ldraw was developed at a time when parts were created in a text editor by hand. So to make that easier, dozens (if not hundreds) of primitives were created upon which parts were built. So when you load an ldraw part into SketchUp, the parts are pretty heavy with nested components and duplicate edges. I might add an option to "explode primitives." That would create a single component per part, and take care of duplicate edges.
Another major problem is face orientation. Faces are drawn arbitrarily facing in or out.
Yet, if you need a complex part that already exists in ldraw, this plugin can be a time saver.
Download ldraw.rb

House With Porch by Jeff Stebel
Subscribe to:
Posts (Atom)
Popular Posts (Last 30 Days)
-
Sketchup materials library of 12x12 vinyl floor tiles. Download download
-
This SketchUp script assists the user in flattening, or unfolding, 3d objects onto a 2d plane. Installation Download unfoldtool.zip . M...
-
2010-09 * Updated for small bug in placement in SketchUp 8. toolbars-2010-09.zip This is an update to Custom Toolbars plugin with t...
-
Dec 18, 2010 - TIG just released a new .obj exporter. TIG's plugins are usually solid, so I recommend trying TIG's. ( TIG's OBJe...
-
Apr 2014 * Renamed to MoveIt , and available in t SketchUcation Plugin Store Aug 16, 2009 * Released update fixing possible bugsplat...
-
The Construction Line Tool allows you to draw constructions lines in a similar way as the Pencil Tool. Toolbar: View > Toolbars >...
-
This is the first step in a greeble plugin. And by first step I mean there are possible bugs. Protrude performs 4 basic operations: div...
-
Updated Dec 26, 2010 What are Plugins Beginning with version 4, SketchUp has shipped with an embedded Ruby-language interpreter allowi...
-
As you probably know, SketchUp 8 Free does not include the ability import/export DXF/DWG files. Although there are some free and commercia...
-
This importer lets you import both ASCII and binary STL files into SketchUp. It automatically detects the type of .stl file and imports acc...


