<<<<<<<<<<<<<<<<<

sla_writer(display) Display sla_writer(display)

NAME

sla_writer - write display data objects (or compatible filters) to SLA form.

DESCRIPTION

Sla_writer writes a SLA (Stereo Lithography) file from display data. Stereo lithography is "3D Hardcopy", i.e., a machine that generates a plastic part from a polygon description of an object. Both ASCII and binary SLA file may be written.

Note: the sla file format only supports triangles. If you have general polygons and/or triangle strips, use the triangle_filter to convert to triangles before using sla_writer to write the data.

SUPERCLASS

data_writer

INSTANCE VARIABLES

write_mode a flag indicating whether to write a binary or ASCII SLA file.

MESSAGES

ascii! set write_mode to ascii.

binary! set write_mode to binary.

write_mode? get the value of the write_mode instance variable. An integer value is returned: 1=ASCII, 2=BINARY.

write! method that performs the writing of data to SLA form.

SEE ALSO

data_writer, display_data, sla_modeller, byu_writer, cdf_display_data_writer, triangle_filter


Please send comments and suggestions to
consult@rpi.edu