MCPcopy Create free account

hub / github.com/deadsy/sdfx / functions

Functions1,484 in github.com/deadsy/sdfx

↓ 2 callersFunctionloadSTL
(path string)
tools/stldiff/main.go:19
↓ 2 callersMethodlr0_closure
(self, I)
tools/ply/yacc.py:2137
↓ 2 callersFunctionmanifolds
(mode string)
examples/cylinder_head/main.go:331
↓ 2 callersFunctionmcInterpolate
-----------------------------------------------------------------------------
render/march3.go:234
↓ 2 callersFunctionmcOctreeOffsets
-----------------------------------------------------------------------------
render/march3p.go:195
↓ 2 callersFunctionmcToTriangles
-----------------------------------------------------------------------------
render/march3.go:194
↓ 2 callersFunctionmsToLines
----------------------------------------------------------------------------- generate the line segments for a square
render/march2.go:158
↓ 2 callersFunctionnewLinePP
NewLinePP returns a 2d line segment defined by 2 points.
sdf/line.go:203
↓ 2 callersFunctionnewMCWorker
(s sdf.SDF3, origin v3.Vec, resolution float64, levels uint)
render/march3p.go:116
↓ 2 callersFunctionnextCombination
----------------------------------------------------------------------------- nextCombination generates the next k-length combination of 0 to n-1. (re
render/utils.go:15
↓ 2 callersFunctionpToV2
----------------------------------------------------------------------------- pToV2 converts a truetype point to a v2.Vec
sdf/text.go:42
↓ 2 callersMethodparsegen
(self,input,source=None)
tools/ply/cpp.py:613
↓ 2 callersFunctionpin
-----------------------------------------------------------------------------
examples/msquare/main.go:254
↓ 2 callersFunctionpipeConnector1
(radius, length float64, cfg [6]bool)
obj/pipe.go:166
↓ 2 callersFunctionpipeConnector2
(outer, inner, length float64, cfg [6]bool)
obj/pipe.go:196
↓ 2 callersFunctionplateHoles2D
----------------------------------------------------------------------------- plateHoles2D returns 4 holes to attach the plate to the gear stack.
examples/bjj/main.go:68
↓ 2 callersFunctionpoly
(a, b, k float64)
sdf/utils.go:160
↓ 2 callersFunctionrowSpace
rowSpace returns the space between rows
examples/mcg/main.go:35
↓ 2 callersFunctionsandKey
----------------------------------------------------------------------------- sandKey returns an SDF3 for the internal sand key.
examples/flask/main.go:122
↓ 2 callersMethodscrewBody
()
obj/tab.go:132
↓ 2 callersMethodscrewHole
()
obj/tab.go:141
↓ 2 callersFunctionsdfBox2d
----------------------------------------------------------------------------- Basic SDF Functions
sdf/sdf2.go:32
↓ 2 callersFunctionservoMount
()
examples/delta/main.go:134
↓ 2 callersFunctionservoMountHoles
(h float64)
examples/delta/main.go:121
↓ 2 callersMethodset_start
(self, start=None)
tools/ply/yacc.py:1633
↓ 2 callersFunctionsideMount
(thickness float64, lhs bool)
examples/picorx/main.go:324
↓ 2 callersFunctionsideProfile
fraction of supportHeight ----------------------------------------------------------------------------- sideProfile returns the 2d web/support profile
examples/rpi/stand/stand.go:55
↓ 2 callersMethodsolve3x3
* dcSolve3x3 Solves for x in A*x = b. 'A' contains the matrix row-wise. 'b' and 'x' are column vectors. Uses cramer's rule. */
render/dc/leastsquares.go:15
↓ 2 callersFunctionsparkplug
(mode string, x_ofs float64)
examples/cylinder_head/main.go:105
↓ 2 callersFunctionspeakerGrille
-----------------------------------------------------------------------------
examples/picorx/main.go:105
↓ 2 callersFunctionspincapDouble
----------------------------------------------------------------------------- Threaded spincap for double spinners.
examples/fidget/main.go:202
↓ 2 callersFunctionstandoff
mm -----------------------------------------------------------------------------
examples/eurorack/main.go:33
↓ 2 callersFunctionstraightScrewConfigs
()
render/screw_test.go:51
↓ 2 callersMethodtopLeft
topLeft returns the top-left corner of a 2d bounding box.
sdf/box2.go:146
↓ 2 callersFunctiontwoHoles
-----------------------------------------------------------------------------
examples/picorx/main.go:313
↓ 2 callersFunctionv3ToPoint
-----------------------------------------------------------------------------
sdf/triangle3.go:65
↓ 2 callersFunctionvalve
(d float64, mode string)
examples/cylinder_head/main.go:157
↓ 2 callersFunctionvalve_set
(d float64, mode string)
examples/cylinder_head/main.go:177
↓ 2 callersFunctionvalve_sets
(mode string)
examples/cylinder_head/main.go:184
↓ 2 callersFunctionwall
----------------------------------------------------------------------------- wall returns an outside wall with casting draft of length l
examples/msquare/main.go:83
↓ 2 callersFunctionwall
(w, r float64)
examples/pillar_holder/main.go:43
↓ 2 callersFunctionwalls
walls returns the 3 walls for a 45 degreee right angle triangle
examples/msquare/main.go:100
↓ 2 callersMethodwinding
winding returns the winding number for the quadtree node
sdf/mesh2.go:230
↓ 1 callersMethodAddScalar
AddScalar adds a scalar to each vector component.
vec/v3/v3.go:68
↓ 1 callersMethodAddSolver
(q2 *dcQefSolver)
render/dc/dc3v1.go:558
↓ 1 callersMethodAddV2Set
AddV2Set adds a set of V2 vertices to a polygon.
sdf/poly.go:309
↓ 1 callersFunctionAngle2D
Angle2D returns a 2d angle profile.
obj/angle.go:31
↓ 1 callersMethodArc
Arc replaces a line segment with a circular arc.
sdf/poly.go:86
↓ 1 callersFunctionArcSpiral2D
ArcSpiral2D returns a 2d Archimedean spiral (r = m*theta + b).
sdf/spiral.go:78
↓ 1 callersFunctionArray3D
Array3D returns an XYZ array of a given SDF3
sdf/sdf3.go:867
↓ 1 callersFunctionBenchmarkSDF3
----------------------------------------------------------------------------- BenchmarkSDF3 reports the evaluation speed for an SDF3.
sdf/benchmark.go:55
↓ 1 callersMethodBody
(upper bool, m sdf.M44)
obj/tab.go:23
↓ 1 callersMethodBoundingBox
BoundingBox returns a bounding box for the triangle.
sdf/triangle3.go:47
↓ 1 callersMethodBox
Box adds a box to a dxf drawing object.
render/dxf.go:73
↓ 1 callersMethodBoxes
Boxes returns the full set of quadtree boxes.
sdf/mesh2.go:312
↓ 1 callersMethodCanonical
Canonical converts a triangle to it's lowest index first form. Preserve the winding order.
render/delaunay.go:59
↓ 1 callersFunctionCenterAndScale2D
CenterAndScale2D centers the origin of an SDF2 on it's bounding box, and then scales it. Distance is correct with scaling.
sdf/sdf2.go:317
↓ 1 callersFunctionCircleGrille2D
CircleGrille2D returns the SDF2 for a circular grille.
obj/hole.go:31
↓ 1 callersFunctionCircleGrille3D
CircleGrille3D returns the SDF3 for a circular grille.
obj/hole.go:65
↓ 1 callersMethodCircumcenter
Circumcenter returns the circumcenter of a triangle.
sdf/triangle2.go:23
↓ 1 callersMethodClamp
Clamp clamps a vector between 2 other vectors.
vec/v3/v3.go:98
↓ 1 callersMethodClosed
Closed returns true/fale if the polygon is closed/open.
sdf/poly.go:285
↓ 1 callersFunctionCubicSpline2D
CubicSpline2D returns an SDF2 made from a set of cubic splines.
sdf/spline.go:231
↓ 1 callersFunctionDelaunay2d
----------------------------------------------------------------------------- Delaunay2d returns the delaunay triangulation of a 2d point set.
render/delaunay.go:156
↓ 1 callersMethodDeterminant
----------------------------------------------------------------------------- Determinant returns the determinant of a 4x4 matrix.
sdf/matrix.go:468
↓ 1 callersFunctionDirectedArrow3D
----------------------------------------------------------------------------- DirectedArrow3D returns an arrow between points head/tail.
obj/arrow.go:167
↓ 1 callersFunctionDisplayStand
-----------------------------------------------------------------------------
examples/rpi/stand/stand.go:176
↓ 1 callersMethodDistance
Distance returns the distance to the line. Greater than 0 implies to the right of the line vector.
sdf/line.go:232
↓ 1 callersMethodDivScalar
DivScalar divides each vector component by a scalar.
vec/v3/v3.go:83
↓ 1 callersMethodDot
----------------------------------------------------------------------------- Dot returns the dot product of a and b.
vec/v3/v3.go:55
↓ 1 callersFunctionDroneMotorArm
DroneMotorArm returns a drone motor arm.
obj/drone.go:134
↓ 1 callersFunctionDroneMotorArmSocket
DroneMotorArmSocket returns a socket for a drone motor arm.
obj/drone.go:242
↓ 1 callersMethodDrop
Drop the last vertex from the list.
sdf/poly.go:321
↓ 1 callersFunctionElongate3D
Elongate3D returns the elongation of an SDF3.
sdf/sdf3.go:758
↓ 1 callersMethodEnlarge
Enlarge returns a new 3d box enlarged by a size vector.
sdf/box3.go:61
↓ 1 callersMethodEnvelope
+ to connected body
obj/tab.go:24
↓ 1 callersMethodEquals
Equals tests two triangle sets for equality.
render/delaunay.go:96
↓ 1 callersMethodEquals
Equals returns true if the lines are the same (within tolerance).
sdf/line.go:66
↓ 1 callersFunctionEuroRackPanel2D
EuroRackPanel2D returns a 2d eurorack synthesizer module panel (in mm).
obj/panel.go:151
↓ 1 callersMethodEvaluate
(p v3.Vec)
render/dc/dc3v2.go:114
↓ 1 callersFunctionFingerButton2D
FingerButton2D returns a 2D cutout for a finger button.
obj/finger.go:26
↓ 1 callersFunctionGearRack2D
GearRack2D returns the 2D profile for a gear rack.
sdf/rack.go:38
↓ 1 callersMethodGenerateMesh
(output chan<- *sdf.Triangle3)
render/dc/dc3v1.go:512
↓ 1 callersMethodGetError
()
render/dc/dc3v1.go:606
↓ 1 callersFunctionGfBase
GfBase returns a Gridfinity base grid.
obj/gridfinity.go:150
↓ 1 callersFunctionHex2D
----------------------------------------------------------------------------- Hex2D returns a 2d hexagon with rounded corners.
obj/hex.go:21
↓ 1 callersFunctionIdentity
Identity returns a 2x2 identity matrix.
sdf/matrix.go:93
↓ 1 callersFunctionImportTriMesh
ImportTriMesh converts a triangle-based mesh into a SDF3 surface. minChildren and maxChildren are parameters that can affect the performance of the in
obj/stl.go:73
↓ 1 callersMethodInCircumcircle
InCircumcircle return inside == true if the point is inside the circumcircle of the triangle. Returns done == true if the vertex and the subsequent x-
sdf/triangle2.go:76
↓ 1 callersFunctionIntersect2D
Intersect2D returns the intersection of two SDF2s.
sdf/sdf2.go:180
↓ 1 callersMethodInverse
Inverse returns the inverse of a 2x2 matrix.
sdf/matrix.go:537
↓ 1 callersFunctionIsocelesTriangle2D
----------------------------------------------------------------------------- IsocelesTriangle2D
obj/shape.go:33
↓ 1 callersFunctionKeyedHole2D
KeyedHole2D retuns a 2D object for a round hole with a flat section.
obj/hole.go:162
↓ 1 callersFunctionKeyedHole3D
KeyedHole3D retuns a 3D object for a round hole with a flat section.
obj/hole.go:179
↓ 1 callersFunctionKeyway2D
Keyway2D returns the 2d profile of a shaft and keyway.
obj/keyway.go:27
↓ 1 callersFunctionKeyway3D
Keyway3D returns a shaft and keyway.
obj/keyway.go:58
↓ 1 callersFunctionKnurl3D
Knurl3D returns a knurled cylinder.
obj/knurl.go:46
↓ 1 callersMethodLTEZero
LTEZero returns true if any vector components are < 0.
vec/v2/v2.go:47
↓ 1 callersMethodLines
Lines adds a set of lines line to a png object.
render/png.go:108
↓ 1 callersFunctionMakeFlatFlankCam
MakeFlatFlankCam makes a flat flank cam profile from design parameters.
sdf/cams.go:90
← previousnext →401–500 of 1,484, ranked by callers