brepjs API Reference
GitHub
npm
Getting Started
Preparing search index...
index
addHoles
Function addHoles
addHoles
(
f
:
PlanarFace
,
holes
:
(
ShapeHandle
&
{
"[___brand]"
:
"wire"
;
"[___dim]"
:
"3D"
}
&
{
"[___closed]"
:
true
;
}
&
{
"[___planar]"
:
true
}
)
[]
,
)
:
ShapeHandle
&
{
"[___brand]"
:
"face"
;
"[___dim]"
:
"3D"
}
&
{
"[___oriented]"
:
true
;
}
&
{
"[___planar]"
:
true
}
Add hole wires to an existing face. The resulting face preserves orientation.
Parameters
f
:
PlanarFace
holes
: (
ShapeHandle
&
{
"[___brand]"
:
"wire"
;
"[___dim]"
:
"3D"
}
&
{
"[___closed]"
:
true
;
}
&
{
"[___planar]"
:
true
}
)
[]
Returns
ShapeHandle
&
{
"[___brand]"
:
"face"
;
"[___dim]"
:
"3D"
}
&
{
"[___oriented]"
:
true
;
}
&
{
"[___planar]"
:
true
}
addHoles
(
f
:
Face
,
holes
:
ClosedWire
[]
)
:
OrientedFace
Add hole wires to an existing face. The resulting face preserves orientation.
Parameters
f
:
Face
holes
:
ClosedWire
[]
Returns
OrientedFace
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
Getting Started
brepjs API Reference
Loading...
Add hole wires to an existing face. The resulting face preserves orientation.