Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Finn2708/CounterboreBridging
/ functions
Functions
32 in github.com/Finn2708/CounterboreBridging
⨍
Functions
32
◇
Types & classes
1
↓ 9 callers
Function
_
i18n localization function: returns the localized string for `text` in `lang`. Defaults to English if translation not found.
commands/counterboreBridgingDialog/entry.py:78
↓ 4 callers
Function
getAngleFromTwoPoints
(point1: adsk.core.Point3D, point2: adsk.core.Point3D)
commands/counterboreBridgingDialog/geometryUtil.py:188
↓ 4 callers
Function
movePointTo
allows you to move a SketchPoint (point of a line, curve) to a specified point
commands/counterboreBridgingDialog/geometryUtil.py:57
↓ 2 callers
Function
getExtendedIntersectionPoints
given a SketchLine, it is extended and the intersection points with "curves" present in the "curveArray" are returned
commands/counterboreBridgingDialog/geometryUtil.py:131
↓ 2 callers
Function
log
Utility function to easily handle logging in your app. Arguments: message -- The message to log. level -- The logging severity level.
lib/fusion360utils/general_utils.py:27
↓ 2 callers
Function
profileHasLine
identifies whether a given line is inside the passed profile; the vertices are checked to be equal with a small tolerance
commands/counterboreBridgingDialog/geometryUtil.py:256
↓ 1 callers
Function
_create_handler
( handler_type, callback: Callable, event: adsk.core.Event, name: str = None,
lib/fusion360utils/event_utils.py:63
↓ 1 callers
Function
_define_handler
(handler_type, callback, name: str = None)
lib/fusion360utils/event_utils.py:75
↓ 1 callers
Function
command_execute
(args: adsk.core.CommandEventArgs)
commands/counterboreBridgingDialog/entry.py:404
↓ 1 callers
Function
createVectorFrom2Points
(p1: adsk.core.Point3D, p2: adsk.core.Point3D)
commands/counterboreBridgingDialog/geometryUtil.py:49
↓ 1 callers
Function
cutOneFace
performs a cut with the specified parameters a "gap" is left between the diameter and the line to make it easier to cut the patterns
commands/counterboreBridgingDialog/entry.py:153
↓ 1 callers
Function
get_curves_from_sketch
Gets all curves and lines from a sketch. Args: sketch (adsk.fusion.Sketch): The sketch from which to obtain the curves. Returns
commands/counterboreBridgingDialog/geometryUtil.py:204
↓ 1 callers
Function
handle_error
Utility function to simplify error handling. Arguments: name -- A name used to label the error. show_message_box -- Indicates if the erro
lib/fusion360utils/general_utils.py:49
↓ 1 callers
Function
midpoint
(line: adsk.fusion.SketchLine)
commands/counterboreBridgingDialog/geometryUtil.py:120
↓ 1 callers
Function
rotateVector
rotates a vector by a set degree along the passed axis. axis: [z|x|y]
commands/counterboreBridgingDialog/geometryUtil.py:14
↓ 1 callers
Function
rotateVector180
quickly rotate a vector by 180 degrees
commands/counterboreBridgingDialog/geometryUtil.py:7
Method
__init__
(self)
lib/fusion360utils/event_utils.py:79
Function
add_handler
Adds an event handler to the specified event. Arguments: event -- The event object you want to connect a handler to. callback -- The func
lib/fusion360utils/event_utils.py:23
Function
clear_handlers
Clears the global list of handlers.
lib/fusion360utils/event_utils.py:56
Function
command_created
(args: adsk.core.CommandCreatedEventArgs)
commands/counterboreBridgingDialog/entry.py:355
Function
command_destroy
(args: adsk.core.CommandEventArgs)
commands/counterboreBridgingDialog/entry.py:479
Function
command_input_changed
(args: adsk.core.InputChangedEventArgs)
commands/counterboreBridgingDialog/entry.py:452
Function
command_preview
(args: adsk.core.CommandEventArgs)
commands/counterboreBridgingDialog/entry.py:441
Function
command_validate_input
(args: adsk.core.ValidateInputsEventArgs)
commands/counterboreBridgingDialog/entry.py:464
Function
moveLine
BEWARE OF THE CONSTRAINTS! if the line is parallel you will end up moving it twice as much (moving the first point also moves the second)
commands/counterboreBridgingDialog/geometryUtil.py:196
Method
notify
(self, args)
lib/fusion360utils/event_utils.py:82
Function
run
(context)
CounterboreBridging.py:6
Function
start
()
commands/__init__.py:17
Function
start
()
commands/counterboreBridgingDialog/entry.py:113
Function
stop
(context)
CounterboreBridging.py:15
Function
stop
()
commands/__init__.py:24
Function
stop
()
commands/counterboreBridgingDialog/entry.py:137