Skip to content

Update OSH Automated Documentation for FreeCAD 1.0 #48

@pieterhijma

Description

@pieterhijma

Proposal description

The current version of OSH Automated Documentation (osh-autodoc) is not supported on FreeCAD 1.0 and the documentation is out-of-date (still mentioning that it requires a FreeCAD greater than 0.21.2). After having had many requests from users to do so, in this project, I would like to update the workbench for FreeCAD 1.0 and the latest weekly.

The most pressing issue is that geometry that is exported to SVG images is not placed correctly on the page (issue #60, issue #58).

I've also received comments on other subjects, such as

  • installation procedure on Mac, Linux, and Windows
  • unclarity on licensing.

Deliverables

  • New release of the workbench that works on FreeCAD 1.0 and the latest weekly.
    • Fix SVG export
    • Fix all other 1.0 related issues.
  • A new release of the PDF compiler.
    • This version is to be installed on Windows and Mac as well.
  • Updated website/documentation:
    • Updated installation instructions for Linux,
    • Installation instructions for Windows and Mac,
    • Graphics on the website with a modern FreeCAD theme,
    • A more motivating example, and
    • Clarified licensing.
  • Updated representation in the Addon Manager:
    • Update the README to render well in the Addon Manager,
    • Make sure the most relevant information for Addon Manager users is in the README,
    • Update the version in the Addon Manager.

Timeline

This will be carried out in a 3-month period between July and October. The stages are:

  1. Fix 1.0 related issues
  2. Test the software for issues
  3. Use an improved example model for the website and test with that model.
  4. Streamline installation procedure, also for Windows and Mac
  5. Update the documentation

Risks and mitigation

The biggest risk for this work is fixing the SVG export, because it is currently not clear what has changed in version 1.0 to cause this issue. A mitigation is postprocessing the generated SVG image with Inkscape (something that the software is already capable of), but this would be a very unsatisfying solution.

Another risk is installing the PDF compiler on Windows and Mac. In principle, the code is highly portable, but I'm unfamiliar with Windows and Mac development. A mitigation is to provide a working docker image.

Compensation

I would like to carry out this work with for a total of 2000 EUR.

About you

My name is Pieter Hijma (pieterhijma on the forum and pieterhijma on GitHub). I'm an independent contractor (https://pieterhijma.net) and have finished FPA grants (Research Variant Parts) and have ongoing FPA grants: (C++ API documentation and Improve the User Experience for VarSets).

I'm one of the co-authors of osh-autodoc and currently the maintainer. Unfortunately, I haven't had the resources to work on osh-autodoc, so I hope that this grant enables me to update the software for FreeCAD 1.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2025 Q2fundedThe FPA voted to fund this proposal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions