imprint_vector_projection#

Modeler3D.imprint_vector_projection(assignment: list, vector_points: list, distance: str | int, keep_originals: bool = True) bool#

Imprint the projection of objects over a sheet with a specified vector and distance.

Parameters:
assignmentlist

List of objects to imprint. The list can be of either Object3d objects or object IDs.

vector_pointslist

List of [x,y,z] vector projection.

distancestr, int

Distance of Projection.

keep_originalsbool, optional

Whether to keep the original objects. The default is True.

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.ImprintProjection

Examples

>>> from ansys.aedt.core.modeler.cad.primitives import GeometryModeler
>>> obj = GeometryModeler()
>>> obj.imprint_vector_projection(assignment="Box1", vector_points=[0, 0, 0], distance=1)