Ray Cast

Shoots a ray from a point in a direction and returns where it first meets a Solid's surface. Reports an error if no surface is reached within the step limit.

Inputs

Input Solid

The Solid the ray is aimed at.

Takes: any block that gives Solid (102 blocks)
Point Point

Where the ray starts. Defaults to the origin.

Takes: any block that gives Point (13 blocks)
Direction Vector

Direction the ray travels. Defaults to straight down (-Z).

Tolerance Number

How close to the surface, in mm, counts as a hit.

Lipschitz Number

How steep the field can be: 1 for a true distance field. Raise it if the ray skips through thin walls.

Max iterations Number

Maximum number of steps before giving up.

Output

Point

Used by: any block that takes Point (58 blocks)

Properties

Values the block gives besides its output. The editor lists them under Properties, and an input can read one by reference.

Solid Solid

The point as a Solid, built from the distance to it.

X Number

The point's x coordinate.

Y Number

The point's y coordinate.

Z Number

The point's z coordinate.

Vector Vector

The vector from the world origin to this point.

ScalarField Number

Distance to the point as a field; zero at the point.

List List of Point

This point in a Point List of one.

What implicit modeling is

Clever Design GmbH · Einsiedeln, SwitzerlandPrivacy · Imprint