Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.235.528 Times

stlwrite - Write binary or ascii STL file 1.0

  Date Added: July 07, 2013  |  Visits: 419

stlwrite - Write binary or ascii STL file

Report Broken Link
Printer Friendly Version


Product Homepage
Download (52 downloads)



STLWRITE(FILE,fv) writes a stereolithography (STL) file to FILE for a triangulated patch defined by FV (a structure with fields 'vertices' and 'faces'). STLWRITE(FILE,FACES,VERTICES) takes faces and vertices separately, rather than in an FV struct STLWRITE(FILE,X,Y,Z) creates an STL file from surface data in X, Y, and Z. STLWRITE triangulates this gridded data into a triangulated surface using triangulations options specified below. X, Y and Z can be two-dimensional arrays with the same size. If X and Y are vectors with length equal to SIZE(Z,2) and SIZE(Z,1), respectively, they are passed through MESHGRID to create gridded data. If X or Y are scalar values, they are used to specify the X and Y spacing between grid points. STLWRITE(...,'PropertyName',VALUE,'PropertyName',VALUE,...) writes an STL file using the following property values: MODE - File is written using 'binary' (default) or 'ascii'. TITLE - Header text (max 80 characters) written to the STL file. TRIANGULATION - When used with gridded data, TRIANGULATION is either: 'delaunay' - (default) Delaunay triangulation of X, Y 'f' - Forward slash division of grid quadrilaterals 'b' - Back slash division of quadrilaterals 'x' - Cross division of quadrilaterals Note that 'f', 'b', or 't' triangulations require FEX entry 28327, "mesh2tri". FACECOLOR - (not currently implemented) When used with face/vertex input, specifies the colour of each triangle face. If users request this feature, I will attempt to implement it. Example 1: % Write binary STL from face/vertex data tmpvol = zeros(20,20,20); % Empty voxel volume tmpvol(8:12,8:12,5:15) = 1; % Turn some voxels on fv = isosurface(tmpvol, 0.99); % Create the patch object stlwrite('test.stl',fv) % Save to binary .stl Example 2: % Write ascii STL from gridded data [X,Y] = deal(1:40); % Create grid reference Z = peaks(40); % Create grid height stlwrite('test.stl',X,Y,Z,'mode','ascii') Original idea adapted from surf2stl by Bill McDonald. Non-Delaunay triangulation of quadrilateral surface input requires mesh2tri by Kevin Moerman.Note: This entry was originally titled "patch2stl", however has been renamed to "stlwrite" after more general input was added.

Requirements: No special requirements
Platforms: Matlab
Keyword: Attempt Colour Empty Feature File Implement Request Triangle Users Voxel
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


STLWRITE - WRITE BINARY OR ASCII STL FILE RELATED
File Management  -  Extracting Windows file versions 1.6
This is my attempt at extracting the file version information from .dll, .exe, .ocx files etc. on Windows 2000 (should work with others, but I haven't tested it), without resorting to using extensions (i.e. dll functions). Put the code in a file...
 
Multimedia  -  Linear Subdivision 1.0
A simple m file for the triangle mesh subdivision using linear interpolation. The zip file includes four examples of subdivision.See also the URL:http://www.mathworks.com.au/matlabcentral/fileexchange/24942
245.76 KB  
Development Tools  -  Absolute and Comparison Analysis for Affymetrix Data 1.0
We attempt to reproduce and efficiently implement in MATLAB publicly available methods of Affymetrix MAS 5 and GCOS 1.2 software that perform single-array and comparison analysis for Affymetrix data given by CEL and CDF files and create...
20.48 KB  
Development Tools  -  Apply hausdorf distance to tile image classification 1.0
This file implement the modified hausdorf distance[2], and apply it to solve a simple application--tile images classification with shape variance. See the 'description.pdf' for more details.[1] D. P. Huttenlocher, G. A. Klanderman, and W. J....
1.94 MB  
Development Tools  -  Gauss Siedel Iterative Method 1.0
This file implement Gauss Siedel Iterative Method on MATLABGauss Siedel Iterative Method is a technique of Numerical Computation of finding roots of Linear equations.
10 KB  
Multimedia  -  Figure Window Always on Top 1.0
My first attempt at a mex file making a simple call to the "SetWindowPos" function in the user32 library. This allows users to keep MATLAB figures on top, floating above all other windows even when focus is not on the target window.Example...
10 KB  
Programming  -  Zucchini 0.5.4
A Zucchini feature file consists of sections bound to contexts of different application screens. Every screen you proceed to needs to be backed up by a CoffeeScript class describing all UI elements you want Zucchini to interact with as well as...
1.81 MB  
Networking Tools  -  Gsmb 0.5
Gsmb provides a graphical interface allowing simplified management of the file of the Samba users file /etc/smbpasswd. In initial Windows 95 releases, passwords for accessing shared volumes were sent as cleartext over the network. Sambda...
21.5 KB  
Audio Tools  -  MP3 Rocket Pro 5.0.3
MP3 Rocket is an award winning file sharing program allowing users to download mp3 music files from the gnutella network. Users can also search for and download movie files, software titles, games, documents and images. Other features include the...
3.05 MB  
Security Tools  -  Monitoring Software 5.1.4.1
Hidden system surveillance tool has authentication feature that restricts all unauthorized users to access software settings by requesting password. Advance monitoring software is capable to trace all internet activities such as visited web URLs,...
3.41 MB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB