Release 2022.1.1.4 to 2022.1.2.7

Released September 7, 2023.

Upgrade

Upgrade to Python 3.8.17.

Release 2022.1.0.36 to 2022.1.1.4

Released November 14, 2022.

Upgrade

No change to the Python API.

Release 2021.1.1.5 to 2022.1.0.36

Released July 11, 2022.

ADDED FUNCTIONS

All modules

    • configureFunctionLogger()

Module: Algo

    • crackCADMoebiusStrip()
    • createPointCloudKDTree()
    • createCosinusCurve()

Module: Scene

    • addComponents()
    • createSubTree() - replacing createCompleteTree()
    • getSubTree() - replacing getCompleteTree(). Minor change: the "PackedTree" does not contain parts and meshes directly. Use scene.getComponentByOccurrence(occurrences, scene.ComponentType.Part) to retrieve parts from occurrences and scene.getPartsMeshes(parts) to access the meshes.
    • deleteEmptyAnimation()

Module: View

    • getCuttingPlaneProperty()
    • getViewerGLContext()


REMOVED FUNCTIONS

Module: Scene

    • createCompleteTree() - replaced by createSubTree()
    • getCompleteTree() - replaced by getSubTree()

Module: View

    • fitView()
    • getCurrentCamera
    • getMainViewerCuttingPlaneProperty()
    • getMainViewerProperty()
    • getProjectionMatrix()


MODIFIED FUNCTIONS

Module: Algo

convexDecomposition


convexDecomposition(occurrences, maxCount, vertexCount, approximate, /, resolution, concavity)


Experimental :Explode each mesh to approximated convex decomposition


Parameters

----------

occurrences : OccurrenceList

Occurrences of part to process


maxCount : Int

Maximum number of convex hull to generated


vertexCount : Int

Maximum number of vertices per convex hull


approximate : Boolean

Approximate method


resolution : Int , optional

(default: 100000)

Resolution


concavity : Double , optional

(default: 0.001)

Concavity


Returns:

-------

newOccurrences : OccurrenceList

Resulting occurrences of the convexDecomposition


createTangents


createTangents(occurrences, /, , uvChannel, override)


Create tangent attributes on tessellations


Parameters

----------

occurrences : OccurrenceList

Occurrences of components to create attributes


sharpEdge : Angle , optional

(default: -1)

Edges with an angle between their polygons greater than sharpEdge will be considered sharp (default use the Pixyz sharpAngle parameter)


Module: View

createViewer


createViewer(width, height, /, handleSelection, forward, glContextHandle)


Create a new viewer


Parameters

----------

width : Int

Width of the viewer framebuffer


height : Int

Height of the viewer framebuffer


handleSelection : Bool , optional

(default: true)

Does the viewer handle selection of occurrences


forward : Bool , optional

(default: true)

Does the viewer use forward (true) or deferred (false) rendering


glContextHandle : GLContextHandle , optional

(default: view.GLContextHandle(nullptr, nullptr))

OpenGL context handle


Returns:

-------

viewer : Viewer