Skip to topic
|
Skip to bottom
"Wealth without money..."
Jump:
RepRap Home
What can it make?
One page description
Future Plans
Main Blog
Documentation
Make your own RepRap
Using your RepRap
Videos / Movies
RepStrap machines
Community
Get a RepRap Kit
User Forums
Builder's Wiki
Builder's Blog
RepRap auf Deutsch
RepRap en espaņol
RepRap in italiano
RepRap IRC Channel
RepRap Twitter
Object Library
Thingiverse
The People
World RepRap map
Related Sites
Background
Press
Philosophy
Acknowledgments
T-shirts, mugs etc.
GPL Licence
Privacy Policy
Main Web
Changes
Changes detailed
Topic list
Search
login
Edit
Attach
Printable
Main.3DReading
r1.3 - 22 Oct 2008 - 16:21 -
AdrianBowyer
topic end
Start of topic |
Skip to actions
---+ Reading in 3D objects There is a standard format for describing 3D objects that is used by every rapid prototyping system, including RepRap. It is called the [[http://en.wikipedia.org/wiki/STL_(file_format)][STL Format]] (that link will take you to its Wikipedia entry). STL is short for [[http://en.wikipedia.org/wiki/Stereolithography][STereoLithography]], which was the first RP technology. Unfortunately STL files have almost no internal structure, being little more than a list of triangles in space that cover the object to be built. However, there is a standard Java3D function to read STL files ([[http://code.j3d.org/javadoc/overview-summary.html][org.j3d.loaders.stl]]) and to return them as Java3D objects. This is used by the RepRap class org.reprap.gui.STLObject, which loads STL files given a path to them, attaches attributes to them so that each is made from a known material with which the RepRap machine builds, and allows them to be rotated and translated in space so that they can be placed anywhere in the build area. Note that RepRap knows nothing of STL files other than making calls to org.j3d.loaders.stl, which returns a [[http://download.java.net/media/java3d/javadoc/1.3.2/javax/media/j3d/BranchGroup.html][Java3D BranchGroup]]. It is this that RepRap uses internally as its initial store of 3D information. That means that any file format that Java3D can read into a <nolink>BranchGroup</nolink> can be used by RepRap, just by adding a reader call to org.reprap.gui.STLObject. After 3D objects have been read they are passed to [[ZSlicing]]. We are working on a general file format to represent multi-material objects. For details see our page on the [[MultipleMaterialsFiles][Multiple Material File Format]]. -- Main.AdrianBowyer - 25 Feb 2008
to top
End of topic
Skip to action links
|
Back to top
Edit
|
Attach image or document
|
Printable version
|
Raw text
|
More topic actions
Revisions: | r1.3 |
>
|
r1.2
|
>
|
r1.1
|
Total page history
|
Backlinks
|
Refresh
You are here:
Main
>
3DReading
to top
Copyright © 1999-2009 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding
RepRap
?
Send feedback