Skip to main content

Aspose.3D for Python via .NET is a cross-platform class library that enables your applications to connect with prevalent 3D document formats automatically without the 3D modeling and rendering software being installed on the server. Aspose.3D API lets engineers read, convert, build, alter and control the substance of the 3D document formats.

Project description

Product Page | Docs | Demos | Blog | Code Samples | Free Support | Temporary License | EULA

Try our free online apps demonstrating some of the most popular Aspose.Words functionality.

Aspose.3D for Python via .NET is a cross-platform class library that enables your applications to connect with prevalent 3D document formats automatically without the 3D modeling and rendering software being installed on the server. Aspose.3D API lets engineers read, convert, build, alter and control the substance of the 3D document formats.

3D API Features

Aspose.3D offers a wide arrange of features for creating, reading, manipulating and saving 3D files:

  • Build the mesh of various 3D geometric shapes

  • Create a 3D scene document

  • Set up normals or UV on the Cube

  • Format elements using 3D Transformations

  • Share Mesh’s geometry data between the multiple nodes

  • Add Animation property to 3D scene document

Performance and Scalability

Aspose.3D for Python via .NET is designed to perform equally well on the server or client-side. Aspose.3D for Python via .NET is a single .NET library that can be deployed with any .NET application by simply copying it. You do not have to worry about other services or modules.

Supported Document Formats

Aspose.3D for Python supports a wide range of formats for loading and saving documents, some of them are listed below:

Game: 3DS, ASE, DAE, FBX, U3D, X VR/AR: USD, USDZ, VRML CAD: DXF, RVM, JT Web and PDF: HTML5, glTF, glB, PDF 3D Printing: 3MF, AMF, OBJ, STL, Point Cloud: XYZ, OBJ, PLY, PCD

Detect 3D Format Programming Sample

import aspose.threed as a3d
# For complete examples and data files, please go to https://github.com/aspose-3d/Aspose.3D-for-.NET
# Detect the format of a 3D file
inputFormat = a3d.FileFormat.detect("document.fbx");
# Display the file format
print("File Format: " + str(inputFormat))

Creating a 3D Scene Document: Programming Samples

import aspose.threed as a3d
# For complete examples and data files, please go to https://github.com/aspose-3d/Aspose.3D-for-.NET
# The path to the documents directory.
# Create an object of the Scene class
scene = a3d.Scene()
# Save 3D scene document
scene.Save("document.fbx", a3d.FileFormat.FBX7500ASCII)

Create a 3D PDF with a Cylinder

from aspose.threed import Scene
from aspose.threed.entities import Cylinder
from aspose.threed.shading import PhongMaterial
from aspose.threed.formats import PdfSaveOptions, PdfLightingScheme, PdfRenderMode
# Create a new scene
scene = Scene()
# Create a cylinder child node
cylinder = scene.root_node.create_child_node("cylinder", Cylinder())
cylinder.material = PhongMaterial()
# Set rendering mode and lighting scheme
opt = PdfSaveOptions()
opt.lighting_scheme = PdfLightingScheme.CAD
opt.render_mode = PdfRenderMode.SHADED_ILLUSTRATION
# Save in the PDF format
scene.save("output_out.pdf", opt)

Product Page | Docs | Demos | Blog | Code Samples | Free Support | Temporary License | EULA

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

aspose_3d-22.7-py3-none-win_amd64.whl (40.3 MB view hashes)

Uploaded Python 3 Windows x86-64

aspose_3d-22.7-py3-none-win32.whl (35.5 MB view hashes)

Uploaded Python 3 Windows x86

aspose_3d-22.7-py3-none-manylinux1_x86_64.whl (48.1 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page