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) )
def save_aip(self, path): """Save as .aip (custom HDF5 or pickle).""" import pickle with open(path, 'wb') as f: pickle.dump('points': self.points, 'features': self.features, f) geometry3d.aip
The preprocessed output is exposed as :
# Perform the cast hit_result = ctx.cast_ray(ray, max_dist=100.0) # Define a transform obj_transform = g3d
function is a helpful feature for interpolating data (like vertex colors or normals) across a triangle's surface. Ray-Box Intersections 1) ) def save_aip(self
from geometry3d import Point, Vector, Line, Plane, Sphere, Triangle