Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a24a729
Add mesh I/O bindings: IGES, OBJ, VRML, glTF, PLY
torusJKL May 25, 2026
a5c5840
Add OCCT bindings: sewing, defeaturing, shape check, boolean builder,…
torusJKL May 25, 2026
5791c48
Add AIS interactive type bindings: 13 OCCT AIS classes
torusJKL May 25, 2026
f397c15
Add mesh bindings: BRepMesh, Poly_Triangulation, Poly_Connect, MeshVS…
torusJKL May 25, 2026
839d0b3
Add XCAF document tool bindings: layers, materials, views, visual mat…
torusJKL May 25, 2026
0443f74
Add texture, image, PBR, BSDF bindings: AlienPixMap, Texture2D, Textu…
torusJKL May 25, 2026
c293d9c
Add AIS_Animation bindings (AIS_Animation, AIS_AnimationObject, AIS_A…
torusJKL May 25, 2026
8aa5223
feat: add OCCT selection filter and entity owner bindings
torusJKL May 25, 2026
573cf1b
feat: add Graphic3d bindings for ClipPlane, ShaderProgram, Aspects, S…
torusJKL May 25, 2026
69b81df
feat: add Prs3d_Tool*, Prs3d_Arrow/BndBox, math optimization and IntT…
torusJKL May 25, 2026
f66312f
refactor: split monolithic files into domain-specific modules
torusJKL May 26, 2026
27e56e3
fix: resolve graphic-group-add-triangles test name shadowing and CFFI…
torusJKL May 26, 2026
0c5f8d0
feat: add topology navigation, subshape properties and filter helpers…
torusJKL May 26, 2026
22ad653
feat: add BOPAlgo splitter, maker-volume, cells-builder, argument-ana…
torusJKL May 26, 2026
fdb66ce
feat: add BRepExtrema proximity/overlap/self-intersect and BRepLProp …
torusJKL May 26, 2026
613b2fc
Add FairCurve (aesthetic curve) and GeomPlate (advanced surface filling)
torusJKL May 26, 2026
70d26b6
feat: add OCAF parametric foundation (TDF label tree, TNaming, TFunct…
torusJKL May 26, 2026
1101231
feat: add XCAF GD&T (dimensions, tolerances, datums, geometric tolera…
torusJKL May 26, 2026
2c38095
Archive 16 completed changes
torusJKL May 26, 2026
a9b7ff2
feat: core-topology-access OCCT bindings
torusJKL May 26, 2026
62b7e9c
feat: advanced-geometry-discovery — 11 new CAD capabilities
torusJKL May 26, 2026
2a5b9ae
feat: misc-cad-utilities — constrained 2D geometry, units API, expres…
torusJKL May 26, 2026
83af9f6
sync specs: advanced-geometry-discovery — 11 capability specs
torusJKL May 26, 2026
243bc0d
sync specs: core-topology-access (3) + misc-cad-utilities (4) — 7 cap…
torusJKL May 26, 2026
2eb9d7a
archive: advanced-geometry-discovery, core-topology-access, misc-cad-…
torusJKL May 26, 2026
8efba54
fix: %free-shape-array arg count mismatch — fix topology tests
torusJKL May 26, 2026
e2518a5
Add enriched markdown docstrings to all public functions, classes, an…
torusJKL May 26, 2026
f8b0f4d
Complete OCCT wrapper coverage
torusJKL May 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ lib/
*.fasl
*.fas
docs/index.html
wrap/*.o
wrap/*.d
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Source repository: [github.com/torusJKL/cl-occt](https://github.com/torusJKL/cl-
### Ubuntu 26.04 / Debian

```sh
sudo apt install sbcl curl build-essential cmake libc6
sudo apt install sbcl curl build-essential cmake libc6 librapidjson-dev
```

### Quicklisp (Common Lisp package manager)
Expand Down
267 changes: 207 additions & 60 deletions cl-occt.asd
Original file line number Diff line number Diff line change
@@ -1,76 +1,223 @@
(asdf:defsystem :cl-occt/packages
:depends-on (:cffi)
:serial t
:components ((:file "src/package")))

(asdf:defsystem :cl-occt
:description "Common Lisp bindings to OCCT CAD kernel"
:author "Gal Buki"
:license "MIT"
:depends-on (:cffi :trivial-garbage :alexandria)
:depends-on (:cl-occt/packages :cffi :trivial-garbage :alexandria)
:serial t
:pathname "src/"
:components
((:module "src"
:components
((:file "package")
(:module "ffi"
:components
((:file "loader")
(:file "bindings")))
(:module "core"
:components
((:file "shape")
(:file "errors")
(:file "primitives")
(:file "text")
(:file "geom2d")
(:file "curves")
(:file "surfaces")
(:file "geom-algorithms")
(:file "helix")
(:file "faces")
(:file "booleans")
(:file "compounds")
(:file "transforms")
(:file "assembly")
(:file "io")
(:file "mass-properties")
(:file "shape-analysis")
(:file "topology")
(:file "fillet")
(:file "chamfer")
(:file "blend")
(:file "sweep")
(:file "loft")
(:file "face-filling")
(:file "shell")
(:file "offset")
(:file "draft")
(:file "shape-fix")
(:file "shape-rebuild")
(:file "shape-process")
(:file "hole-prism-revol")
(:file "pipe-feature")
(:file "local-ops")
(:file "viewer")
(:file "viewer-colors")
(:file "viewer-camera")
(:file "viewer-object-props")
(:file "viewer-lighting")
(:file "viewer-grid")
(:file "viewer-background")
(:file "viewer-rendering")
(:file "viewer-text-labels")
(:file "viewer-defaults")
(:file "viewer-drawer")
(:file "viewer-dimensions")))))))
((:file "package")
(:file "ffi/loader")
(:file "ffi/bindings-common")
(:file "ffi/bindings-primitives")
(:file "ffi/bindings-booleans")
(:file "ffi/bindings-transforms")
(:file "ffi/bindings-geom2d")
(:file "ffi/bindings-topology")
(:file "ffi/bindings-properties")
(:file "ffi/bindings-io")
(:file "ffi/bindings-xde")
(:file "ffi/bindings-visual")
(:file "ffi/bindings-ais-types")
(:file "ffi/bindings-lighting")
(:file "ffi/bindings-selection")
(:file "ffi/bindings-geom3d")
(:file "ffi/bindings-helix")
(:file "ffi/bindings-text")
(:file "ffi/bindings-dimensions")
(:file "ffi/bindings-operations")
(:file "ffi/bindings-features")
(:file "ffi/bindings-shape-fix")
(:file "ffi/bindings-mass-props")
(:file "ffi/bindings-mesh")
(:file "ffi/bindings-hlr-conversion")
(:file "ffi/bindings-image-texture")
(:file "ffi/bindings-animation")
(:file "ffi/bindings-graphic3d")
(:file "ffi/bindings-prs3d")
(:file "ffi/bindings-math-inttools")
(:file "ffi/bindings-xcaf")
(:file "ffi/bindings-xcaf-dimtol")
(:file "ffi/bindings-extrema")
(:file "ffi/bindings-lprop")
(:file "ffi/bindings-faircurve")
(:file "ffi/bindings-geomplate")
(:file "ffi/bindings-ocaf-core")
(:file "ffi/bindings-ocaf-naming")
(:file "ffi/bindings-ocaf-function")
(:file "ffi/bindings-brep-tool")
(:file "ffi/bindings-geom-eval")
(:file "ffi/bindings-shape-copy")
(:file "ffi/bindings-precision")
(:file "ffi/bindings-gcpnts")
(:file "ffi/bindings-location")
(:file "ffi/bindings-find-edges")
(:file "ffi/bindings-normal-project")
(:file "ffi/bindings-transfer-params")
(:file "ffi/bindings-brep-io")
(:file "ffi/bindings-wedge")
(:file "ffi/bindings-dprism")
(:file "ffi/bindings-remove-features")
(:file "ffi/bindings-small-faces")
(:file "ffi/bindings-shape-tolerance")
(:file "ffi/bindings-gccana")
(:file "ffi/bindings-units")
(:file "ffi/bindings-expr")
(:file "ffi/bindings-rwstl")
(:file "core/shape")
(:file "core/errors")
(:file "core/primitives")
(:file "core/text")
(:file "core/geom2d")
(:file "core/curves")
(:file "core/surfaces")
(:file "core/geom-algorithms")
(:file "core/helix")
(:file "core/faces")
(:file "core/booleans")
(:file "core/compounds")
(:file "core/transforms")
(:file "core/assembly")
(:file "core/io")
(:file "core/ocaf-label-tree")
(:file "core/ocaf-attributes")
(:file "core/ocaf-naming")
(:file "core/ocaf-functions")
(:file "core/xcaf-doc")
(:file "core/xcaf-dimtol")
(:file "core/mass-properties")
(:file "core/shape-analysis")
(:file "core/surface-curve-local-props")
(:file "core/topology")
(:file "core/topology-data-access")
(:file "core/geometry-evaluation")
(:file "core/shape-copy")
(:file "core/subshape-properties")
(:file "core/mesh")
(:file "core/fillet")
(:file "core/chamfer")
(:file "core/blend")
(:file "core/sweep")
(:file "core/loft")
(:file "core/face-filling")
(:file "core/fair-curve")
(:file "core/advanced-surface-filling")
(:file "core/shell")
(:file "core/offset")
(:file "core/draft")
(:file "core/shape-fix")
(:file "core/shape-rebuild")
(:file "core/shape-process")
(:file "core/hole-prism-revol")
(:file "core/pipe-feature")
(:file "core/local-ops")
(:file "core/sewing")
(:file "core/defeaturing")
(:file "core/shape-check")
(:file "core/hlr")
(:file "core/shape-conversion")
(:file "core/viewer")
(:file "core/viewer-colors")
(:file "core/viewer-camera")
(:file "core/viewer-object-props")
(:file "core/viewer-lighting")
(:file "core/viewer-grid")
(:file "core/viewer-background")
(:file "core/viewer-rendering")
(:file "core/viewer-text-labels")
(:file "core/viewer-defaults")
(:file "core/viewer-drawer")
(:file "core/viewer-dimensions")
(:file "core/viewer-ais-types")
(:file "core/animation")
(:file "core/texture")
(:file "core/materials")
(:file "core/selection")
(:file "core/graphic3d-clip-plane")
(:file "core/graphic3d-shader-program")
(:file "core/graphic3d-aspects")
(:file "core/graphic3d-structure")
(:file "core/graphic3d-group")
(:file "core/graphic3d-rendering-params")
(:file "core/prs3d-tools")
(:file "core/math-optimization")
(:file "core/constrained-2d")
(:file "core/units-api")
(:file "core/expression-interp")
(:file "core/inttools")
(:file "core/bop-splitter")
(:file "core/bop-volume")
(:file "core/bop-utilities")
(:file "core/gcpnts-points")
(:file "core/assembly-location")
(:file "core/find-edges")
(:file "core/normal-project")
(:file "core/transfer-params")
(:file "core/brep-io")
(:file "core/wedge-primitive")
(:file "core/drafted-prism")
(:file "core/remove-features")
(:file "core/small-faces")
(:file "core/shape-tolerance")
(:file "core/rwstl-io")))

(asdf:defsystem :cl-occt/tests
:description "Tests for cl-occt"
:depends-on (:cl-occt)
:serial t
:pathname "t/"
:components
((:module "t"
:components
((:file "smoke-tests"))))
((:file "test-helpers")
(:file "primitives-tests")
(:file "geom2d-tests")
(:file "curves-tests")
(:file "gc-tests")
(:file "faces-tests")
(:file "booleans-tests")
(:file "transforms-tests")
(:file "io-tests")
(:file "compounds-tests")
(:file "assembly-tests")
(:file "viewer-tests")
(:file "trihedron-camera-tests")
(:file "selection-tests")
(:file "lighting-tests")
(:file "grid-background-rendering-tests")
(:file "text-labels-dimensions-tests")
(:file "drawer-tests")
(:file "colors-tests")
(:file "font-text-tests")
(:file "mass-properties-tests")
(:file "shape-analysis-topology-tests")
(:file "operations-tests")
(:file "features-offset-tests")
(:file "shape-healing-tests")
(:file "ais-types-tests")
(:file "mesh-tests")
(:file "xcaf-tests")
(:file "xcaf-dimtol-tests")
(:file "graphic3d-tests")
(:file "animation-structure-group-tests")
(:file "prs3d-math-inttools-tests")
(:file "check-hlr-conversion-tests")
(:file "topology-navigation-tests")
(:file "topology-data-access-tests")
(:file "bop-tests")
(:file "brep-analysis-tests")
(:file "faircurve-geomplate-tests")
(:file "ocaf-core-tests")
(:file "advanced-geometry-tests")
(:file "misc-cad-utilities-tests")
(:file "test-runner"))
:perform (test-op (o c)
(let ((*package* (find-package :cl-occt)))
(asdf:load-system :cl-occt/tests)
(multiple-value-bind (pass fail)
(funcall (find-symbol "RUN-CORE-TESTS" :cl-occt))
(unless (zerop fail)
(uiop:quit 1))))))
(declare (ignore pass))
(if (plusp fail) (uiop:quit 1))))))
Loading
Loading