formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Generative Objects

# fz_map_curves_to_pspace

Description

Maps curves to the parametric space of a surface

Plugin Prototype

fzrt_error_td fz_map_curves_to_pspace(

fzrt_int | windex,
fz_objt_ptr * | source_obj_list,
fzrt_int | num_source_objs,
fz_objt_ptr | surface_obj,
fzrt_int | surface_findx,
double | left_margin,
double | right_margin,
double | top_margin,
double | bottom_margin,
fzrt_int | u_copies,
fzrt_int | v_copies,
fzrt_boolean | imprint,
fz_objt_ptr * | output_obj )

Parameters

windex [Input]

Project window index

source_obj_list [Input]

Array of curve objects to map

num_source_objs [Input]

Number of source objects

surface_obj [Input]

Object to be used to define surface

surface_findx [Input]

Index of object face to be used to define surface

left_margin [Input]

Amount of empty space padding proportional to the X extent of the source objects to add on the negative U boundary of the surface.

right_margin [Input]

Amount of empty space padding proportional to the X extent of the source objects to add on the positive U boundary of the surface.

top_margin [Input]

Amount of empty space padding proportional to the Y extent of the source objects to add on the positive V boundary of the surface.

bottom_margin [Input]

Amount of empty space padding proportional to the Y extent of the source objects to add on the negative V boundary of the surface.

u_copies [Input]

Tile the mapping in the U direction for the specified number of copies.

v_copies [Input]

Tile the mapping in the V direction for the specified number of copies.

imprint [Input]

TRUE indicates mapping should be imprinted on target surface or face, otherwise a new surface is created.

output_obj [Result]

Output object

Returns

Error codes

Availability

8.5.0.1

Function Set

fz_model_fset

Defined in

fz_objt_gend_api.h