Cut and project the data

Four exercises with numeric results and verifiable previews.

Choose the operation and read the preview

Check the source and the plane. In Operation choose one of the four values and press Extract / Preview. The status Extracted … points reports the count. The view below the controls shows U/V points with separate autoscaling per axis. The shape on screen can look distorted even when the numeric coordinates are correct. The preview does not connect the points, shows no numeric scale and uses the same colour even for a scalar section. For the scalar value and the identities consult the published Dataset.

OperationExercise sourceResult
intersectionOBJ mesh or VTI gridCuts the geometry or samples a scalar plane. This is the initial choice. For a CSV the viewer asks for one of the table operations.
slab_projectionTable of pointsProjects only the points within the stated half-thickness.
trajectory_intersectionRows of an ordered trajectoryComputes the points where the segments cross the plane.
trajectory_projectionRows of an ordered trajectoryProjects all finite points, keeping the order. The distance from the plane does not filter the data.

Run Extract / Preview again after every change. In DEV112 P011-bis a rejection can leave the previous points on screen, ready to be published by mistake. Check freshness before publishing.

Project the samples of a slab

  1. Choose punti and map v0001/v0002/v0003. In Definition select arbitrary, set Origin to 0,0,1 and Normal to 0,0,1, then press Set plane.
  2. Choose slab_projection. In Slab half-thickness enter 0.03. The panel starts at 0.01. The half-thickness must be non-negative and uses the units of the distance from the plane. A point is included if its absolute distance is less than or equal to the value. The whole slab is twice as wide.
  3. Press Extract / Preview. The test includes five source rows, from 0 to 4. The two points at z=0.70 and z=1.30 stay outside. With zero tolerance the three points exactly at z=1 remain. A negative number is rejected. If the slab contains no points, The chosen plane/mode produced no output points appears. Check position and thickness again. Publish the first case as sezione.fascia.
Symmetric slab around z=1, with five projected points and the status line of the new extraction.
Symmetric slab around z=1, with five projected points and the status line of the new extraction.

Compare intersection and projection of a path

  1. Choose traiettoria, keep the original order of the seven rows, map v0001/v0002/v0003 and use Reset for XY at z=0. Before analysing real data, make sure that consecutive rows represent segments that are actually adjacent. Omitting non-finite rows can change which samples become neighbours.
  2. With trajectory_intersection, press Extract / Preview. The first crossings are (1, 0) and (1, 2). The vertex on the plane, (0, 3), appears twice because it belongs to two segments. The last crossing is about (2.926, 3.926). Five records in total. Publish as sezione.passaggi and compare source_row, source_row_end and crossing_fraction. 0.5 is the midpoint of the segment. The planes at z=30 and z=−30 lie outside the trajectory. In the P011-bis test the engine reported points must be finite numeric data in both cases with no crossings, with the same seven finite rows. Before correcting the source check the height. At z=0 the new computation returns five records.
  3. With trajectory_projection, recompute on XY and publish as sezione.traiettoria. The view shows all seven points, including those far from z=0. The Dataset also keeps the original height in source_z. Slab half-thickness acts on the slab and does not change these two operations.
Intersection of the trajectory with XY. The two coincident records appear superimposed in the view.
Intersection of the trajectory with XY. The two coincident records appear superimposed in the view.
Projection of the same trajectory, with all seven points.
Projection of the same trajectory, with all seven points.

Cut a triangulated surface

Choose cubo, Reset, intersection and Extract / Preview. The cube goes from −1 to +1 along the three axes. XY at z=0 produces a square contour, with nine rows in the test. The midpoints of the sides depend on the triangulation and the repeated starting point closes the contour. The segment_id field identifies the part of the result. For z=3 the viewer reports that the plane does not intersect the mesh. Move the plane inside the cube and recompute. A projection from the list is rejected with Meshes use actual plane intersection. Publish the square as sezione.cubo.

Central section of the cube. The points on the sides and the closing vertex can be checked in the CSV.
Central section of the cube. The points on the sides and the closing vertex can be checked in the CSV.

Extract a scalar field on the plane

Choose campo, arbitrary, origin 0,0,1, normal 0,0,1 and Set plane. Choose intersection and press Extract / Preview. The VTI grid has spacing 1 and three samples per axis, with value x + 10y + 100z. At z=1, the test returns nine points and values from 100 to 122, with 111 in the centre. Publish as sezione.campo. Check scalar, section.scalar_name=valore and section.output_kind=scalar_field_2d. At z=3 the viewer rejects the plane outside the grid. The projection operations are reserved for tables.

The scalar section shows the geometric distribution of the nine samples. The intensities are in the scalar column.
The scalar section shows the geometric distribution of the nine samples. The intensities are in the scalar column.