|
|
@ -57,7 +57,8 @@ function CircleEnResToArc(enRes: PromptEntityResult)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (enRes.Entity instanceof Circle)
|
|
|
|
if (enRes.Entity instanceof Circle)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
let arc = new Arc(new Vector3(), enRes.Entity.Radius, 0, Math.PI * 2);
|
|
|
|
let an = angle(enRes.Point.clone().applyMatrix4(enRes.Entity.OCSInv)) + Math.PI;
|
|
|
|
|
|
|
|
let arc = new Arc(new Vector3(), enRes.Entity.Radius, an, an + 0.1);
|
|
|
|
arc.ApplyMatrix(enRes.Entity.OCS);
|
|
|
|
arc.ApplyMatrix(enRes.Entity.OCS);
|
|
|
|
arc.Center = enRes.Entity.Center;
|
|
|
|
arc.Center = enRes.Entity.Center;
|
|
|
|
enRes.Entity = arc;
|
|
|
|
enRes.Entity = arc;
|
|
|
|