Skip to content

Artisan Grasshopper

Tools

7 components in Shanks › Tools.

Cut By Ring Size

Subtracts a cylinder of the ring diameter, along the Y axis, from breps, surfaces, SubDs and meshes

Nickname: Cut Ring Size · Tab: Shanks › Tools

Inputs

NameNicknameTypeAccessDefaultDescription
ObjectsObjectsGeometrylist—Breps, surfaces, extrusions, SubDs or meshes to cut
Ring DiameterDiameterNumberitem16.92Finger size diameter

Outputs

NameNicknameTypeAccessDescription
ResultResultGeometrylistCut objects (breps and meshes)
CylinderCylinderBrepitemThe cutting cylinder

Estimate Ring Size

Estimates the finger diameter of a ring (finger axis on Y, centred on the origin) from its inner gap

Nickname: Estimate Size · Tab: Shanks › Tools

Inputs

NameNicknameTypeAccessDescription
RingRingGeometrylistRing geometry: breps, surfaces or meshes

Outputs

NameNicknameTypeAccessDescription
DiameterDiameterNumberitemEstimated finger diameter (inner gap across X)
Height GapHeightGapNumberitemInner gap across Z (equals the diameter on a round hole)
CircumferenceCircNumberitemFinger circumference, diameter x pi
PointsPtsPointlistInner contact points: X-, X+, Z-, Z+
Is RingIsRingBooleanitemTrue when a plausible finger hole was found

Ring Curve

Create a base curve for shanks using FingerSize, Parameters, and Profile

Nickname: RingCurve · Tab: Shanks › Tools

Inputs

NameNicknameTypeAccessDescription
Ring Diameter (optional)DiameterNumberitemFinger size diameter
Parameters (optional)ParamsGenericitemRingCurve parameters
JSON (optional)JSONTextitemJSON definition of RingCurve

Outputs

NameNicknameTypeAccessDescription
Ring CurveCurveCurveitemResulting shank curve
RingCurveRingCurveRingCurveitemRingCurve object
DictionaryDictGenericitemDictionary with key/value pairs

Ring Cylinder

Creates a cylinder from a ring diameter and extrusion height

Nickname: RingCyl · Tab: Shanks › Tools

Inputs

NameNicknameTypeAccessDefaultDescription
Ring Diameter (optional)DiameterNumberitem17Ring inner diameter in mm
Extrusion (optional)ExtrusionNumberitem20Total extrusion height in mm (split equally above and below)

Outputs

NameNicknameTypeAccessDescription
CylinderCylBrepitemRing cylinder Brep
Base CircleCircleCurveitemBase circle at ring plane

Ring Extrude

Ring extruded from a frontal profile, shaped by a lateral profile: top, side and bottom lengths and thicknesses

Nickname: Ring Extrude · Tab: Shanks › Tools

Inputs

NameNicknameTypeAccessDefaultDescription
Ring DiameterDiameterNumberitem16.92Finger size diameter
Frontal Profile (optional)FrontalGenericitem—External ring profile Asset (Ring External Profile by Name / Asset Selector). Default: the default external profile
Lateral Profile (optional)LateralGenericitem—Ring side curve Asset. Default: the default side curve
Top LengthTopLNumberitemd.TopLengthLength of the top segment
Side LengthSideLNumberitemd.SideLengthLength of the side segments
Bottom LengthBottomLNumberitemd.BottomLengthLength of the bottom segment
Top ThicknessTopTNumberitemd.TopThicknessThickness at the top
Bottom ThicknessBottomTNumberitemd.BottomThicknessThickness at the bottom
HollowHollowBooleanitemd.IsHollowHollow the ring
SymmetrySymTextitemd.Symmetry.ToString()SYMMETRIC or ASYMMETRIC
Linear ThicknessLinearTNumberitemd.LinearThicknessLinear thickness (asymmetric mode)
AngleAngleNumberitemd.AngleAngle (asymmetric mode, degrees)
Advanced Top ThicknessAdvTopTNumberitemd.AdvancedTopThicknessTop thickness (asymmetric mode)
Advanced Lateral ThicknessAdvLatTNumberitemd.AdvancedLateralThicknessLateral thickness (asymmetric mode)
PlanePlanePlaneitemPlane.WorldXYRing plane

Outputs

NameNicknameTypeAccessDescription
BrepBrepBrepitemRing Brep
CurvesCurvesCurvelistConstruction curves
Magnet TopMagnet TopPointitemTop center of the bounding box
Magnet BottomMagnet Bot.PointitemBottom center of the bounding box

Scoop Ring

Hollows the selected faces of a ring brep over a central angle, leaving a wall and an optional liner

Nickname: Scoop Ring · Tab: Shanks › Tools

Inputs

NameNicknameTypeAccessDefaultDescription
RingRingBrepitem—Ring brep to scoop
FacesFacesIntegerlist—Indices of the faces to scoop away (the inner faces)
ThicknessTNumberitemd.ThicknessWall thickness left after scooping
Central AngleAngleNumberitemd.CentralAngleScooped angle at the bottom of the ring (degrees)
Transition AngleTransitionNumberitemd.TransitionAngleTransition angle at each end (degrees)
Transition InsetInsetNumberitemd.TransitionInsetInset of the transition
SmoothingSmoothIntegeritemd.SmoothingSmoothing of the scoop edge
LinerLinerBooleanitemd.LinerEnabledAdd a liner inside the scoop
Liner ThicknessLinerTNumberitemd.LinearThicknessLiner thickness
Liner SwapSwapBooleanitemd.LinerSwapSwap the liner side
PlanePlanePlaneitemPlane.WorldXYRing plane (the finger axis is its Y axis, like a ring built on World XY)

Outputs

NameNicknameTypeAccessDescription
RingRingBrepitemScooped ring
LinerLinerBreplistLiner breps (when enabled)
RemovedRemovedBrepitemThe scooped-away volume
Inner CurvesInnerCurvelistInner scoop curves
Outer CurvesOuterCurvelistOuter scoop curves

Ring Curve - Parameters

Parameters for RingCurve (Type, Bypass, Shape, etc.)

Nickname: Ring Curve Params · Tab: Shanks › Tools · In the tab’s dropdown, not on the ribbon face

Inputs

NameNicknameTypeAccessDefaultDescription
TypeTypeTextitemCLOSECurve type (CLOSE, OPEN, BYPASS, SHAPE)
Opening LengthOpenLenNumberitem5Opening length
Bypass Opening LengthBypLenNumberitem14Bypass opening length
Bypass AngleBypAngNumberitem0Bypass angle
Bypass Offset XBypXNumberitem2Bypass offset in X
Bypass Offset YBypYNumberitem2Bypass offset in Y
Bypass TangentBypTanNumberitem1Bypass tangent
Shape Opening LengthShpLenNumberitem14Shape opening length
Shape TypeShpTypeTextitemROUNDShape type (ROUND, SQUARE, etc.)
Shape WidthShpWNumberitem6Shape width
Shape HeightShpHNumberitem4Shape height
Shape DiameterShpDNumberitem5Shape diameter
Shape OffsetShpOffNumberitem1Shape offset
Shape Move ZShpZNumberitem2Shape move in Z
Shape Start CircleShpStartNumberitem0.3Shape start position on circle
Shape End CircleShpEndNumberitemMath.PI - 0.3Shape end position on circle

Outputs

NameNicknameTypeAccessDescription
RingCurve ParamsParamsGenericitemDictionary of RingCurve parameters