package
0.0.0-20250127165859-030b425ef91c
Repository: https://github.com/deadsy/sdfx.git
Documentation: pkg.go.dev
# Functions
AddTabs to an upper or lower object.
Angle2D returns a 2d angle profile.
Angle3D returns a piece of 3d angle.
Arrow3D returns an arrow.
Axes3D returns a set of axes for a 1, 2 or 3d coordinate systems.
Bolt returns a simple bolt suitable for 3d printing.
BoltCircle2D returns a 2D profile for a flange bolt circle.
BoltCircle3D returns a 3D object for a flange bolt circle.
ChamferedCylinder intersects a chamfered cylinder with an SDF3.
ChamferedHole3D returns the SDF3 for a chamfered hole (45 degrees).
CounterBoredHole3D returns the SDF3 for a counterbored hole.
CounterSunkHole3D returns the SDF3 for a countersunk hole (45 degrees).
DirectedArrow3D returns an arrow between points head/tail.
DrainCover returns a grated drain pipe cover.
DroneMotorArm returns a drone motor arm.
DroneMotorArmSocket returns a socket for a drone motor arm.
EuroRackPanel2D returns a 2d eurorack synthesizer module panel (in mm).
EuroRackPanel3D returns a 3d eurorack synthesizer module panel (in mm).
FingerButton2D returns a 2D cutout for a finger button.
Geneva2D makes 2d profiles for the driver/driven wheels of a geneva drive.
GfBase returns a Gridfinity base grid.
GfBody returns a gridfinity body.
Hex2D returns a 2d hexagon with rounded corners.
Hex3D returns a 3d hexagon with rounded corners.
HexHead3D returns the rounded hex head for a nut or bolt.
ImportSTL converts an STL model into a SDF3 surface.
ImportTriMesh converts a triangle-based mesh into a SDF3 surface.
InvoluteGear returns an 2D polygon for an involute gear.
Keyway2D returns the 2d profile of a shaft and keyway.
Keyway3D returns a shaft and keyway.
Knurl3D returns a knurled cylinder.
KnurledHead3D returns a generic cylindrical knurled head.
NewAngleTab returns a new angle tab object.
NewScrewTab returns a new screw tab object.
NewStraightTab returns a new straight tab object.
Nut returns a simple nut suitable for 3d printing.
Panel2D returns a 2d panel with holes on the edges.
Panel3D returns a 3d panel with holes on the edges.
PanelBox3D returns a 4 part panel box.
PanelHole3D returns a panel hole and an indent for a retention pin.
Pipe3D returns a length of pipe.
PipeConnector3D returns an n-way female pipe connector.
PipeLookup returns the parameters for a named pipe.
Servo2D returns a 2D cutout model for servo mounting.
Servo3D returns a 3D model for a servo.
ServoHorn returns a 2D cutout model for a servo horn nount.
ServoLookup returns the parameters for a named servo.
Standoff3D returns a single board standoff.
StdPipe3D returns a length of the named standard pipe.
StdPipeConnector3D returns an n-way female pipe connector for a standard pipe size.
TruncRectPyramid3D returns a truncated rectangular pyramid with rounded edges.
Washer2D returns a 2d washer.
Washer3D returns a 3d washer.
# Structs
AngleLeg defines the parameters for one leg of a piece of angle.
AngleParms defines the parameters for a piece of angle.
AngleTab contains the angle tab parameters.
ArrowParms defines the parameters for an arrow.
BoltParms defines the parameters for a bolt.
DrainCoverParms defines a grated drain pipe cover.
DroneArmParms are drone arm parameters.
DroneArmSocketParms defines a socket for a drone motor arm.
EuroRackParms defines the parameters for a eurorack panel.
FingerButtonParms defines the parameters for a 2D finger button.
GenevaParms specfies the geneva drive parameters.
GfBaseParms are the gridfinity base parameters.
GfBodyParms are the gridfinity body parameters.
InvoluteGearParms defines the parameters for an involute gear.
KeywayParameters defines the parameters for a keyway and shaft.
KnurlParms specifies the knurl parameters.
NutParms defines the parameters for a nut.
PanelBoxParms defines the parameters for a 4 part panel box.
PanelHoleParms defines the parameters for a panel hole.
PanelParms defines the parameters for a 2D panel.
PipeConnectorParms defines an n-way female pipe connector.
PipeParameters stores the parameters that define pipe.
ScrewTab contains the screw tab parameters.
ServoHornParms stores the parameters that define a servo horn.
ServoParms stores the parameters that define the servo.
SpringParms defines a 3d printable spring.
StandoffParms defines the parameters for a board standoff pillar.
StraightTab contains the straight tab parameters.
TruncRectPyramidParms defines the parameters for a truncated rectangular pyramid.
WasherParms defines the parameters for a washer.
# Interfaces
Tab is the interface to a tab object.