public static final class PartStudiosGetTessellatedEntitiesRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
Number |
angleTolerance() |
Get Angle tolerance (in radians).
|
PartStudiosGetTessellatedEntitiesRequest.Builder |
angleTolerance(Number value) |
Set Angle tolerance (in radians).
|
PartStudiosGetTessellatedEntitiesResponse |
call(OnshapeDocument document,
String sid) |
Calls getTessellatedEntities method, Get the tessellations of the sketch entities of a sketch in a part studio.
|
PartStudiosGetTessellatedEntitiesResponse |
call(String did,
WVM wvmType,
String wvm,
String eid,
String sid) |
Calls getTessellatedEntities method, Get the tessellations of the sketch entities of a sketch in a part studio.
|
Number |
chordTolerance() |
Get Chord tolerance (in meters).
|
PartStudiosGetTessellatedEntitiesRequest.Builder |
chordTolerance(Number value) |
Set Chord tolerance (in meters).
|
String |
configuration() |
Get Configuration string
|
PartStudiosGetTessellatedEntitiesRequest.Builder |
configuration(String value) |
Set Configuration string
|
String |
entityId() |
Get Sketch entity id to be tessellated.
|
PartStudiosGetTessellatedEntitiesRequest.Builder |
entityId(String value) |
Set Sketch entity id to be tessellated.
|
String |
linkDocumentId() |
Get Id of document that links to the document being accessed.
|
PartStudiosGetTessellatedEntitiesRequest.Builder |
linkDocumentId(String value) |
Set Id of document that links to the document being accessed.
|
public final String entityId()
public final PartStudiosGetTessellatedEntitiesRequest.Builder entityId(String value)
value - Sketch entity id to be tessellated. All entities in the sketch are tessellated if none are provided.public final Number angleTolerance()
public final PartStudiosGetTessellatedEntitiesRequest.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 of 0.087267 radians, but is subject to change.public final Number chordTolerance()
public final PartStudiosGetTessellatedEntitiesRequest.Builder chordTolerance(Number value)
value - Chord tolerance (in meters). This specifies the limit on the maximum deviation of a tessellation chord from the true curve. This parameter currently has a default value of 0.02 meters, but is subject to change.public final String linkDocumentId()
public final PartStudiosGetTessellatedEntitiesRequest.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 PartStudiosGetTessellatedEntitiesRequest.Builder configuration(String value)
value - Configuration stringpublic final PartStudiosGetTessellatedEntitiesResponse call(String did, WVM wvmType, String wvm, String eid, String sid) throws OnshapeException
did - Document IDwvmType - Type of Workspace, Version or Microversionwvm - Workspace (w), Version (v) or Microversion (m) IDeid - Element IDsid - Sketch feature IDOnshapeException - On HTTP or serialization errorpublic final PartStudiosGetTessellatedEntitiesResponse call(OnshapeDocument document, String sid) throws OnshapeException
document - Document object from Onshape URL.sid - Sketch feature IDOnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.