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

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

Serving Software Downloads in 976 Categories, Downloaded 30.441.837 Times

stlwrite - Write binary or ascii STL file 1.0

  Date Added: July 07, 2013  |  Visits: 252

stlwrite - Write binary or ascii STL file

Report Broken Link
Printer Friendly Version

Product Homepage
Download (20 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
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:
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  
Utilities  -  ABC Express Insurance 1.0
This app provides our customers ease of doing business with our agency. Our customers can File claims, Request for Policy Changes, View ID Cards and can also get a "Free Quote" using our app. - Now you can View, Save and Share your digital...
30.1 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  
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  -  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  
Development Tools  -  Barnardextest 1.0
This file, as the Fisher's exact test, performs the exact probability test for a table of frequency data cross-classified according to two categorical variables, each of which has two levels or subcategories (2x2). It is a non-parametric...
10 KB