Section Plane Process

Below we will consider the process that allows a user to select any section plane by selecting three points on a model.

Running the Process

*Example of running the section plane process (TypeScript):

view.runCommand({
    name: "RunProcessCommand", 
    process: {
        name: "SetPlaneProcess", 
        events: {
            onInitPlacement: (a: number, b: number, c: number) => {
                console.log(`Selected placement: (a: ${a}, b: ${b}, c: ${c})`)
            }
        }
    }
})

This process doesn’t have any additional options.

Events

Available events:

  • onInitPlacement(a, b, c): emitted when any three points on a model are selected, receives variables (angles a and b with an offset c) enough to build a section plane.

Important

Updating process is not provided!