Package com.comsol.model
Interface GeomExport
- 
- All Superinterfaces:
- ModelEntity,- PrimitiveModelEntity,- SelectionContainer
 
 public interface GeomExport extends ModelEntity, SelectionContainer Geometry export feature.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAcisVersion()Gets the file format version for ACIS export.java.lang.StringgetCompat()Get the COMSOL version to save mphtxt/mphbin file in.java.lang.StringgetDxfApproxDetail()Get the chosen approximation detail used in DXF export when curve representation is not exact.java.lang.StringgetDxfCurveRep()Get the chosen curve representation used in DXF export.java.lang.StringgetDxfDomainHandling()Get the chosen domain/edge handling used in DXF export.java.lang.String[]getLayerNames()For OASIS export, get the work planes' assigned layer-names.int[]getLayerNumbers()For OASIS export, get the work planes' assigned layer-numbers.java.lang.String[]getLayerWorkPlanes()For OASIS export, get the tags of all work planes.java.lang.StringgetLengthUnit()Returns the length unit to use for CAD Import Module kernel geometry export to Parsolid format.java.lang.StringgetLengthUnitIGES()Returns the length unit to use for CAD Import Module kernel geometry export to IGES format.java.lang.StringgetLengthUnitSTEP()Returns the length unit to use for CAD Import Module kernel geometry export to STEP format.java.lang.StringgetOasisApproxDetail()Get the chosen approximation detail used in OASIS export.booleangetSplitInManifold()True if export to Parasolid format is split in manifold objects.java.lang.StringgetSTLFormat()Returns the STL file type (binaryortext).The default value isbinary.java.lang.StringgetType()Get the export file type.GeomObjectSelectionselection()Returns export's selection.voidsetAcisVersion(java.lang.String version)Sets the file format version for ACIS export.voidsetCompat(java.lang.String value)Set the COMSOL version to save mphtxt/mphbin file in.voidsetDxfApproxDetail(java.lang.String detail)Set the approximation detail to use in DXF export when curve representation is not exact.voidsetDxfCurveRep(java.lang.String curveRep)Set the curve representation to use in DXF export.voidsetDxfDomainHandling(java.lang.String handling)Set the domain/edge handling to use in DXF export.voidsetLayerName(int idx, java.lang.String layerName)For OASIS export, set the layer-name for a work plane.voidsetLayerNumber(int idx, int layerNumber)For OASIS export, set the layer-number for a work plane.voidsetLengthUnit(java.lang.String value)Sets the length unit to use for CAD Import Module kernel geometry export to Parsolid format.voidsetLengthUnitIGES(java.lang.String value)Sets the length unit to use for CAD Import Module kernel geometry export to IGES format.voidsetLengthUnitSTEP(java.lang.String value)Sets the length unit to use for CAD Import Module kernel geometry export to STEP format.voidsetOasisApproxDetail(java.lang.String detail)Set the approximation detail to use in OASIS export.voidsetSplitInManifold(boolean splitInManifold)Sets the split in manifold objects option for Parasolid export.voidsetSTLFormat(java.lang.String value)Sets the STL file type (binaryortext).voidsetType(java.lang.String value)Set the export file type (nativebin,nativeascii,parasolidbin,parasolidascii,acisbin,acisascii,iges,step,stlbin,stlasciiordxf).- 
Methods inherited from interface com.comsol.model.ModelEntityactive, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, version
 - 
Methods inherited from interface com.comsol.model.PrimitiveModelEntitygetContainer, getDisplayString, resolveModelPath
 
- 
 
- 
- 
- 
Method Detail- 
getAcisVersionjava.lang.String getAcisVersion() Gets the file format version for ACIS export.- Returns:
- ACIS version.
 
 - 
getCompatjava.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.
 
 - 
getDxfApproxDetailjava.lang.String getDxfApproxDetail() Get the chosen approximation detail used in DXF export when curve representation is not exact.- Returns:
- Approximation detail.
 
 - 
getDxfCurveRepjava.lang.String getDxfCurveRep() Get the chosen curve representation used in DXF export.- Returns:
- Curve representation.
 
 - 
getDxfDomainHandlingjava.lang.String getDxfDomainHandling() Get the chosen domain/edge handling used in DXF export.- Returns:
- Domain/edge handling.
 
 - 
getLayerNamesjava.lang.String[] getLayerNames() For OASIS export, get the work planes' assigned layer-names.- Returns:
- Layer-names.
 
 - 
getLayerNumbersint[] getLayerNumbers() For OASIS export, get the work planes' assigned layer-numbers.- Returns:
- Layer-numbers.
 
 - 
getLayerWorkPlanesjava.lang.String[] getLayerWorkPlanes() For OASIS export, get the tags of all work planes.- Returns:
- Work plane tags.
 
 - 
getLengthUnitjava.lang.String getLengthUnit() Returns the length unit to use for CAD Import Module kernel geometry export to Parsolid format.- Returns:
- Length unit.
 
 - 
getLengthUnitIGESjava.lang.String getLengthUnitIGES() Returns the length unit to use for CAD Import Module kernel geometry export to IGES format.- Returns:
- Length unit.
 
 - 
getLengthUnitSTEPjava.lang.String getLengthUnitSTEP() Returns the length unit to use for CAD Import Module kernel geometry export to STEP format.- Returns:
- Length unit.
 
 - 
getOasisApproxDetailjava.lang.String getOasisApproxDetail() Get the chosen approximation detail used in OASIS export.- Returns:
- Approximation detail.
 
 - 
getSTLFormatjava.lang.String getSTLFormat() Returns the STL file type (binaryortext).The default value isbinary.- Returns:
- File type.
 
 - 
getSplitInManifoldboolean getSplitInManifold() True if export to Parasolid format is split in manifold objects.- Returns:
- trueif split in manifold objects.
 
 - 
getTypejava.lang.String getType() Get the export file type.- Returns:
- File type.
 
 - 
selectionGeomObjectSelection selection() Returns export's selection.- Returns:
- Geometry object selection.
 
 - 
setAcisVersionvoid setAcisVersion(java.lang.String version) Sets the file format version for ACIS export.- Parameters:
- version- File format version.
 
 - 
setCompatvoid 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.
 
 - 
setDxfApproxDetailvoid 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'.
 
 - 
setDxfCurveRepvoid setDxfCurveRep(java.lang.String curveRep) Set the curve representation to use in DXF export.- Parameters:
- curveRep- Curve representation, either 'exact', 'approxspline', or 'polygon'.
 
 - 
setDxfDomainHandlingvoid setDxfDomainHandling(java.lang.String handling) Set the domain/edge handling to use in DXF export.- Parameters:
- handling- Domain/edge handling, either 'edgesdomainwise', or 'intedgesonce'.
 
 - 
setLayerNamevoid 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.
 
 - 
setLayerNumbervoid 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.
 
 - 
setLengthUnitvoid setLengthUnit(java.lang.String value) Sets the length unit to use for CAD Import Module kernel geometry export to Parsolid format. Set tofromgeomto use the geometry sequence length unit.- Parameters:
- value- Length unit.
 
 - 
setLengthUnitIGESvoid setLengthUnitIGES(java.lang.String value) Sets the length unit to use for CAD Import Module kernel geometry export to IGES format. Set tofromgeomto use the geometry sequence length unit.- Parameters:
- value- Length unit.
 
 - 
setLengthUnitSTEPvoid setLengthUnitSTEP(java.lang.String value) Sets the length unit to use for CAD Import Module kernel geometry export to STEP format. Set tofromgeomto use the geometry sequence length unit.- Parameters:
- value- Length unit.
 
 - 
setOasisApproxDetailvoid setOasisApproxDetail(java.lang.String detail) Set the approximation detail to use in OASIS export.- Parameters:
- detail- Approximation detail, either 'graphics', 'coarse', 'normal', or 'fine'.
 
 - 
setSTLFormatvoid setSTLFormat(java.lang.String value) Sets the STL file type (binaryortext).- Parameters:
- value- File type.
 
 - 
setSplitInManifoldvoid setSplitInManifold(boolean splitInManifold) Sets the split in manifold objects option for Parasolid export.- Parameters:
- splitInManifold- Split in manifold objects option.
 
 - 
setTypevoid setType(java.lang.String value) Set the export file type (nativebin,nativeascii,parasolidbin,parasolidascii,acisbin,acisascii,iges,step,stlbin,stlasciiordxf).- Parameters:
- value- File type.
 
 
- 
 
-