CE函数库2017

Operations

Geometry creation

envelope

envelope

extrude

extrude

insert

i (insert)

innerRectangle

innerRectangle

primitiveCone

primitiveCone

primitiveCube

primitiveCube

primitiveCylinder

primitiveCylinder

primitiveDisk

primitiveDisk

primitiveQuad

primitiveQuad

primitiveSphere

primitiveSphere

roofGable

roofGable

roofHip

roofHip

roofPyramid

roofPyramid

roofShed

roofShed

taper

taper

Geometry subdivision

comp

comp

offset

offset

scatter

scatter

setback

setback

shapeL

shapeL

shapeO

shapeO

shapeO

shapeU

split

split

splitArea

splitArea

Geometry manipulation

cleanupGeometry

cleanupGeometry

convexfy

convexfy

deleteHoles

deleteHoles

mirror

mirror

reduceGeometry

reduceGeometry

reverseNormals

reverseNormals

setNormals

setNormals

softenNormals

softenNormals

trim

trim

Texturing

deleteUV

deleteUV

normalizeUV

normalizeUV

projectUV

projectUV

rotateUV

rotateUV

scaleUV

scaleUV

setupProjection

setupProjection

texture

texture

tileUV

tileUV

translateUV

translateUV

Transformations

center

center

r (scope rotate)

r (scope rotate)

rotate

rotate

s (scope size)

s (scope size)

t (scope transfer)

t (scope transfer)

translate

translate

Scope

alignScopeToAxes

alignScopeToAxes

alignScopeToGeometry

alignScopeToGeometry

mirrorScope

mirrorScope

rotateScope

rotateScope

setPivot

setPivot

Flow control

NIL

NIL

pop

pop

push

push

Attributes

color

color

print

print

report

report

set

set

Shape attributes

comp | initialShape | material | pivot | scope | seedian | split | trim

Built-in functions

Math functions

abs | acos | asin | atan | atan2 | ceil | cos | exp | floor | isinf | isnan | ln | log10 | pow | rint | sin | sqrt | tan

Probability functions

p | rand

Conversion functions

bool | float | isNull | sel | str

String functions

count | find | len | substring

Geometry functions

geometry.angle | geometry.area | geometry.{du|dv} | geometry.isClosedSurface | geometry.isConcave | geometry.isInstanced |geometry.isOriented | geometry.isPlanar | geometry.isRectangular | geometry.nEdges | geometry.nFaces | geometry.nHoles |geometry.nVertices | geometry.{uMin|uMax|vMin|vMax} | geometry.volume

File functions

fileExists | fileSearch

Asset and image functions

assetInfo | assetsSortRatio | assetsSortSize | imageInfo | imagesSortRatio

Occlusion functions

inside | overlaps | touches

Miscellaneous functions

convert | getGeoCoord | getTreeKey | print

Utility functions

String utility functions

findFirst | findLast | getPrefix | getRange | getSuffix | replace

String list utility functions

listAdd | listClean | listCount | listFirst | listIndex | listItem | listLast | listRandom | listRange | listRemove | listRemoveAll |listRetainAll | listSize | listTerminate

File, asset and image utility functions

assetApproxRatio | assetApproxSize | assetBestRatio | assetBestSize | AssetFitSize | fileBaseName | fileDirectory | fileExtension |fileName | fileRandom | imageApproxRatio | imageBestRatio

Color utility functions

colorRamp

Other keywords

attr | const | import | style | version

Miscellaneous information

Annotations | Asset search | Built-in assets | Simple types of operations | Texturing | Euler angles