Questions tagged [stl-format]

STL is the standard file type used by most additive manufacturing systems. STL is a triangulated representation of a 3D CAD model

STL is the standard file type used by most additive manufacturing systems. STL is a triangulated representation of a 3D CAD model

You cannot build the model smoother than the STL file, so if the STL is coarse and faceted, that is what you can expect in the final model. When exporting to STL in your CAD package, you may see parameters for chord height, deviation, angle tolerance, or something similar. These are the parameters that affect the faceting of the STL. You don’t necessarily want to design too small. The more detailed the STL, the larger the file size, which will affect processing time in Insight, 3D printing software, as well as build time.

More information

112 questions
13
votes
1 answer

What is the preferred method for loading STL files in Three.js

I'm writing an application that is designed to be used as part of a mechanical design and simulation workflow, and we'd like to be able to use Three.js to load and visualize parts designed in Solidworks, which can be exported as STL (text or…
user1460044
  • 359
  • 1
  • 3
  • 6
11
votes
1 answer

Loading object as Geometry instead of BufferGeometry in threejs

I'm trying to load an .stl file into three.js. Everything works fine and I get the model as BufferGeometry using this code: var loader = new THREE.STLLoader(); loader.addEventListener( 'load', function ( event ) { var material =…
Flavio
  • 1,507
  • 5
  • 17
  • 30
7
votes
5 answers

STL file to a readable text file

I am now studying 3d models (stl files and etc) and how it is made from scratch. What software do I need to use to see what's inside the stl file like this: solid dart facet normal 0.00000E+000 0.00000E+000 -1.00000E+000 outer loop …
TerribleDog
  • 1,237
  • 1
  • 8
  • 31
6
votes
1 answer

Understanding the mesh created by Qt3D

I create a Qt3D mesh like this: Qt3DCore::QEntity *newEntity = new Qt3DCore::QEntity(); Qt3DExtras::QConeMesh *mesh =new Qt3DExtras::QConeMesh(); mesh->setTopRadius(0.2); mesh->setBottomRadius(1.0); mesh->setLength(2.0); for(int i = 0; i <…
Megidd
  • 7,089
  • 6
  • 65
  • 142
6
votes
2 answers

STL exporter for BufferGeometry in THREE.js

I have a number of BufferGeometries, which consist a scene, and their meshes have been transferred to different positions. I was wondering if there is a way to export this scene, from meshes, containing BufferGeometries to STL file. Thank you very…
Hesamoy
  • 301
  • 1
  • 20
5
votes
1 answer

Convert STEP file type to STL

I want to convert a STEP file into an STL file format using Python. I have looked online and it looks like the best option is to either use FreeCAD or OpenCascade (OCC). However, I am a beginner and do not know where to start from. I did some search…
Umar Dastgir
  • 688
  • 9
  • 25
5
votes
2 answers

Rendering 2D images from STL file

I would like to load an STL file and produce a set of 2D images in different rotations. I got the basics working with numpy-stl based on this example, ended up with this code - from stl import mesh from mpl_toolkits import mplot3d from matplotlib…
Yossi Dahan
  • 5,389
  • 2
  • 28
  • 50
5
votes
2 answers

Meshlab: How to turn off the "Unify Duplicated Vertices" prompt?

every time I open an STL file with Meshlab, a window pops up and asks, whether I want to "Unify Duplicated Vertices". It is sort of annoying that I always have to press the "OK" button. How can I tell Meshlab that it should always unify them without…
Dominik Mokriš
  • 1,118
  • 1
  • 8
  • 29
5
votes
1 answer

Python-VTK 3D Spline Regression through STL model of vascular tree

I need to create a spline or polyline representation of a vascular tree model (see below). The model is in a STL format, thus I have the x-y-z coordinates of all vertices. The lines should run through the center of the vessel mesh thus I thought…
somada141
  • 1,274
  • 2
  • 18
  • 25
4
votes
2 answers

Convert .sldprt file to .stl using Python script

Recently I have been working on an assignment to convert five file formats (.dae, .stl, .step, igs, obj) to .stl. using FreeCAD Python console and help from people on StackOverflow and FreeCAD forum, I was able to do that. The last part of this…
Umar Dastgir
  • 688
  • 9
  • 25
4
votes
1 answer

Writing To a Binary File

I am attempting to write an STL Binary file in Fortran 90. The file has the following format HEADER: An 80 byte ASCII header - TITLE A 4 byte unsigned long integer, NO. OF FACETS FORMAT FOR EACH FACET: Normal vector, 3 floating values of 4 bytes…
HarRad
  • 43
  • 1
  • 4
4
votes
1 answer

Loading STL objects in Swift 2 (Metal)

I'm trying to create a 3D model viewer, i've gone through a few tutorials for OpenGL and Metal to create 3D models and do some basic rotations with the pan gesture etc. This example from www.raywenderlich.com, a Sample Project Git(error free), the…
Amorn Narula
  • 323
  • 3
  • 13
4
votes
0 answers

Android : .STL 3d model (Render, Edit & Save/Update)

I want to develop an android application which can load any 3D object ( of file format either .stl,.obj ) and performing operations like rotation,scaling,coloring or positioning and then saving the entire 3D object with all the changes made to it…
Ganesh AB
  • 4,652
  • 2
  • 18
  • 29
4
votes
0 answers

Export a mayavi surface as a STL

I've been looking to export a surface that I am rendering with mayavi as a .stl file, and I haven't found any solutions. I came up with a bit of code which appears to work, though it may not be the best solution. Below you can see a sample to show…
wzaylor
  • 195
  • 2
  • 9
3
votes
2 answers

Is there anyway to view a STL file in a github readme similar to an image?

Howdy I am trying to show a preview of an STL file from my github repo in the README file is there anyway to do this? So far I have tried using For…
1
2 3 4 5 6 7 8