ferrocad 0.1.2

FerroCAD: a Rust reimplementation of FreeCAD's App core, exposed as the FreeCAD Python package
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Console-mode stand-in for FreeCAD's ``Gui`` module.

When FreeCAD runs headless (``FreeCAD.GuiUp == 0``), ``import FreeCADGui``
succeeds but exposes only a minimal, non-interactive surface. Workbenches and
tests import it defensively (e.g. ``if FreeCAD.GuiUp:``) and probe for attributes
like ``getDocument`` — which must *not* exist here, mirroring upstream's dummy
GUI module in console mode.

The real GUI module (M5: the ``bite-gpui`` shell) will replace this stub.
"""

from __future__ import annotations

__version__ = "0.1.0"

# Deliberately minimal: no `getDocument`, no `showMainWindow`, no viewer. The
# `FreeCAD.GuiUp` flag (0 in the facade) is what tests check before touching GUI.