# Is it possible to define a cross section in a .prc file?

 1. [FAQ](/faq)
2. »
3. [PDF and PRC Questions](/faq/pdf-and-prc-questions)

You can use the OdPrcFromCurvesSurface class, which implements the PRC\_TYPE\_SURF\_FromCurves type of .prc format and then do the following:

```
eval_point = first_curve.evaluate(param.u) + second_curve.evaluate(param.v) – origin;
```

Another way is to use a NURB surface (if you have code to convert a cross section surface to a NURB surface).

Please see the OdPrcCreate example application (Prc/Examples/OdPrcCreate):

- To get sample code for creating an object of the OdPrcFromFromCuresSurface class (example case is "BrepModelFromCurves").
- To get sample code for creating an object of the OdPrcNurbsSurface class (example case is "BrepModelNURBS").
