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
↓ 83 callers
Function
ResolutionForSize
ResolutionForSize builds a Resolution from an explicit model size (a bounding-box diagonal in database units), flooring it at minModelSize so the resu
kernel/geom/resolution.go:75
↓ 83 callers
Method
WriteBS
WriteBS writes a BitShort using the explicit-value forms: 0 and 256 have dedicated selectors, a byte-sized value uses the one-byte form, otherwise a f
kernel/exchange/dwg/bitwriter.go:72
↓ 83 callers
Function
evalFloat
evalFloat reads a feature's scalar (a closure, typically a parameter); a nil closure reads as 0. constFloat is its inverse for restore — a fixed value
model/feature/serialize_dressup.go:454
↓ 82 callers
Method
MarshalRecipe
MarshalRecipe projects the feature program into its serializable form, in history order, erroring on any feature kind without a codec (no silent loss)
model/feature/serialize.go:132
↓ 81 callers
Method
GeometricConstraints3D
GeometricConstraints3D returns the sketch's geometric-constraint collection. It reuses the dimension-agnostic [GeometricConstraints] container (the 3D
model/sketch/sketch3d.go:112
↓ 81 callers
Method
Lineage
()
model/identity/entity.go:115
↓ 80 callers
Function
NewSphere
NewSphere builds a sphere; errors on a non-positive radius.
kernel/geom/sphere.go:21
↓ 79 callers
Method
Domain
Domain returns the valid parameter range [lo, hi]. Unbounded curves (an infinite line) return ±Inf.
kernel/geom/curve.go:18
↓ 79 callers
Method
Key
()
model/feature/work_plane.go:137
↓ 79 callers
Function
NewBSplineSurface
NewBSplineSurface builds a rational B-spline surface, validating that the control net is rectangular and that both directions satisfy the degree/contr
kernel/geom/bspline_surface.go:25
↓ 79 callers
Function
NewModifyFeatures
NewModifyFeatures binds the collection to an engine.
model/feature/modify.go:225
↓ 79 callers
Method
Tool
Tool returns the running tool; Name its name.
app/tool.go:32
↓ 79 callers
Function
relErr
(got, want float64)
model/feature/extrude_shapes_test.go:335
↓ 78 callers
Method
Atan2
Atan2 returns atan2(a, b) treating a as y and b as x — the angle measure. Its gradient is (x·dy − y·dx)/(x²+y²); zero at the origin where the angle is
solve/ad/number.go:140
↓ 78 callers
Method
Recompute
Recompute evaluates the feature against the running state.
model/feature/feature.go:110
↓ 78 callers
Function
typedCtx
typedCtx is the workhorse behind typedPart/typedAssembly/typedHolder: resolve a model context via resolve (part, assembly, parameter holder…), decode
addin/router/typed.go:53
↓ 77 callers
Function
Default
Default returns the full production content-factory set: parts and assemblies open as live component definitions, drawings as live sheet content. ws
model/contentset/contentset.go:23
↓ 77 callers
Method
Entities
()
addin/router/sketch_reference_key.go:49
↓ 77 callers
Function
Separator
()
head/internal/native/imgui.go:274
↓ 77 callers
Method
Start
Start is called when the tool is activated (e.g. to set the selection filter).
app/tool.go:14
↓ 77 callers
Function
apply
apply runs the named default-registry operation with JSON args.
addin/opregistry/apply_test.go:49
↓ 77 callers
Method
tag
tag writes one group-code/value pair (code line, then value line).
kernel/exchange/dxf/encode.go:84
↓ 76 callers
Method
DisplayName
()
app/command.go:265
↓ 76 callers
Function
recomputeResult
recomputeResult recomputes the part and reports the new feature's outcome. The feature stays in the tree even when unhealthy, so model.tree / referenc
addin/opregistry/feature_refs.go:137
↓ 75 callers
Method
Contains
Contains reports whether the sketch-plane point q lies in the profile's region: inside the (closed) outer loop and outside every inner-loop hole. Used
model/sketch/profile.go:99
↓ 75 callers
Method
Place
Place adds an occurrence of def to the assembly under name at transform, returning it — the assembly-level entry behind "place component". def is shar
model/compdef/assembly.go:131
↓ 75 callers
Method
Suppressed
()
model/assembly/relationships.go:17
↓ 75 callers
Function
viewportFrame
viewportFrame runs one real frame drawing only the viewport panel, forced to fill the window so the injected pointer lands on the navigation surface.
head/ui/inwindow_test.go:49
↓ 74 callers
Method
At
(int)
model/feature/serialize.go:127
↓ 74 callers
Method
Key
Key returns the deterministic serialization used for identity comparison, as bytes.
kernel/topo/lineage.go:121
↓ 74 callers
Method
WorkPlanes
WorkPlanes/WorkAxes/WorkPoints/UserCoordinateSystems expose the collections (origin elements first, then user features).
model/feature/work_geometry.go:107
↓ 74 callers
Method
WriteFile
(path string, data []byte)
model/material/store.go:18
↓ 73 callers
Function
SameLine
()
head/internal/native/imgui.go:273
↓ 73 callers
Method
add
add appends an entity to the sketch's geometry list.
model/sketch/sketch.go:362
↓ 72 callers
Method
AddIns
AddIns returns the add-in registry (ApplicationAddIns).
app/session.go:297
↓ 72 callers
Method
NewPoint
NewPoint creates a sketch vertex point for use as a shared endpoint of lines or arcs (it is not a standalone point marker). It lets a bulk authoring c
model/sketch/sketch.go:449
↓ 71 callers
Function
tryCall
tryCall invokes a method and returns its error (for paths where a clean error on finicky geometry is acceptable but a panic/crash is not).
addin/router/sketch_add_entity_coverage_test.go:15
↓ 70 callers
Function
End
()
head/internal/native/imgui.go:237
↓ 70 callers
Function
SolidCylinderCone
SolidCylinderCone builds the solid of revolution between two circular sections: equal radii give a cylinder, differing radii a cone frustum, a zero ra
kernel/brep/primitives.go:101
↓ 70 callers
Function
draftFromScratch
draftFromScratch builds a tool's feature into a throwaway engine — so the part's real feature program is untouched — and returns the underlying Featur
app/feature_preview.go:121
↓ 70 callers
Method
recordEdit
recordEdit records the part's recipe delta as one undo step under the given label.
app/tool_host.go:37
↓ 69 callers
Method
FullDocumentName
FullDocumentName returns the canonical full identity of the document. This is the cross-session identity that the reference graph stores.
model/doc/document.go:143
↓ 69 callers
Function
NewCylinder
NewCylinder builds a cylinder from an axis point, axis direction, and radius. Errors on a zero axis direction.
kernel/geom/cylinder.go:25
↓ 69 callers
Method
Selection
()
app/session.go:375
↓ 68 callers
Method
Contains
Contains reports whether p lies within the face's outer boundary and outside its holes (planar faces). It first checks p is on the face plane.
kernel/topo/face_evaluator.go:36
↓ 68 callers
Method
Count
Count returns the number of features; Item returns the i-th in history order.
model/feature/engine.go:118
↓ 68 callers
Method
Equal
Equal reports whether two values have the same type and contents.
model/attr/value.go:73
↓ 68 callers
Function
HalfSpaceCut
HalfSpaceCut returns the part of body on the NEGATIVE side of plane — the half-space {x : normal·(x − origin) ≤ 0} — capped by a planar lid whose outw
kernel/brep/curved_halfspace.go:36
↓ 68 callers
Method
Parameters
()
app/sketch_env.go:29
↓ 68 callers
Method
Sketches3D
Sketches3D returns the part's non-planar (3D) sketches.
model/compdef/part.go:411
↓ 68 callers
Function
TessellateBody
TessellateBody facets every face into one mesh and every edge into a polyline. After the per-face meshing it runs a cross-face conformance repair (con
kernel/ops/tessellate.go:101
↓ 68 callers
Method
TransformPoint
TransformPoint applies the full affine transform to p (translation included).
math/matrix4.go:72
↓ 68 callers
Method
Views
Views returns the sheet's drawing views (projections of the referenced model).
model/drawing/sheet.go:37
↓ 68 callers
Function
assemblySessionWithBoxes
assemblySessionWithBoxes makes an assembly the active document, places one unit-box part per X translation, and returns the router, session, assembly,
addin/router/assembly_features_test.go:23
↓ 67 callers
Function
NewSelectionFilter
NewSelectionFilter accepts only the given kinds; with none it accepts all.
app/selection.go:200
↓ 66 callers
Method
Add
Add appends a feature (initially dirty) with its dependency feature ids.
model/feature/engine.go:89
↓ 66 callers
Function
DrawChrome
DrawChrome renders one frame of chrome for the session. Call it between Window.BeginFrame and Window.EndFrame. It returns the id of a command the user
head/ui/chrome.go:23
↓ 66 callers
Function
InjectMouseButton
(button int, down bool)
head/internal/native/imgui.go:1173
↓ 65 callers
Method
ActiveDocument
ActiveDocument returns the workspace's active document, or nil.
app/session.go:383
↓ 65 callers
Method
EntityCount
EntityCount returns the number of entities.
model/sketch/sketch.go:256
↓ 65 callers
Function
NewOccurrences
NewOccurrences returns an empty occurrence collection with a silent (no-op) listener.
model/occurrence/occurrences.go:29
↓ 65 callers
Function
ToBody
ToBody converts a (refined) control cage into a B-rep body: one shared vertex per cage vertex, one shared edge per cage edge, and one planar face per
kernel/subd/body.go:16
↓ 65 callers
Function
buildPrism
buildPrism extrudes a closed polygon over the span (near→far offsets along the plane normal) into a watertight solid: a near cap, a far cap, and one p
model/feature/extrude.go:219
↓ 64 callers
Method
AddByComponentDefinition
AddByComponentDefinition places def in the assembly under name with transform, returning the new occurrence. def is shared — placing the same definiti
model/occurrence/occurrences.go:49
↓ 64 callers
Method
ByID
ByID and ByAlias look up a command.
app/command.go:328
↓ 63 callers
Method
Splines
()
model/sketch/sketch.go:303
↓ 62 callers
Method
Bindings
Bindings returns the session's binding engine, constructing it on first use over the command registry. Lazy so the constructor stays small and command
app/bindings.go:195
↓ 62 callers
Method
Loops
Loops returns the face's boundary loops (outer first by construction).
kernel/topo/topology.go:232
↓ 62 callers
Method
PointClouds
PointClouds returns the attached-scan records (nil when none attached).
persistence/package.go:96
↓ 62 callers
Method
newPoint
newPoint creates a constrainable point at pos and registers it as a solver variable. Curve factories use it for endpoints/centers (not added to Entiti
model/sketch/sketch.go:411
↓ 61 callers
Method
AddDistance
AddDistance dimensions the distance between two points to expression (e.g. "25 mm").
model/sketch/dimension.go:178
↓ 61 callers
Method
Error
()
solve/ad/errors.go:13
↓ 61 callers
Method
SetActiveDocument
SetActiveDocument makes an already-registered document active. It errors if the document is not in this workspace.
model/doc/workspace_query.go:64
↓ 61 callers
Function
drawingWithBox
(t *testing.T)
model/drawing/view_test.go:19
↓ 60 callers
Function
Begin
Begin / End bracket a window; Begin reports whether its content is visible.
head/internal/native/imgui.go:232
↓ 60 callers
Method
Edge
Edge returns the used edge; Reversed reports traversal direction; Loop the owner.
kernel/topo/topology.go:167
↓ 60 callers
Function
NewAssemblyComponentDefinition
NewAssemblyComponentDefinition returns an empty assembly content object: no occurrences, default (metric) display units, a live event source wired to
model/compdef/assembly.go:65
↓ 60 callers
Function
dimSegment
dimSegment builds a visible drawing curve between two sheet-mm points.
model/drawing/dimension.go:937
↓ 60 callers
Function
place
(occs *occurrence.Occurrences, name string, m math.Matrix4)
model/assembly/constraints_test.go:41
↓ 60 callers
Function
squareSketch
squareSketch returns a sketch with one closed square profile of the given side.
model/feature/extrude_test.go:16
↓ 59 callers
Method
All
All returns the detected profiles.
model/sketch/profile.go:121
↓ 59 callers
Function
Default
Default returns a registry seeded with the built-in feature operations. It panics if a built-in descriptor is malformed, since that is a programming e
addin/opregistry/registry.go:71
↓ 59 callers
Method
DisplayName
DisplayName returns the human-readable name: the explicit override if set, otherwise the file name without its directory or extension.
model/doc/document.go:152
↓ 59 callers
Method
Origin
Origin and the axes define the frame.
model/feature/ucs.go:24
↓ 59 callers
Method
Pointer
Pointer routes a pointer event per Inventor mouse behavior. Left selects/feeds the tool; right and middle are reserved for the marking menu and orbit/
app/session_input.go:220
↓ 59 callers
Method
Recompute
Recompute runs the feature program and syncs the resulting bodies into SurfaceBodies, advancing the geometry version. This is the part-level orchestra
model/compdef/part.go:148
↓ 59 callers
Method
Reversed
Reversed reports whether the face's outward (material) side is OPPOSITE its surface normal — true for the cut wall a Difference carves, where the surf
kernel/topo/topology.go:229
↓ 58 callers
Method
All
All returns every command in registration order.
app/command.go:339
↓ 58 callers
Function
BuildRibbon
BuildRibbon generates the ribbon for the active document (ZeroDoc when none is open), including only the commands scoped to that ribbon and to the cur
app/ribbon.go:94
↓ 58 callers
Method
ByName
(name string)
app/style.go:108
↓ 58 callers
Method
Remove
create/overwrite, making parent dirs
theme/store.go:23
↓ 58 callers
Method
WriteBit
WriteBit appends one bit.
kernel/exchange/dwg/bitwriter.go:25
↓ 58 callers
Function
callOrZero
callOrZero evaluates a float closure, defaulting to 0 when nil.
model/feature/patterns.go:437
↓ 58 callers
Method
recordEdit
recordEdit appends one transaction event for the interaction that just mutated the active part's recipe. It is the single finalize chokepoint every ed
app/undo.go:255
↓ 58 callers
Function
requireValidNopSolid
(t *testing.T, name string, body *topo.Body)
kernel/brep/nopscad_batch_helpers_test.go:297
↓ 57 callers
Function
approxEqual
approxEqual reports whether a and b are within tol of each other. tol is treated as an absolute tolerance; callers in database units want that.
math/scalar.go:24
↓ 57 callers
Function
cstr
ImGui-widget wrappers in idiomatic Go. These are the verbs the chrome (head/ui) composes each frame; the LAYOUT logic stays in Go. cstr converts once
head/internal/native/imgui.go:194
↓ 57 callers
Function
typedAssembly
typedAssembly adapts a handler that needs the active assembly and typed args.
addin/router/typed.go:103
↓ 56 callers
Function
Box
Primitive free-form starts (PBI-113). Each returns a control cage; callers refine it with [SubdivideN] and convert with [ToBody]. Box returns a closed
kernel/subd/primitives.go:12
↓ 56 callers
Function
InjectMousePos
Inject* feed synthetic pointer/keyboard input into the next frame's ImGui IO, winning over the real cursor. They exist so an in-window test can drive
head/internal/native/imgui.go:1171
← previous
next →
201–300 of 28,266, ranked by callers