|
You can create your own custom tools by using the "Script" function installed in Shade3D. Shade3D not only has a standard user interface that can be executed from the "Script" menu, but also includes graphical user interfaces that work with features like the "3D Printing Assistant" to perform advanced and complex operations.
● Standard script: "Randomly create spheres"
Place a specified number of spheres, each with a specified size, at random locations |
● Standard function: "3D Printing Assistant"
Perform semi-automatic checks and repairs for various errors required for 3D printing
|
 |
 |
 |
 |
Writing scripts from scratch requires a great deal of knowledge, but most shapes created and edited in Shade3D can be automatically recorded in the "Script" window, and you can edit the recorded script to create an original script.
One operation records a script, but you can create more complex shapes and edit shapes with precise numerical values by recording and editing multiple operations.
This creates a sphere of a specified size at a designated location, and then generates a script that duplicates and moves it by a specified amount.
If you select "Record" in the "Script" window and perform the corresponding operations, the actions performed on Shade3D will be recorded as text within the "Script" window.
Because this script is written in the Python programming language, it may appear complex, but essentially, you only need to change the numerical values in the records to the desired values.
|
● Select "Record" |
 |
|
● Records the steps for creating a sphere |
 |
|
● Records operations related to horizontal movement of replicas |
 |
This operation allows you to create spheres of any size at any location and replicate or move them over any distance. Editing involves specifying the desired location, size, and distance.
The first line creates a sphere. Because the values were recorded after the creation command, it changes the origin to [0, 0, 0] and sets the size value to 200. The second line moves the sphere, changing the movement distance to 1000.
When you press the execute button in the script window, a sphere with a radius of 200 will be created at the origin, and then it will be copied and moved to a location 1000 units away.
|
By saving the created scripts to a designated location, they can be selected and executed from the "Scripts" menu. In Shade3D, some scripts are registered as standard scripts and are available for use.
In addition to Python, you can also use HTML and JavaScript to create scripts (window widgets) with interfaces like "3D Printing Assistant."
You can significantly improve your work efficiency by creating your own scripts and widgets, such as designing gears with different gear ratios, screws with varying diameters, and even generating multiple shapes simultaneously.
|
|
|
● Third-party "gradient creation" functionality
Set the specified color as the gradient for the selected shape. |
 |
 |
For detailed information on creating scripts, please refer to the "Shade3D" documentation. The basics and applications are explained in the "Tutorials" > "How to Customize?" section of the official website.
You can view manuals for scripts that can be used in Shade3D by going to "Support" > "Online Help" and "Shade3D Python Script Reference" on the "Shade3D Official Website."
|
Create scripts using the graphical user interface |
Using the separately sold "Block UI programming tool," you can create scripts with graphical user interfaces that incorporate a puzzle-like effect.
|
● "Block-based UI programming tool" |
● "Recorded samples"
Create a cube with a random size and assign it a random color. |
 |
 |
|