Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deadsy/sdfx
/ functions
Functions
1,484 in github.com/deadsy/sdfx
⨍
Functions
1,484
◇
Types & classes
211
↓ 1 callers
Method
Max
Max return the maximum components of a set of vectors.
vec/v3/v3.go:216
↓ 1 callers
Method
MaxComponent
MaxComponent returns the maximum component of the vector.
vec/v3/v3.go:158
↓ 1 callers
Method
Min
Min return the minimum components of a set of vectors.
vec/v3/v3.go:207
↓ 1 callers
Method
MinComponent
MinComponent returns the minimum component of the vector.
vec/v2/v2.go:149
↓ 1 callers
Method
MinComponent
MinComponent returns the minimum component of the vector.
vec/v3/v3.go:153
↓ 1 callers
Function
MirrorY
MirrorY returns a 3x3 matrix with mirroring across the Y axis.
sdf/matrix.go:208
↓ 1 callers
Function
NewAngleTab
NewAngleTab returns a new angle tab object.
obj/tab.go:86
↓ 1 callers
Function
NewBezierSpline
NewBezierSpline returns a bezier spline from the provided control/end points.
sdf/bezier.go:226
↓ 1 callers
Function
NewDualContouring2D
NewDualContouring2D returns a Render2 object.
render/dc2.go:201
↓ 1 callers
Function
NewDualContouringV2
NewDualContouringV2 see DualContouringV2 and its fields
render/dc/dc3v2.go:61
↓ 1 callers
Function
NewPNG
NewPNG returns an empty PNG object.
render/png.go:36
↓ 1 callers
Function
NewScrewTab
NewScrewTab returns a new screw tab object.
obj/tab.go:149
↓ 1 callers
Function
NewStraightTab
NewStraightTab returns a new straight tab object.
obj/tab.go:50
↓ 1 callers
Function
NewVoxelSDF3
NewVoxelSDF3 returns a VoxelSDF3. This populates the whole cache from the given SDF. The progress listener may be nil.
sdf/voxel.go:41
↓ 1 callers
Function
Normal3
----------------------------------------------------------------------------- Normals Normal3 returns the normal of an SDF3 at a point (doesn't need t
sdf/utils.go:286
↓ 1 callers
Method
Object
Object returns a cylinder with an internal thread.
obj/nut.go:27
↓ 1 callers
Function
Orient3D
----------------------------------------------------------------------------- Orient3D creates a union of an SDF3 at oriented directions.
sdf/sdf3.go:1158
↓ 1 callers
Function
PanelBox3D
PanelBox3D returns a 4 part panel box.
obj/panelbox.go:158
↓ 1 callers
Function
PipeConnector3D
PipeConnector3D returns an n-way female pipe connector.
obj/pipe.go:224
↓ 1 callers
Method
Points
Points adds a set of points to a dxf drawing object.
render/dxf.go:57
↓ 1 callers
Function
Poly
----------------------------------------------------------------------------- Poly outputs a polygon as a 2D DXF file.
render/dxf.go:143
↓ 1 callers
Method
Polygonize
----------------------------------------------------------------------------- Polygonize returns a polygon approximating the cubic spline SDF2.
sdf/spline.go:349
↓ 1 callers
Method
Populate
(d sdf.SDF3)
render/dc/dc3v1.go:195
↓ 1 callers
Function
RandomM22
----------------------------------------------------------------------------- RandomM22 returns a 2x2 matrix with random elements.
sdf/matrix.go:32
↓ 1 callers
Function
RandomM33
RandomM33 returns a 3x3 matrix with random elements.
sdf/matrix.go:40
↓ 1 callers
Function
RandomM44
RandomM44 returns a 4x4 matrix with random elements.
sdf/matrix.go:53
↓ 1 callers
Method
RenderSDF2
RenderSDF2 renders a 2d signed distance field as gray scale.
render/png.go:51
↓ 1 callers
Method
RenderSDF2MinMax
RenderSDF2MinMax renders a 2d signed distance field as gray scale (with defined min/max levels).
render/png.go:56
↓ 1 callers
Function
RotateUnion2D
RotateUnion2D returns a union of rotated SDF2s.
sdf/sdf2.go:387
↓ 1 callers
Method
Sample
Sample generates polygon samples for a bezier spline.
sdf/bezier.go:189
↓ 1 callers
Method
Save
Save saves a png object to a file.
render/png.go:129
↓ 1 callers
Function
ScaleExtrude
ScaleExtrude returns an extrusion functions that scales with z.
sdf/utils.go:204
↓ 1 callers
Function
ScaleExtrude3D
ScaleExtrude3D extrudes an SDF2 and scales it over the height of the extrusion.
sdf/sdf3.go:180
↓ 1 callers
Function
ScaleTwistExtrude
ScaleTwistExtrude returns an extrusion function that scales and twists with z.
sdf/utils.go:214
↓ 1 callers
Function
ScaleTwistExtrude3D
ScaleTwistExtrude3D extrudes an SDF2 and scales and twists it over the height of the extrusion.
sdf/sdf3.go:193
↓ 1 callers
Function
ScaleUniform2D
ScaleUniform2D scales an SDF2 by k on each axis. Distance is correct with scaling.
sdf/sdf2.go:286
↓ 1 callers
Function
Servo3D
----------------------------------------------------------------------------- Servo3D returns a 3D model for a servo.
obj/servo.go:169
↓ 1 callers
Function
ServoHorn
ServoHorn returns a 2D cutout model for a servo horn nount.
obj/servo.go:254
↓ 1 callers
Function
Shell3D
Shell3D returns an SDF3 that shells the surface of an existing SDF3.
sdf/sdf3.go:1102
↓ 1 callers
Method
Simplify
Simplify optionally simplifies the octree structure merging planar faces before meshing should be called several times to support multi-level simplifi
render/dc/dc3v1.go:304
↓ 1 callers
Method
Snap
Snap a point to the box edges
sdf/box2.go:94
↓ 1 callers
Method
Spring2D
Spring2D returns a 2d spring.
obj/spring.go:39
↓ 1 callers
Method
Spring3D
Spring3D returns a 3d spring.
obj/spring.go:104
↓ 1 callers
Method
Square
Square returns a square box larger than the original box.
sdf/box2.go:70
↓ 1 callers
Function
StdPipe3D
----------------------------------------------------------------------------- StdPipe3D returns a length of the named standard pipe.
obj/pipe.go:141
↓ 1 callers
Method
SubScalar
SubScalar subtracts a scalar from each vector component.
vec/v3/v3.go:73
↓ 1 callers
Function
To3MF
----------------------------------------------------------------------------- To3MF renders an SDF3 to a 3MF file.
render/render.go:80
↓ 1 callers
Method
ToMillimetre
ToMillimetre converts thread parameters from inch to millimetre.
sdf/screw.go:46
↓ 1 callers
Function
ToSVG
ToSVG renders an SDF2 to an SVG file.
render/render.go:130
↓ 1 callers
Method
Translate
Translate translates a 2d box.
sdf/box2.go:44
↓ 1 callers
Method
Triangle
Triangle adds a triangle to a png object.
render/png.go:124
↓ 1 callers
Function
TwistExtrude
TwistExtrude returns an extrusion function that twists with z.
sdf/utils.go:195
↓ 1 callers
Function
V2ToP2
----------------------------------------------------------------------------- V2 to X V2ToP2 converts a cartesian to a polar coordinate.
vec/conv/conv.go:41
↓ 1 callers
Method
Vertices
Vertices returns a slice of 2d box corner vertices.
sdf/box2.go:84
↓ 1 callers
Function
WriteTriangles
----------------------------------------------------------------------------- WriteTriangles writes a stream of triangles to a slice.
sdf/triangle3.go:148
↓ 1 callers
Function
_form_master_re
(relist, reflags, ldict, toknames)
tools/ply/lex.py:493
↓ 1 callers
Function
_funcs_to_names
(funclist, namelist)
tools/ply/lex.py:462
↓ 1 callers
Function
_names_to_funcs
(namelist, fdict)
tools/ply/lex.py:477
↓ 1 callers
Function
_statetoken
(s, names)
tools/ply/lex.py:533
↓ 1 callers
Function
abs
(x int)
tools/stldiff/main.go:141
↓ 1 callers
Method
add_lalr_lookaheads
(self, C)
tools/ply/yacc.py:2509
↓ 1 callers
Method
add_lookaheads
(self, lookbacks, followset)
tools/ply/yacc.py:2491
↓ 1 callers
Method
add_production
(self, prodname, syms, func=None, file='', line=0)
tools/ply/yacc.py:1549
↓ 1 callers
Function
additive
-----------------------------------------------------------------------------
examples/cylinder_head/main.go:359
↓ 1 callers
Function
additive
-----------------------------------------------------------------------------
examples/phone/main.go:154
↓ 1 callers
Function
airIntakeCover
()
examples/carburetor/main.go:31
↓ 1 callers
Function
allConfigs
()
examples/screw_assortment/main.go:64
↓ 1 callers
Function
allowances
-----------------------------------------------------------------------------
examples/cylinder_head/main.go:351
↓ 1 callers
Function
angleHole
-----------------------------------------------------------------------------
examples/beehive/main.go:198
↓ 1 callers
Function
antCap
()
examples/beehive/main.go:221
↓ 1 callers
Function
ap723hMount
()
examples/hpe/main.go:88
↓ 1 callers
Function
ap723hStandoffs
()
examples/hpe/main.go:55
↓ 1 callers
Function
ap723hSupport
-----------------------------------------------------------------------------
examples/hpe/main.go:28
↓ 1 callers
Function
ap725Mount
()
examples/hpe/main.go:173
↓ 1 callers
Function
ap725Standoffs
-----------------------------------------------------------------------------
examples/hpe/main.go:146
↓ 1 callers
Function
ap745Mount
()
examples/hpe/main.go:268
↓ 1 callers
Function
ap745Standoffs
()
examples/hpe/main.go:238
↓ 1 callers
Function
arPanel
----------------------------------------------------------------------------- arPanel returns the panel for an attack/release module.
examples/eurorack/main.go:340
↓ 1 callers
Method
arcVertex
----------------------------------------------------------------------------- convert line segments to arcs arcVertex replaces a line segment with a c
sdf/poly.go:123
↓ 1 callers
Function
arrow1
-----------------------------------------------------------------------------
examples/arrow/main.go:22
↓ 1 callers
Function
axes1
-----------------------------------------------------------------------------
examples/arrow/main.go:34
↓ 1 callers
Function
axes2
()
examples/arrow/main.go:38
↓ 1 callers
Function
axes3
()
examples/arrow/main.go:42
↓ 1 callers
Function
ballGrid
ballGrid returns a ball grid
examples/mcg/main.go:76
↓ 1 callers
Function
ballRow
----------------------------------------------------------------------------- ballRow returns a ball row
examples/mcg/main.go:57
↓ 1 callers
Function
base
----------------------------------------------------------------------------- base returns the base mount.
examples/axoloti/main.go:83
↓ 1 callers
Function
base
()
examples/rpi/stand/stand.go:108
↓ 1 callers
Function
base
-----------------------------------------------------------------------------
examples/pillar_holder/main.go:35
↓ 1 callers
Function
baseCutout
-----------------------------------------------------------------------------
examples/rpi/stand/stand.go:118
↓ 1 callers
Function
baseHole
()
examples/rpi/stand/stand.go:128
↓ 1 callers
Function
baseHoles
()
examples/rpi/stand/stand.go:136
↓ 1 callers
Function
baseProfile
----------------------------------------------------------------------------- baseProfile returns the 2d base profile
examples/rpi/stand/stand.go:98
↓ 1 callers
Function
bbPanel
----------------------------------------------------------------------------- bbPanel returns a panel for mounting a half bread board.
examples/eurorack/main.go:409
↓ 1 callers
Function
bboxDelta
(a, b metrics)
tools/stldiff/main.go:135
↓ 1 callers
Function
bezel
-----------------------------------------------------------------------------
examples/maixgo/main.go:125
↓ 1 callers
Function
bezelStandoffs
-----------------------------------------------------------------------------
examples/maixgo/main.go:67
↓ 1 callers
Method
bind
(self, pdict)
tools/ply/yacc.py:1373
↓ 1 callers
Function
birdhouse
()
examples/birdhouse/main.go:93
↓ 1 callers
Function
blockOffPlate
()
examples/carburetor/main.go:71
↓ 1 callers
Function
boardStandoffs
-----------------------------------------------------------------------------
examples/maixgo/main.go:37
← previous
next →
501–600 of 1,484, ranked by callers