Members
(constant) bboxLayer
- Source:
(constant) buildMateMap
Builds a map that indexes potential connection mates per connector type
- Source:
(constant) checkPropTypes
- Source:
(constant) copyProps
- Source:
(constant) omit
- Source:
(constant) pause
- Source:
(constant) pick
- Source:
(constant) sum
- Source:
Methods
analyse(scene)
Analyses a scene and returns the placement of its objects in the camera's view
Parameters:
| Name |
Type |
Description |
scene |
THREE.Scene
|
|
- Source:
calculatePlacement(configuration) → {Object}
Calculate the position of the blockInstances and their connectors
Parameters:
- Source:
Returns:
-
Type
-
Object
createDefaultEnvironment(reporter) → {Environment}
Parameters:
- Source:
Returns:
-
Type
-
Environment
decodeDracoFile()
- Deprecated:
- Kept for backward-compatibility with previous DRACOLoader versions.
- Source:
drawDimensionsLine(configuration, points, offset, side)
Parameters:
| Name |
Type |
Description |
configuration |
Group
|
|
points |
Array
|
- array with vectors |
offset |
Number
|
|
side |
String
|
|
- Source:
findConnection(blockInstanceSetA, blockInstanceSetB, connections) → {Object|null}
Find a connection between block instance sets
Parameters:
- Source:
Returns:
connectionData
-
Type
-
Object
|
null
findExtendOptions(configuration) → {Array.<ExtendOption>}
Parameters:
- Source:
Returns:
-
Type
-
Array.<ExtendOption>
findInsertOptions(configuration) → {Array.<InsertOption>}
Find insert options for a configuration
(every connection offers a potential insert opportunity)
Parameters:
- Source:
Returns:
-
Type
-
Array.<InsertOption>
getDimensions(configuration)
Parameters:
- Source:
isConstructor(obj)
Parameters:
| Name |
Type |
Description |
obj |
Object
|
|
- Source:
KeyboardShortcuts(scene, camera, renderer)
Parameters:
| Name |
Type |
Description |
scene |
Scene
|
|
camera |
PerspectiveCamera
|
- array with vectors |
renderer |
WebGLRenderer
|
|
- Source:
report(log)
Report a message
Parameters:
- Source:
setDrawMode()
- Deprecated:
- Source:
setSkipDequantization()
- Deprecated:
- Source:
setVerbosity()
- Deprecated:
- Source:
Type Definitions
ArrayParseType
Type:
-
'integral'
|
'alternatives'
- Source:
BaseLoadTracker
Type:
Properties:
| Name |
Type |
Description |
base |
LoadingBase
|
|
loads |
Object.<UUID, Promise.<null>>
|
When the promise resolves it returns a call to this._loadNext() |
maxConcurrentLoads |
number
|
|
- Source:
BlockInstanceString
A stringified simple object representing a configuration body
Type:
- Source:
BlockSetOption
Type:
Properties:
| Name |
Type |
Description |
blockSet |
'all'
|
string
|
name of the block set |
- Source:
BodyString
A stringified simple object representing a configuration body
Type:
- Source:
BuildRequest
Type:
Properties:
- Source:
Type:
Properties:
| Name |
Type |
Attributes |
Description |
data.id |
UUID
|
<optional>
|
|
data.name |
string
|
<optional>
|
|
data.url |
URL
|
<optional>
|
|
- Source:
ComponentClass
Type:
- Source:
ComponentContent
Type:
Properties:
- Source:
ComponentOrComponentArray
Type:
- Source:
ComponentPart
Type:
- Source:
ComponentPartQualityStatus
Type:
-
'not-loaded'
|
'partially-loaded'
|
'loading'
|
'ready'
|
'error'
- Source:
ComponentPartStatus
Type:
Properties:
- Source:
ComponentStatus
Type:
Properties:
- Source:
ConfigString
Type:
- Source:
ConfigurationOptions
Type:
Properties:
| Name |
Type |
Description |
blockInsert |
Boolean
|
|
blockExtend |
Boolean
|
|
blockReplace |
Boolean
|
|
- Source:
ConfigurationSummary
A summarized version of a configuration that can be used by
external apps (i.e. a parent window hosting a configurator
in an iFrame adding a configured product to a shopping cart).
Type:
Properties:
| Name |
Type |
Description |
products |
Array.<Object>
|
configuration id, price |
- Source:
ConfiguratorState
Type:
Properties:
| Name |
Type |
Attributes |
Description |
configuration |
Configuration
|
|
|
position |
Vector3
|
|
|
quaternion |
Quaternion
|
|
|
description |
string
|
<optional>
|
|
- Source:
ConnectInstruction
Type:
Properties:
| Name |
Type |
Description |
from |
Object
|
Properties
|
to |
Object
|
Properties
|
- Source:
ConnectionRole
Type:
-
'parent'
|
'child'
|
'none'
- Source:
ConnectionString
A stringified simple object representing a configuration connection
Type:
- Source:
ConnectorInstanceString
A stringified simple object representing a configuration connector instance
Type:
- Source:
ConnectorSummary
Type:
Properties:
- Source:
ConnectorTypeMates
Type:
Properties:
| Name |
Type |
Description |
connectionTypes |
Array.<ConnectionType>
|
ConnectionTypes in which this connector type is a mate |
mateConnectorTypes |
Array.<ConnectorType>
|
ConnectorTypes that can mate with this connector type |
mateConnectors |
Array.<Connector>
|
Connectors that can mate with this connector type |
- Source:
CutOption
Type:
Properties:
- Source:
CutResult
Type:
Properties:
- Source:
DependencyList
Type:
- Source:
ExportLevel
Type:
- Source:
ExtendOption
Type:
Properties:
- Source:
GenericUpdateResult
Type:
Properties:
| Name |
Type |
Description |
configuration |
Configuration
|
the current configuration |
position |
Vector3
|
current body position |
quaternion |
Quaternion
|
current body quaternion |
placement |
module:configurator/configuration~Placement
|
|
- Source:
InsertOption
Type:
Properties:
- Source:
Instruction
Type:
Properties:
| Name |
Type |
Attributes |
Description |
remove |
Object
|
<optional>
|
Properties
|
cut |
Object
|
<optional>
|
|
remove.blockInstances |
Array.<BlockInstance>
|
<optional>
|
|
remove.materialAssignments |
Array.<MaterialAssignment>
|
<optional>
|
|
remove.connections |
Array.<Connection>
|
<optional>
|
|
add |
Object
|
<optional>
|
Properties
| Name |
Type |
Attributes |
Description |
block |
Block
|
<optional>
|
|
materialAssignments |
Array.<Object>
|
<optional>
|
|
configurations |
Array.<Object>
|
<optional>
|
|
splitChainConfigurations |
Array.<Object>
|
<optional>
|
|
connections |
Array.<Array.<Connector>>
|
<optional>
|
Array of arrays with two connectors that should be connected |
|
- Source:
LibraryNavigationItem
Type:
Properties:
- Source:
LoadingQuality
Type:
- Source:
LogObject
Type:
Properties:
| Name |
Type |
Attributes |
Default |
Description |
msg |
string
|
|
|
|
level |
SyslogLevel
|
<optional>
|
debug
|
|
time |
number
|
<optional>
|
|
|
source |
Object
|
<optional>
|
|
Properties
| Name |
Type |
Attributes |
Description |
id |
UUID
|
<optional>
|
|
name |
string
|
<optional>
|
|
type |
string
|
<optional>
|
|
|
- Source:
LogObjectString
Stringified LogObject
Type:
- Source:
MaterialSetOption
Type:
Properties:
| Name |
Type |
Description |
materialSet |
'all'
|
string
|
name of the material set |
- Source:
MaterialType
Type:
-
'LineBasicMaterial'
|
'LineDashedMaterial'
|
'MeshBasicMaterial'
|
'MeshDepthMaterial'
|
'MeshDistanceMaterial'
|
'MeshLambertMaterial'
|
'MeshMatcapMaterial'
|
'MeshNormalMaterial'
|
'MeshPhongMaterial'
|
'MeshPhysicalMaterial'
|
'MeshStandardMaterial'
|
'MeshToonMaterial'
|
'PointsMaterial'
|
'RawShaderMaterial'
|
'ShaderMaterial'
|
'ShadowMaterial'
|
'SpriteMaterial'
- Source:
NavigationOptions
Type:
Properties:
- Source:
NotificationHandler(notification)
Parameters:
- Source:
PackageLicense
Type:
- Source:
Type:
Properties:
| Name |
Type |
Attributes |
Description |
id |
UUID
|
|
|
name |
string
|
|
|
description |
string
|
<optional>
|
|
author |
string
|
|
|
license |
PackageLicense
|
|
|
generator |
string
|
|
|
repository |
string
|
|
|
- Source:
ParsedBlockInstanceString
A simple object representing a configuration body
Type:
Properties:
| Name |
Type |
Description |
uuid |
UUID
|
|
templateBlock |
UUID
|
|
position |
Array.<number>
|
|
rotation |
Array.<number>
|
LETS TURN THIS INTO QUATERNIONS |
- Source:
ParsedBodyString
A simple object representing a configuration body
Type:
Properties:
- Source:
ParsedConfigString
Type:
Properties:
- Source:
ParsedConnectionString
A simple object representing a configuration connection
Type:
Properties:
- Source:
ParsedConnectorInstanceString
A simple object representing a configuration connector instance
Type:
Properties:
| Name |
Type |
Description |
UUID |
UUID
|
|
connector |
UUID
|
|
blockInstance |
UUID
|
|
- Source:
ParseInstruction
Type:
Properties:
| Name |
Type |
Attributes |
Description |
autoLinkDependencies |
Boolean
|
<optional>
|
|
parse |
Object.<string, ArrayParseType>
|
<optional>
|
Specification of whether setting arrays should be parsed as lists or alternative options. Default is list. |
- Source:
Placement
Type:
Properties:
| Name |
Type |
Description |
position |
Vector3
|
|
quaternion |
Quaternion
|
|
- Source:
ProductSummary
A summarized version of a configured product with relevant manufacturer ids, selected fabrics
Type:
Properties:
| Name |
Type |
Description |
configuration_id |
UUID
|
|
products |
Object
|
|
- Source:
QualityContent
Type:
Properties:
| Name |
Type |
Description |
high |
Object
|
null
|
|
medium |
Object
|
null
|
|
low |
Object
|
null
|
|
- Source:
QualitySource
Type:
Properties:
| Name |
Type |
Description |
sizeBytes |
number
|
|
path |
string
|
path to file in the package |
- Source:
QualitySourceMap
Type:
Properties:
- Source:
ReportInstruction
Type:
Properties:
| Name |
Type |
Description |
sendTo |
function
|
'console'
|
URL
|
|
fromLevel |
SyslogLevel
|
|
- Source:
Semver
Type:
- Source:
SourceFile
Type:
Properties:
| Name |
Type |
Description |
inPackageURL |
string
|
|
fileSize |
number
|
|
- Source:
SplitOption
Type:
Properties:
- Source:
SplitResult
Type:
Properties:
| Name |
Type |
Description |
cut |
ConfiguratorState
|
new configurator with the cut block instance |
split |
Array.<ConfiguratorState>
|
new configurator for each of the split sibling chains |
- Source:
state
Type:
- Source:
StatesAndTransitions
Type:
- Source:
SubAssignable
Type:
Properties:
- Source:
SyslogLevel
Linux syslog level 0 - 7
Type:
-
'emergency'
|
'critical'
|
'alert'
|
'error'
|
'warning'
|
'notice'
|
'info'
|
'debug'
- Source:
SyslogLevelNum
Linux syslog level 0 - 7
Type:
-
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
- Source:
UUID
Universally unique identifier. 128 bit number of the form
"xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx", where x is one of [0-9, a-f]
and M is one of [1-5] and N is [8, 9, a, or b]
Type:
- Source:
ViewPoint
Type:
Properties:
| Name |
Type |
Description |
x |
'left'
|
'center'
|
'right'
|
|
y |
'lower'
|
'middle'
|
'upper'
|
|
z |
'front'
|
'center'
|
'back'
|
|
- Source:
ViewType
Type:
- Source:
YoctopusNotification
Type:
Properties:
| Name |
Type |
Attributes |
Description |
meta |
object
|
|
Properties
| Name |
Type |
Description |
id |
UUID
|
|
type |
string
|
|
method |
string
|
|
|
data |
object
|
<optional>
|
|
- Source:
YoctopusRequest
Type:
Properties:
| Name |
Type |
Attributes |
Description |
method |
string
|
|
|
endpoint |
string
|
|
|
id |
UUID
|
<optional>
|
|
data |
object
|
<optional>
|
|
- Source:
YoctopusResponse
Type:
Properties:
| Name |
Type |
Attributes |
Description |
meta |
object
|
|
Properties
| Name |
Type |
Description |
id |
UUID
|
|
method |
string
|
|
endpoint |
string
|
|
|
data |
object
|
<optional>
|
|
- Source: