Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit 2a41283

Browse files
committed
Add template for get_face_box wrapper
1 parent 7697246 commit 2a41283

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

FUNCTION_REFERENCE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
* api_body_to_2d
6464
* api_get_entity_box (ENTITY overload)
6565
* api_closed_wire
66+
* get_face_box
6667

6768
## Classes
6869

src/acis_api2.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,9 @@ a3dp_get_owner_transf(PyObject *self, PyObject *args, PyObject *kwargs)
7575
// Return SPAtransf python object
7676
return retobj;
7777
}
78+
79+
PyObject *
80+
a3dp_get_face_box(PyObject *self, PyObject *args, PyObject *kwargs)
81+
{
82+
return NULL;
83+
}

src/acis_api2.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ extern "C" {
2929
PyObject *a3dp_is_modeler_started(PyObject *self);
3030
PyObject *a3dp_spa_unlock_products(PyObject *self, PyObject *arg);
3131
PyObject *a3dp_get_owner_transf(PyObject *self, PyObject *args, PyObject *kwargs);
32+
PyObject *a3dp_get_face_box(PyObject *self, PyObject *args, PyObject *kwargs);
3233

3334
#ifdef __cplusplus
3435
}

src/acis_includes.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#include <bool_api_options.hxx>
3535
#include <box_opts.hxx>
3636
#include <intrapi.hxx>
37+
#include <get_box.hxx>
3738

3839

3940
#endif // !A3DPY_INCLUDES_H

src/acis_modeler.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ static PyMethodDef
6868
{ "api_get_entity_id", (PyCFunction) a3dp_api_get_entity_id, METH_VARARGS | METH_KEYWORDS, "Returns a unique integer identifier for a given ENTITY" },
6969
{ "api_get_entity_box", (PyCFunction) a3dp_api_get_entity_box, METH_VARARGS | METH_KEYWORDS, "Computes a bounding box containing the entity" },
7070
{ "api_closed_wire", (PyCFunction) a3dp_api_closed_wire, METH_VARARGS | METH_KEYWORDS, "Determines if a wire or a single-wire body is closed" },
71+
{ "get_face_box", (PyCFunction) a3dp_get_face_box, METH_VARARGS | METH_KEYWORDS, "Returns the bounding box for the given face" },
7172
{ NULL, NULL, 0, NULL }
7273
};
7374

0 commit comments

Comments
 (0)