montepy.surfaces.surface_builder module

montepy.surfaces.surface_builder.surface_builder(input)

Builds a Surface object for the type of Surface

Changed in version 0.2.0: The comments argument has been removed with the simpler init function.

Parameters:

input (Input) – The Input object representing the input

Returns:

A Surface object properly parsed. If supported a sub-class of Surface will be given.

Return type:

Surface