Sometimes I have to put text on a path
Showing posts with label STL. Show all posts
Showing posts with label STL. Show all posts

Monday, July 18, 2011

Is it possible to use a canvas to do 3d?; 3d web development with Google's O3D ; a canvas application which can read the contents of a 3D .OBJ file and display the results in real-time.


the new O3D Project Hosting site: http://code.google.com/p/o3d/

3d web development with Google's O3D: WebGL implementation of O3D

The old O3D plugin API is Deprecated:  
http://code.google.com/apis/o3d/docs/samplesdirectory.html

Originally built as a browser plug-in, this new implementation of O3D is a JavaScript library implemented on top of WebGL.


Introduction
The WebGL implementation of O3D is a JavaScript library built on top of WebGL. It implements a subset of the original O3D plug-in API, which includes all O3D interfaces that have an analogous interface in WebGL. For example, the render graph, transform graph, and texture classes are all implemented in the WebGL implementation of O3D. Animation, parameter operations, 2D canvas, and file I/O classes are not included. See Functional Groupings of O3D for details.

One major difference between the two implementations is that the WebGL implementation of O3D uses the GLSL shader required by WebGL. This release includes a Cg-to-GLSL converter script to aid in this conversion.



Here (http://code.google.com/p/o3d/) you can:
  • Download the WebGL implementation of O3D.
  • Read about how to convert your O3D plug-in application to the WebGL implementation of O3D.
  • Check out the samples.
  • Read about how to load COLLADA files into the WebGL implementation of O3D.
  • Browse the source code.
  • File bugs and submit patches.

--------------
O3D is a good development environment for 3d.
You will be surprised by how easy it was compared to OpenGL.
For example, entire 3d models could be loaded using a single command, while as with OpenGL you would have had to write your own low-level model loader.
Not to mention, Google made integration with Sketchup easy.

ex-ample:

http://src.chromium.org/viewvc/chrome/trunk/src/o3d/samples/o3d-webgl-samples


  • Hello Cube, v. 2
  • Spinning Cube, v. 2 (minimal changes)
  • Primitives, v. 2


http://code.google.com/p/o3d/wiki/SampleCodeWalkthrough

Converting and Loading COLLADA Models:
http://code.google.com/p/o3d/wiki/ColladaConverter

-------
"Is it possible to use a canvas to do 3d?"
3d and HTML5's Canvas element together...
The canvas element is becoming more widely adopted than O3D.  It could draw polygons.

The future of 3d web applications lies with WebGL : http://www.khronos.org/webgl/.
Using HTML5's canvas unlike WebGL: canvas will be able to run on any HTML5 enabled browser (software rendered) while as WebGL runs on computers with hardware acceleration.

Ex-ample:

3D OBJ Viewer – 3D, Applications - Canvas Demos:
http://www.canvasdemos.com/2010/05/05/3d-obj-viewer/
http://www.canvasdemos.com/userdemos/toxicgonzo/3dobjviewer.html
a canvas application which can read the contents of a 3D .OBJ file and display the results in real-time.
This particular demo takes Blender’s monkey model and rotates it. It also displays how many FPS in the upper left corner.

This program:
  1.  A 3d .OBJ object is stored as a string in the javascript file
  2. The .OBJ string is decoded to hold information about vertex position and which vertices form the polygons
  3.  Every polygon is assigned a random color
  4. Matrix multiplication happens: Convert object from model space -> camera space -> clip space -> screen space
  5.  Z-sort the polygons based on the polygon’s centroid
  6. Draw the polygons from back to front

Friday, October 9, 2009

ParaView is an application framework as well as a turn-key application; Modeling software OpenFOAM and ParaView ; mesh processing: generation, manipulation, conversion

ParaView is an open source, multi-platform data analysis and visualization application. It has a client-server architecture to facilitate remote visualization of datasets

It is an application built on top of the Visualization Tool Kit (VTK) libraries.

The ParaView code base is designed in such a way that all of its components can be reused to quickly develop vertical applications. This flexibility allows ParaView developers to quickly develop applications.

Input/Output and File Format
  • Supports a variety of file formats including: VTK (new and legacy, all types including parallel, ascii and binary, can read and written).
  • Various polygonal file formats including STL and BYU (by default, read only, other VTK writers can be added by writing XML description).
  • Many other file formats are supported. See ParaView Readers and ParaView Writers for a full list.

CMake is a family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. ParaView utilizes CMake for the software compilation process.

--------

ParaView is used as the visualization platform for the Modeling software OpenFOAM (Open Field Operation and Manipulation).It is primarily a C++ toolbox for the customisation and extension of numerical solvers for continuum mechanics problems, including computational fluid dynamics (CFD). It comes with a growing collection of pre-written solvers applicable to a wide range of problems.

First major general-purpose CFD package to use polyhedral cells. This functionality is a natural consequence of the hierarchical description of simulation objects.

OpenFOAM compares favourably with the capabilities of most leading general-purpose commercial closed-source CFD packages. It relies on the user's choice of third party pre- and post-processing utilities, and ships with:
  • a plugin (paraFoam) for visualisation of solution data and meshes in ParaView.
  • a wide range of mesh converters allowing import from a number of leading commercial packages
  • an automatic hexahedral mesher to mesh engineering configurations

OpenFOAM was conceived as a continuum mechanics platform but is ideal for building multi-physics simulations.

OpenCFD develop OpenFOAM in the Linux/UNIX operating system because: we believe it is the best platform for this kind of high end simulation code development and operation; Linux is efficient, robust, reliable and flexible and undergoes rapid development and improvement; Linux is open source, like OpenFOAM; Linux is very effective for parallel operation on Beowulf clusters.

OpenFOAM is open source software so people can freely compile it on any operating system they choose. Most OpenFOAM users are running Linux, so this site offers the download of binaries for selected Linux systems.

As the present time we are unaware of any binary distributions for Windows or MacOSX. However, ports to these operating systems have been the subject of debate on the OpenFOAM discussion site, which may provide the best source of information on the matter.

http://www.opencfd.co.uk/openfoam/

OpenFOAM uses finite volume numerics to solve systems of partial differential equations ascribed on any 3D unstructured mesh of polyhedral cells.

Mesh generation

OpenFOAM applications handle unstructured meshes of mixed polyhedra with any number of faces: hexahedra, tetrahedra, degenerate cells, basically anything.

Mesh generation is made simple by the fact that a cell is simply represented as a list of faces and a face as a list of vertices: this makes mesh handling very easy even for complex meshes with, say, embedded refinement or complex shapes near the boundary.

OpenFOAM is supplied with the following mesh generator tools that run in parallel.


Mesh generation tools


blockMesh A multi-block mesh generator
extrude2DMesh Takes 2D mesh (all faces 2 points only, no front and back faces) and creates a 3D mesh by extruding with specified thickness
extrudeMesh Extrude mesh from existing patch (by default outwards facing normals; optional flips faces) or from patch read from file
snappyHexMesh Automatic split hex mesher. Refines and snaps to surface


The main mesh generators cover two extremes: snappyHexMesh, that can mesh to complex CAD surfaces; blockMesh a simple file-driven block mesh generator.

Mesh manipulation

OpenFOAM is supplied with several utilties that perform mesh checking and manipulation. The full list of utilties is given below

Mesh manipulation


attachMesh Attach topologically detached mesh using prescribed mesh modifiers
autoPatch Divides external faces into patches based on (user supplied) feature angle
cellSet Selects a cell set through a dictionary
checkMesh Checks validity of a mesh
createBaffles Makes internal faces into boundary faces. Does not duplicate points, unlike mergeOrSplitBaffles
createPatch Utility to create patches out of selected boundary faces. Faces come either from existing patches or from a faceSet
deformedGeom Deforms a polyMesh using a displacement field U and a scaling factor supplied as an argument
faceSet Selects a face set through a dictionary
flattenMesh Flattens the front and back planes of a 2D cartesian mesh
insideCells Picks up cells with cell centre ’inside’ of surface. Requires surface to be closed and singly connected
mergeMeshes Merge two meshes
mergeOrSplitBaffles Detects faces that share points (baffles). Either merge them or duplicate the points
mirrorMesh Mirrors a mesh around a given plane
moveDynamicMesh Mesh motion and topological mesh changes utility
moveEngineMesh Solver for moving meshes for engine calculations.
moveMesh Solver for moving meshes
objToVTK Read obj line (not surface!) file and convert into vtk
pointSet Selects a point set through a dictionary
refineMesh Utility to refine cells in multiple directions
renumberMesh Renumbers the cell list in order to reduce the bandwidth, reading and renumbering all fields from all the time directories
rotateMesh Rotates the mesh and fields from the direcion n1   \special {t4ht= to the direction n2   \special {t4ht=
setSet Manipulate a cell/face/point set interactively
setsToZones Add pointZones/faceZones/cellZones to the mesh from similar named pointSets/faceSets/cellSets
splitMesh Splits mesh by making internal faces external. Uses attachDetach
splitMeshRegions Splits mesh into multiple regions
stitchMesh ’Stitches’ a mesh
subsetMesh Selects a section of mesh based on a cellSet
transformPoints Transforms the mesh points in the polyMesh directory according to the translate, rotate and scale options
zipUpMesh Reads in a mesh with hanging vertices and zips up the cells to guarantee that all polyhedral cells of valid shape are closed

Mesh motion

OpenFOAM adopts a novel approach to mesh motion by defining it in terms of the boundary motion which is extremely robust.

The solver need only define the the motion of the boundary and everything else will be done automatically. The open architecture of OpenFOAM solver codes allows quick and efficient implementation: mesh motion can be based on any solution variable, either local or integrated and by dynamically adjusted during the run.

Mesh motion is also transparently integrated with top-level models: the model writer does not see the additional complexity, which is conveniently packaged within the discretisation operators.

For examples of automated mesh motion in OpenFOAM, see Solutions

Mesh conversion

OpenFOAM accepts meshes generated by any of the major mesh generators and CAD systems. Listed below are converter utlities for the major commercial mesh generators. Note that it is also possible to import the meshes from most general purpose mesh generators since they will export in a format read by one of the converters.

Mesh converters


ansysToFoam Converts an ANSYS input mesh file, exported from I-DEAS, to OPENFOAM®format
cfx4ToFoam Converts a CFX 4 mesh to OPENFOAM®format
fluent3DMeshToFoam Converts a Fluent mesh to OPENFOAM®format
fluentMeshToFoam Converts a Fluent mesh to OPENFOAM®format including multiple region and region boundary handling
foamMeshToFluent Writes out the OPENFOAM®mesh in Fluent mesh format
foamToStarMesh Reads an OPENFOAM®mesh and writes a PROSTAR (v4) bnd/cel/vrt format
gambitToFoam Converts a GAMBIT mesh to OPENFOAM®format
gmshToFoam Reads .msh file as written by Gmsh
ideasUnvToFoam I-Deas unv format mesh conversion
kivaToFoam Converts a KIVA grid to OPENFOAM®format
mshToFoam Converts .msh file generated by the Adventure system
netgenNeutralToFoam Converts neutral file format as written by Netgen v4.4
plot3dToFoam Plot3d mesh (ascii/formatted format) converter
polyDualMesh Calculate the dual of a polyMesh. Adheres to all the feature and patch edges
sammToFoam Converts a STAR-CD SAMM mesh to OPENFOAM®format
star4ToFoam Converts a STAR-CD (v4) PROSTAR mesh into OPENFOAM®format
starToFoam Converts a STAR-CD PROSTAR mesh into OPENFOAM®format
tetgenToFoam Converts .ele and .node and .face files, written by tetgen
writeMeshObj For mesh debugging: writes mesh as three separate OBJ files which can be viewed with e.g. javaview

Thursday, October 8, 2009

mathematica ; STL ; 3D format



http://reference.wolfram.com/mathematica/guide/3DGeometryAndModelingFormats.html

http://reference.wolfram.com/mathematica/ref/format/STL.htmlMIME type: application/sla
STL computer-aided design and manufacturing format.
3D geometry format.
Commonly used for representing solid models in rapid prototyping systems.
Native format of the 3D Systems stereolithography CAD software.
Developed in 1989 by 3D Systems, Inc.
STL is an acronym derived from stereolithography.
ASCII or binary format.
Binary STL files store data using little-endian byte ordering.
Stores a solid 3D object as a surface formed by a collection of adjacent triangles.
Does not store color information.


SEE ALSO

"3DS" bullet "BYU" bullet "JVX" bullet "LWO" bullet "Maya" bullet "NOFF" bullet "OBJ" bullet "OFF" bullet "PLY" bullet "POV" bullet "RIB" bullet"VRML" bullet "X3D" bullet "ZPR"

Friday, July 25, 2008

matlab .m file 3D input

1/ read_dxf will load an ASCII dxf file into MATLAB.

http://www.mathworks.de/matlabcentral/fileexchange/loadFile.do?objectId=7118&objectType=file

2/Read and write the 3D data PLY file format.

http://www.mathworks.de/matlabcentral/fileexchange/loadFile.do?objectId=5459&objectType=file

3/ This is a MATLAB class that allows the user to read in Autocad (.dxf) and 3D Studio Max (.3ds) files.
The class can be plotted and functions are included for simple model manipulation (translation, rotation, magnification, superposition)

http://www.mathworks.de/matlabcentral/fileexchange/loadFile.do?objectId=7940&objectType=file

Tuesday, June 3, 2008

Polygonal modeling and file format

In 3D computer graphics, polygonal modeling is an approach for modeling objects by representing or approximating their surfaces using polygons.

Polygonal modeling is well suited to scanline rendering.

Alternate methods of representing 3D objects include NURBS surfaces, subdivision surfaces, and equation-based representations used in ray tracers.

The basic object used in mesh modeling is a vertex, a point in three dimensional space.

ONE VERTEX , TWO VERTICES

Two vertices connected by a straight line become an edge.

Three vertices, connected to the each other by three edges, define a triangle, which is the simplest polygon in Euclidean space. More complex polygons can be created out of multiple triangles, or as a single object with more than 3 vertices. Four sided polygons (generally referred to as quads) and triangles are the most common shapes used in polygonal modeling. A group of polygons, connected to each other by shared vertices, is generally referred to as an element. Each of the polygons making up an element is called a face.

A group of polygons which are connected together by shared vertices is referred to as a mesh. In order for a mesh to appear attractive when rendered, it is desirable that it be non-self-intersecting, meaning that no edge passes through a polygon. Another way of looking at this is that the mesh cannot pierce itself. It is also desirable that the mesh not contain any errors such as doubled vertices, edges, or faces. For some purposes it is important that the mesh be a manifold – that is, that it does not contain holes or singularities (locations where two distinct sections of the mesh are connected by a single vertex).

There are many disadvantages to representing an object using polygons. Polygons are incapable of accurately representing curved surfaces, so a large number of them must be used to approximate curves in a visually appealing manner. The use of complex models has a cost in lowered speed. In scanline conversion, each polygon must be converted and displayed, regardless of size, and there are frequently a large number of models on the screen at any given time. Often, programmers must use multiple models at varying levels of detail to represent the same object in order to cut down on the number of polygons being rendered.

File formats


A variety of formats are available for storing 3d polygon data. The most popular are:

OBJ (or .OBJ) is a geometry definition file format first developed by Wavefront Technologies for its Advanced Visualizer animation package. The file format is open and has been adopted by other 3D graphics application vendors and can be imported/exported from e-Frontier's Poser, Autodesk's Maya, Avid's Softimage|XSI, Blender, MeshLab, Misfit Model 3D, 3D Studio Max, and Rhinoceros 3D, Hexagon, Newtek Lightwave, Art of Illusion, GLC_Player etc. For the most part it is a universally accepted format.

PLY is a computer file format known as the Polygon File Format or the Stanford Triangle Format. The The Digital Michelangelo Project at Stanford University used the PLY format for an extremely high resolution 3D scan of the Michelangelo "David" sculpture. The format was principally designed to store three dimensional data from 3D scanners. It supports a relatively simple description of a single object as a list of nominally flat polygons. A variety of properties can be stored including: color and transparency, surface normals, texture coordinates and data confidence values. The format permits one to have different properties for the front and back of a polygon. There are two versions of the file format, one in ASCII, the other in binary.

STL is a file format native to the stereolithography CAD software created by 3D Systems. This file format is supported by many other software packages; it is widely used for rapid prototyping and computer-aided manufacturing. STL files describe only the surface geometry of a three dimensional object without any representation of color, texture or other common CAD model attributes. The STL format specifies both ASCII and binary representations. Binary files are more common, since they are more compact. An STL file describes a raw unstructured triangulated surface by the unit normal and vertices (ordered by the right-hand rule) of the triangles using a three-dimensional Cartesian coordinate system

-----
  • MeshLab is an open source Windows and Linux application for visualizing, processing and converting three dimensional meshes to or from the OBJ file format.

  • GLC_Player is an Open Source software used to view 3d models in OBJ Format and to navigate easily in these models.
  • 3DMLW is a markup language that shows OBJ files through common web browsers

RepRap is an OpenSource project that uses STL file input and generates solid objects as output.
  • The STL Format - Standard Data Format for Fabbers: The STL Format
  • How to Create an STL file Guide to exporting STL files from various CAD packages (courtesy of ProtoCAM)
  • SolidView SolidView is a commercial STL manipulation package that has a Lite version available (under provision of a business email address) for STL viewing.
  • Freesteel with a web-interface where you can upload an STL file and render it into an image in your browser.
  • ADMesh is a GPLed text-based program for processing triangulated solid meshes, and reads and writes the STL file format.

---------------

There are many other file formats capable of encoding triangles available (such as VRML,...) but they have the disadvantage that it's possible to put things other than triangles into it, and thus produce something ambiguous or unusable.

*.STL, *.OBJ, *.PLY are OK.

Monday, June 2, 2008

MESH, Maillage, STL, list of freeware

MESH-Maillage-STL

Altair Engineering Altair Corporate – Innovation Intelligence ( Modifié le : 14 Aug 2007)
VRMESH Edition et modification de maillages triangulaires VRMesh - 3D mesh modeling software for reverse engineering, free-form modeling, rapid prototyping (11/09/2007-Page non trouvé et site )
DeskArtes - 3D software for industrial design, rapid prototyping and simulation, DESKARTES, 3D-Solutions, 3D, EXPERT SERIES, Vi ( Modifié le : 06 Mar 2007)
Gmsh a three-dimensional finite element mesh generator with built-in pre-and post-processing facilities Gmsh: a three-dimensional finite element mesh generator with built-in pre- and post-processing facilities ( Modifié le : 13 Jul 2007)
Meshing Software Survey Meshing Software Survey ( Modifié le : 28 Jun 2007)
Welcome to Visible Productions
Transmagic AutoCAD, CAD Software, 3D Models Translation-SolidWorks,Catia,Unigraphics,Pro Engineer
Page en anglais sur les méthodes de maillages via le site rhino Pointset reconstruction
openrpFormat devant remplacer le STL le site comporte un visualisateur gratuit STL/RP ( Modifié le : 26 Jun 2005)
Wings 3D Free subdivision modeller
Visual Computing Lab Les "PAPA" de Meshlab voir ci-dessous, et voir leurs publications un "MUST" du traitement des données digitalisées
MESHLAB Logiciel OpenSource de traitement des nuages de points

Friday, May 23, 2008

MeshLab

MeshLab is an open source, portable, and extensible system for the processing and editing of unstructured 3D triangular meshes.


------

http://meshlab.sourceforge.net/


------
The system is aimed to help the processing of the typical not-so-small unstructured models arising in 3D scanning, providing a set of tools for editing, cleaning, healing, inspecting, rendering and converting this kind of meshes.

The system is heavily based on the VCG library developed at the Visual Computing Lab of ISTI - CNR, for all the core mesh processing tasks and it is available for Windows, Linux (src) and MacOSX (intel only).


The MeshLab system started in late 2005 as a part of the FGT course of the Computer Science department of University of Pisa and most of the code (~15k lines) of the first versions was written by a handful of willing students. The following years FGT students have continued to work to this project implementing more and more features. The proud MeshLab developers are listed below.
This project have been supported by the European Networks of Excellence Epoch and (partially) by Aim@Shape

Remember that, whenever you use MeshLab in a official/commercial project or in any kind of research, you should:


  • Explicitly cite in your work that you have used MeshLab, a tool developed with the support of the Epoch NOE,
  • Post a couple of lines in the users' forum describing the project where MeshLab was used.

Adopted License, acknowlegments and other legal issues are detailed here.


Features


  • Interactive selection and deletion of portion of the mesh. Even for large models.
  • Painting interface for selecting, smoothing and coloring meshes.
  • Input/output in many formats:
    • import:PLY, STL, OFF, OBJ, 3DS, COLLADA, PTX
    • export:PLY, STL, OFF, OBJ, 3DS, COLLADA, VRML, DXF
    • Point Clouds support. Now 3D files that are composed only by points are well supported in PLY and OBJ format.
    • U3D support; MeshLab is the first open source tool to provide direct conversion of 3D meshes into the U3D format. Now you can create pdf, like this with 3D objects with just MeshLab and LaTeX.

  • Mesh Cleaning Filters:
    • removal of duplicated, unreferenced vertices, null faces
    • removal of small isolated components
    • coherent normal unification and flipping
    • erasing of non manifold faces
    • automatic filling of holes

  • Remeshing filters:
    • High quality edge collapse simplification (even with texture coords preservation)
    • Surface reconstruction from points (a ball pivoting variant)
    • Subdivision surfaces (loop and butterfly)
    • Feature preserving smoothing and fairing filters

  • Various Colorization/Inspection filters
    • Gaussian and mean curvature
    • Border edges, geodesic distance, from borders
    • Non two-manifold edges and vertices
    • Self intersecting faces
    • Ambient Occlusion. An ambient occlusion field can be computed and stored per vertex

  • Interactive Mesh Painting
    • Color Painting
    • Selection paint
    • Smoothing

  • Measuring tool. You can take linear measures between points of the displayed meshes
  • Slicing tool. A new tool that allows to export planar sections of a mesh in SVG format
  • 3D Scanning tools
    • Alignment ICP based range map alignment tool, for putting meshes into the same reference space.
    • Merging of multiple meshes the Poisson surface reconstruction source code (kindly provided by by Michael Kazhdan and Matthew Bolitho) have been included in.

  • OpenGL Shader based rendering (write your own shader!) compatible with Typhoon Lab's Shader Designer
  • Large rendering (up to 16k x 16k) for high quality printing
  • The history of the all performed cleaning/editing actions can be re-played on different meshes or saved and for archival purposes.
  • Extendible plugins based architecture, writing new mesh processing functions, colorization filters and support for different file formats is quite easy! Look at PlugIn Samples

Bug reports and feature requests should be filed using the sourceforge service ->
General questions can be posted on the help public forums

STL openSource applications

----------openSource

MeshLab is an open source Windows and Linux application for visualizing, processing and converting three dimensional meshes to or from the STL file format.

MeshLab Homepage

MeshLab, started in late 2005, is a free and open-source general-purpose mesh processing software program; the system is aimed to help the processing of the typical not-so-small unstructured models that arise in the pipeline of processing of the data coming from 3D scanning. MeshLab is oriented to the management and processing of unstructured large meshes and provides a set of tools for editing, cleaning, healing, inspecting, rendering and converting these kinds of meshes.

The automatic mesh cleaning filters includes removal of duplicated, unreferenced vertices, non manifold edges and null faces. Remeshing tools support high quality simplification based on quadric error measure, various kinds of subdivision surfaces and two surface reconstruction algorithms from point clouds based on the ball pivoting technique and on the Poisson surface reconstruction approach. For the removal of noise, usually present in acquired surfaces, MeshLab supports various kinds of smoothing filters and tools for curvature analysis and visualization.

MeshLab also includes an interactive direct paint-on-mesh system that allows to interactively change the color of a mesh, to define selections and to directly smooth out noise and small features.

Version 1.1.0 also includes a tool for the registration of multiple range maps based on the Iterative Closest Point algorithm.

MeshLab is available for most platforms, including Windows, Linux and Mac OS X intel only. The system support input/output in the following formats: PLY, STL, OFF, OBJ, 3DS and COLLADA.

------------Art of Illusion

http://en.wikipedia.org/wiki/Art_of_Illusion

Art of Illusion is a free, open source 3D modelling and rendering studio. It is written entirely in Java, and should be usable on any Java Virtual Machine which is compatible with J2SE 1.4 or later.

File Handling


Mac OS X


Art of Illusion requires Mac OS X 10.4 or later with all software updates installed.
  1. Download the Art of Illusion installer.
  2. Double-click it to mount the disk image, then copy the "Art of Illusion" folder to your Applications folder.
  3. (optional) Download the Java Media Framework. Select the "Cross-platform Java" version. After you download it, find the file jmf.jar and move it to /Library/Java/Extensions. The rest of the downloaded files are not needed, and can be deleted. (This step is not required, and most of Art of Illusion will work normally without JMF. You will not be able to save animations in Quicktime format, however, if it is not installed.)
  4. To launch the program, double-click the Art of Illusion icon.

------------------

RepRap is an OpenSource project that uses STL file input and generates solid objects as output.

On peut utiliser des parties de ce projet pour la gestion et modif des STL.

------------------
  • The STL Format - Standard Data Format for Fabbers: The STL Format
  • How to Create an STL file Guide to exporting STL files from various CAD packages (courtesy of ProtoCAM)
  • SolidView SolidView is a commercial STL manipulation package that has a Lite version available (under provision of a business email address) for STL viewing. http://www.solidview.com/svlite.html
  • Freesteel with a web-interface where you can upload an STL file and render it into an image in your browser.
  • ADMesh is a GPLed text-based program for processing triangulated solid meshes, and reads and writes the STL file format.

--------------------------------

  • remarque: Mathematica sait lire du STL.



-------------------------------

SolidView lite



Format

Extension

Description

Version Up to

Lite

Pro
ACIS/SAT .sat, .sab ACIS/SAT Data v18 - Yes*
Assembly Component Definition .acd SolidView Any - Yes
Autodesk DXF .dxf 2004 - Yes
Autodesk DWG .dwg 2004 - Yes
Catia V4 .cat, .exp, .model Native Catia V4 Data V4 - Yes*
Catia V5 .catpart, .catproduct Native Catia V5 Data R7 to R17 - Yes*
I-Deas Web Access .mca, .idi I-Deas MCA v11NX - Yes*
Initial Graphics Exchange Specification .igs, .iges IGES 3D Any - Yes*
Object File .obj Any Yes Yes
Parasolid .x_t, .x_b Parasolid text and binary Data v19 - Yes*
Pro/Engineer .prt, .asm Native PTC Pro/E Data WildFire 4 - Yes*
SolidEdge .par, .dft., .asm, .psm Native SolidEdge Data v20 - Yes*
Solid File Exchange .SFX SolidView Any Yes Yes
SolidView Solid .sv SolidView Any - Yes
SolidWorks .sldprt, .sldasm Native SolidWorks Data 2008 Yes Yes
Step .step Native PTC AP203/AP214 - Yes*
Stereolithography .stl Any Yes Yes
Unigraphics .prt Native UG Data
parts and assemblies
NX 5 - Yes*
VDAFS .vda Any - Yes*
VRML .wrl 1.0 / 2.0 Yes Yes



*Optional add on for SolidView/Pro. Click here for pricing.



tFeaure
SolidView/Lite SolidView SolidView/Pro SolidView/Pro RP
All Versions Have Fully Functional Demos N/A Free for 15 days Free for 15 days Free for 15 days
Description FREE Low Cost Markup Import CAD data Import CAD data &
Rapid Prototyping Tools
View STL, VRML, OBJ, SolidWorks Yes Yes Yes Yes
Print STL, VRML, OBJ, SolidWorks Yes Yes Yes Yes
Measure STL, VRML, OBJ, SolidWorks - Yes Yes Yes
Modify STL, VRML, OBJ - Yes Yes Yes
Save STL, VRML, OBJ - - Yes Yes
View, Print, Measure, Modify, and Save DXF - - Yes Yes
View SFX files Yes Yes Yes Yes
Print SFX files Yes Yes Yes Yes
Measure SFX files Yes Yes Yes Yes
Combine 3D data - Yes Yes Yes
Edit/Save SFX files - Yes Yes Yes
Replay SFX 3D Slide Shows Yes Yes Yes Yes
Create new SFX files - - Yes Yes
Modify SFX data Yes Yes Yes Yes
Publish SFX files - - Yes Yes
Export section data - - Yes Yes
View 2D raster files (tif, bmp, jpeg, etc.) - - Yes Yes
View 2D vector files (cgm, hpgl, wmf, etc.) - - Yes Yes
Optional CAD Interfaces - - Yes Yes
Optional Network Licensing - - Yes Yes
Move, copy and scale 3D data - - Yes Yes
Verify STL data - - Yes Yes
Repair STL data - - - Yes
Split STL data - - - Yes
Shell STL data - - - Yes
Create drain holes - - - Yes
Automatic RP part layout - - - Yes
Manual RP part layout - - - Yes
RP build time estimator - - - Yes
Optional automatic RP support generator - - -

--------------------------------

STL interchanging data between CAD/CAM system

Remarque:

There are many other file formats capable of encoding triangles available, such as VRML, DXF, but they have the disadvantage that it's possible to put things other than triangles into it, and thus produce something ambiguous or unusable.

STL History of use

History of use


Stereolithography machines are basically 3D printers that can build any volume shape as a series of slices. Ultimately these machines require a series of closed 2D contours that are filled in with solidified material as the layers are fused together.

The natural file format for such a machine would be a series of closed polygons corresponding to different Z-values. However, since it's possible to vary the layer thicknesses for a faster though less precise build, it seemed easier to define the model to be built as a closed polyhedron that could be sliced at the necessary horizontal levels.

The STL file format appears capable of defining a polyhedron with any polygonal facet, but in practice it's only ever used for triangles, which means that much of the syntax of the file is superfluous. It is also the case that the value of the normal shouldn't be necessary, since that is a direct calculation from the coordinates of the triangle with the orientation being controlled by the right hand rule.

STL files are supposed to be closed and connected like a combinatorial surface, where every triangular edge is part of exactly two triangles, and not self-intersecting. Since the syntax does not enforce this property, it can be ignored for applications where the closedness doesn't matter.

The closedness only matters insofar as the software which slices the triangles requires it to ensure that the resulting 2D polygons are closed. Sometimes such software can be written to clean up small discrepancies by moving endpoints of edges that are close together so that they coincide. The results are not predictable, but it is often sufficient to get the job done.

Obviously, there is much scope for "improvement" of this file format, which in its present form is nothing more than a listing of groups of 9 (or 12 if you care about the normals) floating point numbers embedded in some unnecessary syntax. Since each vertex is on average going to be used in six different triangles, considerable savings in memory could be obtained by listing all the points in a table at the beginning of the file, and concluding with a list of triangle definitions composed of triplets of integers that referenced this table.

However, for the purpose of generating a single contour slice using a very lightweight piece of software on a computer with little memory, this format is perfect since it can be processed in one pass regardless of file size.


Use in other fields.


Many Computer-aided design systems are able to output the STL file format among their other formats because it's quick and easy to implement, if you ignore the connection criteria of the triangles. Many Computer-aided manufacturing systems require triangulated models as the basis of their calculation.

Since an STL file output, of a sorts, is almost always available from the CAD system, it's often used as a quick method for importing the necessary triangulated geometry into the CAM system.

It can also be used for interchanging data between CAD/CAM systems and computational environments such as Mathematica.

Once it works, there is very little motivation to change, even though it is far from the most memory and computationally efficient method for transferring this data. Many integrated CAD and CAM systems transfer their geometric data using this accidental file format, because it's impossible to go wrong.

There are many other file formats capable of encoding triangles available, such as VRML, DXF, but they have the disadvantage that it's possible to put things other than triangles into it, and thus produce something ambiguous or unusable.

STL binary

Binary STL


Because ASCII STL files can become very large, a binary version of STL exists. A binary STL file has an 80 character header (which is generally ignored - but which should never begin with 'solid' because that will lead most software to assume that this is an ASCII STL file). Following the header is a 4 byte unsigned integer indicating the number of triangular facets in the file. Following that is data describing each triangle in turn. The file simply ends after the last triangle.

Each triangle is described by twelve floating point numbers: three for the normal and then three for the X/Y/Z coordinate of each vertex - just as with the ASCII version of STL. After the twelve floats there is a two byte unsigned 'short' integer that is the 'attribute byte count' - in the standard format, this should be zero because most software does not understand anything else.

Floating point numbers are represented as IEEE floating point numbers and the endianness is assumed to be little endian although this is not stated in documentation.

--------

format parasolid

xt_format_oct06

format 3D stl

3D-Formats Programs

(*.stp) STEP-Files (optional)


most 3D-CAD Programs


(*.igs) IGS-Files (optional)


most 3D-CAD Programs


(*.vda) VDA-Files (optional)


3D-CAD Programs


(*.sat) SAT-Files (optional)


3D-CAD Programs


(*.x_t; *.x_b) PARASOLID-Files (optional)

3D-CAD Programs

(*.stl) STL-Files


most 3D-CAD Programs

(*.wrl) VRML1, VRML2-Files
most 3D-CAD Programs


(*.slp) Render-Files


Pro Engineer


(*.xgl *.zgl) XGL-Files


SolidEdge, SolidWorks, Autodesk Inventor


(*.obj) OBJ-Files


Alias Wavefront


(*.3ds *prj *.pli) 3DS-Files


3D Studio


(*.asc) ASC-Files


3D Studio


(*.dxf) DXF-Files (3D-Faces)


(*.iv) Inventor-Files




2D-Formats

Programs
(*.dxf) DXF-Files
most 3D-CAD Programs

(*.dwg) DWG-Files AutoCad, most 3D-CAD Programs
(*.plt, *.plo, *.hpg) HPGL-Files HPGL/HPGL2 Data – Files made by printing data to a file - possible on every PC with a HPGL compatible printing driver.

Export


Formats Content

(*.exe) Viewer+Data

Viewer und Data (3D and 2D)

(*.ddd) Data


Data (3D/2D), Custom Views


(*.stl) STL-Files


triangulated Files (3D)


(*.wrl) VRML 2.0 Files


triangulated VRML 2.0 Files (3D)


(*.3ds) 3D-Studio-Dateien


3D-Studio Files containing the geometrical data of the part (3D)




Recommended File Formats


Pro Engineer:
CATIA:
UG:
SolidEdge:
SolidWorks:
IDEAS:
Autodesk Inventor:
VRML, SLP, STEP, IGS
STEP,IGS,VDA, STL
STEP, IGS, VRML, STL
XGL, VRML, STEP, IGS
XGL, VRML, STEP, IGS
STEP, IGS
XGL, STEP, IGS, 3DS, STL