10. project — project.py

project.py

Functions for managing a project in pyFormex.

Classes defined in module project

class project.Project(filename, create=False, signature='pyFormex', compression=0, binary=False, legacy=True)

A project is a persistent storage of a Python dictionary.

Methods

header_data()

Construct the data to be saved in the header.

set_data_from_header(data)

Set the project data from the header.

save()

Save the project to file.

load()

Load a project from file.

The loaded definitions will update the current project.

delete()

Unrecoverably delete the project file.

Functions defined in module project

Documentation

Previous topic

9. simple — Predefined geometries with a simple shape.

Next topic

11. utils — A collection of miscellaneous utility functions.

This Page