# DeformCurve (Graphics)

Model ElementThe DeformCurve element allows you to represent a curve defined in the model as a DeformableCurve element. The graphic is defined by a number of straight line segments connecting vertices on the curve defined by DeformableCurve reference.

DeformCurve

## Attribute Summary

Name Property Modifiable by command? Designable?
dcurve Reference(DeformableCurve) No Yes
seg Int()
color String()
hidden Bool() No

## Usage

DeformCurve(dcurve=DeformableCurve())

## Attributes

dcurve
Reference(DeformCurve)
The deformable curve entity represented by this graphic object. This attribute is mandatory.
seg
Int()
Specifies the number of segments used to represents the Deformable Curve.
color
String()
The color of the graphic for H3D animation. Specified as RGB (Red : Green : Blue).
hidden
Boolean
Specifies weather the graphics is being written to the H3D file or not.
• True implies that the graphic is hidden and is not written to the H3D file.
• False implies that the graphic is not hidden and is written to the H3D file.
This attribute is optional. When not specified, it defaults to False.

## Comments

1. See Properties for an explanation about what properties are, why they are used, and how you can extend these.