Code Monkey home page Code Monkey logo

aspose.3d-for-.net's Introduction

Nuget Nuget GitHub

.NET API for 3D File Formats

Aspose.3D for .NET empowers .NET applications to connect with 3D document formats. 3D .NET API lets engineers read, convert, build, alter and control the substance of the 3D document formats without any 3D modeling and rendering software installed on the machine.

Directory Description
Demos Source code for live demos hosted at https://products.aspose.app/3d/family.
Examples A collection of .NET examples that help you learn and explore the API features.

3D File Processing

Read & Write 3D Formats

Autodesk: FBX 7.2 to 7.5 (ASCII/Binary)
3D Systems CAD:: STL (ASCII/Binary)
Wavefront: OBJ
Discreet 3D Studio: 3DS
Universal3D: U3D
Collada: DAE
GL Transmission: glTF (ASCII/Binary)
Google Draco: DRC
RVM: (Text/Binary)
Portable Document Format: PDF
Other: AMF, PLY (ASCII/Binary)

Save 3D Files As

WEB: HTML

Read 3D Formats

DirectX: X (ASCII/Binary)
Siemens: JT
Other: DXF, ASF, VRML, 3MF

Platform Independence

Aspose.3D for .NET is written in C# and supports Windows Forms as well as ASP.NET apps. Development can be performed on any platform that has .NET environment for both 32-bit and 64-bit applications. It supports .NET Frameworks 2.0 till 4.7.2 as well as Client Profile version for .NET Framework 4.0.

Get Started with Aspose.3D for .NET

Are you ready to give Aspose.3D for .NET a try? Simply execute Install-Package Aspose.3D from the Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.3D for .NET and want to upgrade the version, please execute Update-Package Aspose.3D to get the latest version.

Build a Scene with Primitive 3D Models

// initialize a Scene object
Scene scene = new Scene();
// create a Box model
scene.RootNode.CreateChildNode("box", new Box());
// create a Cylinder model
scene.RootNode.CreateChildNode("cylinder", new Cylinder());
// save drawing in FBX format
scene.Save(dir + "output.fbx", FileFormat.FBX7500ASCII);

Export 3D Scene to Compressed AMF Format

// load a scene
Scene scene = new Scene();
var box = new Box();
var tr = scene.RootNode.CreateChildNode(box).Transform;
tr.Scale = new Vector3(12, 12, 12);
tr.Translation = new Vector3(10, 0, 0);
tr = scene.RootNode.CreateChildNode(box).Transform;
// scale transform
tr.Scale = new Vector3(5, 5, 5);
// set Euler angles
tr.EulerAngles = new Vector3(50, 10, 0);
scene.RootNode.CreateChildNode();
scene.RootNode.CreateChildNode().CreateChildNode(box);
scene.RootNode.CreateChildNode().CreateChildNode(box);
// save compressed AMF file
scene.Save(dir + "output.amf", new AMFSaveOptions() { EnableCompression = true });

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

aspose.3d-for-.net's People

Contributors

aamirwaseem avatar aliahmedaspose avatar asadalikhan90 avatar aspose-3d-gists avatar babar-raza avatar dependabot[bot] avatar farhan-raza avatar farooqsheikhpk avatar imranrafique avatar kashifiqb avatar lexchou avatar lexchou-aspose avatar naeem244 avatar rizwanniazigroupdocs avatar saqib-razzaq-aspose avatar saudaspose 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aspose.3d-for-.net's Issues

[Bug] Unable to import certain VRML 1.0 files

Aspose.3D fails to import certain VRML 1.0 files, I have provided one such file to this issue. Replication is straightforward:

  1. Open the examples project, uncomment the OpenVRML.Run() method
  2. Insert the attached model into the Data folder
  3. Run the example. Observe Aspose throws:
This exception was originally thrown at this call stack:
    [External Code]
    Aspose._3D.Examples.CSharp.WorkingWithVRML.OpenVRML.Run() in OpenVRML.cs
    Aspose._3D.Examples.CSharp.RunExamples.Main() in RunExamples.cs

Here is a working model, let me know if there is more I can do to assist you.

Cannot open .GLB files

Hello

When I try to load a .GLB file, I get the following error message:

Aspose.ThreeD.ImportException: 'Cannot open this file'

I have tried specifying GLTFLoadOptions, and I have tried referencing the file in the scene constructor and in scene.Load(). Any idea what could be wrong?

Convert Losing Information

I have bunch of simens jt format files converted by aspose.3d to STL format. The names and structures are lost in the output stl file.
I want to know if aspose.3d currently does not support to output 3d name structures.
Thanks.

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.