Skip to main content

NetSDF

C++: phynexis::ml::shape::NetSDF
Python: phynexis.ml.shape.NetSDF
Header: src/ml/shape/net_sdf.hpp

Description​

Neural network-based signed distance function. Inherits from NetField.

Constructors​

NetSDF()​

Creates an SDF with field_type = FieldType.SDF.

Methods​

init_from_model_files(net_sdf_file)​

Initializes the SDF from a saved model file.

Parameters:

ParameterTypeDescription
net_sdf_filestrPath to the SDF model file

Inherited from NetField​

  • initialize()

Properties​

Inherited from NetField​

PropertyTypeAccessDescription
net_modelNeuralNetread/writeNeural network model
field_typeFieldTyperead/writeField type (always SDF)
surface_configSurfaceConfigread/writeSurface extraction configuration