Create your own dedicated tools |
The "Script" function included in Shade3D allows users to create their own custom tools. Shade3D comes standard with a variety of options, ranging from scripts that can be executed directly from the "Script" menu, to more advanced and complex functions like the "3D Print Assistant," which provides a graphical user interface for performing sophisticated operations.
● Standard script: "Create spheres randomly"
Place spheres of a specified size within a designated area at a random number of locations
We will create it. |
● Standard feature: "3D Print Assistant"
Automatically perform various error checks and repairs required for 3D printing, with some manual intervention
It will be conducted. |
 |
 |
 |
 |
Creating scripts from scratch requires considerable knowledge, but many of the shape creation and editing operations performed in Shade3D can be automatically recorded in the "Script" window. You can then edit these recorded scripts to create your own original scripts.
A single operation records 1 script, but by recording and editing multiple operations, you can create scripts that generate more complex shapes or allow for the creation and modification of shapes with precise numerical values.
Here, we will create a script that generates spheres of a specified size at a designated location and then duplicates and moves them a specified number of times.
In the "Script" window, if you check the box labeled "Record" and perform the corresponding operation, the operations related to Shade3D will be recorded as text in the "Script" window.
The script is written in Python, a programming language, so it may appear complex, but essentially it involves modifying recorded numerical values to the required values.
| ● Check the "□ Record" box |
 |
| ● Records the operation of creating 1 sphere |
 |
| ● Records the operation of copying and moving objects horizontally |
 |
The operation involves creating spheres of any size at arbitrary positions and then replicating and moving them. This process is then refined to replicate and move spheres of specified sizes to designated positions at specified distances.
The first line creates a sphere; the numerical values following the creation command represent its coordinates, so change these to the origin [0, 0, 0] and modify the size value to 200. The second line moves the sphere; change the movement distance to 1000.
When you press the "Run" button in the script window, a sphere with a radius of 200 is created at the origin, and a copy of it is moved to a location 1000 units away.
|
The script you create can be saved to a specified location, allowing you to select and run it from the "Script" menu. Shade3D comes with several scripts pre-registered by default.
In addition to Python, you can create scripts (widgets) with interfaces similar to a "3D printing assistant" using HTML and JavaScript for creating web pages.
Creating gears with different gear ratios, screws with different diameters, and generating multiple shapes simultaneously allows you to create custom scripts and widgets that can significantly improve work efficiency.
|
|
|
● Third-party software for creating gradient colors
It sets a gradient with the specified hue for multiple selected shapes. |
 |
 |
For information on creating scripts, please refer to the "Tutorials" section of the "Shade3D Official Website," specifically the page titled "How about customization?" which covers everything from basic to advanced techniques.
The manual for scripts that can be used with Shade3D is available on the "Shade3D Official Website" under "Support" > "Online Help," specifically in the "Shade3D Python Script Reference" section.
| Create scripts using a graphical interface |
By using the separately sold "Block UI Programming Tool," you can create scripts through a graphical interface that resembles assembling puzzle pieces.
| ● "Block-based programming tool" |
● "Included samples"
It creates cubes of random sizes and assigns them random colors. |
 |
 |
|