Dec 6, 2013

handleGlue Extension 1.1.0 for AiCC


Assume you want to draw a shape like this with Adobe Illustrator.
You may think it's troublesome to connect the side lines smoothly with ovals.

This is a HTML5 extension for Adobe Illustrator CC that it can be a relief in such case.


It moves the selected end points of the foreground open path to the nearest point on the other selected paths.



How To Use : Select paths (anchor points to glue and the segments to glue to) and hit Run button.

You can set 3 optional values by editing the script.


mode "nearest" : moves the selected end points of the foreground open path(s) to its anchor point's nearest point on the other selected segments.
The handle is rotated to the tangent's angle at the point.

mode "angle" : moves the selected end point of the foreground open path(s) to its inner handle's nearest tangent point on the other selected paths.
If the segment is straight, (and the handle of selected point is parallel to it), selected end point is moved to its nearest point on it.

"multi" checkbox : If checked, it moves all the open path in the selection. Otherwise, it moves only the foreground open path.
If checked and all the selected paths are open path, the last (most background) path is treated as "the other path".

"add anchor" checkbox : If checked, it adds an anchor point at the point on the path that the selected anchor moved to.

"Undo" button performs undo.  I placed this button because the keyboard-event is caught by panel and doesn't reach to application during the panel activated.
After undo, all the anchor points are selected.  So "Run - Undo - Run" sequence can cause an unexpected result.

Note 1: Works only on Illustrator CC (or later?)

Note 2: A warning dialog will appear during installation since the embedded certificate is self-signed. Continue installation if you trust me :)

The envisioned usage of this extension is, so to speak, drawing roughly and snapping tight with easy action.  So please don't use this for the purpose like accurate measuring of the nearest point.


download: aicc_ext_handleGlue110.zip
download: aicc_ext_handleGlue111.zip / 2013.12.07 fixed a bug
download: aicc_ext_handleglue112.zip / 2013.12.07 embeded small icons. added an alert when no anchor is selected in the target path.

download: handleGlue 1.1.3 / 2013.12.10 The link is the description page on Adobe Exchange.  You can install it from Adobe Exchange panel under Windows menu of AiCC / modified to remove outside handles in "angle" mode. fixed typo in messages.

Tested: Adobe Illustrator CC (Win/Mac)

Distributed under the MIT License.
See the license notice during installation for details.

Nov 24, 2013

new Layer Extension for AiCC (ver.1.2.1)


This is a modified version of Adobe Illustrator CC Extension I posted previous time.  This extension adds a new layer of custom selection mark color above the active layer.

It uses Brackets and CC-Extension-Builder-for-Brackets.
(ref: http://davidderaedt.github.io/CC-Extension-Builder-for-Brackets/)

I rearranged the buttons in one line for the usage of attaching this panel to the bottom of the layer palette.

The "auto" button sets the color according to the neighboring layers.  Other color chip buttons set the color of each button.
When the checkbox is checked, each button changes the current layer's color instead of adding new layer.  The checkbox gets unchecked when mouse leaves from the panel.

The bundle ID has changed from the previous version.  Please remove the previous version before you install this version.

download: aicc_ext_newLayer121.zip -> http://shspage.com/ex/files.html

Tested: Adobe Illustrator CC (Win/Mac)

Distributed under the MIT License.
See the notice during the installation for details.

Nov 17, 2013

new Layer Extension for AiCC

This is my second project in Adobe Extension Builder 3 PREVIEW.  The first was "Demo" that had a "Hello Illustrator" button.  I found this is a quite easy tool to assign scripts to a palette.


The "auto" button creates a new layer above the active layer.  Its selection mark color is one of the colors below the button.  The colored buttons creates a new layer that has each button's color.

download: aicc_ext_newLayer.zip -> http://shspage.com/ex/files.html

Tested: Adobe Illustrator CC (Win/Mac)
Free to use and distribute. No warranty.

Feb 10, 2013

dupAlongThePath.jsx


Added a script for Illustrator dupAlongThePath.jsx to my Github repository.

This script duplicates the foreground selected object on the rest of selected paths with specified interval.

It is similar to the script "Dup At Selected Anchors.jsx" I uploaded before.  But this one duplicates the object along the path in equally interval regardless of the anchor points.
In addition, the duplicated objects are rotated to the normal direction of the path.  And they are scaled with the specified range.  Set 0 for the fluctuation range if you don't want to scale them.

I'm not sure whether we can get this kind of result by Brush tool.  At least, with Brush tool, we can't limit the scale direction of each duplicated object only toward x or y axis. (I'm not also confident about it.)  Anyway, I'm sure I can use the each part of internal process for the other various purposes in the future.

Visit the following page to view the code.


Note:
The rotation is processed according to the angle of the line connecting the previous and next duplicate points. So the object isn't duplicated at the both end points of the open path.

Jan 27, 2013

grass.jsx


Added a script for Illustrator grass.jsx to my Github repository.

Visit the following page for details.



Note:
This is a script ported from the script I wrote for Scriptographer(Sg) once. It took about a hundred lines to implement the part I had been able to write shortly with Sg function getPositionWithLength. It would be better if I could use paperjs on Illustrator. Even better thing is to get rid of Illustrator as an only tool for vector graphics.

Jan 24, 2013

batchTextEdit.jsx


Added a script for Illustrator batchTextEdit.jsx to my Github repository.

Visit the following page for details.



Note:
I stumbled when I found I couldn't input the return code in the edittext control.  It seems it is a FAQ.  I had to hit Ctrl + ENTER to do it.  In CS6, there's a new attribute "wantReturn" and I can do it just hit ENTER if it is set to true.