DeepSDFStruct.local_shapes#

Classes

LocalShapesSDF([tiling, unit_cell, ...])

Helper class to facilitatae the construction of Lattice SDF Structures.

class DeepSDFStruct.local_shapes.LocalShapesSDF(tiling=None, unit_cell=None, parametrization=None, cap_border_dict=None, cap_outside_of_unitcube=False, bounds=array([[-1, 1], [-1, 1], [-1, 1]]))#

Bases: DeepSDFStruct.SDF.SDFBase

Helper class to facilitatae the construction of Lattice SDF Structures.

Parameters:
property tiling#

Number of microtiles per parametric dimension.

Parameters:

None

Returns:

tiling

Return type:

list<int>

property unit_cell#

Microtile that is either a spline, a list of splines, or a class that provides a create_tile function.