public static final class PartStudiosGetEdgesRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
Number |
angleTolerance() |
Get Angle tolerance (in radians).
|
PartStudiosGetEdgesRequest.Builder |
angleTolerance(Number value) |
Set Angle tolerance (in radians).
|
PartStudiosGetEdgesResponse |
call(OnshapeDocument document) |
Calls getEdges method, Get the tessellated edges of the parts in a Part Studio.
|
PartStudiosGetEdgesResponse |
call(String did,
WVM wvmType,
String wvm,
String eid) |
Calls getEdges method, Get the tessellated edges of the parts in a Part Studio.
|
Number |
chordTolerance() |
Get Chord tolerance (in meters).
|
PartStudiosGetEdgesRequest.Builder |
chordTolerance(Number value) |
Set Chord tolerance (in meters).
|
String |
configuration() |
Get Configuration string
|
PartStudiosGetEdgesRequest.Builder |
configuration(String value) |
Set Configuration string
|
String |
edgeId() |
Get IDs of edges to tessellate (repeat query param to add more than one, i.e.
|
PartStudiosGetEdgesRequest.Builder |
edgeId(String value) |
Set IDs of edges to tessellate (repeat query param to add more than one, i.e.
|
String |
linkDocumentId() |
Get Id of document that links to the document being accessed.
|
PartStudiosGetEdgesRequest.Builder |
linkDocumentId(String value) |
Set Id of document that links to the document being accessed.
|
String |
partId() |
Get IDs of the parts to tessellate (repeat query param to add more than one, i.e.
|
PartStudiosGetEdgesRequest.Builder |
partId(String value) |
Set IDs of the parts to tessellate (repeat query param to add more than one, i.e.
|
String |
precomputedLevelOfDetail() |
Get medium, fine] If this parameter is specified, the provided level of detail will be retrieved from cache (if available) and used to return the tessellation in a more timely manner.
|
PartStudiosGetEdgesRequest.Builder |
precomputedLevelOfDetail(String value) |
Set medium, fine] If this parameter is specified, the provided level of detail will be retrieved from cache (if available) and used to return the tessellation in a more timely manner.
|
public final Number angleTolerance()
public final PartStudiosGetEdgesRequest.Builder angleTolerance(Number value)
value - Angle tolerance (in radians). This specifies the limit on the sum of the angular deviations of a tessellation chord from the tangent vectors at two chord endpoints. The specified value must be less than PI/2. This parameter currently has a default value chosen based on the complexity of the parts being tessellated.public final Number chordTolerance()
public final PartStudiosGetEdgesRequest.Builder chordTolerance(Number value)
value - Chord tolerance (in meters). This specifies the limit on the maximum deviation of a tessellation chord from the true edge. This parameter currently has a default value chosen based on the size and complexity of the parts being tessellated.public final String edgeId()
public final PartStudiosGetEdgesRequest.Builder edgeId(String value)
value - IDs of edges to tessellate (repeat query param to add more than one, i.e. edgeId=JHK&edgeId=JHD)public final String partId()
public final PartStudiosGetEdgesRequest.Builder partId(String value)
value - IDs of the parts to tessellate (repeat query param to add more than one, i.e. partId=JHK&partId=JHD). May not be combined with edgeIdpublic final String precomputedLevelOfDetail()
public final PartStudiosGetEdgesRequest.Builder precomputedLevelOfDetail(String value)
value - medium, fine] If this parameter is specified, the provided level of detail will be retrieved from cache (if available) and used to return the tessellation in a more timely manner.public final String linkDocumentId()
public final PartStudiosGetEdgesRequest.Builder linkDocumentId(String value)
value - Id of document that links to the document being accessed. This may provide additional access rights to the document. Allowed only with version (v) path parameter.public final String configuration()
public final PartStudiosGetEdgesRequest.Builder configuration(String value)
value - Configuration stringpublic final PartStudiosGetEdgesResponse call(String did, WVM wvmType, String wvm, String eid) throws OnshapeException
did - Document IDwvmType - Type of Workspace, Version or Microversionwvm - Workspace (w), Version (v) or Microversion (m) IDeid - Element IDOnshapeException - On HTTP or serialization errorpublic final PartStudiosGetEdgesResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.