Author of the article: Caspian
Source Website: https://blog.csdn.net/WangPaiFeiXingYuan
Introduction:
Use the UF_CURVE_create_ocf_feature function to create an "offset on face" feature.
Effect:
code:
#include "me.hpp"
#include <stdio.h>
#include <string.h>
#include <uf.h>
#include <uf_ui.h>
#include <uf_object_types.h>
#include <uf_modl.h>
#include <uf_curve.h>
#include <uf_sc.h>
#include <uf_disp.h>
#include <uf_obj.h>
#include <uf_undo.h>
static void doOffset(void)
{
int resp;
int rule_types[1];
int subtype;
int type;
double