Microsoft3MFFormat

Inheritance: java.lang.Object, com.aspose.threed.FileFormat

public class Microsoft3MFFormat extends FileFormat

Dateiformatinstanz für Microsoft 3MF mit 3MF-bezogenen Dienstprogrammen.

Felder

FeldBeschreibung
AMFDateiformat für additive Fertigung
ASEASCII‑Szenenexporter‑Format von 3D Studio Max.
ASPOSE3D_WEBAspose.3D Web‑Format.
BLENDER3D‑Dateiformat von Blender
COLLADACollada‑Dateiformat
DISCREET3DSDateiformat von 3D Studio
DRACOGoogle Draco Mesh
DXFAutoCAD DXF
FBX6100ASCIIASCII‑FBX‑Dateiformat, Version 6.1.0
FBX6100_BINARYBinäres FBX‑Dateiformat, mit Version 6.1.0
FBX7200ASCIIASCII‑FBX‑Dateiformat, mit Version 7.2.0
FBX7200_BINARYBinäres FBX‑Dateiformat, mit Version 7.2.0
FBX7300ASCIIASCII‑FBX‑Dateiformat, mit Version 7.3.0
FBX7300_BINARYBinäres FBX‑Dateiformat, mit Version 7.3.0
FBX7400ASCIIASCII‑FBX‑Dateiformat, mit Version 7.4.0
FBX7400_BINARYBinäres FBX‑Dateiformat, mit Version 7.4.0
FBX7500ASCIIASCII FBX-Dateiformat, Version 7.5.0
FBX7500_BINARYBinäres FBX-Dateiformat, Version 7.5.0
FBX7600ASCIIASCII FBX-Dateiformat, Version 7.6.0
FBX7600_BINARYBinäres FBX-Dateiformat, Version 7.6.0
FBX7700ASCIIASCII FBX-Dateiformat, Version 7.7.0
FBX7700_BINARYBinäres FBX-Dateiformat, Version 7.7.0
GLTFglTF der Khronos Group
GLTF2glTF der Khronos Group Version 2.0
GLTF2_BINARYglTF der Khronos Group Version 2.0
GLTF_BINARYglTF der Khronos Group im Binärformat
HTML5HTML5-Datei
IFCISO 16739-1 Industry Foundation Classes Datenmodell.
MAYAASCIIAutodesk Maya im ASCII-Format
MAYA_BINARYAutodesk Maya im Binärformat
MICROSOFT3MFMicrosoft 3D Manufacturing Format
PCDPCL Point Cloud Data-Datei im ASCII-Modus
PCD_BINARYPCL Point Cloud Data-Datei im Binärmodus
PDFAdobe Portable Document Format
PLYPolygon File Format oder Stanford Triangle Format
RVM_BINARYAVEVA Plant Design Management System Modell im Binärformat
RVM_TEXTAVEVA Plant Design Management System Modell im Textformat
SIEMENSJT8Siemens JT-Datei Version 8
SIEMENSJT9Siemens JT-Datei Version 9
STLASCIIASCII STL-Dateiformat
STL_BINARYBinäres STL-Dateiformat
UNIVERSAL3DUniversal3D-Dateiformat
USDUniverselle Szenenbeschreibung
USDAUniverselle Szenenbeschreibung im ASCII-Format.
USDZKomprimierte Universelle Szenenbeschreibung
VRMLDie Virtual Reality Modeling Language
WAVEFRONTOBJWavefronts Obj-Dateiformat
XYZXyz-Punktwolken-Datei
X_BINARYDirectX X-Datei im Binärformat
X_TEXTDirectX X-Datei im Binärformat
ZIPZip-Archiv, das andere 3D-Dateiformate enthält.

Methoden

MethodeBeschreibung
createLoadOptions()Standard-Ladeoptionen für dieses Dateiformat erstellen
createSaveOptions()Standard-Speicheroptionen für dieses Dateiformat erstellen
detect(Stream stream, String fileName)Erkennen Sie das Dateiformat aus dem Datenstrom, der Dateiname ist optional, um Typen zu erraten, die keinen Magic-Header haben.
detect(String fileName)Erkennen Sie das Dateiformat anhand des Dateinamens, die Datei muss lesbar sein, damit Aspose.3D das Dateiformat über den Dateikopf erkennen kann.
equals(Object arg0)
getCanExport()Ermittelt, ob Aspose.3D den Export von Szenen in das aktuelle Dateiformat unterstützt.
getCanImport()Ermittelt, ob Aspose.3D den Import von Szenen aus dem aktuellen Dateiformat unterstützt.
getClass()
getContentType()Ermittelt den Inhaltstyp des Dateiformats
getExtension()Ermittelt den Erweiterungsnamen dieses Typs.
getExtensions()Ermittelt die Erweiterungsnamen dieses Typs.
getFileFormatType()Ermittelt den Dateiformattyp
getFormatByExtension(String extensionName)Ermittelt das bevorzugte Dateiformat anhand des Dateierweiterungsnamens. Der Erweiterungsname sollte mit einem Punkt (’.’) beginnen.
getFormats()Zugriff auf alle unterstützten Formate
getObjectType(Node node)Liefert den Modelltyp für den angegebenen Knoten.
getTransformForBuild(Node node)Transformationsmatrix für den im Build verwendeten Knoten abrufen.
getVersion()Ermittelt die Dateiformatversion
hashCode()
isBuildable(Node node)Prüfen, ob dieser Knoten als Build markiert ist.
notify()
notifyAll()
setBuildable(Node node, boolean value, Matrix4 transform)Einen Knoten für den Build markieren.
setObjectType(Node node, String modelType)Den Modelltyp für den angegebenen Knoten festlegen.
toString()Formate in Zeichenkette
wait()
wait(long arg0)
wait(long arg0, int arg1)

AMF

public static final FileFormat AMF

Dateiformat für additive Fertigung

ASE

public static final FileFormat ASE

ASCII‑Szenenexporter‑Format von 3D Studio Max.

ASPOSE3D_WEB

public static final FileFormat ASPOSE3D_WEB

Aspose.3D Web‑Format.

BLENDER

public static final FileFormat BLENDER

3D‑Dateiformat von Blender

COLLADA

public static final FileFormat COLLADA

Collada‑Dateiformat

DISCREET3DS

public static final FileFormat DISCREET3DS

Dateiformat von 3D Studio

DRACO

public static final DracoFormat DRACO

Google Draco Mesh

DXF

public static final FileFormat DXF

AutoCAD DXF

FBX6100ASCII

public static final FileFormat FBX6100ASCII

ASCII‑FBX‑Dateiformat, Version 6.1.0

FBX6100_BINARY

public static final FileFormat FBX6100_BINARY

Binäres FBX‑Dateiformat, mit Version 6.1.0

FBX7200ASCII

public static final FileFormat FBX7200ASCII

ASCII‑FBX‑Dateiformat, mit Version 7.2.0

FBX7200_BINARY

public static final FileFormat FBX7200_BINARY

Binäres FBX‑Dateiformat, mit Version 7.2.0

FBX7300ASCII

public static final FileFormat FBX7300ASCII

ASCII‑FBX‑Dateiformat, mit Version 7.3.0

FBX7300_BINARY

public static final FileFormat FBX7300_BINARY

Binäres FBX‑Dateiformat, mit Version 7.3.0

FBX7400ASCII

public static final FileFormat FBX7400ASCII

ASCII‑FBX‑Dateiformat, mit Version 7.4.0

FBX7400_BINARY

public static final FileFormat FBX7400_BINARY

Binäres FBX‑Dateiformat, mit Version 7.4.0

FBX7500ASCII

public static final FileFormat FBX7500ASCII

ASCII FBX-Dateiformat, Version 7.5.0

FBX7500_BINARY

public static final FileFormat FBX7500_BINARY

Binäres FBX-Dateiformat, Version 7.5.0

FBX7600ASCII

public static final FileFormat FBX7600ASCII

ASCII FBX-Dateiformat, Version 7.6.0

FBX7600_BINARY

public static final FileFormat FBX7600_BINARY

Binäres FBX-Dateiformat, Version 7.6.0

FBX7700ASCII

public static final FileFormat FBX7700ASCII

ASCII FBX-Dateiformat, Version 7.7.0

FBX7700_BINARY

public static final FileFormat FBX7700_BINARY

Binäres FBX-Dateiformat, Version 7.7.0

GLTF

public static final FileFormat GLTF

glTF der Khronos Group

GLTF2

public static final FileFormat GLTF2

glTF der Khronos Group Version 2.0

GLTF2_BINARY

public static final FileFormat GLTF2_BINARY

glTF der Khronos Group Version 2.0

GLTF_BINARY

public static final FileFormat GLTF_BINARY

glTF der Khronos Group im Binärformat

HTML5

public static final FileFormat HTML5

HTML5-Datei

IFC

public static final FileFormat IFC

ISO 16739-1 Industry Foundation Classes Datenmodell.

MAYAASCII

public static final FileFormat MAYAASCII

Autodesk Maya im ASCII-Format

MAYA_BINARY

public static final FileFormat MAYA_BINARY

Autodesk Maya im Binärformat

MICROSOFT3MF

public static final Microsoft3MFFormat MICROSOFT3MF

Microsoft 3D Manufacturing Format

PCD

public static final FileFormat PCD

PCL Point Cloud Data-Datei im ASCII-Modus

PCD_BINARY

public static final FileFormat PCD_BINARY

PCL Point Cloud Data-Datei im Binärmodus

PDF

public static final PdfFormat PDF

Adobe Portable Document Format

PLY

public static final PlyFormat PLY

Polygon File Format oder Stanford Triangle Format

RVM_BINARY

public static final RvmFormat RVM_BINARY

AVEVA Plant Design Management System Modell im Binärformat

RVM_TEXT

public static final RvmFormat RVM_TEXT

AVEVA Plant Design Management System Modell im Textformat

SIEMENSJT8

public static final FileFormat SIEMENSJT8

Siemens JT-Datei Version 8

SIEMENSJT9

public static final FileFormat SIEMENSJT9

Siemens JT-Datei Version 9

STLASCII

public static final FileFormat STLASCII

ASCII STL-Dateiformat

STL_BINARY

public static final FileFormat STL_BINARY

Binäres STL-Dateiformat

UNIVERSAL3D

public static final FileFormat UNIVERSAL3D

Universal3D-Dateiformat

USD

public static final FileFormat USD

Universelle Szenenbeschreibung

USDA

public static final FileFormat USDA

Universelle Szenenbeschreibung im ASCII-Format.

USDZ

public static final FileFormat USDZ

Komprimierte Universelle Szenenbeschreibung

VRML

public static final FileFormat VRML

Die Virtual Reality Modeling Language

WAVEFRONTOBJ

public static final FileFormat WAVEFRONTOBJ

Wavefronts Obj-Dateiformat

XYZ

public static final FileFormat XYZ

Xyz-Punktwolken-Datei

X_BINARY

public static final FileFormat X_BINARY

DirectX X-Datei im Binärformat

X_TEXT

public static final FileFormat X_TEXT

DirectX X-Datei im Binärformat

ZIP

public static final FileFormat ZIP

Zip-Archiv, das andere 3D-Dateiformate enthält.

createLoadOptions()

public LoadOptions createLoadOptions()

Standard-Ladeoptionen für dieses Dateiformat erstellen

Returns: LoadOptions - A default load option for current format

createSaveOptions()

public SaveOptions createSaveOptions()

Standard-Speicheroptionen für dieses Dateiformat erstellen

Returns: SaveOptions - A default save option for current format

detect(Stream stream, String fileName)

public static FileFormat detect(Stream stream, String fileName)

Erkennen Sie das Dateiformat aus dem Datenstrom, der Dateiname ist optional, um Typen zu erraten, die keinen Magic-Header haben.

Parameters:

ParameterTypBeschreibung
streamStreamStrom, der zu erkennende Daten enthält
fileNamejava.lang.StringUrsprünglicher Dateiname der Daten, als Hinweis verwendet.

Returns: FileFormat - The FileFormat instance of the detected type or null if failed.

detect(String fileName)

public static FileFormat detect(String fileName)

Erkennen Sie das Dateiformat anhand des Dateinamens, die Datei muss lesbar sein, damit Aspose.3D das Dateiformat über den Dateikopf erkennen kann.

Parameters:

ParameterTypBeschreibung
fileNamejava.lang.StringPfad zur Datei, um das Dateiformat zu erkennen.

Returns: FileFormat - The FileFormat instance of the detected type or null if failed.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypBeschreibung
arg0java.lang.Object

Returns: boolean

getCanExport()

public boolean getCanExport()

Ermittelt, ob Aspose.3D den Export von Szenen in das aktuelle Dateiformat unterstützt.

Returns: boolean - ob Aspose.3D den Export einer Szene in das aktuelle Dateiformat unterstützt. Beispiel: Der folgende Code zeigt, wie geprüft werden kann, ob das Exportieren in das angegebene Format unterstützt wird.

var outputFormat = ".glb";
     var format = FileFormat.getFormatByExtension(outputFormat);
     if (format.getCanExport())
         System.out.printf("Can export to %s", outputFormat);

getCanImport()

public boolean getCanImport()

Ermittelt, ob Aspose.3D den Import von Szenen aus dem aktuellen Dateiformat unterstützt.

Returns: boolean - ob Aspose.3D den Import einer Szene aus dem aktuellen Dateiformat unterstützt. Beispiel: Der folgende Code zeigt, wie geprüft werden kann, ob das Importieren aus dem angegebenen Format unterstützt wird.

var outputFormat = ".glb";
     var format = FileFormat.getFormatByExtension(outputFormat);
     if (format.getCanImport())
         System.out.printf("Can import from %s", outputFormat);

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getContentType()

public FileContentType getContentType()

Ermittelt den Inhaltstyp des Dateiformats

Returns: FileContentType - file format content type Example:

var format = FileFormat.MAYA_BINARY;
     if (format.getContentType() == FileContentType.BINARY)
         System.out.printf("%s is binary format", format);
     else
         System.out.printf("%s is text-based format", format);

getExtension()

public String getExtension()

Ermittelt den Erweiterungsnamen dieses Typs.

Returns: java.lang.String - der Erweiterungsname dieses Typs. Beispiel:

var format = FileFormat.MAYA_BINARY;
     System.out.printf("Extension of %s is %s", format, format.getExtension());

getExtensions()

public String[] getExtensions()

Ermittelt die Erweiterungsnamen dieses Typs.

Returns: java.lang.String[] - die Erweiterungsnamen dieses Typs.

getFileFormatType()

public FileFormatType getFileFormatType()

Ermittelt den Dateiformattyp

Returns: FileFormatType - file format type

getFormatByExtension(String extensionName)

public static FileFormat getFormatByExtension(String extensionName)

Ermittelt das bevorzugte Dateiformat anhand des Dateierweiterungsnamens. Der Erweiterungsname sollte mit einem Punkt (’.’) beginnen.

Parameters:

ParameterTypBeschreibung
extensionNamejava.lang.StringDer Erweiterungsname beginnt mit ‘.’ für die Abfrage.

Returns: FileFormat - Instance of FileFormat, otherwise null returned. Example: The following code shows how to save scene to memory using specified format

Scene scene = new Scene(new Box());
     var outputFormat = ".glb";
     var format = FileFormat.getFormatByExtension(outputFormat);
     var output = new ByteArrayOutputStream();
     scene.save(output);

getFormats()

public static List<FileFormat> getFormats()

Zugriff auf alle unterstützten Formate

Returns: java.util.List<com.aspose.threed.FileFormat> - Zugriff auf alle unterstützten Formate

getObjectType(Node node)

public String getObjectType(Node node)

Liefert den Modelltyp für den angegebenen Knoten.

Parameters:

ParameterTypBeschreibung
nodeNode

Returns: java.lang.String - 3MF‑Objekttyp für den angegebenen Knoten

getTransformForBuild(Node node)

public Matrix4 getTransformForBuild(Node node)

Transformationsmatrix für den im Build verwendeten Knoten abrufen.

Parameters:

ParameterTypBeschreibung
nodeNodeWelcher Knoten soll die Transformationsmatrix für den 3MF‑Build erhalten.

Returns: Matrix4 - A transform matrix or null if not defined.

getVersion()

public Version getVersion()

Ermittelt die Dateiformatversion

Returns: Version - file format version

hashCode()

public native int hashCode()

Returns: int

isBuildable(Node node)

public boolean isBuildable(Node node)

Prüfen, ob dieser Knoten als Build markiert ist.

Parameters:

ParameterTypBeschreibung
nodeNodeWelcher Knoten zu prüfen ist

Returns: boolean - Wahr, wenn er als Build markiert ist

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBuildable(Node node, boolean value, Matrix4 transform)

public void setBuildable(Node node, boolean value, Matrix4 transform)

Einen Knoten für den Build markieren.

Parameters:

ParameterTypBeschreibung
nodeNodeWelcher Knoten als Build zu markieren ist.
Wertboolean
transformMatrix4Die Transformation des Knotens im Build.

setObjectType(Node node, String modelType)

public void setObjectType(Node node, String modelType)

Den Modelltyp für den angegebenen Knoten festlegen. Mögliche Werte: model surface solidsupport support other

Parameters:

ParameterTypBeschreibung
nodeNode
modelTypejava.lang.String

toString()

public String toString()

Formate in Zeichenkette

Returns: java.lang.String - Objektzeichenkette

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypBeschreibung
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypBeschreibung
arg0long
arg1int