PyVMFΒΆ

Functions

load_vmf(name[, merge_vertices]) Loads a .VMF file
new_vmf() Generates a VMF with the necessary classes

Classes

AllowedVerts(matrix, dic)
Alphas(matrix, dic)
Box(dic)
Camera(dic)
Cameras(dic, children)
Color(r, g, b) Simple RGB color class
Common The parent class to all VMF classes that need to be exported to the .VMF file.
Connections(dic)
Cordon(dic, children)
Cordons(dic, children)
DispInfo(dic, children, parent_side) Keeps track of all the different displacement settings and values
DispVert() Keeps track of each individual displacement vertex
Distances(matrix, dic)
Editor(dic[, parent_type])
Entity(dic, children)
Group(dic, children)
Hidden(dic, children)
Matrix(size) A grid for keeping track of the displacement values.
Normals(matrix, dic)
OffsetNormals(matrix, dic)
Offsets(matrix, dic)
Side(dic, children) Corresponds to a face/side of a solid.
Solid(dic, children) Corresponds to an individual solid just like in Hammer
SolidGenerator Generates solids from scratch, remember you still need to add them to VMF using add_solids()
TriangleTag(x, y)
TriangleTags(matrix, dic)
UVaxis(x, y, z, offset, scale)
VMF() Equivalent to a single .VMF file, holds all categories and all sub-categories
Vector(x, y, z)
VersionInfo(dic)
Vertex([x, y, z]) Corresponds to a single position on the Hammer grid
ViewSettings(dic)
VisGroup(dic, children)
VisGroups(dic, children)
World(dic, children)