Code Monkey home page Code Monkey logo

stldotnet's Introduction

An STL Reading and Writing Library for .NET

This library facilitates the reading and writing of Stereo Lithograph (STL) files. It is written in C# 4 and was created with Visual Studio 2012.

Features

  • Reads ASCII STL files.
  • Reads binary STL files.
  • Writes ASCII STL files.
  • Writes binary STL files.
  • Provides an object-oriented mechanism by which to create STL files from scratch.

Installation

You may find the latest release here. You can download the source and build it yourself, download the binaries from the release, or install the NuGet package:

Install-Package QuantumConcepts.Formats.StereoLithography

Supported Runtimes

Multiple runtimes are supported:

  • .NET 5
  • .NET 6
  • .NET Standard 2.1
  • .NET Core

Contributing

To contribute a code change, please submit a Pull Request. If you find an issue, please feel free to report it via GitHub.

If you do decide to make a code change, before pushing your branch and opening the Pull Request. To ensure consistent, clean formatting, please initialize the Git hooks by running: ./config/init-hooks

Thank you!

stldotnet's People

Contributors

chedberg84 avatar jinek avatar joshmccullough avatar ygrenier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stldotnet's Issues

Issue referencing QuantumConcepts.Common assembly.

Hi i am making a application to render a model from STL binary files.And i found your project very useful but i cant build it and its has so many errors about Format String and "QuantumConcepts.Formats.StereoLithography.Facet' to 'int' ".Would u mind checking it out,Hope to hear u soon.

Licensing

If I use your library (binaries from nuget) to save in stl format, am I restricted to use agpl as well or free to choose whichever licensing I like for my application?

Thanks for the lib by the way.

multi target framework to include netstandard 2.0

A multi target csproj could used to generate package ( using dotnet pack example ) either for net framework and netstandard like the follow:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFrameworks>net472;netstandard2.0</TargetFrameworks>
  </PropertyGroup>
  <PropertyGroup>
    <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  </PropertyGroup> 

</Project>

meanwhile I compiled a nuget package for netstandard2.0 available here

howto / documentation

So you say there is a package that allows me to handle STL-files.
But I can not find any documentation or examples how to use the package?

signed library

Hi,

Can you please prepare a new Nuget release with signed assembly?

Dmitry

Wrong separator

I try to use this library, and i am from Russia. Writing to file not working, because you use default culture separator in numbers, and in Russia it ",". But in STL, separator must be ".". Fix it please.

Problems on non-English environment

When you use the library on a non-English system where the decimal "point" is a comma (e.g. German), you get a format exception.

To fix it, use CultureInfo.InvariantCulture instead of CultureInfo.CurrentCulture in the Vertex.Read() method

Add functionality to convert an STL to text/binary.

Currently an STL can be opened, read and then written to text or binary. This will be two helper methods to accept an input stream and an output stream and handle the copying of the STL defined in the input stream to the output stream.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.