|
Action:
|
Creates a sheet body having a single planar face by forming co-planar wires into loops, and forming the loops into the planar face.
|
|
|
Prototype:
|
outcome api_cover_wire_loops (
|
|
|
ENTITY_LIST& wires,
|
// list of wire bodies
|
|
|
|
|
// to be covered
|
|
|
BODY*& sheet,
|
// returned new
|
|
|
|
|
// sheet body
|
|
|
AcisOptions* ao = NULL
|
// acis options
|
|
|
);
|
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "cover/kernapi/api/coverapi.hxx"
|
|
#include "kernel/kernapi/api/api.hxx"
|
|
#include "kernel/kerndata/lists/lists.hxx"
|
|
#include "kernel/kerndata/top/body.hxx"
|
|
#include "kernel/kernapi/api/acis_options.hxx"
|
|
|
Description:
|
This API covers multiple co-planar wires into a sheet body having a single planar face. The input is a list of wire bodies. The API will create a planar face by covering the first wire in the list into the peripheral loop and the rest of the wires into the hole loops for the planar face. This is truly a topological manipulation so it does not involve any Boolean operations.
|
|
|
Each wire to be covered should be closed and should not have branches. The wires should not intersect others.
|
|
|
Limitations:
|
Each wire body should have only one wire.
|
|
|
Library:
|
cover
|
|
|
Filename:
|
covr/cover/kernapi/api/coverapi.hxx
|
|
|
Effect:
|
Changes model
|