MCPcopy Create free account

hub / github.com/FreeCAD/FreeCAD-macros / functions

Functions116 in github.com/FreeCAD/FreeCAD-macros

↓ 12 callersFunction_notch_line
Create the lines for the notches.
ObjectCreation/boxcreator/boxcreator.py:178
↓ 9 callersFunctiontr
(context, text)
ParametricObjectCreation/geodesic_dome/geodesic_dome.py:188
↓ 8 callersFunction__get_tabs_n
Get the number of prefix tabs of a string. It is the string of one or more tabs (\\t) at the start of the line of a given text string. T
Conversion/MultiCopy/MultiCopyCore.py:208
↓ 7 callersFunction_draw_holes
Create the lines for the notch holes in a part.
ObjectCreation/boxcreator/boxcreator.py:220
↓ 6 callersMethod__numbering_type_radios_clicked
(self)
Conversion/MultiCopy/MultiCopyGui.py:334
↓ 5 callersMethod__radio_operation
This function decided the 'From' and 'To' combo-box options. This function is called when a radio buttons pertaining to one of the va
Conversion/MultiCopy/MultiCopyGui.py:315
↓ 5 callersFunctiondraw_left_right
Create the left or right part of the box. Also used to create the compartment separators inside the box. Parameters ---------- - dra
ObjectCreation/boxcreator/boxcreator.py:121
↓ 4 callersFunction__to_numerics
Convert alphabetic and roman numeral characters into ordinary numerical digits. This function performs an auxiliary operation that is part of
Conversion/MultiCopy/MultiCopyCore.py:236
↓ 4 callersFunction_notch_holes
(length, notchWidth, materialWidth, rotation=Vector(0, 0, 0), overhang=0, drawHoles=True, overhangLeft=0, over
ObjectCreation/boxcreator/boxcreator.py:237
↓ 4 callersFunction_rotate_points
Return a list of points rotated around the origin The rotation is defined by three angles in degrees and the rotation order is z, y, x, each
ObjectCreation/boxcreator/boxcreator.py:277
↓ 3 callersFunction_extrude_lines
(doc, extrudename, lines, materialWidth)
ObjectCreation/boxcreator/boxcreator.py:253
↓ 3 callersMethodclose
(self)
GenevaWheelGUI.py:120
↓ 3 callersMethodget_biggest_face
(self, shape)
TechDraw/LasercutterSVGExport/LasercutterTechdrawExport.py:94
↓ 3 callersFunctionmakeFreqFaces
(fPt, sPt, thPt, ny = 1)
ParametricObjectCreation/geodesic_dome/geodesic_dome.py:41
↓ 2 callersFunctionIntToAlpha
Convert an integer to its lower-case alphabetic string variant. Parameters ---------- n: (int) An arbitrary integer value.
Conversion/MultiCopy/MultiCopyAuxFunc.py:152
↓ 2 callersFunctionIntToRoman
Convert an integer to its upper-case roman numeral variant. Parameters ---------- n: (int) An arbitrary integer value. R
Conversion/MultiCopy/MultiCopyAuxFunc.py:88
↓ 2 callersFunctionValidate
Performs syntactic validation of the input paste code commands. This function performs the validation when the user focusses out of the assoc
Conversion/MultiCopy/MultiCopyCore.py:912
↓ 2 callersFunction__RunPasteCode
Perform the 'Paste' operation based on the user's various input parameters. This function is the '__RunPasteCommands' function's CUI equivalent.
Conversion/MultiCopy/MultiCopyCore.py:830
↓ 2 callersMethod__dialog_is_busy
This function disables/enables certain GUI elements in the main dialog box.
Conversion/MultiCopy/MultiCopyGui.py:106
↓ 2 callersFunction__validate_check_from_to
Validate the generic 'from ... to ...' parts of the input paste code commands. This function performs an auxiliary operation that is part of
Conversion/MultiCopy/MultiCopyCore.py:340
↓ 2 callersFunctionaddLasercutterTechdrawItem
(techdraw, part, BeamWidth = 0.2, doc = app.activeDocument(), method = 'auto', normal = Vector(0, 0, 0))
TechDraw/LasercutterSVGExport/LasercutterTechdrawExport.py:250
↓ 2 callersFunctionaddToExportObjects
(doc, ifp)
TechDraw/LasercutterSVGExport/LasercutterTechdrawExport.py:259
↓ 2 callersFunctiondraw_front_back
Create the front or back part of the box.
ObjectCreation/boxcreator/boxcreator.py:154
↓ 2 callersFunctiondraw_top_bottom
Create the top or bottom part of the box. Parameters ---------- - drawSides = [top, bottom, left, right, front, back] - overhang = [l
ObjectCreation/boxcreator/boxcreator.py:69
↓ 2 callersMethodexecute
(self, host)
ParametricObjectCreation/geodesic_dome/geodesic_dome.py:320
↓ 2 callersMethodgetNormal
(self, obj)
TechDraw/LasercutterSVGExport/LasercutterTechdrawExport.py:125
↓ 2 callersFunctionsay
(s)
ParametricObjectCreation/geodesic_dome/geodesic_dome.py:196
↓ 1 callersFunctionGetDocumentsList
This function gets a list of currently open FreeCAD documents. This function is to be called from another function or module for obtaining an
Conversion/MultiCopy/MultiCopyCore.py:882
↓ 1 callersFunctionLaunch
This function checks whether or not the user has selected one or more objects. It then calls the '_Launch_Main_Dialog' class.
Conversion/MultiCopy/MultiCopyGui.py:498
↓ 1 callersFunction__RunPasteCommands
Perform the 'Paste' operation based on the user's various input parameters. This function is the '__RunPasteCode' function's GUI equivalent.
Conversion/MultiCopy/MultiCopyCore.py:756
↓ 1 callersMethod__add_padding_check_toggled
(self)
Conversion/MultiCopy/MultiCopyGui.py:408
↓ 1 callersMethod__add_separator_check_toggled
(self)
Conversion/MultiCopy/MultiCopyGui.py:397
↓ 1 callersMethod__delete_selections_check_toggled
(self)
Conversion/MultiCopy/MultiCopyGui.py:383
↓ 1 callersMethod__launch
This function generates and displays the MultiCopy GUI interface. It creates all the dialog boxes for user interaction and input.
Conversion/MultiCopy/MultiCopyGui.py:234
↓ 1 callersMethod__paste_button_clicked
(self)
Conversion/MultiCopy/MultiCopyGui.py:147
↓ 1 callersFunction__rename
Search the document for a newly added object and rename it. Parameters ---------- refObj: (FreeCAD.Object) The copied (not pa
Conversion/MultiCopy/MultiCopyCore.py:166
↓ 1 callersFunction__solve_numerals_code
Parse the paste code commands that contain data relevant to the global variable 'NUMERALS_CODE'. This function performs an auxiliary operation th
Conversion/MultiCopy/MultiCopyCore.py:261
↓ 1 callersFunction__solve_paste_code
Parse the input paste code commands into the python code format and tests for its validity. Parameters ---------- objectsList: (list)
Conversion/MultiCopy/MultiCopyCore.py:558
↓ 1 callersMethod__tabset_tab_toggled
(self)
Conversion/MultiCopy/MultiCopyGui.py:417
↓ 1 callersFunction__validate_check_assignment
Validate the generic '[...] = ...' parts of the input paste code commands. This function performs an auxiliary operation that is part of the
Conversion/MultiCopy/MultiCopyCore.py:446
↓ 1 callersFunction_add_lines_to_box_side
(box, holes)
ObjectCreation/boxcreator/boxcreator.py:410
↓ 1 callersMethodclaimChildren
Return a list of objects that will be modified by this feature
TechDraw/LasercutterSVGExport/LasercutterTechdrawExport.py:155
↓ 1 callersMethodclose
(self)
apothemBasedPrism.py:58
↓ 1 callersFunctionerrorDialog
(msg)
makecamera2dview.py:31
↓ 1 callersFunctionmakeDomeShape
(domeRad, ny)
ParametricObjectCreation/geodesic_dome/geodesic_dome.py:35
↓ 1 callersMethodmake_outline
(self, fp)
TechDraw/LasercutterSVGExport/LasercutterTechdrawExport.py:35
↓ 1 callersMethodonChanged
Here we can do something when a single property got changed
TechDraw/LasercutterSVGExport/LasercutterTechdrawExport.py:163
↓ 1 callersMethodretranslateUi
(self, Dialog)
ParametricObjectCreation/geodesic_dome/geodesic_dome.py:256
↓ 1 callersMethodretranslateUi
(self, DockWidget)
Utility/treeHelper/ui_treewindow.py:28
↓ 1 callersMethodrotate_biggest_side_up
(self, fp)
TechDraw/LasercutterSVGExport/LasercutterTechdrawExport.py:104
↓ 1 callersFunctionselected_to_techdraw
(doc, offsets, techdraw, BeamWidth)
TechDraw/LasercutterSVGExport/LasercutterTechdrawExport.py:183
↓ 1 callersMethodsendObject
(self, argObj)
Conversion/MultiCopy/MultiCopyGui.py:457
↓ 1 callersMethodsetupUi
(self, Dialog)
ParametricObjectCreation/geodesic_dome/geodesic_dome.py:201
FunctionAlphaToInt
Convert a lower-case alphabetic string to its integer variant. Parameters ---------- inputStr: (str) An arbitrary alphabetic
Conversion/MultiCopy/MultiCopyAuxFunc.py:199
MethodGgear
(self)
GenevaWheelGUI.py:43
FunctionLowerCaseAlphabet
Create a string list of lower case alphabetic characters. Parameters ---------- start: (int) Start count variable. end: (
Conversion/MultiCopy/MultiCopyAuxFunc.py:344
FunctionLowerCaseRomanNumerals
Create a string list of lower case roman numerals. Parameters ---------- start: (int) Start count variable. end: (int)
Conversion/MultiCopy/MultiCopyAuxFunc.py:292
FunctionOrdinaryNumerals
Create a string list of ordinary numerals (numbers). Parameters ---------- start: (int) Start count variable. end: (int)
Conversion/MultiCopy/MultiCopyAuxFunc.py:240
FunctionRomanToInt
Convert an upper-case roman numeral string to its integer variant. Parameters ---------- inputStr: (str) An arbitrary roman n
Conversion/MultiCopy/MultiCopyAuxFunc.py:121
FunctionRun
Perform the MultiCopy operation by inputting the required arguments. This is a public function, and can be used by the user to perform the Mu
Conversion/MultiCopy/MultiCopyCore.py:1053
FunctionRun
This function is an alias of the 'Launch()' function.
Conversion/MultiCopy/MultiCopyGui.py:514
FunctionRunFromGui
Perform the MultiCopy operation by inputting a MultiCopy GuiObject. This function is to be called from another function after the required data
Conversion/MultiCopy/MultiCopyCore.py:977
FunctionUpperCaseAlphabet
Create a string list of upper case alphabetic characters. Parameters ---------- start: (int) Start count variable. end: (
Conversion/MultiCopy/MultiCopyAuxFunc.py:318
FunctionUpperCaseRomanNumerals
Create a string list of upper case roman numerals. Parameters ---------- start: (int) Start count variable. end: (int)
Conversion/MultiCopy/MultiCopyAuxFunc.py:266
Method__getstate__
When saving the document this object gets stored using Python's json module.\ Since we have some un-serializable parts here -- the Coi
TechDraw/LasercutterSVGExport/LasercutterTechdrawExport.py:170
Method__getstate__
(self)
ParametricObjectCreation/geodesic_dome/geodesic_dome.py:333
Method__getstate__
(self)
ParametricObjectCreation/geodesic_dome/geodesic_dome.py:344
Method__getstate__
Callback called when saving the document. When saving the document this object gets stored using Python's cPickle module. Since we ha
ParametricObjectCreation/honeycomb_solid/honeycomb_solid.py:140
Method__getstate__
Callback called when saving the document. When saving the document this object gets stored using Python's cPickle module. Since we ha
ParametricObjectCreation/honeycomb_solid/honeycomb_solid.py:285
Method__init__
(self)
GenevaWheelGUI.py:123
Method__init__
(self)
apothemBasedPrism.py:66
Method__init__
(self, fp, # an instance of Part::FeaturePython Part = None,
TechDraw/LasercutterSVGExport/LasercutterTechdrawExport.py:16
Method__init__
Set this object to the proxy object of the actual view provider
TechDraw/LasercutterSVGExport/LasercutterTechdrawExport.py:137
Method__init__
(self, doc)
ParametricObjectCreation/geodesic_dome/geodesic_dome.py:308
Method__init__
(self, host)
ParametricObjectCreation/geodesic_dome/geodesic_dome.py:341
Method__init__
(self, obj, version)
ParametricObjectCreation/honeycomb_solid/honeycomb_solid.py:13
Method__init__
Set this object to the proxy object of the actual view provider.
ParametricObjectCreation/honeycomb_solid/honeycomb_solid.py:161
Method__init__
(self)
Conversion/MultiCopy/MultiCopyCore.py:108
Method__init__
This function initializes of the 'MultiCopy' class.
Conversion/MultiCopy/MultiCopyGui.py:96
Method__init__
(self)
Conversion/MultiCopy/MultiCopyGui.py:429
Method__setstate__
When restoring the serialized object from document we have the chance to set some internals here.\ Since no data were serialized nothi
TechDraw/LasercutterSVGExport/LasercutterTechdrawExport.py:176
Method__setstate__
(self, state)
ParametricObjectCreation/geodesic_dome/geodesic_dome.py:336
Method__setstate__
(self, state)
ParametricObjectCreation/geodesic_dome/geodesic_dome.py:347
Method__setstate__
Callback called when the document is restored. When restoring the pickled object from document we have the chance to set some interna
ParametricObjectCreation/honeycomb_solid/honeycomb_solid.py:150
Method__setstate__
Callback called when the document is restored. When restoring the pickled object from document we have the chance to set some interna
ParametricObjectCreation/honeycomb_solid/honeycomb_solid.py:295
Function__simpleCopy_op
Perform the 'Simple Copy' of an object. Parameters ---------- obj: (FreeCAD.Object) An object. dummyVar: (*)
Conversion/MultiCopy/MultiCopyCore.py:145
Function__stdCopy_op
Perform the 'Standard Copy' of an object. Parameters ---------- obj: (FreeCAD.Object) An object. dependencyArg: (bool)
Conversion/MultiCopy/MultiCopyCore.py:127
Methodattach
Setup the scene sub-graph of the view provider, this method is mandatory
TechDraw/LasercutterSVGExport/LasercutterTechdrawExport.py:146
Methodattach
Setup the scene sub-graph of the view provider.
ParametricObjectCreation/honeycomb_solid/honeycomb_solid.py:165
Functioncreate_box
Create a box with interlocked notches. Parameters ---------- - drawSides: [top, bottom, left, right, front, back] - overhangTop: [to
ObjectCreation/boxcreator/boxcreator.py:7
Functioncreate_compartment
(box, direction, offset, materialWidth,
ObjectCreation/boxcreator/boxcreator.py:307
MethodeventFilter
(self, widget, event)
Conversion/MultiCopy/MultiCopyGui.py:460
Methodexecute
Do something when doing a recomputation, this method is mandatory
TechDraw/LasercutterSVGExport/LasercutterTechdrawExport.py:30
Methodexecute
The new code.
ParametricObjectCreation/honeycomb_solid/honeycomb_solid.py:50
MethodgetDefaultDisplayMode
Return the name of the default display mode. It must be defined in getDisplayModes.
ParametricObjectCreation/honeycomb_solid/honeycomb_solid.py:178
MethodgetDisplayModes
Return a list of display modes.
ParametricObjectCreation/honeycomb_solid/honeycomb_solid.py:173
MethodgetIcon
Return the icon which will FreeCADear in the tree view. This method is optional and if not defined a default icon is shown.
TechDraw/LasercutterSVGExport/LasercutterTechdrawExport.py:142
MethodgetIcon
Return the icon in XMP format which will appear in the tree view. This method is optional and if not defined a default icon is shown.
ParametricObjectCreation/honeycomb_solid/honeycomb_solid.py:203
Functionlaunch_commands_list_dialog
()
Conversion/MultiCopy/MultiCopyGui.py:494
Functionmain
()
myMacroDir/myMacro.py:38
next →1–100 of 116, ranked by callers