Hello dear plugins makers,
I was wondering if there were any plans to get access to the 3D transform properties of a scenenode in a next API update?
I went through the new API Reference but did not find any info yet.
Usecases
- As a designer, I would like to automate the creation of simple 3D objects (see xd forums) – currently it is quite tedious to create a simple cube (ie. see this youtube tutorial)
- As a designer not fully aware of XD possibilities, I do not perceive the many values of being able to manipulate 3D objects. A plugin that programatically creates cool 3D effects / transitions / objects for me would make adoption easier and give me more idea to use this nice set of features.
Thanks for your time
1 Like
Yes, 3D Transform properties (get and set) will be available to the plugin APIs in XD 40, coming soon. We will update the API documentation when it’s released. Here is a preview:
2 Likes
Thanks David!
This is pretty awesome
The plugin APIs for 3D Transform have been released and the documentation has been updated:
https://www.adobe.io/xd/uxp/develop/reference/SceneNode/#transform
1 Like
Awesome! Thanks
Do you plan to share a sample plugin using 3d transforms such as the one you screenshoted above ?
I don’t know about the “official” samples, but here is my test plugin that demonstrates each of the new APIs. To use:
- Install plugin in develop folder
- Create a new document
- Open the “Test 3D” plugin panel
- Press the “Add Squares” button
- Select all of the squares that were just created on the canvas
- Press the “Make Cube” button to see the magic happen
- Press the “3D Transforms” button in the TRANSFORM section of the property inspector
- Rotate the cube manually
- Optionally press the “View Scenegraph” button to see data about each square of the cube
Test3D.zip (4.1 KB)
2 Likes
Thanks for sharing @DavidXD – I think it will help beginners a great deal to work with 3D transforms in plugins with an existing sample that provides a cool result so quickly.
Here’s a quick video sample of the output used with Smart Animate:
1 Like