.. _auto_curves_pre_post_crash: *COMPUTE THE PRE-POST CRASH USING COORDINATES* ============================================== Computes pre- and post-crash positions by transforming point coordinate time-histories from a global frame into a local coordinate system defined by three reference nodes. Use this worker to derive crash-event kinematics (e.g., intrusion, displacement) relative to a vehicle-fixed frame. When to use ----------- Classification: **process**. Tagged: ``coordinate_transform``, ``crash``, ``intrusion``, ``kinematics``, ``local_frame``, ``pre_post_crash``, ``reference_nodes``, ``time_history``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - RN1XC - ref_node1xy_zcoordinates - vector - — - - Origin of the local coordinate system — XYZ coordinates (3-component vector) of Reference Node 1; defines where the local frame is anchored. * - RN2XC - ref_node2xy_zcoordinates - vector - — - - XYZ coordinates of Reference Node 2; together with RN1 this defines the positive X-axis direction of the local frame. * - RN3XC - ref_node3xy_zcoordinates - vector - — - - XYZ coordinates of Reference Node 3; defines the XY-plane of the local frame (must not be collinear with RN1–RN2). * - Points X Coordinates - points_xcoordinates - vector - — - - X-coordinate time-history (or combined XYZ time-history) of the point to be transformed into the local frame; if XYZ is packed here, the Y and Z inputs may be left empty. * - Points Y Coordinates - points_ycoordinates - vector - — - - Y-coordinate time-history of the point to be transformed; optional when full XYZ is supplied via the X-coordinates input. * - Points Z Coordinates - points_zcoordinates - vector - — - - Z-coordinate time-history of point to be transformed to local. Optional if XYZ is provided in X View more * - Plane Type - plane_type - string - xy - - Scale the y values by this number. Useful to change thew view vector * - Scale X - scale_x - scalar - 1.0 - - * - Scale Y - scale_y - scalar - 1.0 - - Scale the y values by this number. Useful to change thew view vector * - Plane Type - include_type - string - no - - Determine the Plane for the resulting curve. * - Centerline Coordinate - center_line_coord - scalar - 0.0 - - Centerline coordiantes * - Offset - offset - scalar - 0.0 - - Offset to the coordinates * - Maximum Type - max_type - scalar - xmax - - Maximum type while sorting the extracted data Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curves_pre_post_crash_output_1 - curves_pre_post_crash_output_1 - vector - Transformed coordinate time-history of the input point expressed in the local (vehicle-fixed) frame, representing the pre-to-post crash displacement or position curve. Disciplines ----------- - data.curve.transform - data.units - engineering.crash.dynamics Runnable example ---------------- A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: `/api/workflow/example?id=curves_pre_post_crash `_ .. raw:: html

Auto-generated from transformation schema. Worker id: curves_pre_post_crash. Schema hash: 723287a13ddf. Hand-curated docs in workerexamples/ override this page when present.