Hãy đăng ký thành viên để có thể dễ dàng trao đổi, giao lưu và chia sẻ về kiến thức đồ họa.

Geometry3d.aip -

def _compute_curvature(self): # Eigenvalue-based curvature from local covariance self.features['curvature'] = curvature

def _load_ply(self, path): ply = PlyData.read(path) vertices = np.vstack([ply['vertex'][axis] for axis in ['x', 'y', 'z']]).T return torch.tensor(vertices, dtype=torch.float32) geometry3d.aip

import numpy as np import torch from plyfile import PlyData class Geometry3DAIPReader: """Minimal reader for a .aip-like specification.""" | | CAD & generative design | AI-assisted

def to_sparse_tensor(self): """Return a sparse tensor compatible with 3D sparse CNNs (e.g., MinkowskiEngine).""" coords = torch.floor(self.points / self.voxel_size).int() feats = torch.cat([self.points, self.features['normals']], dim=1) return coords, feats 'z']]).T return torch.tensor(vertices

| Domain | Use Case | How geometry3d.aip Helps | |--------|----------|----------------------------| | | Real-time LiDAR segmentation | Sparse tensors + temporal fusion (multiple aip frames). | | Robotic manipulation | Grasp pose detection | Precomputed contact normals and friction cones. | | Medical imaging | 3D organ reconstruction from CT scans | Topology-preserving implicit surfaces. | | CAD & generative design | AI-assisted part modeling | Latent space of meshes with editable semantic slots. | | AR/VR | Scene understanding from sparse sensors | Fast voxel hashing + online adaptation. |