Skip to main content
Known Participant
August 1, 2026
Question

How I do more than 1000 sides polygon in illustrator?

  • August 1, 2026
  • 18 replies
  • 70 views

Allo

I study Sun O. For this study I do polygons with thousands millions billions or more dimensions or lines.

illustrator has limit of 1000 sides. How I do polygons with more sides?

 

🌞

    18 replies

    Dave Creamer of IDEAS
    Community Expert
    Community Expert
    August 1, 2026

    How large is this chiliagon? Won’t it visually appear as a circle? Based on AI Overview, it would need to be 187 ft (57 meters) to see the edges at 10 inches. (Did not verify.)

    David Creamer: Community Expert (ACI and ACE 1995-2023)
    Known Participant
    August 1, 2026

    I do in maximum size canvas 5779 cm 0.01pt lines or dimensions. How I do more sides? 

    Dave Creamer of IDEAS
    Community Expert
    Community Expert
    August 1, 2026

    I google this: 

    adobe illustrator polygon with more than 1000 sides script

    and it created a script for me that worked in my quick tests. (I did not count the number of sides but it was a lot!)  I’ve copied it below in case you get different results. 

    Save as [filename].jsx and run with File>Scripts>Other Scripts. 

     

     

    #target illustrator
    function createManySidedPolygon() {
        if (app.documents.length === 0) {
            alert("Please open a document first!");
            return;
        }
        
        // Prompt for number of sides and radius
        var numSides = parseInt(prompt("Enter number of sides (e.g., 1500):", "1500"));
        var radius = parseFloat(prompt("Enter radius in points (e.g., 200):", "200"));
        
        if (isNaN(numSides) || numSides < 3 || isNaN(radius) || radius <= 0) {
            alert("Invalid input.");
            return;
        }
        
        var doc = app.activeDocument;
        var center = [doc.views[0].centerPoint[0], doc.views[0].centerPoint[1]];
        
        var pathItem = doc.pathItems.add();
        var points = [];
        
        for (var i = 0; i < numSides; i++) {
            var angle = (2 * Math.PI * i) / numSides;
            var x = center[0] + radius * Math.cos(angle);
            var y = center[1] + radius * Math.sin(angle);
            points.push([x, y]);
        }
        
        for (var j = 0; j < points.length; j++) {
            var p = pathItem.pathPoints.add();
            p.anchor = points[j];
            p.leftDirection = points[j];
            p.rightDirection = points[j];
            p.pointType = PointType.CORNER;
        }
        
        // Close the path
        pathItem.closed = true;
        pathItem.stroked = true;
        pathItem.filled = false;
    }

    createManySidedPolygon();
     

    David Creamer: Community Expert (ACI and ACE 1995-2023)