DeepSDFStruct.lattice_structure#

Functions

Classes

LatticeSDFStruct([tiling, ...])

Helper class to facilitatae the construction of Lattice SDF Structures.

class DeepSDFStruct.lattice_structure.LatticeSDFStruct(tiling=None, deformation_spline=None, microtile=None, parametrization=None, cap_border_dict=None, cap_outside_of_unitcube=True)#

Bases: DeepSDFStruct.SDF.SDFBase

Helper class to facilitatae the construction of Lattice SDF Structures.

Parameters:
property deformation_spline#

Deformation function defining the outer geometry (contour) of the microstructure.

Parameters:

None

Returns:

deformation_function

Return type:

spline

property microtile#

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

plot_intermesh(verts, faces)#
Parameters:
  • verts (torch.Tensor)

  • faces (torch.Tensor)

plot_samples(samples, sdf_values)#
plot_slice(*args, **kwargs)#
property tiling#

Number of microtiles per parametric dimension.

Parameters:

None

Returns:

tiling

Return type:

list<int>

DeepSDFStruct.lattice_structure.check_tiling_input(tiling)#
DeepSDFStruct.lattice_structure.constantLatvec(value)#
DeepSDFStruct.lattice_structure.transform(x, t)#