-
Notifications
You must be signed in to change notification settings - Fork 0
Gallery
a. shows a mesh node that is graded with two materials
b. shows a screwdriver that consists of a mesh node and graded with three materials
c. shows a soft actuator that consists of a functional geometry node and graded with three materials
d. shows a mug that is designed using multiple functional geometry nodes and boolean operations
See the full paper for more detail
OpenVCAD's functional geometry node is well suited to express triply periodic geometry like the gyroid pattern in the figure below. Functional patterns can be clipper with a boundary mesh to form infill patterns. Additionally, geometric features can be parameterized on spatial location. In the below example, the unit cell size is linearly decreased along the x-axis. The example was generated using 8 line OpenVCAD script.
root((-23, -5, -1), (23, 5, 3), (0.05, 0.05, 0.05)){
fgrade(["0.021739 * x + 0.5", "-0.021739 * x + 0.5"], ["red", "blue"], "prob"){
intersection(){
mesh("OpenVCAD-Examples/multi-material/wing/wing.stl", "red");
function("sin(((2 * pi) / (-0.06304347 * x + 1.55)) * x) * cos(((2 * pi) / (-0.06304347 * x + 1.55)) * y) +
sin(((2 * pi) / (-0.06304347 * x + 1.55)) * y) * cos(((2 * pi) / (-0.06304347 * x + 1.55)) * z) +
sin(((2 * pi) / (-0.06304347 * x + 1.55)) * z) * cos(((2 * pi) / (-0.06304347 * x + 1.55)) * x)", "red");
}}}