Installation

Installation

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


Prerequisites

RequirementDetail
JavaJDK 21 or later
Build toolMaven 3.6+ or Gradle 7+

Maven

Add to your pom.xml:

<dependency>
  <groupId>com.aspose</groupId>
  <artifactId>aspose-3d-foss</artifactId>
  <version>26.1.0</version>
</dependency>

Then run:

mvn compile

Gradle

Add to your build.gradle:

implementation 'com.aspose:aspose-3d-foss:26.1.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