example

Reading STL formatted CAD files

I had to process some CAD files for my rapid prototyping machine project so I came up with the following as a starting point. An STL files describe a set of triangular facets that form a mesh that approximates any three dimensional shape. I wrote this code to allow me to read a file and generate an array of facet data from the binary STL format.

We need a few helper classes.

An ordered triplet of 32 bit floats.

Simple C# Webserver

I wanted to set up a simple interface to serve information online without having to install a bunch of stuff and read through a bunch of documentation about configuration. I came up with a class and an interface in c# that should simplify/standardize some of my other projects.

The handler interface provides access to the request and response streams for each request

Subscribe to RSS - example