Interface GeomExport

    • Method Detail

      • getAcisVersion

        java.lang.String getAcisVersion()
        Gets the file format version for ACIS export.
        Returns:
        ACIS version.
      • getCompat

        java.lang.String getCompat()
        Get the COMSOL version to save mphtxt/mphbin file in.
        Returns:
        3.5a, 4.0, 4.0a, 4.2a, 4.3b, 5.1, 5.5, or 6.3.
      • getDxfApproxDetail

        java.lang.String getDxfApproxDetail()
        Get the chosen approximation detail used in DXF export when curve representation is not exact.
        Returns:
        Approximation detail.
      • getDxfCurveRep

        java.lang.String getDxfCurveRep()
        Get the chosen curve representation used in DXF export.
        Returns:
        Curve representation.
      • getDxfDomainHandling

        java.lang.String getDxfDomainHandling()
        Get the chosen domain/edge handling used in DXF export.
        Returns:
        Domain/edge handling.
      • getLayerNames

        java.lang.String[] getLayerNames()
        For OASIS export, get the work planes' assigned layer-names.
        Returns:
        Layer-names.
      • getLayerNumbers

        int[] getLayerNumbers()
        For OASIS export, get the work planes' assigned layer-numbers.
        Returns:
        Layer-numbers.
      • getLayerWorkPlanes

        java.lang.String[] getLayerWorkPlanes()
        For OASIS export, get the tags of all work planes.
        Returns:
        Work plane tags.
      • getLengthUnit

        java.lang.String getLengthUnit()
        Returns the length unit to use for CAD Import Module kernel geometry export to Parsolid format.
        Returns:
        Length unit.
      • getLengthUnitIGES

        java.lang.String getLengthUnitIGES()
        Returns the length unit to use for CAD Import Module kernel geometry export to IGES format.
        Returns:
        Length unit.
      • getLengthUnitSTEP

        java.lang.String getLengthUnitSTEP()
        Returns the length unit to use for CAD Import Module kernel geometry export to STEP format.
        Returns:
        Length unit.
      • getOasisApproxDetail

        java.lang.String getOasisApproxDetail()
        Get the chosen approximation detail used in OASIS export.
        Returns:
        Approximation detail.
      • getSTLFormat

        java.lang.String getSTLFormat()
        Returns the STL file type (binary or text).The default value is binary.
        Returns:
        File type.
      • getSplitInManifold

        boolean getSplitInManifold()
        True if export to Parasolid format is split in manifold objects.
        Returns:
        true if split in manifold objects.
      • getType

        java.lang.String getType()
        Get the export file type.
        Returns:
        File type.
      • selection

        GeomObjectSelection selection()
        Returns export's selection.
        Returns:
        Geometry object selection.
      • setAcisVersion

        void setAcisVersion​(java.lang.String version)
        Sets the file format version for ACIS export.
        Parameters:
        version - File format version.
      • setCompat

        void setCompat​(java.lang.String value)
        Set the COMSOL version to save mphtxt/mphbin file in.
        Parameters:
        value - 3.5a, 4.0, 4.0a, 4.2a, 4.3b, 5.1, 5.5, or 6.3.
      • setDxfApproxDetail

        void setDxfApproxDetail​(java.lang.String detail)
        Set the approximation detail to use in DXF export when curve representation is not exact.
        Parameters:
        detail - Approximation detail, either 'graphics', 'coarse', 'normal', or 'fine'.
      • setDxfCurveRep

        void setDxfCurveRep​(java.lang.String curveRep)
        Set the curve representation to use in DXF export.
        Parameters:
        curveRep - Curve representation, either 'exact', 'approxspline', or 'polygon'.
      • setDxfDomainHandling

        void setDxfDomainHandling​(java.lang.String handling)
        Set the domain/edge handling to use in DXF export.
        Parameters:
        handling - Domain/edge handling, either 'edgesdomainwise', or 'intedgesonce'.
      • setLayerName

        void setLayerName​(int idx,
                          java.lang.String layerName)
        For OASIS export, set the layer-name for a work plane.
        Parameters:
        idx - The work plane's row index in the table. The top row has index 1.
        layerName - The layer-name.
      • setLayerNumber

        void setLayerNumber​(int idx,
                            int layerNumber)
        For OASIS export, set the layer-number for a work plane.
        Parameters:
        idx - The work plane's row index in the table. The top row has index 1.
        layerNumber - The layer-number.
      • setLengthUnit

        void setLengthUnit​(java.lang.String value)
        Sets the length unit to use for CAD Import Module kernel geometry export to Parsolid format. Set to fromgeom to use the geometry sequence length unit.
        Parameters:
        value - Length unit.
      • setLengthUnitIGES

        void setLengthUnitIGES​(java.lang.String value)
        Sets the length unit to use for CAD Import Module kernel geometry export to IGES format. Set to fromgeom to use the geometry sequence length unit.
        Parameters:
        value - Length unit.
      • setLengthUnitSTEP

        void setLengthUnitSTEP​(java.lang.String value)
        Sets the length unit to use for CAD Import Module kernel geometry export to STEP format. Set to fromgeom to use the geometry sequence length unit.
        Parameters:
        value - Length unit.
      • setOasisApproxDetail

        void setOasisApproxDetail​(java.lang.String detail)
        Set the approximation detail to use in OASIS export.
        Parameters:
        detail - Approximation detail, either 'graphics', 'coarse', 'normal', or 'fine'.
      • setSTLFormat

        void setSTLFormat​(java.lang.String value)
        Sets the STL file type (binary or text).
        Parameters:
        value - File type.
      • setSplitInManifold

        void setSplitInManifold​(boolean splitInManifold)
        Sets the split in manifold objects option for Parasolid export.
        Parameters:
        splitInManifold - Split in manifold objects option.
      • setType

        void setType​(java.lang.String value)
        Set the export file type (nativebin, nativeascii, parasolidbin, parasolidascii,acisbin, acisascii, iges, step, stlbin, stlascii or dxf).
        Parameters:
        value - File type.