Skip to content

Commit c58ec74

Browse files
committed
ADD-FIX: new diffcheck architecture content + minor fix for doc statistical components
1 parent 39b6b36 commit c58ec74

File tree

4 files changed

+21
-2
lines changed

4 files changed

+21
-2
lines changed

assets/img/fig_scheme_softarch.png

138 KB
Loading
138 KB
Loading

doc/df_architecture.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
(df_architecture_guide)=
22
# diffCheck architecture
33

4-
/// more info and details about how the diffCheck architecture works as a plugin
4+
The software architecture of DF is organized into three main sections.
5+
* a) **C++**:
6+
The first foundational portion of the source code is represented by a C++ umbrella library regrouping low-level dependencies such as *Open3d*, *CGAL* and *Cilantro* which power the back-end of the most complex and demanding computational functionalities DF can offer.
7+
* b) **PythonAPI**:
8+
The previous portion portion is wrapped into the second DF's component: an API written in Python 3.9.1 and distributed via PyPI (Python Package Index).
9+
* c) **GHPlugin**:
10+
Finally, the GH Python-based plug-in represents only the top-level visual scripting DF's interface.
11+
12+
Here is a diagram of the software architecture:
13+
14+
<br>
15+
16+
<p align="center">
17+
<img src="_static/fig_scheme_softarch.png" style="background-color: transparent; width: 100%; max-width: 800px;" />
18+
</p>
19+
20+
<br>
21+
22+
With Rhino v.8’s integration of CPython into its .NET ecosystem, we developed a fully Python-based Grasshopper plug-in. Distributed through Rhino’s Yak manager, it requires no extra installations. Inspired by the Compas framework, the plug-in is composed entirely of .ghuser objects, supporting CI practices with automatic component documentation. Additionally, we believe a Python-based plug-in encourages broader contributions, as Python’s simplicity and widespread use make it more accessible to the digital fabrication community.

doc/gh_components.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,5 @@ DF has a Grasshopper_ plugin with a set of components that allows the user to in
113113
gh_DFPreviewAssembly
114114
gh_DFRemoveBeam
115115
gh_DFColorizeCloud
116-
gh_DFBrepToCloud
116+
gh_DFBrepToCloud
117+
gh_DFRemoveStatisticalOutliers

0 commit comments

Comments
 (0)