MCPcopy Create free account

hub / github.com/Finn2708/CounterboreBridging / functions

Functions32 in github.com/Finn2708/CounterboreBridging

↓ 9 callersFunction_
i18n localization function: returns the localized string for `text` in `lang`. Defaults to English if translation not found.
commands/counterboreBridgingDialog/entry.py:78
↓ 4 callersFunctiongetAngleFromTwoPoints
(point1: adsk.core.Point3D, point2: adsk.core.Point3D)
commands/counterboreBridgingDialog/geometryUtil.py:188
↓ 4 callersFunctionmovePointTo
allows you to move a SketchPoint (point of a line, curve) to a specified point
commands/counterboreBridgingDialog/geometryUtil.py:57
↓ 2 callersFunctiongetExtendedIntersectionPoints
given a SketchLine, it is extended and the intersection points with "curves" present in the "curveArray" are returned
commands/counterboreBridgingDialog/geometryUtil.py:131
↓ 2 callersFunctionlog
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 callersFunctionprofileHasLine
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 callersFunction_create_handler
( handler_type, callback: Callable, event: adsk.core.Event, name: str = None,
lib/fusion360utils/event_utils.py:63
↓ 1 callersFunction_define_handler
(handler_type, callback, name: str = None)
lib/fusion360utils/event_utils.py:75
↓ 1 callersFunctioncommand_execute
(args: adsk.core.CommandEventArgs)
commands/counterboreBridgingDialog/entry.py:404
↓ 1 callersFunctioncreateVectorFrom2Points
(p1: adsk.core.Point3D, p2: adsk.core.Point3D)
commands/counterboreBridgingDialog/geometryUtil.py:49
↓ 1 callersFunctioncutOneFace
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 callersFunctionget_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 callersFunctionhandle_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 callersFunctionmidpoint
(line: adsk.fusion.SketchLine)
commands/counterboreBridgingDialog/geometryUtil.py:120
↓ 1 callersFunctionrotateVector
rotates a vector by a set degree along the passed axis. axis: [z|x|y]
commands/counterboreBridgingDialog/geometryUtil.py:14
↓ 1 callersFunctionrotateVector180
quickly rotate a vector by 180 degrees
commands/counterboreBridgingDialog/geometryUtil.py:7
Method__init__
(self)
lib/fusion360utils/event_utils.py:79
Functionadd_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
Functionclear_handlers
Clears the global list of handlers.
lib/fusion360utils/event_utils.py:56
Functioncommand_created
(args: adsk.core.CommandCreatedEventArgs)
commands/counterboreBridgingDialog/entry.py:355
Functioncommand_destroy
(args: adsk.core.CommandEventArgs)
commands/counterboreBridgingDialog/entry.py:479
Functioncommand_input_changed
(args: adsk.core.InputChangedEventArgs)
commands/counterboreBridgingDialog/entry.py:452
Functioncommand_preview
(args: adsk.core.CommandEventArgs)
commands/counterboreBridgingDialog/entry.py:441
Functioncommand_validate_input
(args: adsk.core.ValidateInputsEventArgs)
commands/counterboreBridgingDialog/entry.py:464
FunctionmoveLine
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
Methodnotify
(self, args)
lib/fusion360utils/event_utils.py:82
Functionrun
(context)
CounterboreBridging.py:6
Functionstart
()
commands/__init__.py:17
Functionstart
()
commands/counterboreBridgingDialog/entry.py:113
Functionstop
(context)
CounterboreBridging.py:15
Functionstop
()
commands/__init__.py:24
Functionstop
()
commands/counterboreBridgingDialog/entry.py:137