This more advanced tutorial demonstrates how to create a simple cabinet composed of three rectangular prisms, one each for the top, body, and cavity.
Create a rectangular prism (an extruded rectangle) to serve as the base of the cabinet. For now, the base is a solid object; later steps in the process will create a top for the cabinet and a cavity in the base.
To create a network that defines the rectangular prism:
Insert the following nodes to create a network as illustrated.
Use the Search functionality in the Resource Selector to help you find the nodes you need.
● Rectangle node: this serves as the shape on which the cabinet is based; its dimensions are defined by other nodes. The rectangle is wired to the Extrude node to define the profile to be extruded.
● Extrude node: with inputs from all the other nodes, this serves as the 3D base shape for the cabinet.
● Get XYZ node: this node reads the values provided by a 3D Point or 3D Vector node, and separates the values into the X, Y, and Z components.
● Point 2D node: The X and Y values are used to create a 2D point that defines the location of one corner of the rectangle.
● Three Pass nodes: these are wired to the width and height ports of the Rectangle node and to the top port of the Extrude node. Pass nodes simply send what goes into the node back out of the node. In this example, these nodes are only for organizational purposes.
Connect the wires as illustrated.
~~~~~~~~~~~~~~~~~~~~~~~~~