MCPcopy Create free account

hub / github.com/JustusBraitinger/Autodesk-Fusion-360-MCP-Server / functions

Functions136 in github.com/JustusBraitinger/Autodesk-Fusion-360-MCP-Server

↓ 38 callersFunctionsend_request
Avoid repetitive code for sending requests to the Fusion 360 server. :param endpoint: The API endpoint URL. :param data: The payload d
Server/MCP_Server.py:89
↓ 2 callersFunctionget_model_bodies
Erstellt eine thread-sichere Liste aller Bodies im rootComponent. Jeder Eintrag enthält Index, Name, Zentrum (Bounding-Box-Mittelpunkt)
MCP/MCP.py:684
↓ 2 callersFunctionget_model_parameters
(design)
MCP/MCP.py:1421
↓ 2 callersFunctionlog
Utility function to easily handle logging in your app. Arguments: message -- The message to log. level -- The logging severity level.
MCP/lib/fusionAddInUtils/general_utils.py:27
↓ 1 callersMethod__init__
(self, event)
MCP/MCP.py:155
↓ 1 callersFunction_create_handler
( handler_type, callback: Callable, event: adsk.core.Event, name: str = No
MCP/lib/fusionAddInUtils/event_utils.py:63
↓ 1 callersFunction_define_handler
(handler_type, callback, name: str = None)
MCP/lib/fusionAddInUtils/event_utils.py:75
↓ 1 callersFunctionarc
This creates arc between two points on the specified plane
MCP/MCP.py:843
↓ 1 callersFunctionboolean_operation
This function performs boolean operations (cut, intersect, join) It is important to draw the target body first, then the tool body
MCP/MCP.py:968
↓ 1 callersFunctioncircular_pattern
(design, ui, quantity, axis, plane)
MCP/MCP.py:1197
↓ 1 callersFunctioncreate_sphere
(design, ui, radius, x, y, z)
MCP/MCP.py:206
↓ 1 callersFunctioncreate_thread
params: inside: boolean information if the face is inside or outside lengt: length of the thread sizes : index of the size
MCP/MCP.py:748
↓ 1 callersFunctioncut_extrude
(design,ui,depth)
MCP/MCP.py:1299
↓ 1 callersFunctiondelete
Remove every body and sketch from the design so nothing is left
MCP/MCP.py:1254
↓ 1 callersFunctiondelete_body_by_index
Löscht den Body mit dem angegebenen Index (nicht alle). Wie delete_last_body, aber statt des letzten Bodies wird über den Index ausgewählt.
MCP/MCP.py:627
↓ 1 callersFunctiondelete_last_body
Löscht nur den zuletzt erstellten Body (nicht alle). Praktisch um einen einzelnen Fehlversuch rückgängig zu machen, ohne mit delete_ev
MCP/MCP.py:555
↓ 1 callersFunctiondraw_2d_rect
(design, ui, x_1, y_1, z_1, x_2, y_2, z_2, plane="XY")
MCP/MCP.py:314
↓ 1 callersFunctiondraw_Box
Draws Box with given dimensions height, width, depth at position (x,y,z) z creates an offset construction plane
MCP/MCP.py:245
↓ 1 callersFunctiondraw_Witzenmann
Draws Witzenmannlogo can be scaled with scaling factor to make it bigger or smaller The z Position can be adjusted with z parameter
MCP/MCP.py:427
↓ 1 callersFunctiondraw_circle
Draws a circle with given radius at position (x,y,z) on the specified plane Plane can be "XY", "XZ", or "YZ" For XY plane: circle at (
MCP/MCP.py:357
↓ 1 callersFunctiondraw_cylinder
Draws a cylinder with given radius and height at position (x,y,z)
MCP/MCP.py:1333
↓ 1 callersFunctiondraw_ellipis
Draws an ellipse on the specified plane using three points.
MCP/MCP.py:289
↓ 1 callersFunctiondraw_lines
User input: points = [(x1,y1), (x2,y2), ...] Plane: "XY", "XZ", "YZ" Draws lines between the given points on the specified plane
MCP/MCP.py:878
↓ 1 callersFunctiondraw_one_line
Draws a single line between two points (x1, y1, z1) and (x2, y2, z2) on the specified plane Plane can be "XY", "XZ", or "YZ" This func
MCP/MCP.py:910
↓ 1 callersFunctiondraw_text
(design, ui, text, thickness, x_1, y_1, z_1, x_2, y_2, z_2, extrusion_value,plane="XY")
MCP/MCP.py:171
↓ 1 callersFunctionexport_as_STEP
(design, ui,Name)
MCP/MCP.py:1276
↓ 1 callersFunctionexport_as_STL
No idea whats happening here Copied straight up from API examples
MCP/MCP.py:1364
↓ 1 callersFunctionextrude_last_sketch
Just extrudes the last sketch by the given value
MCP/MCP.py:1031
↓ 1 callersFunctionextrude_thin
(design, ui, thickness,distance)
MCP/MCP.py:1315
↓ 1 callersFunctionfillet_edges
(design, ui, radius=0.3)
MCP/MCP.py:1086
↓ 1 callersFunctiongetDateString
()
MCP/commands/paletteShow/resources/html/static/palette.js:1
↓ 1 callersFunctionhandle_error
Utility function to simplify error handling. Arguments: name -- A name used to label the error. show_message_box -- Indicates if the
MCP/lib/fusionAddInUtils/general_utils.py:49
↓ 1 callersFunctionholes
Create one or more holes on a selected face.
MCP/MCP.py:1446
↓ 1 callersFunctionloft
Creates a loft between the last 'sketchcount' sketches
MCP/MCP.py:937
↓ 1 callersFunctionmove_body_by_index
Verschiebt den Body mit dem angegebenen Index in x, y und z Richtung. Wie move_last_body, aber statt des letzten Bodies wird über den Index
MCP/MCP.py:650
↓ 1 callersFunctionmove_last_body
(design,ui,x,y,z)
MCP/MCP.py:479
↓ 1 callersFunctionoffsetplane
, Creates a new offset sketch which can be selected
MCP/MCP.py:723
↓ 1 callersMethodprocess_task
Verarbeitet eine einzelne Task
MCP/MCP.py:60
↓ 1 callersFunctionrect_pattern
Creates a rectangular pattern of the last body along the specified axis and plane There are two quantity parameters for two directions
MCP/MCP.py:1136
↓ 1 callersFunctionrevolve_profile
This function revolves already existing sketch with drawn lines from the function draw_lines around the given axisLine by the specified ang
MCP/MCP.py:1110
↓ 1 callersFunctionrotate_body_by_index
Dreht den Body mit dem angegebenen Index um eine Achse (X, Y oder Z), an Ort und Stelle. Wie rotate_last_body, aber statt des letzten Bodie
MCP/MCP.py:576
↓ 1 callersFunctionrotate_last_body
Dreht den zuletzt erstellten Body um eine Achse (X, Y oder Z). angle: Drehwinkel in Grad (positiv = gegen den Uhrzeigersinn um die Achse).
MCP/MCP.py:507
↓ 1 callersMethodrun
(self)
MCP/MCP.py:159
↓ 1 callersFunctionselect_body
(design,ui,Bodyname)
MCP/MCP.py:1489
↓ 1 callersFunctionselect_sketch
(design,ui,Sketchname)
MCP/MCP.py:1502
↓ 1 callersFunctionset_parameter
(design, ui, name, value)
MCP/MCP.py:1438
↓ 1 callersFunctionshell_existing_body
Shells the body on a specified face index with given thickness
MCP/MCP.py:1057
↓ 1 callersFunctionspline
Draws a spline through the given points on the specified plane Plane can be "XY", "XZ", or "YZ"
MCP/MCP.py:815
↓ 1 callersFunctionsweep
(design,ui)
MCP/MCP.py:1012
↓ 1 callersFunctionundo
(design, ui)
MCP/MCP.py:1241
↓ 1 callersFunctionupdateMessage
(messageString)
MCP/commands/paletteShow/resources/html/static/palette.js:21
Method__init__
(self)
MCP/MCP.py:32
Method__init__
(self)
MCP/lib/fusionAddInUtils/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
MCP/lib/fusionAddInUtils/event_utils.py:23
Functionboolean_operation
Führe eine boolesche Operation auf dem letzten Körper aus. Du kannst die Operation als String übergeben. Mögliche Werte sind: "cut", "
Server/MCP_Server.py:640
Functionchange_parameter
Ändert den Wert eines Parameters.
Server/MCP_Server.py:475
Functioncircular_pattern
Du kannst ein Circular Pattern (Kreismuster) erstellen um Objekte kreisförmig um eine Achse zu verteilen. Du übergibst die Anzahl der Kopie
Server/MCP_Server.py:867
Functionclear_handlers
Clears the global list of handlers.
MCP/lib/fusionAddInUtils/event_utils.py:56
Functioncommand_created
(args: adsk.core.CommandCreatedEventArgs)
MCP/commands/paletteShow/entry.py:95
Functioncommand_created
(args: adsk.core.CommandCreatedEventArgs)
MCP/commands/commandDialog/entry.py:74
Functioncommand_created
(args: adsk.core.CommandCreatedEventArgs)
MCP/commands/paletteSend/entry.py:78
Functioncommand_destroy
(args: adsk.core.CommandEventArgs)
MCP/commands/paletteShow/entry.py:188
Functioncommand_destroy
(args: adsk.core.CommandEventArgs)
MCP/commands/commandDialog/entry.py:153
Functioncommand_destroy
(args: adsk.core.CommandEventArgs)
MCP/commands/paletteSend/entry.py:146
Functioncommand_execute
(args: adsk.core.CommandEventArgs)
MCP/commands/paletteShow/entry.py:106
Functioncommand_execute
(args: adsk.core.CommandEventArgs)
MCP/commands/commandDialog/entry.py:101
Functioncommand_execute
(args: adsk.core.CommandEventArgs)
MCP/commands/paletteSend/entry.py:105
Functioncommand_input_changed
(args: adsk.core.InputChangedEventArgs)
MCP/commands/commandDialog/entry.py:128
Functioncommand_input_changed
(args: adsk.core.InputChangedEventArgs)
MCP/commands/paletteSend/entry.py:139
Functioncommand_preview
(args: adsk.core.CommandEventArgs)
MCP/commands/commandDialog/entry.py:120
Functioncommand_preview
(args: adsk.core.CommandEventArgs)
MCP/commands/paletteSend/entry.py:133
Functioncommand_validate_input
(args: adsk.core.ValidateInputsEventArgs)
MCP/commands/commandDialog/entry.py:138
Functioncount
Zählt die Parameter im aktuellen Modell.
Server/MCP_Server.py:415
Functioncreate_thread
Erstellt ein Gewinde in Fusion 360 Im Moment wählt der User selber in Fusioibn 360 das Profil aus Du musst nur angeben ob es innen oder auße
Server/MCP_Server.py:261
Functioncut_extrude
Du kannst die Tiefe des Schnitts als Float übergeben :param depth: Die Tiefe des Schnitts in mm depth muss negativ sein ganz wichtig!
Server/MCP_Server.py:748
Functiondelete_all
Löscht alle Objekte in der aktuellen Fusion 360-Sitzung.
Server/MCP_Server.py:297
Functiondelete_body_by_index
Löscht den Körper mit dem angegebenen Index (nicht alle). Wie delete_last_body, aber statt des letzten Körpers wählst du über den Index.
Server/MCP_Server.py:200
Functiondelete_last_body
Löscht nur den zuletzt erstellten Körper (nicht alle). Praktisch um einen einzelnen Fehlversuch rückgängig zu machen, ohne mit delete_
Server/MCP_Server.py:161
Functiondna
()
Server/MCP_Server.py:1031
Methoddo_GET
(self)
MCP/MCP.py:1518
Methoddo_POST
(self)
MCP/MCP.py:1543
Functiondraw2Dcircle
Zeichne einen Kreis in Fusion 360 Du kannst den Radius als Float übergeben Du kannst die Koordinaten als Float übergeben Du kanns
Server/MCP_Server.py:923
Functiondraw_2d_rectangle
Zeichne ein 2D-Rechteck in Fusion 360 für loft /Sweep etc.
Server/MCP_Server.py:617
Functiondraw_arc
Zeichne einen Bogen in Fusion 360 Du kannst die Punkte als Liste von Listen übergeben Beispiel: point1 = [0,0,0], point2 = [5,5,5], po
Server/MCP_Server.py:786
Functiondraw_box
Du kannst die Höhe, Breite und Tiefe der Box als Strings übergeben. Depth ist die Tiefe in z Richtung also wenn gesagt wird die Box soll fl
Server/MCP_Server.py:512
Functiondraw_cylinder
Zeichne einen Zylinder, du kannst du in der XY Ebende arbeiten Es gibt Standartwerte
Server/MCP_Server.py:490
Functiondraw_holes
Zeichne Löcher in Fusion 360 Übergebe die Json in richter Form Du muss die x und y koordinate angeben z = 0 Das wird meistens auf
Server/MCP_Server.py:308
Functiondraw_lines
Zeichne Linien in Fusion 360 Du kannst die Punkte als Liste von Listen übergeben Beispiel: [[0,0,0],[5,0,0],[5,5,5],[0,5,5],[0,0,0]]
Server/MCP_Server.py:661
Functiondraw_one_line
Zeichne eine Linie in Fusion 360 Du kannst die Koordinaten als Float übergeben Beispiel: x1 = 0.0, y1 = 0.0, z1 = 0.0, x2 = 10.0, y2 =
Server/MCP_Server.py:811
Functiondraw_sphere
Zeichne eine Kugel in Fusion 360 Du kannst die Koordinaten als Float übergeben Du kannst den Radius als Float übergeben Beispiel:
Server/MCP_Server.py:586
Functiondraw_sphere
(design, ui, radius, x, y, z)
MCP/MCP.py:420
Functiondraw_text
Zeichne einen Text in Fusion 360 der ist ein Sketch also kannst dz ann extruden Mit value kannst du angeben wie weit du den text extrudier
Server/MCP_Server.py:703
Functiondraw_witzenmannlogo
Du baust das witzenmann logo Du kannst es skalieren es ist immer im Mittelpunkt Du kannst die Höhe angeben mit z :param sc
Server/MCP_Server.py:345
Functionellipsie
Zeichne eine Ellipse in Fusion 360.
Server/MCP_Server.py:898
Functionexport_step
Exportiert das Modell als STEP-Datei.
Server/MCP_Server.py:435
Functionexport_stl
Exportiert das Modell als STL-Datei.
Server/MCP_Server.py:448
Functionextrude
Extrudiert die letzte Skizze um einen angegebenen Wert. Du kannst auch einen Winkel angeben
Server/MCP_Server.py:683
Functionextrude_thin
Du kannst die Dicke der Wand als Float übergeben Du kannst schöne Hohlkörper damit erstellen :param thickness: Die Dicke der Wand in m
Server/MCP_Server.py:729
Functionfillet_edges
Erstellt eine Abrundung an den angegebenen Kanten.
Server/MCP_Server.py:461
Functionflansch
()
Server/MCP_Server.py:1074
next →1–100 of 136, ranked by callers