PyVMF.SolidGenerator

class SolidGenerator

Generates solids from scratch, remember you still need to add them to VMF using add_solids()

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__ Initialize self.
cube(vertex, w, h, l[, center, dev]) Generates a solid cube
dev_material(solid, dev) Changes the material of the solid to single color dev textures, quick and useful when testing
displacement_triangle(vertex, w, h, l[, dev]) Generates a displacement triangle (L shaped viewed from above)
room(vertex, w, h, l, thick[, dev]) Generates a sealed cubed room