Skip to content

Documentation - Modernize for OCCT 8.0.0, GitHub workflow, and vcpkg build system#1256

Merged
dpasukhi merged 12 commits into
Open-Cascade-SAS:IRfrom
dpasukhi:doc_update_800
May 3, 2026
Merged

Documentation - Modernize for OCCT 8.0.0, GitHub workflow, and vcpkg build system#1256
dpasukhi merged 12 commits into
Open-Cascade-SAS:IRfrom
dpasukhi:doc_update_800

Conversation

@dpasukhi
Copy link
Copy Markdown
Member

@dpasukhi dpasukhi commented May 2, 2026

  • Migration from dev.opencascade.org/Mantis/Gitolite infrastructure to GitHub-native
    workflow (Pull Requests, Issues, GitHub Actions CI/CD).
  • OCCT 8.0.0 upgrade guide with detailed notes on TCol* typedef deprecation, BSpline
    weight accessors, evaluation hierarchy refactoring (EvalD0/D1/D2/D3/DN), Handle
    out-parameter deprecation, Standard_Mutex → std::mutex, PLib value types, BRepGraph,
    TopoDS_TShape redesign, math wrapper deprecation, mesh factory registry, and more.
  • Build system modernization: C++17 requirement, VS2022/GCC8+/Clang7+ compilers,
    vcpkg integration, CMake-driven documentation targets replacing legacy gendoc.
  • Removed obsolete documentation: Mantis workflow, access levels, issue lifecycle,
    pre-7.1.0 upgrade history (archived at dev.opencascade.org/doc), in-tree Inspector
    and DFBrowser documentation, 3rd-party build guide (outsourced to vcpkg/upstream).
  • INSTALL_DIR_RESOURCE directory now correctly described in the install tree layout.
  • Obsolete BUILD_PATCH CMake option removed from documentation.
  • Code examples modernized: occ::handle<> syntax, NCollection_ templates, BRepAdaptor_Curve,
    IsDone() checks, null-handle guards, native C++ types over Standard_
    typedefs,
    Append() over Appends(), correct variable names.
  • Code block language tags: .php → .tcl for Tcl scripts, .glsl for shader listings.
  • IGES translator: deprecated API calls updated (SetReadVisible + TransferRoots),
    IDT_ message API replaced with Message_Messenger, thread-safety warning added.
  • DE_Wrapper: STEP thread-safety note (per-reader), IGES unsupported for concurrency.
  • Removed Mantis tracker link from GitHub issue template config.
  • Removed DFBROWSER and INSPECTOR entries from DrawPlugin resource file.
  • Tcl reference URL updated (tcl.tk → tcl-lang.org).

dpasukhi added 6 commits May 2, 2026 16:06
- Corrected references to data sources and methods in the visualization user guide.
- Updated figure paths to ensure proper rendering in documentation.
- Improved clarity in code examples for setting colors and handling interactive objects.
- Enhanced the XDE documentation with new functionality for loading external CAD files.
- Adjusted environment variable instructions for XDE setup.
- Fixed minor code issues in the DrawPlugin configuration.
- Corrected thread safety note for STEP format in de_wrapper.md.
- Updated resource file paths in draw_test_harness.md to reflect new environment variable usage.
- Revised primitive types section in foundation_classes.md to emphasize standard C++ types and clarify deprecated OCCT typedefs.
- Adjusted references to classes in modeling_data.md for accuracy.
- Updated IGES resource file reference in iges.md to use environment variable.
- Modified STEP resource file reference in step.md to align with environment variable usage.
- Enhanced clarity in visualization.md regarding sensitive entities and primitive arrays.
- Updated XDE environment variable instructions in xde.md for clarity and accuracy.
…ons and rename 'src' directory to 'resources'
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Modernizes OCCT documentation for the OCCT 8.0.0 era and GitHub-native workflows, updating build guidance (CMake/vcpkg), refreshing code examples to current APIs/conventions, and removing obsolete infrastructure references (Mantis/Gitolite, legacy tools/docs).

Changes:

  • Updates many user guides/specs/tutorials with OCCT 8.0.0 API changes and modernized C++ examples (handles, IsDone() checks, deprecations).
  • Migrates contribution/build/documentation guidance to GitHub + CMake target–driven docs, adds vcpkg-centric build path, removes legacy 3rd-party build guide.
  • Cleans up samples/docs structure, resource/plugin listings, and various outdated links/figures/code block language tags.

Reviewed changes

Copilot reviewed 39 out of 50 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
resources/DrawResources/DrawPlugin Removes obsolete Draw plugins (DFBrowser/Inspector) from resource list.
dox/user_guides/xde/xde.md Adds DE_Wrapper note/example; updates env-var guidance and code snippets.
dox/user_guides/vis/vis.md Fixes variable names/namespace qualifiers and updates snippets/figures.
dox/user_guides/shape_healing/shape_healing.md Updates snippets to newer APIs (Result(), FixSameParameter(edge), etc.).
dox/user_guides/ocaf/ocaf.md Modernizes OCAF API references and examples (handles/out-params, method renames).
dox/user_guides/modeling_data/modeling_data.md Updates class/package names and examples for modern OCCT APIs.
dox/user_guides/modeling_algos/modeling_algos.md Modernizes modeling algorithm examples, error handling, and API names.
dox/user_guides/mesh/mesh.md Updates mesh docs (BRep_Tool naming, text, Tcl code block tag).
dox/user_guides/foundation_classes/foundation_classes.md Documents deprecations (Standard_* typedefs, TCol*), modern handle usage, Plugin resource semantics.
dox/user_guides/de_wrapper/de_wrapper.md Updates DE_Wrapper table (thread-safety), examples, and API usage.
dox/tutorial/tutorial.md Updates tutorial narrative and code examples (null-handle guards, IsDone() usage).
dox/specification/pbr_math.md Replaces TODOs and updates external link(s).
dox/specification/brep_format.md Clarifies ASCII vs binary BREP formats; corrects math/parameter descriptions.
dox/specification/boolean_operations/boolean_operations.md Fixes typos/identifiers, updates Tcl tags, and modernizes snippets.
dox/samples/samples.md Restructures samples index (focus on DRAW scripts; references external sample repos).
dox/samples/ocaf_func.md Modernizes OCAF function mechanism sample code.
dox/samples/ocaf.md Updates OCAF tutorial text and code separators; modernizes plugin/toolkit references.
dox/samples/novice_guide.md Reorients newcomer guidance away from removed in-tree app samples toward DRAW scripts.
dox/samples/draw_scripts.md Updates instructions to modern env scripts + source $env(CASROOT)/... workflow.
dox/samples/ais_object.md Fixes figure paths and updates snippets/types for current codebase layout.
dox/resources/occt_ug_html.doxyfile Adjusts Doxygen HTML settings (removes timestamp/transparent formula).
dox/introduction/introduction.md Updates platform/compiler/deps guidance, vcpkg references, and wording.
dox/debug/debug.md Updates debug tooling notes (CMake-era flow, natvis, code block tags).
dox/contribution/documentation/documentation.md Switches doc generation guidance from gendoc to CMake targets; link refresh.
dox/contribution/contribution.md Removes BOM/format cleanup.
dox/contribution/coding_rules.md Updates rules/examples (clang-format note, braces rule, tests section, code block tags).
dox/build/build_upgrade.md Removes legacy 3rd-party build page reference.
dox/build/build_occt/building_occt.md Adds vcpkg quickstart; updates compiler/C++17 requirements and install layout notes.
dox/build/build_documentation/building_documentation.md Updates doc build instructions to CMake targets.
dox/build/build_3rdparty/building_3rdparty.md Removes legacy third-party build guide (content deleted).
dox/FILES_HTML.txt Updates docs file list (removes deleted 3rd-party guide; adds samples index).
.github/ISSUE_TEMPLATE/config.yml Removes Mantis tracker contact link.
.github/CONTRIBUTING.md Updates contribution flow to GitHub PR workflow and fixes links/typos.

Comment thread dox/user_guides/modeling_algos/modeling_algos.md Outdated
Comment thread dox/user_guides/foundation_classes/foundation_classes.md Outdated
Comment thread dox/user_guides/shape_healing/shape_healing.md Outdated
Comment thread dox/user_guides/ocaf/ocaf.md Outdated
Comment thread dox/user_guides/ocaf/ocaf.md Outdated
dpasukhi added 2 commits May 2, 2026 20:38
…quence and update method signatures in OCAF and Shape Healing sections
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 39 out of 50 changed files in this pull request and generated 2 comments.

Comment thread dox/user_guides/modeling_data/modeling_data.md Outdated
Comment thread dox/tutorial/tutorial.md
dpasukhi added 3 commits May 2, 2026 21:00
…ing description and update shape array usage for clarity
… contribution workflow, git guide, introduction, samples, and user guides.
@dpasukhi dpasukhi linked an issue May 2, 2026 that may be closed by this pull request
@dpasukhi dpasukhi added this to the Release 8.0 milestone May 2, 2026
@dpasukhi dpasukhi self-assigned this May 2, 2026
@dpasukhi dpasukhi added the 1. Documentation Improvements or additions to documentation label May 2, 2026
@dpasukhi dpasukhi merged commit bec9558 into Open-Cascade-SAS:IR May 3, 2026
18 checks passed
@dpasukhi dpasukhi deleted the doc_update_800 branch May 3, 2026 08:15
@github-project-automation github-project-automation Bot moved this from Todo to Done in Maintenance May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1. Documentation Improvements or additions to documentation

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Overview documentation refactoring and renewal

2 participants