定制 aspose/3d-sdk-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

aspose/3d-sdk-php

Composer 安装命令:

composer require aspose/3d-sdk-php

包简介

A PHP library for communicating with the Aspose.3D Cloud API

README 文档

README

GitHub license GitHub last commit Packagist Version Packagist PHP Version Support

PHP SDK for 3D File Formats

Aspose.3D Cloud SDK for PHP empowers your PHP 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.

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.

Please visit Aspose.3D Cloud 20.5 Release Notes.

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

Get Started with Aspose.3D Cloud SDK for PHP

First, register an account at Aspose Cloud Dashboard to get you application information. Next, get the SDK. you can directly use the SDK in your project via source code. Better get it from Packagist distribution as follows.

Instal via Composer

Aspose.3D Cloud SDK for PHP is available on Packagist as 3d-sdk-php package. Run the following command to get it.

composer require aspose/3d-sdk-php

Use Composer's autoload to start using the SDK.

require_once('vendor/autoload.php');

PDF to PLY in PHP

	// Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).

	$threeDApi = new ThreeDCloudApi('client_credentials', 'MY_CLIENT_ID', 'MY_CLIENT_SECRET');

	$name = "template3d.pdf";
	
	$saveOpt = new PlySaveOption();
	$saveOpt->setSaveFormat(SaveFormat::PLY);
	$saveOpt->setFileSystem(new FileSystem());
	$saveOpt->getFileSystem()->setFileSystemType(FileSystemType::MemoryFileSystem);
	
	$positionComponents = array("x", "y", "z");
	$saveOpt->setPositionComponents($positionComponents);
	
	$newfilename = "output.ply";;
	$folder = "3DTest";
	$isOverwrite = "true";
	$storage = "My_Storage_Name";
	
	$result = $threedApi->postConvertByOpt($name, $saveOpt, $newfilename, $folder, $isOverwrite, $storage);

Aspose.3D Cloud SDKs in Popular Languages

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

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

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 14
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2020-05-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固