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 .
video -
https://twitter.com/shspage/status/1256437710778036224
(The dialog in the video is from the initial version.)
- 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)
Adobe Illustrator 2020 (mac/win)
Windows10 (win version)
Adobe Illustrator 2020 SDK
Xcode 10.1 / macOS 10.13 sdk / MacOS High Sierra
Visual Studio 2017 / Windows10
Open myImGuiDialog_mac/myImGuiDialog.xcodeproj and build libmyImGuiDialog.a first. Then open SHFXRegularPolygon.xcodeproj and build SHFXRegularPolygon.aip
Open SHFXRegularPolygon.sln and build solution.
Projects will be built in the order of myImGuiDailog_win and SHFXRegularPolygon .
- 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).
(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.
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.
-
Dear ImGui : Copyright (c) 2014-2020 Omar Cornut
Licensed under the MIT License
https://github.com/ocornut/imgui -
Adobe Illustrator 2020 SDK
Copyright (c) 2020 Adobe. All rights reserved.
https://www.adobe.io/