Jul 19, 2015
plainCanvas
I uploaded an add-on for Adobe Illustrator (CC 2014, 2015) which loads and executes Tool type script files using paper.js.
https://github.com/shspage/plainCanvas
You can export images drawn on it onto an artboard and also can import selected paths on an artboard onto it.
There're sample scripts that can be loaded in "scripts" folder.
I'm planning to add various type of scripts.
Jul 3, 2015
Distribute PointTexts by Anchor
Using Adobe Illustrator, assume that after you draw a table with point texts, and then you need to insert one more column, like above image. Modifying the frame is rather easy work. But how do you re-distribute the point texts?
If you use "Horizontal Distribute Space" button in Align palette, the result is "equally spaced" distribution (fig. A), which is not suitable in this case. Additionally, you may be annoyed selecting only text objects to distribute (without paths).
I don't know whether there is a tip for this kind of work, I wrote a script for a tentative solution.
download: aicc_script_distribute_pointtext_anchors_en.zip -> http://shspage.com/ex/files.html
This script distributes point texts in the selection horizontal or vertical, in equally space based on their anchor points. (fig. B) The objects rather than point text in the selection are ignored.
The orientation to distribute is determined automatically by the positions of the selected point texts. If the width of the rectangle which encloses all the anchor point of them is greater than its height, the orientation is horizontal. Otherwise, it's vertical.
* If the orientation is horizontal, vertical position is aligned to the position of the leftmost text object.(Topmost for vertical.) (select fig. C and run this script results fig.B)
If you don't want this behavior, open the script with text editor and modify the value of "opts.align" (at the beginning part of the script) to "false".
Subscribe to:
Posts (Atom)