Coder Social home page Coder Social logo

sharedvertexmesh.jl's Introduction

SharedVertexMesh.jl · Build Status

Parse STL file format to shared vertex mesh 🔺

Installation

pkg> add https://github.com/aaronang/SharedVertexMesh.jl

Usage

julia> import SharedVertexMesh

julia> mesh = SharedVertexMesh.from("nist.stl")

julia> mesh.vertices
3688-element Array{Tuple{Float32,Float32,Float32},1}:
 (45.7107, 112.8614, 10.0)
 (55.7107, 112.8614, 10.0)
 
 (15.2282, 78.8678, 5.0)
 (17.6777, 81.3173, 3.0)

julia> mesh.triangles
7392-element Array{Tuple{UInt64,UInt64,UInt64},1}:
 (0x0000000000000001, 0x0000000000000002, 0x0000000000000003)
 (0x0000000000000004, 0x0000000000000005, 0x0000000000000006)
 
 (0x0000000000000e68, 0x0000000000000e67, 0x0000000000000e65)
 (0x0000000000000e65, 0x0000000000000e67, 0x0000000000000e66)

sharedvertexmesh.jl's People

Contributors

aaronang avatar

Stargazers

GAURAV avatar

Watchers

James Cloos avatar

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.