View on GitHub

FreeCAD Developers Handbook

A handbook about FreeCAD development

Naming Convention and Writing Style #

Because FreeCAD involves both CAD and programming, it’s easy to use overly technical or redundant language. Names that seem obvious to developers may confuse general users. Additionally, with limited UI space, concise and clear naming is critical for usability. Follow the guidelines below when naming or labeling functions, features, and add-ons.

Note: While translations exist, English is the reference standard. Translators should follow these guidelines as closely as possible for the target language.

Avoid verbose or inconsistent language in the UI, as it may cause layout issues across workbenches and dialogs. Always review naming before merging UI-related pull requests.

Language #

UI Text Style #

Use Title Case only for command names, buttons, menu items, and group titles. All other text should use normal sentence case.

Do not use periods on short UI elements like buttons or labels. Use them only in full-sentence tooltips or descriptive text.

Use ellipsis (…) at the end of menu items or commands that require user input. Do not use three periods “…” instead of the ellipsis character for consistency.

Do not put a colon or space at the end of labels that are followed by required user input (e.g. QLabel for input box, button, dropdown, or checkbox) or headers. Instead of “X direction: “ write X direction

How to Implement Title Case #

In title case, capitalize the following words:

Lowercase only minor words that are three letters or fewer:

Examples:

Return to Design Guide Main Page