Blader door onze producten
Aspose.3D for .NET 19.8 Versions hinweise
Verbesserungen und Änderungen
Schlüssel | Zusammenfassung | Kategorie |
---|---|---|
THREEDNET-528 | Fügen Sie Point Cloud-Unterstützung in Wavefront OBJ hinzu | Neues Feature |
THREEDNET-531 | Sicherheits überprüfung von Aspose.3D | Verbesserung |
THREEDNET-536 | DRC bis STL Konvertierungs fehler | Fehler |
THREEDNET-537 | Problem umwandlung PLY auf GLB | Fehler |
THREEDNET-539 | Die große Punktwolke kann falsche Daten erzeugen | Fehler |
Öffentliche API und rückwärts inkompatible Änderungen
Siehe die Liste aller an der Öffentlichkeit vorgenommenen Änderungen API, z. B. hinzugefügte, umbenannte, entfernte oder veraltete Mitglieder sowie nicht abwärts kompatible Änderungen an Aspose.3D for .NET. Wenn Sie Bedenken hinsichtlich einer aufgeführten Änderung haben, geben Sie diese bitte auf derAspose.3D Unterstützung forum.
Neue Eigenschaft Point Cloud in der Klasse Aspose.ThreeD hinzugefügt. Formate. 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;
}
Beispielcode, um eine Punktwolke von Sphere im obj-Format zu generieren.
var scene = new Scene(new Sphere());
scene.Save(@"sphere.obj", new ObjSaveOptions() { PointCloud = true });
Neue Methoden Create Polygon Aspose.ThreeD.Entities.Mesh hinzugefügt
/// <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);
Beispielcode.
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.
Die neu hinzugefügten MethodenCreate PolygonSie können ein Dreieck oder Quad erstellen, ohne zusätzlichen Speicher zuzuweisen. Es ist intern stark optimiert.
Altes öffentliches Feld Pretty Print in Klasse Aspose.ThreeD entfernt. Formate. GLTF SaveOptions
Dies wurde entfernt und durch eine Eigenschaft mit demselben Namen ersetzt, sodass Legacy-Code, der dies verwendet hat, keine Änderungen erforderlich sind.
Neue Eigenschaft Pretty Print in Klasse Aspose.ThreeD hinzugefügt. Formate. GLTF SaveOptions
/// <summary>
/// The JSON content of GLTF file is indented for human reading, default value is false
/// </summary>
public bool PrettyPrint { get; set; }
Der altePretty PrintWar ein öffentliches Feld, und es wurde durch Eigentum für konsistent ersetzt.