OpenWeed
UsableParametric modeling with lists and trees of geometry, built on Divooka's exact CAD geometry
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
AbsoluteComputes absolute values, preserving paths.AddAdds matched items.Branch CountReturns the number of branches as a scalar tree.CosineComputes cosine in radians, preserving paths.DivideDivides matched items, rejecting zero denominators.DomainsConstructs directed intervals from matched endpoints.FlattenReturns all values in branch order for inspection or scalar-list APIs.LengthsReturns each branch's item count without changing its path.Less ThanReturns numeric 1 for values below threshold and 0 otherwise, preserving branches.MaximumApplies a lower bound independently to each value.MultiplyMultiplies matched items.NegativeNegates values, preserving paths.NotInterprets zero as false and nonzero as true, returning the negated gate as numeric 0 or 1.PiMultiplies each value by pi.PowerRaises matched bases to exponents, rejecting non-finite results.PrefixPrepends a common ancestor index to every branch path without changing item order.RadiansConverts degrees to radians.RangeProduces steps+1 values in each directed domain, with one child branch per matched request.SeriesAppends an item index for each generated list, as an item-access component with list output does.SineComputes sine in radians, preserving paths.Square RootComputes real square roots, rejecting negative inputs.SubtractSubtracts matched items.ValueCreates one numeric value at path {0}.ValuesCreates a numeric list at path {0}.
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
AmplitudesSets each vector's signed amplitude.AssemblyCollects independently modeled bodies as an assembly.Boundary RegionsClassifies nested planar loops independently in each branch, preserving holes and disconnected regions.DifferenceSubtracts every cutter from each subject independently; all disconnected result bodies are retained in the subject's output model.DuplicateDuplicates a curve the requested number of times.Evaluate LengthsEvaluates normalized arc length on each curve.Extrude CurvesExtrudes each profile independently with a common direction.Extrude RegionsExtrudes every region, keeping each input branch's independent bodies together.LinesConstructs lines from matched starts and directions.Move CurvesMoves matched curves by corresponding vectors.Move ModelsMoves models by longest-matched vectors without combining their identities.Pair BranchesMerges corresponding curve items into two-item branches with longest-list matching.PolygonConstructs a regular polygon whose first vertex lies on the plane's positive X axis.Polyline SegmentsReturns straight segments of a degree-one polyline in its original order.Rotate CopiesRotates independently owned copies through a list of angles.Rotate VectorsRotates vectors around a common axis.Sweep Line BoundariesConstructs the closed boundary of each line swept by its matched vector.TangentsEvaluates unit tangents at normalized arc lengths.Z VectorsConstructs world Z vectors from a list of heights.
Weed Curve Lists
Alternating BranchesSelects alternating branches, retaining their paths and copying curve geometry.Alternating PointsSelects alternating point items in each branch, starting with even indices when first is true.Bounds CenterReturns the center of the accurate union bounding box of a nonempty curve list.Control PointsReturns the control vertices of each curve in its own child branch.Cull Point IndexRemoves one point index from each branch, appending the single index-operation output path.Extrude GroupsExtrudes each curve-group branch along Z by its corresponding height, keeping open profiles uncapped.InterleaveInterleaves two equally sized lists, equivalent to merging paired singleton branches and then flattening.ItemReturns a curve from a list using cyclic or strict indexing.MergeConcatenates two curve lists in source order.Mirror XMirrors a curve across the world YZ plane.Move Groups XMoves each curve-group branch along X by its corresponding distance.Rectangular CellsConstructs rectangular cells in the XY plane, one branch per X column and Y varying inside each branch.Scale Groups XCopies a curve group for each X scale factor around a supplied center; each transformed group occupies one branch.VerticesReturns a curve's control vertices, optionally reversing their order explicitly.WidthsReturns the accurate X extent of each curve-group branch.
Weed Brep Lists
Add VectorsAdds matched displacement vectors.AreasComputes the trimmed area of each model item.FacesExtracts all trimmed faces into one branch per input model.FramesEvaluates the underlying parameter frame of each single-face model at normalized coordinates; trimmed topology stays on the source model.HeightsReturns each model's world Y bounding extent.ItemsSelects one item from each model branch in branch order.Move CopiesTranslates one assembly independently by every supplied displacement.OrientOrients matched models from local source frames onto one destination frame.Reverse YReverses each plane's Y axis, which also reverses its normal.Scale ModelsScales matched assemblies about world-axis frames at supplied centers, preserving Z unless requested otherwise.SortSorts each model branch by supplied area or other numeric keys; reversing is explicit.WidthsReturns each model's world X bounding extent.X VectorsConstructs X-axis displacement vectors.Y VectorsConstructs Y-axis displacement vectors.
Weed Trees
AddGraph-friendly numeric longest-tree addition.CreateCreates a tree in numeric lexicographic path order, concatenating duplicate branches in input order.Flatten NumbersGraph-friendly numeric flattening into {0}.Flip MatrixTransposes a rectangular tree: item indices become branches; ragged input is rejected instead of inventing nulls.Flip NumbersGraph-friendly rectangular numeric transpose.Graft NumbersGraph-friendly numeric graft, appending the item index to each source path.MatchMatches two item-access trees using longest branches and longest lists.NumbersCreates a numeric tree with sorted, merged paths.SimplifyRemoves common leading indices while retaining at least one index in each path.Simplify NumbersGraph-friendly removal of common path prefixes.Trim PathsRemoves trailing path indices and merges resulting branches.
Weed Meshes
AreaTotal mesh surface area in squared model units.Catmull ClarkCatmull-Clark subdivision with cubic boundary rules.CollectionWraps an owned mesh copy as a one-item collection.From PointsCreates an open quad mesh from a U-major rectangular point grid; optional V wrapping closes a periodic seam without duplicate vertices.From TreeCreates a quad mesh from a rectangular point tree in its supplied branch order.JoinCombines meshes without welding or changing vertex order.MergeCombines two meshes without welding or discarding disconnected components.Plane GridConstructs a regular quad grid on a plane over the given local domains.Read ObjReads an OBJ mesh through the existing geometry importer; disconnected components are preserved.TriangulateSplits every quad along its shorter diagonal, choosing A-C on ties.WeldReturns an independently owned mesh with merged nearby vertices.
Weed Patterns
Extrude ProfilesExtrudes each supplied profile by the same vector; closed profiles may be capped explicitly.PipesBuilds solid round rails from curves, preserving independent bodies for fabrication or assembly.Pointed ArchTwo straight legs and two interpolated upper ribs form a pointed arch; span and rise are model dimensions.Profile SkinBuilds a periodic quad skin from equal parameter samples on ordered closed profiles.Repeat CurveCopies a profile along a vector at every distance, preserving input order.Repeat CurvesCopies a family of curves at each distance, with curve index varying fastest.Superformula ProfilesClosed superformula profiles at given heights, with linear taper and rotation in radians per model unit.Wave GridSamples a sinusoidal height field on a U-major rectangular grid for mesh and subdivision studies.Wave ProfileSamples a sine-displaced closed strip in the XZ plane, for extruded fins and rib studies.Wave ProfilesCreates a row of independently phased wavy profiles translated along X.
Weed Physics
AdvanceAdvances an immutable snapshot by additional frames, preserving particle positions, velocities, rest lengths, fixed anchors and the original integration settings.MaterialConstructs material values.MeshReturns an owned preview mesh from a simulation result.ResetCreates a rest-state snapshot.SetupCopies a cloth mesh, optional fixed vertex indices, fixed obstacle meshes and a uniform force per particle.SimulateRuns deterministically from the setup's rest state for a fixed frame count.