Operation
Operations are little computational machines that take drafts as inputs, do something to them, and then spit them out as new and different, drafts. An operation consists of several parts: inlet(s), parameters, and a resulting draft with an outlet. Chaining operations together creates a dataflow
Understanding Operations​
You can think of AdaCAD Operations as guitar effects pedals. Just as a guitar effects pedal takes a sound signal into an input port, modifies it based on the value of the knobs and the internal hardware of the pedal, and outputs the modified sound via the output port, operations in AdaCAD take drafts into their "inlets", modify those drafts according to the operation's code and user specified parameters and outputs the modified draft via the "outlet". And just as multiple guitar pedals can be chained together to further augment the sound, AdaCAD operations can be chained together to further augment the drafts.
The figure below shows how this interaction takes place within the AdaCAD workspace with the stretch. The stretch operation pictured below receives the input draft into it's inlet. The user then changes "warp-repeats" and "weft-repeats" parameters to indicate the number of time they want each warp end and weft pic to be repeated. When the value of the parameter changes, AdaCAD update the output draft.
Kinds of Operations​
AdaCAD currently offers over 60 different operations. You can explore every operation by vising Reference->Operations(A-Z) in the sidebar on the left of the page. Operations are organized into different categories based on their typical use within a drafting process. These categories are also color-coded on the interface.
- Structure (Orange) Operations: such as tabby, twill, and satin generate structures that obey the rules of a given family.
- Transformation (Tan) Operations: such as invert, shift, and make symmetric modify an input draft according to the specific rules of the transformation applied.
- Cloth (Dark Green) Operations: such as rectangle, tile, and image map are intended to be used to arrange and/or repeat different structures across the surface of a cloth.
- Compound (Bright Green) Operations: such as interlace wefts, assign draft to systems, and splice in pics support joining different structural elements together into compound weave structures characterized by the use of multiple weft and warp systems and/or layers.
- Dissect (Blue) Operations: such as deinterlace wefts, split a single draft into multiple drafts according to some criteria.
- Compute (Deep Violet) Operations: such as overlay and overlay, apply different forms of computational, binary, and/or mathematical functions to the modification of drafts.
- Helper (Violet) Operations: such as selvedge automate common drafting techniques to ensure good woven and cloth structure.
- Color Effects (Magenta) Operations: such as set weft materials allow you to specify materials in order to describe different color effects on the woven cloth
- Drafting Styles (Camel) Operations: such as make drawdown from threading, tieup, and treadling allow you to convert of one style of drafting to another, based on the requirements of specific equipment
Understanding the Parts of an Operation​
Inlets​
Inlets allow you to add drafts to an operation, so they can be modified according to the operations parameters and code. You connect a draft to an inlet by clicking the outlet of one node and connecting it to the inlet of an operation. Some operations have
Parameters​
Under the name of the operation, in this case set materials and systems
there is a list of parameters that are provided to the operation to inform the draft it will create.
Output Draft​
Under the parameters, you can see the draft that is generated by this operation.
Outlet​
If you want to use this draft as the input of another operation you can connect its outlet, shown here, to the inlet of a different operation to make a connection. You can connect a single outlet to multiple inlets. To make a connection, you click on the outlet first, then click on the inlet you want it connected to.