Skip to content

Perl SDK to communicate with Aspose.3D REST APIs. Create, Edit & Convert 3D files in the Cloud.

License

Notifications You must be signed in to change notification settings

Aspose-3D-Cloud/aspose-3d-cloud-perl

Repository files navigation

GitHub license GitHub last commit CPAN

Perl SDK for 3D File Formats

Aspose.3D Cloud SDK for Perl empowers your Perl applications to connect with 3D document formats. The APIs let engineers read, convert, build, alter and control the substance of the 3D document formats in the Cloud. All without any 3D modeling and rendering software installed on the machine.

Process 3D Objects & Files in the Cloud

  • Create 3D entities - Box, Sphere, Plane, Torus, Cylinder.
  • Perform processing of 3D models and attributes.
  • Perform transformation, translation, rotation & scaling of 3D objects.
  • Convert 3D files to other format.
  • Convert whole of the 3D file or convert a specific part only.
  • Extract 3D scenes and export to various formats.
  • Perform parametric modeling, 3D modeling & data processing.
  • Create cloud-based folder structure & perform cloud-based conversion of 3D files.
  • Extract 3D raw data from PDF. Password-protected 3D PDF file supported as well.
  • Supports working with triangulate meshes, triangulate whole or part of the 3D scene.
  • Remove 3D objects from a scene.

Read & Write 3D Formats

Additive Manufacturing Format AMF, 3D Studio 3DS, AVEVA RVM, Google Draco DRC, Collada DAE, AutoCAD DXF, Autodesk FBX, Wavefront OBJ, 3D PDF, Polygon File Format PLY, Standard Triangle Language STL, Universal3D U3D, GL Transmission Format GLTF

Read-Only Formats

Siemens JT, DirectX X, 3D Manufacturing Format 3MF, 3D Studio Max ASE

Write 3D Formats As

HTML

Enhancements Version 20.5

  • Added support to read/write more file formats.
  • Added support for HTML file format conversion.
  • New feature added to Triangulate part of the scene (Specified by OAP) and save the scene to a different file.

Get Started with Aspose.3D Cloud SDK for Perl

Register an account at Aspose Cloud Dashboard to get you application information & start using the source in this repo.

Convert 3D to PDF in Perl

	# Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
	
	my $config = AsposeThreeDCloud::Configuration->new('base_url' => 'https://api.aspose.cloud');
    my $client = AsposeThreeDCloud::ApiClient->new( $config);
    my $oauth_api = AsposeThreeDCloud::OAuthApi->new($client);

    my $grant_type = 'client_credentials';
    my $client_id = 'MY_CLIENT_ID';
    my $client_secret =  'MY_CLIENT_SECRET';
    my $result = $oauth_api->o_auth_post(grant_type => $grant_type, client_id => $client_id, client_secret => $client_secret);
    my $access_token  = $result->access_token;

    my $new_config = AsposeThreeDCloud::Configuration->new('access_token' =>  $access_token, 'base_url' => 'https://api.aspose.cloud/v3.0');
    $new_client = AsposeThreeDCloud::ApiClient->new( $new_config);
	my $api = AsposeThreeDCloud::ThreeDCloudApi->new($new_client)
	
	my $name = 'Aspose.Upload.3d';
    my $newformat = 'pdf';
    my $newfilename = 'saveasformat.pdf';
    my $folder = '3DTest';
    my $is_overwrite = 'true';
    my $storage = undef;

	my $result = $api->post_convert_by_format(name => $name, newformat => $newformat, newfilename => $newfilename, folder => $folder, is_overwrite => $is_overwrite, storage => $storage);

Aspose.3D Cloud SDKs in Popular Languages

.NET Java PHP Python Ruby Node.js Swift Perl GO
GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub
NuGet Maven Composer PIP GEM NPM POD CPAN GO

Home | Product Page | Documentation | Live Demo | API Reference | Code Samples | Blog | Free Support | Free Trial