COMPAS OCC
COMPAS OCC provides an easy-to-use interface to the Python bindings of the 3D modelling kernel of Open CasCade.
compas_occ.geometry
defines Curve
, NurbsCurve
,
Surface
and NurbsSurface
, which are wrappers around
Geom_Curve
1, Geom_BSplineCurve
2, Geom_Surface
3 and Geom_BSplineSurface
4 of OCC, repsectively.
The compas_occ
wrappers provide an API for working with NURBS curves and surfaces similar to the API of RhinoCommon.
compas_occ.brep
is a package for working with Boundary Representation (BRep) objects
with the NURBS curves and surfaces of compas_occ.geometry
as underlying geometry.
Table of Contents
- Introduction
- Installation
- Examples
- BRep Shape From Booleans
- BRep From Mesh
- BRepFace with Hole
- BRepFace with Holes
- Curve Closest Parameters Curve
- Curve Closest Point
- Curve Comparison 1
- Curve Comparison 2
- Curve Divide
- Curve From Circle
- Curve From Interpolation
- Curve From Line
- Curve From Parameters
- Curve From Control Points
- Curve Joining
- Curve Segmentation
- Surface Axis-Aligned Bounding Box
- Surface Frames
- Surface From Extrusion 1
- Surface From Extrusion 2
- Surface From Fill
- Surface From Meshgrid
- Surface From Parameters
- Surface From Points
- Surface Intersections With Line
- Surface Isocurves
- Surface JSON Data
- Surface of Revolution
- Surface With Random Control Points
- Surface Points Over UV Space
- Surface Visualisation With View Object
- API Reference
- License
Indices and tables
References
- 1
https://dev.opencascade.org/doc/refman/html/class_geom___curve.html
- 2
https://dev.opencascade.org/doc/refman/html/class_geom___b_spline_curve.html
- 3
https://dev.opencascade.org/doc/refman/html/class_geom___surface.html
- 4
https://dev.opencascade.org/doc/refman/html/class_geom___b_spline_surface.html