MCPcopy Create free account

hub / github.com/MaslowCNC/Maslow-Create / functions

Functions429 in github.com/MaslowCNC/Maslow-Create

↓ 2 callersMethodrefreshCircles
* Used to trigger all of the circle atoms within a molecule and all of the molecules within it to update their value. Used when the number of segments
src/js/molecules/molecule.js:487
↓ 2 callersFunctionsay
(message)
src/js/lib/service.js:12
↓ 2 callersMethodsendToRender
* Sends the output of this molecule to be displayed in the 3D view.
src/js/molecules/molecule.js:864
↓ 2 callersMethodsendToRender
* Send the value of this atom to the 3D display.
src/js/prototypes/atom.js:769
↓ 2 callersFunctionshowGitHubSearch
* Runs when a gitHub molecule menu option is clicked to show search bar.
src/js/NewMenu.js:146
↓ 2 callersMethodstopnest
* Stops nest and changes flag to not working
src/js/molecules/nest.js:280
↓ 2 callersFunctiontoClipperCoordinates
(polygon)
src/js/lib/svgnest.js:470
↓ 2 callersFunctiontoClipperCoordinates
(polygon)
src/js/lib/svg_util/placementworker.js:3
↓ 2 callersMethodupdateSidebar
* Add a button to trigger the evolution process
src/js/molecules/geneticAlgorithm.js:178
↓ 2 callersMethodupdateValue
* Generate a layered outline of the part where the tool will cut
src/js/molecules/geneticAlgorithm.js:134
↓ 2 callersMethodupdateValue
* Grab values from the inputs and push them out to the input atoms.
src/js/molecules/molecule.js:236
↓ 1 callersFunctionCMenu
(element, pMenu)
src/js/lib/circularmenu.js:691
↓ 1 callersFunction_flattenTree
(t, hole)
src/js/lib/svgnest.js:800
↓ 1 callersFunction_lineIntersect
(A,B,E,F,infinite)
src/js/lib/svg_util/geometryutil.js:114
↓ 1 callersFunction_withinDistance
(p1, p2, distance)
src/js/lib/svg_util/geometryutil.js:23
↓ 1 callersMethodaddToConstantsList
* Add a constant to the list. Used as a callback from passing up the tree.
src/js/molecules/geneticAlgorithm.js:366
↓ 1 callersFunctionanimate
* Animation loop. Runs with every frame to draw the program on the display.
src/flowDraw.js:626
↓ 1 callersMethodattach
* Attaches a new connector to this ap * @param {object} connector - The connector to attach
src/js/prototypes/attachmentpoint.js:454
↓ 1 callersMethodattachSvgListeners
* Defines bin which will be used to place parts for nested svg
src/js/molecules/nest.js:228
↓ 1 callersMethodbeginPropagation
* Starts propagation from this atom if it is not waiting for anything up stream.
src/js/molecules/githubmolecule.js:138
↓ 1 callersFunctionbom
(blob, opts)
src/js/lib/FileSaver.js:29
↓ 1 callersMethodbreedAndCullPopulation
* Breed the best performers in the population, cull the rest
src/js/molecules/geneticAlgorithm.js:326
↓ 1 callersMethodbreedTwo
* Take two individuals and breed them to form a new individual with a mix of their genes and mutations
src/js/molecules/geneticAlgorithm.js:286
↓ 1 callersMethodcensus
* Walks through each of the atoms in this molecule and takes a census of how many there are and how many are currently waiting to be processed.
src/js/molecules/molecule.js:340
↓ 1 callersMethodcensus
* Returns an array of length two indicating that this is one atom and if it is waiting to be computed
src/js/prototypes/atom.js:743
↓ 1 callersMethodchangeColor
* Updates the value of the selected color and then the value.
src/js/molecules/color.js:122
↓ 1 callersMethodchangeUnits
(newUnitsIndex)
src/js/molecules/molecule.js:366
↓ 1 callersFunctioncheckBoxes
* Creates the checkbox hidden menu when viewer is active. These really shouldn't be regenerated every time. They should just be hidden.
src/flowDraw.js:392
↓ 1 callersFunctionclassedAdd
(node, names)
src/js/lib/circularmenu.js:216
↓ 1 callersFunctionclassedRemove
(node, names)
src/js/lib/circularmenu.js:221
↓ 1 callersMethodclickMove
* When mouse moves and Ctrl is down updates value for box width and height
src/js/molecules/box.js:98
↓ 1 callersMethodclickMove
* Handles mouse click and move to expand the AP. Could this be done with a call to expand out? * @param {number} x - The x coordinate of the clic
src/js/prototypes/attachmentpoint.js:313
↓ 1 callersFunctionclickZoneSize
(config)
src/js/lib/circularmenu.js:67
↓ 1 callersFunctionconversation
({ agent, say })
src/js/lib/conversation.js:1
↓ 1 callersFunctionconvertLinks
(link)
src/js/BOM.js:88
↓ 1 callersMethodcopyInputsFromParent
* Gives this molecule inputs with the same names as all of it's parent's inputs
src/js/molecules/molecule.js:120
↓ 1 callersFunctioncoverRadius
(radius, percent)
src/js/lib/circularmenu.js:30
↓ 1 callersFunctioncoverSize
(coverRadius)
src/js/lib/circularmenu.js:35
↓ 1 callersMethodcreateBOM
* Creates an editable UI representation of the bom list. * @param {Object} list - list is an object to which the generated HTML element will be
src/js/molecules/BOM.js:109
↓ 1 callersMethodcreateFileUpload
* Creates file upload button. Used in the sidebar. * @param {object} list - The HTML object to attach the new item to. * @param {object} par
src/js/prototypes/atom.js:1024
↓ 1 callersMethodcreateMarkdownListItem
* Creates a html representation of the passed text. Used in the sidebar. * @param {object} list - The HTML object to attach the new item to.
src/js/prototypes/atom.js:918
↓ 1 callersMethodcreateSegmentSlider
* Creates segment length slider and passes value to Global Variables
src/js/molecules/molecule.js:437
↓ 1 callersFunctiondefaultView
(node)
src/js/lib/circularmenu.js:137
↓ 1 callersFunctiondeleteEmptyPort
(target)
src/js/alwaysOneFreeInput.js:21
↓ 1 callersMethoddeleteNode
* Override super delete function to prevent output from being deleted
src/js/molecules/output.js:99
↓ 1 callersMethoddeleteOutputAtom
* A function to allow you to still call the delete function if needed.
src/js/molecules/output.js:106
↓ 1 callersMethoddisplaySidebarReadme
* Creates markdown version of the readme content for this atom in the sidebar * @param {object} list - The HTML object to append the created elem
src/js/molecules/molecule.js:538
↓ 1 callersMethoddisplaySimpleBOM
* Creates a simple BOM list which cannot be edited. The generated element is added to the passed list. * @param {object} list - The HTML object t
src/js/molecules/molecule.js:502
↓ 1 callersMethoddoubleClick
* Edit the atom's code when it is double clicked * @param {number} x - The X coordinate of the click * @param {number} y - The Y coordinate
src/js/molecules/code.js:175
↓ 1 callersMethoddownloadGCode
* The function which is called when you press the download button.
src/js/molecules/gcode.js:99
↓ 1 callersMethoddownloadStl
* The function which is called when you press the download button.
src/js/molecules/stl.js:91
↓ 1 callersMethoddownloadSvg
* The function which is called when you press the download button. * Stops nest in progress and downloads file to computer. Only enabled if svg h
src/js/molecules/nest.js:365
↓ 1 callersMethoddraw
* Add the center dot to the molecule
src/js/molecules/molecule.js:140
↓ 1 callersMethoddraw
* Draws the atom on the screen
src/js/prototypes/atom.js:184
↓ 1 callersMethoddraw
* Draws the attachment point on the screen. Called with each frame.
src/js/prototypes/attachmentpoint.js:142
↓ 1 callersMethoddraw
* Draw the connector as a bezier curve on the screen
src/js/prototypes/connector.js:73
↓ 1 callersMethodexpandOut
* Handles mouse click down. If the click is inside the AP it's connectors are selected if it is an input. * @param {number} cursorDistance - The
src/js/prototypes/attachmentpoint.js:365
↓ 1 callersFunctiongetIcon
(icon)
src/js/lib/circularmenu.js:463
↓ 1 callersFunctiongetIconColor
(icon)
src/js/lib/circularmenu.js:467
↓ 1 callersMethodgetRandomValue
* Generate a random number between min and max
src/js/molecules/geneticAlgorithm.js:247
↓ 1 callersMethodgoToParentMolecule
* Replace the currently displayed molecule with the parent of this molecule...moves the user up one level.
src/js/molecules/molecule.js:571
↓ 1 callersFunctionhear
(message)
src/js/lib/conversation.js:10
↓ 1 callersFunctioninit
* Runs once when the program begins to initialize variables.
src/flowDraw.js:569
↓ 1 callersMethodinitializePopulation
* Generate an initial population
src/js/molecules/geneticAlgorithm.js:255
↓ 1 callersMethodkeyPress
* Set the atom's response to a key press. Is used to delete the atom if it is selected. * @param {string} key - The key which has been pressed.
src/js/prototypes/atom.js:469
↓ 1 callersFunctionlistSize
(config)
src/js/lib/circularmenu.js:82
↓ 1 callersMethodloadTree
* Sets all the input and output values to match their associated atoms.
src/js/molecules/input.js:186
↓ 1 callersMethodloadTree
* Triggers the loadTree process from this molecules output
src/js/molecules/molecule.js:710
↓ 1 callersFunctionmenuSize
(config)
src/js/lib/circularmenu.js:50
↓ 1 callersFunctionmerge
(obj)
src/js/lib/circularmenu.js:545
↓ 1 callersFunctionminkowskiDifference
(A, B)
src/js/lib/svgnest.js:494
↓ 1 callersFunctionoffsetTree
(t, offset, offsetFunction)
src/js/lib/svgnest.js:155
↓ 1 callersFunctionopenTopMenu
* Checks if menu is open and changes class to trigger hiding of individual buttons
src/flowDraw.js:299
↓ 1 callersMethodplaceConnector
* Places a new connector within the molecule * @param {object} connectorObj - An object representation of the connector specifying its inputs and
src/js/molecules/molecule.js:831
↓ 1 callersFunctionplaceGitHubMolecule
* Runs when a menu option is clicked to place a new atom from searching on GitHub. * @param {object} ev - The event triggered by clicking on a me
src/js/NewMenu.js:241
↓ 1 callersFunctionplaceNewNode
* Runs when a menu option is clicked to place a new atom from the local atoms list. * @param {object} ev - The event triggered by click event on
src/js/NewMenu.js:214
↓ 1 callersFunctionrandomColor
* Selects a random color from an array. Where is this used? Can this be deleted? * @param {array} colors - An array of possible colors.
src/utils.js:14
↓ 1 callersMethodreloadMolecule
* Reload this github molecule from github
src/js/molecules/githubmolecule.js:108
↓ 1 callersMethodrequestReadme
* Check to see if any of this molecules children have contributions to make to the README file. Children closer to the top left will be applied first.
src/js/molecules/molecule.js:592
↓ 1 callersMethodrequestReadme
* Return any contribution from this atom to the README file
src/js/prototypes/atom.js:633
↓ 1 callersMethodreset
* I'm not sure what this does. Can it be deleted?
src/js/prototypes/attachmentpoint.js:352
↓ 1 callersFunctionsearchMenu
* Runs when enter key is clicked and the input is focused to show results from search.
src/js/NewMenu.js:167
↓ 1 callersMethodselectBox
* Delineates bounds for selection box.
src/js/prototypes/atom.js:345
↓ 1 callersMethodserialize
* Generates and returns a object representation of this molecule and all of its children.
src/js/molecules/molecule.js:613
↓ 1 callersMethodsetDefault
* Restores the ap to it's default value.
src/js/prototypes/attachmentpoint.js:487
↓ 1 callersMethodsetEquation
* Set the current equation to be a new value.
src/js/molecules/equation.js:201
↓ 1 callersFunctionsetHref
(ele, href)
src/js/lib/circularmenu.js:329
↓ 1 callersMethodsetSimplifyFlag
* Called when the simplify check box is checked or unchecked.
src/js/molecules/molecule.js:360
↓ 1 callersFunctionshuffleArray
(array)
src/js/lib/svgnest.js:851
↓ 1 callersFunctionstartDeg
(config)
src/js/lib/circularmenu.js:16
↓ 1 callersFunctionstartTimer
* Starts the timer to retract the menu
src/flowDraw.js:536
↓ 1 callersMethodstartnest
* Starts nesting, replaces html svg for nested svg
src/js/molecules/nest.js:261
↓ 1 callersFunctionstr
(key,holder)
src/js/lib/svg_util/json.js:1
↓ 1 callersMethodsvgToNest
* Turns geometry values into svg then starts nest and returns nested SVG
src/js/molecules/nest.js:159
↓ 1 callersFunctiontextTop
(clickZoneRadius)
src/js/lib/circularmenu.js:93
↓ 1 callersFunctiontoNestCoordinates
(polygon, scale)
src/js/lib/svgnest.js:482
↓ 1 callersFunctiontoNestCoordinates
(polygon, scale)
src/js/lib/svg_util/placementworker.js:15
↓ 1 callersFunctiontoTree
(list, idstart)
src/js/lib/svgnest.js:618
↓ 1 callersMethodupdate
* Runs with each frame to draw the atom.
src/js/prototypes/atom.js:591
↓ 1 callersMethodupdateConstantsList
* Regenerate the list of constants we are evolving
src/js/molecules/geneticAlgorithm.js:353
← previousnext →101–200 of 429, ranked by callers