Installation

Installation

This page covers installing aspose-3d-foss 26.5.0 into a Java project.


Prerequisites

RequirementDetail
JavaJDK 21 or later
Build toolMaven 3.6+ or Gradle 7+
Pose APIThe Pose class has been modified in this release (API MODIFIED). Review the updated usage examples in the Pose section of the documentation.

Maven

Add the updated Mesh dependency to your pom.xml:

<dependency>
  <groupId>org.aspose</groupId>
  <artifactId>aspose-3d-foss</artifactId>
  <version>26.5.0</version>
</dependency>

Then run:

mvn compile

Gradle

Add to your build.gradle:

implementation 'org.aspose:aspose-3d-foss:26.5.0'

Then run:

gradle build

Verify the Installation

import com.aspose.threed.Scene;

public class VerifyInstall {
    public static void main(String[] args) throws Exception {
        Scene scene = new Scene();
        scene.open("test.obj");
        System.out.println("Nodes loaded: " + scene.getRootNode().getChildNodes().size());
    }
}

If you see the node count printed without exceptions, the package is installed correctly.


Next Steps

See Also

 English