# Perform the cast hit_result = ctx.cast_ray(ray, max_dist=100.0)
to manage 3D rendering and vector-to-3D transformations. It is part of the Adobe Illustrator Plugin ( geometry3d.aip
# Define a transform obj_transform = g3d.Transform( position=g3d.Vector3(0, 10, 0), rotation=g3d.Quaternion.from_euler(0, 45, 0), scale=g3d.Vector3(1, 1, 1) ) # Perform the cast hit_result = ctx
Think of voxels as 3D pixels. Instead of just defining a surface, a volumetric representation divides an object into a grid of small cubes (voxels), each containing data such as density or color. geometry3d.aip