Imprint

From DocR21

Jump to: navigation, search

An imprint is a Boolean operation that computes the intersection graph of the tool body and the blank body and embeds it into both bodies, splitting faces and edges of the original two bodies with the edges of the intersection graph. The edges and vertices of the intersection graph are added to both bodies wherever edges and vertices do not already exist. If a closed loop of edges is created, a new face is made. An open loop of edges can be added as a spur to an existing loop on a face or as a slit in the face.

Uses of Imprint

Some of the uses for imprinting include:

  • Creating edges on a body for subsequent operations, such as sweeping or skinning.
  • Visualizing the intersection of two bodies without actually performing a Boolean operation.
  • Debugging a Boolean operation.
Two Original Bodies
Result of Operation: Two Imprinted Bodies

Interface

C++ Scheme Description
api_imprint solid:imprint Intersects two bodies and imprints the intersection graph on both bodies.
BoolOptions Bool_Options Specifies BoolOptions class and Scheme data type.
BoolOptions bool:options Constructs BoolOptions class and Scheme data type.
BoolOptions::get_imprinted_entities bool-options:get-imprinted-entities Returns the list of the imprinted entities on one of the bodies.
BoolOptions::get_associated_entities bool-options:get-associated-entities Returns the list of entities associated with a given entity for an imprinting operation.
Personal tools
Live