All Projects → heyvito → HxSTLParser

heyvito / HxSTLParser

Licence: MIT license
Basic STL loader for SceneKit

Programming Languages

objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to HxSTLParser

PolyDraw
✳️ PTSource PolyDraw is a free 3D polygonal modeller for Windows x86 and x64, for creating or modifying 3D objects using a mesh of 3D points and parametric NURBS Curves .Exports and imports to over 40 formats including WebVR and 3D Printing.
Stars: ✭ 17 (-26.09%)
Mutual labels:  stl, 3d-graphics, 3d-models
Virocore
ViroCore cross-platform AR/VR renderer
Stars: ✭ 270 (+1073.91%)
Mutual labels:  scenekit, 3d-models
DEMto3D-QGIS-Plugin
Extensión GIS para impresión 3D de MDE
Stars: ✭ 33 (+43.48%)
Mutual labels:  stl-files, 3d-models
vasaro
Vasaro let you create 3d printable vases in a snap.
Stars: ✭ 30 (+30.43%)
Mutual labels:  stl, 3d-models
vtkplotlib
Wrap up VTK (python 3D graphics library) into an easy to use 3D equivalent of matplotlib
Stars: ✭ 31 (+34.78%)
Mutual labels:  stl, 3d-graphics
Tf flame
Tensorflow framework for the FLAME 3D head model. The code demonstrates how to sample 3D heads from the model, fit the model to 2D or 3D keypoints, and how to generate textured head meshes from Images.
Stars: ✭ 193 (+739.13%)
Mutual labels:  3d-graphics, 3d-models
hms-scene-demo
HMS Scene kit demo provides an example of integrating HUAWEI Scene Kit with an app. A 3D graphics rendering engine performs more with less. User-friendly rendering APIs for games, AR & VR apps, and other apps bring your users a stunning visual experience.
Stars: ✭ 18 (-21.74%)
Mutual labels:  scenekit, 3d-graphics
Duckyspark
Translator from USB-Rubber-Ducky payloads to a Digispark code.
Stars: ✭ 107 (+365.22%)
Mutual labels:  stl, 3d-models
Erizo
Fast native STL viewer
Stars: ✭ 89 (+286.96%)
Mutual labels:  stl, 3d-graphics
Android 3d Model Viewer
Android OpenGL 2.0 application to view 3D models. Published on Play Store
Stars: ✭ 809 (+3417.39%)
Mutual labels:  stl, 3d-models
Flame pytorch
This is a implementation of the 3D FLAME model in PyTorch
Stars: ✭ 153 (+565.22%)
Mutual labels:  3d-graphics, 3d-models
Mayo
3D CAD viewer and converter based on Qt + OpenCascade
Stars: ✭ 192 (+734.78%)
Mutual labels:  stl, 3d-graphics
Nips16 ptn
Torch Implementation of NIPS'16 paper: Perspective Transformer Nets
Stars: ✭ 126 (+447.83%)
Mutual labels:  3d-graphics, 3d-models
Uranium
A Python framework for building Desktop applications.
Stars: ✭ 210 (+813.04%)
Mutual labels:  3d-graphics, 3d-models
Arkit Unity3d
Access ARKit features like world-tracking, live video rendering, plane estimation and updates, hit-testing API, ambient light estimation, and raw point cloud data.
Stars: ✭ 124 (+439.13%)
Mutual labels:  3d-graphics, 3d-models
Assetkit
🎨 Modern 2D/3D - Importer • Exporter • Util - Library, also called (AssetIO)
Stars: ✭ 97 (+321.74%)
Mutual labels:  3d-graphics, 3d-models
Lume
Create CSS3D/WebGL applications declaratively with HTML. Give regular DOM elements shadow and lighting.
Stars: ✭ 445 (+1834.78%)
Mutual labels:  3d-graphics, 3d-models
Pyntcloud
pyntcloud is a Python library for working with 3D point clouds.
Stars: ✭ 919 (+3895.65%)
Mutual labels:  3d-graphics, 3d-models
Openastrotracker
3D printed DSLR tracking mount
Stars: ✭ 434 (+1786.96%)
Mutual labels:  stl, 3d-models
3d models
3D Models of our products
Stars: ✭ 177 (+669.57%)
Mutual labels:  stl, 3d-models

HxSTLParser

Platform Language Carthage Compatible License


HxSTLParser is a basic STL parser capable of loading STL files into an SCNNode.

Installing

Via Carthage

Just add it to your Cartfile

github "victorgama/HxSTLParser"

Then run:

$ carthage update

Via Cocoapods

Just add HxSTLParser to your Podfile:

platform :ios, '8.0'
use_frameworks!

pod 'HxSTLParser', '1.0.0'

Usage

#import <HxSTLParser/HxSTLParser.h>

- (void)loadStl {
    STLParser *parser = [[STLParser alloc] init];
    NSError *error = nil;
    NSString *fileContents = [NSString stringWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"3dObject" ofType:@"stl"] encoding:NSASCIIStringEncoding error:nil];
    SCNNode *node = [parser loadFromString:fileContents error:&error];
    if(error != nil) {
        NSLog(@"Something went wrong: %@", error);
        return;
    }
    SCNScene *scene = [[SCNScene alloc] init];
    // ...configure your scene
    [scene.rootNode addChildNode:node];
}

License

The MIT License (MIT)

Copyright (c) 2016 Victor Gama

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].