polyfoammesh.core.session
Functions
Remove the session snapshot (e.g. after successful restore). |
|
Load the most recent session snapshot, or None. |
|
|
Persist a session snapshot to disk. |
Classes
|
A point-in-time snapshot of the application state. |
- class polyfoammesh.core.session.SessionSnapshot(version='', timestamp='', geometry_path='', case_dir='', max_cell=0.05, min_cell=0.01, detail='medium', unit='m', bl_enabled=False, bl_n_layers=3, bl_thickness_ratio=0.005, bl_expansion_ratio=1.2, mesher='cfmesh', theme='system', viewer_bg='Dark', extra=<factory>)[source]
Bases:
objectA point-in-time snapshot of the application state.
- Parameters:
- polyfoammesh.core.session.save_snapshot(snapshot)[source]
Persist a session snapshot to disk.
- Return type:
- Parameters:
snapshot (SessionSnapshot)
- polyfoammesh.core.session.load_snapshot()[source]
Load the most recent session snapshot, or None.
- Return type: