Divooka Reference

OpenWeed

Usable

Parametric modeling with lists and trees of geometry, built on Divooka's exact CAD geometry

Guide on the Methodox Wiki

263 nodes in 15 categories

Ships with
Divooka ExploreDivooka Compute
Support tier
Tier 2 (proposed)
Package
CAD
CAD

Exact solids, surfaces and curves: sketches solved by their constraints, extruded or turned into solids, edges and faces chosen by what they are and filleted, shelled or cut, then sectioned and measured; and lists and trees of them, a node a step.

Weed Math

AbsoluteAbsolute value.AddAdds two numbers.AverageArithmetic average of a nonempty list.Bezier MapEvaluates a monotone-X cubic Bezier mapping from (0,0) to (1,1), solving X before returning Y; values outside [0,1] are rejected.BoundsReturns the smallest increasing interval enclosing a nonempty finite list.Consecutive DomainsAdjacent directed intervals from an ordered list; optional wrap connects last to first.CosineCosine of a radian angle.DivideDivides a by nonzero b; zero division is an explicit error.Divide NumbersDivides corresponding numeric items using longest-list matching.DomainConstructs a directed interval; decreasing domains are preserved.EqualExact numeric equality; no geometry tolerance is implicitly applied.Exclusive SumsRunning totals before each item, starting at zero; output count equals input count.Inclusive SumsReturns inclusive cumulative sums, matching the endpoints of additive consecutive domains.IntegerExposes an integer parameter for counts and indices.Integer SeriesProduces exact integer indices, for example pinned mesh vertices.Larger ThanCompares numeric values, optionally including equality.Mass AdditionSum of a list; an empty list has sum zero.MaximumReturns the larger numeric value.MinimumReturns the smaller numeric value.ModulusRemainder after division, with the dividend's sign.MultiplyMultiplies two numbers.NegativeNegates a number.NumberExposes a finite scalar parameter for reuse across graph operations.OffsetAdds a scalar offset to every finite list value.Partial SumsRunning totals including the first item.PiReturns a factor of pi.PowerRaises a number to an exponent, retaining IEEE NaN for an undefined real result.RadiansConverts degrees to radians.RangeGenerates steps + 1 evenly spaced values including both domain endpoints.RemapLinearly remaps a number between directed domains; values outside the source are extrapolated.Remap ClippedRemaps and clamps to the target domain, corresponding to the clipped output of Remap Numbers.Remap NumbersRemaps every value independently, preserving its order.SeriesGenerates count numbers starting at start and separated by step; zero count is empty.SineSine of a radian angle.Smaller ThanCompares numeric values, optionally including equality.Square RootSquare root, retaining IEEE NaN for a negative input.SubtractSubtracts b from a.SuperformulaEvaluates the polar superformula used by the tower study; n1, a and b must be positive.

Weed Planar Curves

CentroidComputes a closed planar profile's area centroid.CentroidsComputes the area centroid of each closed planar curve.CloseAdds a straight closing segment to each open curve; closed inputs are copied unchanged.CollectionCopies a single curve into a list.DifferenceSubtracts closed planar curve regions, retaining outer boundaries and holes as separate loops in each region's order.EndReturns the curve end point.End PointsReturns every start followed by every end, matching merged endpoint lists.EndsReturns the end of each curve in source order.ExplodeExplodes composite curves into their constituent segments, adding each curve's item index to the path.GraftCopies each profile into its own singleton branch.HeightsReturns world Y bounding extents of curves.Intersection ParametersReturns intersection parameters on the first curve, including both limits of overlapping intervals.ItemsReturns one curve per branch, with cyclic indexing so -1 selects the last section.Join BranchesJoins each branch independently and flattens the resulting curves in branch order.Lines BetweenCreates lines between longest-matched endpoint lists.Loft BranchesCreates one normal cubic loft per branch of ordered section curves.Loft Branches At ParametersLofts every branch at the same explicit section parameters, so common segment endpoints produce coincident patch boundaries.Mirror At XMirrors corresponding curves across YZ planes at supplied origins.Mirror ChordsMirrors each planar curve across the vertical plane through its endpoint chord.Move PointsMoves every point by a common vector.Move SectionsMoves each branch's curve items along Z by corresponding heights; list lengths must agree.Offset TowardOffsets each profile toward a matched side point at every supplied distance; each profile owns one branch of ordered sections.Orient Increasing XOrients an open curve from the endpoint with the smaller world X coordinate.Planar FacesCreates independent planar faces from closed profiles.Point YReturns world Y coordinates.Rotate At OriginsRotates copies around corresponding origins and angles using longest-list matching.ScaleUniformly scales a curve about a supplied center.Shatter ClosedSplits a closed curve into cyclic pieces; the original seam is joined through unless it is itself a cut.Sort Centroid YSorts closed profiles by their area centroid's world Y coordinate.Sort LengthSorts curves by measured arc length, retaining stable order for ties.StartReturns the curve start point.StartsReturns the start of each curve in source order.SublistExtracts an inclusive interval of list indices with strict bounds.Transpose SectionsTransposes segment items against the final section-path index: {A;B}(i) becomes {A;i}(B).Vectors BetweenConstructs vectors between corresponding points using longest-list matching.WidthsReturns world X bounding extents of curves.

Weed Geometry

AmplitudeSets vector length; negative amplitude reverses its direction.CircleCircle on a plane.Construct PlaneFrame from an origin and two independent direction vectors.DistanceEuclidean point distance.Divide CurveReturns count + 1 equal arc-length samples; closed curves include the repeated seam endpoint.Divide SurfaceDivides an untrimmed surface into (uCount + 1) branches of (vCount + 1) points.DotVector dot product.Evaluate CurveEvaluates the native curve parameter, without silently normalizing its domain.Evaluate LengthEvaluates arc length from the start.ExtrudeCreates an uncapped extrusion: a surface, open at both ends.Line SDLLine from start, direction and length.LoftCreates an uncapped normal loft through ordered sections.Move CurveMoves an independently owned curve.Move PointsMoves points using longest-list point/vector matching.PointConstructs a point from finite coordinates.PointsConstructs points using longest-list matching independently in x, y and z.Polar PointsCreates a polar point sequence, optionally repeating the first point to close it.RectanglePolyline rectangle from directed local X and Y domains, without corner fillets.Rotate CurveRotates a curve in a plane by a radian angle.Rotate VectorRotates a vector around a nonzero axis by a radian angle.Scale CurveNonuniformly scales a curve relative to a local plane.ShatterSplits a curve at native parameters strictly inside its domain.Unit XX-axis vector multiplied by factor.Unit YY-axis vector multiplied by factor.Unit ZZ-axis vector multiplied by factor.Vector Two PointsVector from first to second point, optionally unitized.XY PlaneXY plane with the supplied origin.

Weed Tree Geometry

Average PointsComputes the arithmetic point mean independently per nonempty branch.Control Point CurvesCreates one clamped NURBS from each control-point branch; these are control vertices, not interpolated samples.Cull Curve IndexRemoves one curve item per branch, appending the culling operation's item path.Cull Duplicate PointsRemoves points closer than tolerance within each branch, preserving the first representative and its order.Flatten CurvesCollects curves in numeric branch order for a subsequent explicit loft or other list operation.Flatten PointsCollects points in branch order.Move CurvesMoves matched curves by vectors, returning owned geometry.Move PointsMoves matched points by vectors.PlanesConstructs local frames from matched origins and X axes, with a shared independent Y direction.Point Branch CountReturns the number of point branches as one scalar.Point CountsReturns the number of points in each branch.Point ItemsSelects one point from each branch, retaining branch order in the flattened output.PointsConstructs points with longest item and branch matching across coordinates.PolylinesCreates a polyline per branch, optionally closing it with a final segment.Prefix PointsPrepends a common ancestor index to every point-tree branch.RectanglesConstructs local rectangles on every frame.Rotate CurvesRotates matched curves within their local planes.Scale CurvesScales matched curves in local X and Y, keeping local Z unchanged.Scale PointsScales points along world axes about matched centers.Simplify CurvesRemoves common leading path indices from a curve tree.Simplify VectorsRemoves common leading vector-path indices.Sort PointsSorts point items by corresponding numeric keys independently in each matching branch.Unit XScales the world X axis per factor, retaining branches.Unit YScales the world Y axis per factor, retaining branches.Unit ZScales the world Z axis per factor, retaining branches.Y CoordinatesExtracts world Y coordinates without changing point-tree paths.

Weed Tree Math

Weed Lists

AddGraph-friendly numeric longest-list addition.Cross ReferenceCombines every left item with every right item, with right varying fastest.Cull IndexRemoves indexed items; indices optionally wrap, and duplicates remove an item only once.Cull NumbersGraph-friendly numeric culling by a repeating mask.Cull PatternRetains items where the repeating mask is true.DispatchDispatches a list into the true and false sides of a repeating mask.ItemRetrieves an item with optional cyclic indexing; negative indices wrap only when wrap is enabled.LengthCounts all items in a numeric list.LongestCombines until the longer list ends, repeating the last element of the shorter list; either empty input gives an empty result.MergeConcatenates lists in supplied order; branch merging is handled separately by WeedTrees.Create.MultiplyGraph-friendly numeric longest-list multiplication.Number ItemGraph-friendly list item lookup.PartitionPartitions a list into consecutive blocks; the final block may be shorter.Reverse NumbersReverses the item order.ShiftPositive shifts move items toward the beginning; without wrapping, shifted-off items are discarded.Shift NumbersGraph-friendly cyclic numeric shift.ShortestCombines corresponding elements until the shorter input ends.SortStable ascending sort of values by equally sized numeric keys.Sort NumbersGraph-friendly ascending numeric sort.SplitSplits at a zero-based boundary; the boundary item belongs to the second list.WeaveWeaves lists by a repeating list-index pattern, skipping exhausted inputs.

Weed Geometry Lists

Weed Curve Lists

Weed Brep Lists

Weed Trees

Weed Meshes

Weed Patterns

Weed Physics

Weed Surface Trees

Weed Noise