Table of Contents

Class PaintToSTL

Namespace
CADability
Assembly
CADability.dll

An IPaintTo3D implementation which writes the triangles it is given to an ASCII STL file instead of displaying them: the faces are triangulated with the precision passed to the constructor and each triangle is written with its normal; curves, points and text are ignored. Used by ExportToSTL(string); dispose it to close the file.

public class PaintToSTL : IDisposable, IPaintTo3D
Inheritance
PaintToSTL
Implements
Inherited Members

Constructors

PaintToSTL(string, double)

public PaintToSTL(string fileName, double precision)

Parameters

fileName string
precision double

Methods

Init()

public void Init()