formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Plain Object Construction
Description
Constructs an unfolded object from a source. origin, xaxis_pt and yaxis_pt specify the plane on which the unfolded object is placed. If passed as NULL, the xy plane is used. Since unfolding a smooth object usually results in several new objects, these objects are returned in an object list. Likewise, the text object which were created as labels are returned in an object list.
Plugin Prototype
fzrt_error_td fz_objt_cnstr_unfold_smooth(
fzrt_int | windex, |
src_obj, | |
origin, | |
xaxis_pt, | |
yaxis_pt, | |
opts, | |
obj_list, | |
text_list ) |
Parameters
windex [Input]
project window index
src_obj [Input]
source object
origin [Input, Optional]
The origin of the unfold operation
Default Value: {0.0,0.0,0.0}
xaxis_pt [Input, Optional]
The x axis point for the plane of the unfold operation
Default Value: {1.0,0.0,0.0}
yaxis_pt [Input, Optional]
The y axis point for the plane of the unfold operation
Default Value: {0.0,1.0,0.0}
opts [Input, Optional]
construction options. For defaults see fz_objt_unfold_parm_enum.
obj_list [Result]
a list with the unfolded objects. Note, that a single object usually unfolds into several new objects.
text_list [Result]
a list with the text objects, which were created as labels, if the label option is used.
Returns
Error codes
Availability
6.0.0.0
Example Files
See Also
,, fz_objt_cnstr_unfold_opts_get,
Function Set
Defined in