How to create elliptical arc with two points and center point.

How to create elliptical arc with two points and center point.

MarkJamesRogolino
Advocate Advocate
653 Views
6 Replies
Message 1 of 7

How to create elliptical arc with two points and center point.

MarkJamesRogolino
Advocate
Advocate

Hello, everyone. Now I wanna make a semi/quarter ellipse like following images, Hope to someone help me.

goldhorsemillion_0-1702722087859.png

Ellipse should be lied crookedly. And I know 2 points of this ellipse. Thanks in advance.

0 Likes
654 Views
6 Replies
Replies (6)
Message 2 of 7

hosneyalaa
Advisor
Advisor

Can you attached example drawing 

0 Likes
Message 3 of 7

MarkJamesRogolino
Advocate
Advocate

okay, you can find LEGENDS : table in this drawing.

0 Likes
Message 4 of 7

hosneyalaa
Advisor
Advisor

@MarkJamesRogolino 

SEE THIS

00.JPG

TRY

 

 

 

[CommandMethod("TEST")]
        public void Test()
        {
            var doc = Application.DocumentManager.MdiActiveDocument;
            var db = doc.Database;
            

            using (var tr = db.TransactionManager.StartTransaction())
            {
                var curSpace = (BlockTableRecord)tr.GetObject(db.CurrentSpaceId, OpenMode.ForWrite);

                Point3d cen = new Point3d(5156273.51 , -1187659.62 , 0 );

                Vector3d nor = Vector3d.ZAxis;

                Vector3d mAxis = new Vector3d(0.47 , -0.363 , 0);

                double rRatio = 0.2670;

                double stAng = -.66253;

                double enAng = 0.357;



                Ellipse ellipse = new Ellipse(cen, nor, mAxis, rRatio, stAng, enAng);

                curSpace.AppendEntity(ellipse);
                tr.AddNewlyCreatedDBObject(ellipse, true);

                tr.Commit();
            }
        }

 

 

 

7.gif

0 Likes
Message 5 of 7

MarkJamesRogolino
Advocate
Advocate

two points end ellipse.png

Thank you for your help. But can you find to make two ends of ellipse coincides to blue mark points?

 

 

0 Likes
Message 6 of 7

MarkJamesRogolino
Advocate
Advocate
I don't know meaning of mAxis(third parameter). Could you tell me ? Thank you again.
0 Likes
Message 7 of 7

hosneyalaa
Advisor
Advisor

Really I know a lot about ellipse

You can see this

 

https://help.autodesk.com/view/OARX/2022/ENU/?guid=OARX-ManagedRefGuide-Autodesk_AutoCAD_Geometry_El... 


It is possible if @_gile  has the time to help you and he has sufficient experience

0 Likes