Explore nuestros productos
Aspose.3D for .NET 19,8 Notas de la versión
Mejoras y cambios
Clave | Resumen | Categoría |
---|---|---|
THREEDNET-528 | Añadir soporte de nube de puntos en Wavefront OBJ | Nueva característica |
THREEDNET-531 | Revisión de seguridad del Aspose.3D | Mejora |
THREEDNET-536 | Fallo de conversión DRC a STL | Error |
THREEDNET-537 | Problema de conversión PLY a GLB | Error |
THREEDNET-539 | La nube de puntos grande puede generar datos incorrectos | Error |
Público API y cambios incompatibles al revés
Consulte la lista de cualquier cambio realizado al público API, como miembros agregados, renombrados, eliminados o obsoletados, así como cualquier cambio no compatible con versiones anteriores realizado a Aspose.3D for .NET. Si tiene inquietudes sobre cualquier cambio enumerado, por favor recújelo en elAspose.3D foro de apoyo.
Añadido nueva propiedad PointCloud en la clase Aspose.ThreeD. Formatos. ObjSaveOptions
/// <summary>
/// Gets or sets the flag whether the exporter should export the scene as point cloud(without topological structure), default value is false
/// </summary>
public bool PointCloud
{
get;set;
}
Código de muestra para generar una nube de puntos de Esfera en formato obj.
var scene = new Scene(new Sphere());
scene.Save(@"sphere.obj", new ObjSaveOptions() { PointCloud = true });
Nuevos métodos añadidos CreatePolygon Aspose.ThreeD. Entidades. Malla
/// <summary>
/// Create a polygon with 4 vertices(quad)
/// </summary>
/// <param name="v1">Index of the first vertex</param>
/// <param name="v2">Index of the second vertex</param>
/// <param name="v3">Index of the third vertex</param>
/// <param name="v4">Index of the fourth vertex</param>
public void CreatePolygon(int v1, int v2, int v3, int v4);
/// <summary>
/// Create a polygon with 3 vertices(triangle)
/// </summary>
/// <param name="v1">Index of the first vertex</param>
/// <param name="v2">Index of the second vertex</param>
/// <param name="v3">Index of the third vertex</param>
public void CreatePolygon(int v1, int v2, int v3);
Código de muestra.
Mesh mesh = new Mesh();
mesh.CreatePolygon(new int[]{ 0, 1, 2 }); //The old CreatePolygon needs to create a temporary array for holding the face indices
mesh.CreatePolygon(0, 1, 2); //The new overloads doesn't need extra allocation, and it's optimized internally.
Los métodos recién añadidosCreatePolígonoLe permiten crear un triángulo o cuádruple sin asignar memoria adicional, está altamente optimizado internamente.
Se ha eliminado el antiguo campo público PrettyPrint en la clase Aspose.ThreeD. Formatos. GLTFSaveOptions
Esto fue eliminado y reemplazado por una propiedad con el mismo nombre, por lo que el código heredado que usó esto no necesita modificaciones.
Añadido nueva propiedad PrettyPrint en clase Aspose.ThreeD. Formatos. GLTFSaveOptions
/// <summary>
/// The JSON content of GLTF file is indented for human reading, default value is false
/// </summary>
public bool PrettyPrint { get; set; }
El viejoPrettyPrintEra un campo público y ha sido reemplazado por una propiedad para que sea consistente.