Skip to content

shspage/SHFXRegularPolygon_aip

Repository files navigation

SHFXRegularPolygon.aip

readme in japanese

SHFXRegularPolygon.aip is a plug-in for Adobe Illustrator 2020 (mac/win).

Adds an effect that converts the selected path to a regular polygon.

The function is rather simple, actually this repo is an example of creating a LiveEffect plugin configuration dialog with Dear ImGui .

How To Use

image
video - https://twitter.com/shspage/status/1256437710778036224

(The dialog in the video is from the initial version.)

Items in the Settings Window

  • scale(%) : Sets the zoom in/out ratio in percentages. (lower limit is 0.1)
  • angle : Sets the rotation angle.
  • vertices : Sets the number of vertices. (lower limit is 3)

Working Environment

Adobe Illustrator 2020 (mac/win)

Windows10 (win version)

Development Environment

Adobe Illustrator 2020 SDK
Xcode 10.1 / macOS 10.13 sdk / MacOS High Sierra

Visual Studio 2017 / Windows10

Build

Mac

Open myImGuiDialog_mac/myImGuiDialog.xcodeproj and build libmyImGuiDialog.a first. Then open SHFXRegularPolygon.xcodeproj and build SHFXRegularPolygon.aip

Windows

Open SHFXRegularPolygon.sln and build solution.
Projects will be built in the order of myImGuiDailog_win and SHFXRegularPolygon .

Note For Build

  • Place "SHFXRegularPolygon_aip" folder directly under Illustrator SDK's samplecode folder.
  • (Windows) To build with the attached project file, it is necessary to convert the character code of the source code (.cpp, .h, .hpp) from UTF-8 to Multibyte(cp932).

Installation

(After build) Place SHFXRegularPolygon.aip in the Adobe Illustrator plugin folder or additional plugin folder.

The next time Illustrator runs, the plugin will be loaded and "StayHomeFX" will be added to the "Effects" menu.

After selecting a path, select "Regular Polygon -SHFX" from the submenu to show the effect setting window.

Note: "StayHomeFX" is a temporary name, and will be changed to another one at a later date. The abbreviation SHFX remains the same.

License

MIT License
Copyright (c) 2020 Hiroyuki Sato
https://github.com/shspage
See LICENSE.txt for details.

This software depends on the following resources which may have the licenses differs from this software.

About

a Live Effect plug-in for Adobe Illustrator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages