Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oblikovati/Oblikovati
/ functions
Functions
28,266 in github.com/Oblikovati/Oblikovati
⨍
Functions
28,266
◇
Types & classes
2,665
↓ 152 callers
Method
Error
()
kernel/geom/errors.go:28
↓ 152 callers
Method
Selection
()
head/ui/mesh_highlight.go:16
↓ 147 callers
Method
Length
Length returns the current endpoint distance.
model/sketch/entities.go:89
↓ 146 callers
Method
AddFace
AddFace adds a face on the given surface bounded by the loop specs, wiring loops, edge-uses, and the face↔shell relationship.
kernel/topo/builder.go:65
↓ 146 callers
Method
IsSolid
()
model/bodyapi/transient.go:32
↓ 145 callers
Method
Item
(i int)
model/feature/engine.go:119
↓ 145 callers
Function
OuterLoop
OuterLoop and InnerLoop build loop specs of the respective role.
kernel/topo/builder.go:60
↓ 143 callers
Function
Translation4
Translation4 returns a transform that displaces every point by v.
math/matrix4.go:42
↓ 142 callers
Function
UnitVector3FromVector
UnitVector3FromVector normalizes v, see [NewUnitVector3].
math/unitvector3.go:31
↓ 141 callers
Method
Add
Add registers a body and returns it.
kernel/topo/collections.go:17
↓ 140 callers
Method
WithTab
WithTab sets the ribbon tab the command appears on (its Category is the panel within that tab). Commands group two levels deep — tab → panel — so e.g.
app/command.go:79
↓ 139 callers
Method
WithTooltip
WithTooltip sets the hover tooltip.
app/command.go:125
↓ 137 callers
Method
Kind
Kind names the feature type (e.g. "extrude") for diagnostics and UI.
model/feature/feature.go:108
↓ 137 callers
Function
RegisterStandardCommands
RegisterStandardCommands wires the standard ribbon for a session: the Create & Modify tab (Create 2D Sketch, Extrude), the contextual Sketch tab (the
app/commands_standard.go:16
↓ 137 callers
Method
StartVertex
StartVertex and EndVertex return the bounding vertices.
kernel/topo/topology.go:128
↓ 136 callers
Method
GeometricConstraints
GeometricConstraints returns the sketch's geometric-constraint collection.
model/sketch/sketch.go:326
↓ 135 callers
Method
Active
Active returns the currently showing balloons in show order.
app/balloon_tips.go:52
↓ 135 callers
Method
AddUserParameter
AddUserParameter adds an editable user parameter defined by an expression.
model/param/parameters.go:94
↓ 134 callers
Function
NewSketches3D
NewSketches3D returns an empty collection.
model/sketch/sketch3d.go:227
↓ 134 callers
Function
constFloat
(v float64)
model/feature/serialize_dressup.go:461
↓ 133 callers
Function
NewWorkspace
NewWorkspace creates an empty workspace backed by store, building document content through factories (the composition root passes model/contentset.Def
model/doc/workspace.go:37
↓ 131 callers
Method
WithButtonStyle
WithButtonStyle sets how the command renders in the ribbon (text/small-icon/ large-icon). Inventor's large buttons head a panel; small ones fill dense
app/command.go:153
↓ 131 callers
Method
WithIcon
WithIcon sets the command's icon asset key (resolved by the head to an SVG glyph). Pair it with WithButtonStyle to make the ribbon show the icon; a ke
app/command.go:141
↓ 129 callers
Method
Occurrences
Occurrences returns the components placed inside this composite definition.
model/occurrence/occurrence.go:33
↓ 127 callers
Function
AddPart
AddPart creates a new part document in ws with a realized part component definition installed (not the bare doc-package placeholder), makes it active,
model/compdef/part.go:133
↓ 126 callers
Function
Emit
Emit delivers e to every Before-or-After handler for its type and returns the aggregate outcome. It uses a background context; see [EmitContext] for d
event/bus.go:73
↓ 126 callers
Method
float
float parses the value as a real, trimming any padding. The error names the code and the offending text.
kernel/exchange/dxf/grpcode.go:48
↓ 125 callers
Method
Destroy
Destroy tears down ImGui, the Vulkan device, and the window.
head/internal/native/native.go:150
↓ 124 callers
Method
Sub
Sub returns a−b componentwise.
solve/ad/vector.go:23
↓ 123 callers
Function
NewExtrudeFeatures
NewExtrudeFeatures binds the collection to a feature engine.
model/feature/extrude.go:125
↓ 123 callers
Method
String
String returns a stable name for diagnostics.
solve/solve.go:63
↓ 122 callers
Function
NewBaseFeatures
(engine *PartFeatures)
model/feature/derived.go:164
↓ 121 callers
Method
Contains
Contains reports whether sel is already in the set. Selectable handles are comparable value structs wrapping the underlying entity pointer/id, so iden
app/selection.go:264
↓ 120 callers
Method
EndVertex
()
kernel/topo/topology.go:129
↓ 120 callers
Method
Error
()
model/param/graph.go:22
↓ 120 callers
Function
NewDressUpFeatures
NewDressUpFeatures binds the collection to an engine.
model/feature/dressup.go:334
↓ 120 callers
Method
Set
Set creates the pane or replaces its whole tree.
app/browser_panes.go:51
↓ 120 callers
Method
WithEnable
WithEnable sets the enable predicate (nil ⇒ always enabled).
app/command.go:175
↓ 118 callers
Method
Error
()
kernel/brep/unify_coplanar.go:257
↓ 118 callers
Function
NewParameters
NewParameters returns an empty collection.
model/param/parameters.go:47
↓ 118 callers
Method
Sub
Sub returns q − o, with the same same-unit requirement as [Quantity.Add].
model/param/quantity.go:40
↓ 117 callers
Function
sketchSession
sketchSession returns a session in the sketch environment on the XY plane (the camera frames XY straight-on so a pixel maps to a sketch point).
app/sketch_geometry_tools_test.go:14
↓ 117 callers
Function
typedPart
typedPart adapts a handler that needs the active part and typed args: `r.mutating(wire.MethodWorkSurfacesRename, "Rename Work Surface", typedPart(rena
addin/router/typed.go:88
↓ 116 callers
Function
NewBuilder
NewBuilder starts a body with a single shell. A solid body's shell is closed.
kernel/topo/builder.go:20
↓ 116 callers
Method
Normal
Normal returns the unit plane normal UAxis×VAxis.
kernel/geom/plane.go:55
↓ 114 callers
Method
AddByDistanceExtent
AddByDistanceExtent adds an extrude of a single sketch region, growing distance (a closure, typically a parameter) under the given operation.
model/feature/extrude.go:131
↓ 113 callers
Method
AddLine3D
AddLine3D adds a straight 3D segment between two new endpoints.
model/sketch/entities_3d.go:94
↓ 113 callers
Method
CurveCount
()
model/drawing/view.go:79
↓ 113 callers
Method
Hypot
Hypot returns √(a²+b²) — the Euclidean length used by distances and radii. Its gradient is (a·da+b·db)/hypot, zero at the origin (the non-differentiab
solve/ad/number.go:116
↓ 113 callers
Method
Sqrt
Sqrt returns √a (derivative 1/(2√a)); the gradient is zero at a==0 where √ is not differentiable, which keeps a degenerate (coincident) term from prod
solve/ad/number.go:105
↓ 112 callers
Method
AddByCenterRadius
AddByCenterRadius creates a circle from a new center point and a radius.
model/sketch/entity_collections.go:70
↓ 112 callers
Function
Text
Text draws a line of unformatted text.
head/internal/native/imgui.go:252
↓ 110 callers
Method
NormalAt
NormalAt returns the unit surface normal (du×dv normalized), or the zero vector at a degenerate point such as a sphere pole or cone apex.
kernel/geom/surface.go:21
↓ 108 callers
Function
ActiveDrawing
ActiveDrawing returns the active document's drawing content with its title-block resolver wired to the workspace, or an error if the active document i
app/drawing_environment.go:48
↓ 106 callers
Method
BeginFrame
BeginFrame pumps window events, recreates the swapchain if needed, and starts a new Dear ImGui frame. Build the chrome after this, then call EndFrame.
head/internal/native/native.go:97
↓ 106 callers
Method
Build
Build returns the assembled body, with its shells regrouped to true face connectivity (M07-F06, #629) — a builder receives faces in arbitrary order, s
kernel/topo/builder.go:97
↓ 106 callers
Method
EndFrame
EndFrame renders the ImGui draw data into the swapchain (clearing to the given background color) and presents it.
head/internal/native/native.go:101
↓ 106 callers
Function
SolidBlock
Analytic solid primitives for the transient B-rep factory (M07-F05, Oblikovati/Oblikovati#628): block, cylinder/cone, sphere, torus. Sphere and torus
kernel/brep/primitives.go:21
↓ 106 callers
Function
box
box builds a solid box [px,px+sx]×… by offsetting the cage vertices.
kernel/brep/boolean_test.go:17
↓ 105 callers
Method
Kind
()
kernel/geom/kind.go:159
↓ 105 callers
Method
Normal
()
model/sketch/plane.go:47
↓ 105 callers
Function
newPartWithBlock
newPartWithBlock sets up a part whose active body is a side×side×2 block (built by an extrude), returning the session and the block body.
app/hole_tool_test.go:21
↓ 104 callers
Function
NewCamera
NewCamera returns a camera with a 45° vertical FOV looking down −Z by default; set Eye/Target to frame the model.
scene/camera.go:35
↓ 104 callers
Method
Plane
Plane returns the sketch's host plane.
model/sketch/sketch.go:226
↓ 104 callers
Method
Plane
Plane returns the current datum plane, also usable directly as a sketch host.
model/feature/work_plane.go:144
↓ 103 callers
Method
AddBase
AddBase adds a non-parametric base feature wrapping imported bodies.
model/feature/derived.go:184
↓ 103 callers
Method
Geometry
Geometry returns the imported mesh; Vertices/Edges/Faces expose its topology.
model/feature/mesh.go:164
↓ 103 callers
Method
MarkDirty
MarkDirty flags the document as having unsaved changes. Editing operations call this; saving clears it via [Document.ClearDirty]. The clean→dirty tran
model/doc/document.go:178
↓ 102 callers
Method
Add
Add creates a new document of kind t from the built-in template and registers it as the active document. The full template-file resolution via the pro
model/doc/workspace.go:81
↓ 101 callers
Method
DimensionConstraints
DimensionConstraints returns the sketch's dimensional-constraint collection.
model/sketch/sketch.go:329
↓ 101 callers
Function
Rev
(e *Edge)
kernel/topo/builder.go:51
↓ 100 callers
Method
Lines
()
renderer/drawlist.go:112
↓ 100 callers
Function
vol
(b *topo.Body)
kernel/brep/boolean_test.go:25
↓ 99 callers
Method
Arcs
()
model/sketch/sketch.go:300
↓ 99 callers
Function
Button
Button draws a button and reports whether it was clicked this frame.
head/internal/native/imgui.go:267
↓ 99 callers
Method
Contains
Contains reports whether p lies within the closed box.
math/box.go:76
↓ 97 callers
Function
Continue
Continue reports that the handler did not consume or block the event.
event/event.go:49
↓ 97 callers
Method
Vertices
Vertices returns every distinct vertex in the body.
kernel/topo/body.go:123
↓ 95 callers
Method
Error
Error implements error.
model/compdef/assembly_events.go:131
↓ 94 callers
Method
AsUnit
AsUnit normalizes v, panicking only on the programmer error of a zero vector used as a fixed world seed; callers here pass constant non-zero axes.
math/matrix4_transform.go:102
↓ 93 callers
Method
Profiles
Cells are classified into outer boundaries and holes by even–odd nesting; geometry that bounds no cell (a connected but unclosed chain) becomes an ope
model/sketch/profile.go:137
↓ 93 callers
Method
register
register records one kind's codec, panicking on a duplicate or an incomplete pair — a programming error caught at construction, not a silent overwrite
model/feature/serialize_registry.go:63
↓ 92 callers
Method
Cross
Cross returns the cross product v×o.
math/vector3.go:45
↓ 92 callers
Function
newViewportWindow
newViewportWindow opens the head window, or skips the test if the environment has no display/Vulkan driver.
head/ui/inwindow_test.go:27
↓ 90 callers
Method
Get
Get returns one toolbar by id.
app/minitoolbar_store.go:68
↓ 90 callers
Method
ReadFile
(path string)
model/material/store.go:17
↓ 90 callers
Method
Views
Views returns the document's view collection, seeding a single default view on first use so a document is never viewless (Inventor: a document always
model/doc/views.go:143
↓ 89 callers
Method
Annotations
Annotations returns the sheet's annotations (CoG markers, revision clouds, parts lists, …).
model/drawing/sheet.go:40
↓ 89 callers
Function
NewUnitVector3
NewUnitVector3 normalizes (x, y, z) into a UnitVector3. It returns an error when the input is too close to zero length to define a direction (the magn
math/unitvector3.go:22
↓ 88 callers
Method
Commands
()
app/session.go:373
↓ 88 callers
Method
ReadBD
ReadBD reads a BitDouble: a 2-bit selector then the value. 00 → full 64-bit RD follows 01 → value is 1.0 10 → value is 0.0 11 → unuse
kernel/exchange/dwg/bitreader.go:253
↓ 88 callers
Method
WriteHandle
WriteHandle writes a handle reference with the given code and absolute value: the (code<<4 | nbytes) lead byte then the value's big-endian bytes (shor
kernel/exchange/dwg/bitwriter.go:212
↓ 87 callers
Method
Events
()
app/session.go:374
↓ 87 callers
Function
Q
Q constructs a Quantity in database units.
model/param/quantity.go:21
↓ 86 callers
Method
WriteBD
WriteBD writes a BitDouble: 0.0 and 1.0 use the short selectors, else a full RD.
kernel/exchange/dwg/bitwriter.go:102
↓ 86 callers
Function
prismBody
prismBody extrudes one planar polygon loop along Z. It mirrors the low-level OpenSCAD linear_extrude CSG unit-test path, before feature/API integratio
kernel/brep/nopscad_batch_helpers_test.go:253
↓ 85 callers
Method
Camera
()
head/ui/viewcube_arrows.go:165
↓ 84 callers
Method
ApplyRecipe
ApplyRecipe rebuilds the feature program from its serialized form, in order. It tracks the features restored so far so a pattern/mirror can resolve th
model/feature/serialize.go:180
↓ 84 callers
Method
LengthSquared
LengthSquared returns |v|², avoiding the square root when only comparisons are needed.
math/vector3.go:55
↓ 83 callers
Method
CanCommit
CanCommit reports whether enough input has been gathered to finish (enables OK).
app/tool.go:18
← previous
next →
101–200 of 28,266, ranked by callers