Synopsis
CopiedCurve creates a copy of another curve. the copied curve can be repositioned and reoriented as needed by changing the frame. The resulting curve is fully usable in any way the original is.
Mixins
CurveMixin
InkStrokedMixin
BasePart
Canonicals
| Name |
Type |
Description |
| Part |
part |
Curve part to copy. |
Example 1
| Name: |
CopiedCurve_Ex01
|
| Design: |
Curves AcDrawingDocument
|
| Child Name: |
baseCurve
|
| Child Design: |
:SplineCurve
|
|
Name
|
Type
|
Supplied
|
| pointList |
list |
{Point(2, -2, 0), Point(4, 5, 0), Point(6, 6, 0), Point(8, 6, 0)} |
| color |
string |
"blue" |
| Child Name: |
original
|
| Child Design: |
:OffsetCurve
|
|
Name
|
Type
|
Supplied
|
| curve |
part |
baseCurve |
| offsetDistance |
Number |
0.75 |
| color |
string |
"red" |
| Child Name: |
copy
|
| Child Design: |
:CopiedCurve
|
|
Name
|
Type
|
Supplied
|
| part |
part |
original |
| origin |
Point |
origin + unitZ *0.2 |
| color |
string |