Macros recipes/pl: Difference between revisions
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
* {{MacroLink|Icon=Macro If Selected Stay If Not Then Delete.png|Macro If Selected Stay If Not Then Delete|Makro Jeśli wybrano Zostań, jeśli nie, usuń}}: Wszystkie obiekty, które nie zostały wybrane, zostaną usunięte!! |
* {{MacroLink|Icon=Macro If Selected Stay If Not Then Delete.png|Macro If Selected Stay If Not Then Delete|Makro Jeśli wybrano Zostań, jeśli nie, usuń}}: Wszystkie obiekty, które nie zostały wybrane, zostaną usunięte!! |
||
* {{MacroLink|Icon=Macro SelectVisible2.png|Macro_Toggle_Visibility2_1-2|Makro Przełącz widoczność2 1-2}}: Zestaw dwóch makrodefinicji, <br>makro '''1:''' Macro_Toggle_Visibility2_1-2 ukrywa obiekty niewybrane, <br>makro '''2:''' Macro_Toggle_Visibility2_2-2 wyświetla wszystkie obiekty, makro z oryginalną widocznością. |
* {{MacroLink|Icon=Macro SelectVisible2.png|Macro_Toggle_Visibility2_1-2|Makro Przełącz widoczność2 1-2}}: Zestaw dwóch makrodefinicji, <br>makro '''1:''' Macro_Toggle_Visibility2_1-2 ukrywa obiekty niewybrane, <br>makro '''2:''' Macro_Toggle_Visibility2_2-2 wyświetla wszystkie obiekty, makro z oryginalną widocznością. |
||
* {{MacroLink|Icon=Macro_VisibleAlls2.png|Macro_Toggle_Visibility2_2-2|Makro Przełącz widoczność2 2-2}}: Zestaw dwóch makrodefinicji, <br>makro '''1:'''Macro_Toggle_Visibility2_1-2 ukrywa obiekty niewybrane, <br>makro '''2:''' Macro_Toggle_Visibility2_2-2 wyświetla wszystkie obiekty, makro z oryginalną widocznością. |
* {{MacroLink|Icon=Macro_VisibleAlls2.png|Macro_Toggle_Visibility2_2-2|Makro Przełącz widoczność2 2-2}}: Zestaw dwóch makrodefinicji, <br>makro '''1:''' Macro_Toggle_Visibility2_1-2 ukrywa obiekty niewybrane, <br>makro '''2:''' Macro_Toggle_Visibility2_2-2 wyświetla wszystkie obiekty, makro z oryginalną widocznością. |
||
* {{MacroLink|Icon=SelectVisible.png|Macro SelectVisible|Makro Wybierz widoczne}}: Zostaną wybrane wszystkie obiekty które mają ustawiony parametr widoczności w drzewie. |
* {{MacroLink|Icon=SelectVisible.png|Macro SelectVisible|Makro Wybierz widoczne}}: Zostaną wybrane wszystkie obiekty które mają ustawiony parametr widoczności w drzewie. |
||
* {{MacroLink|Icon=Macro_Manage_Navigational_Styles1.png|Macro_Manage_Navigational_Style|Makro Zarządzaj Stylem Nawigacji1}}: Ta para makr pozwala na zmianę Stylu Nawigacji na ''CAD''. |
* {{MacroLink|Icon=Macro_Manage_Navigational_Styles1.png|Macro_Manage_Navigational_Style|Makro Zarządzaj Stylem Nawigacji1}}: Ta para makr pozwala na zmianę Stylu Nawigacji na ''CAD''. |
Revision as of 09:41, 11 November 2020
Macros |
Ta strona zawiera makrodefinicje, które dodają funkcjonalności do programu FreeCAD.
Jeśli napisałeś makro i chcesz umieścić je w kategoriach na tej stronie, zobacz artykuł dokumentacja makrodefinicji, aby dowiedzieć się jak właściwie przygotować dokumentację.
Kategorie
Operacje w oknie widoku 3D
- Makro Obrócenie widoku: To makro obraca aktualny widok o 90° w lewo. Działa tylko jeśli masz widok XY XY (z góry).
- Makro Widok Aksonometryczny: To makro obraca aktualny widok w Widok aksonometryczny.
- Makro Obróć widok swobodnie.: To makro jest używane w konsoli Pythona i obraca aktualny widok o zadany kąt i płaszczyznę.
- Makro Obrót widoku: Udostępnia graficzny interfejs użytkownika, który pozwala na obracanie widoku o precyzyjne wartości we wszystkich trzech kierunkach.
- Makro Obiekty Tekstury: To makro pozwala na tymczasowe umieszczenie wizerunku tekstury na wybranych obiektach.
- Makro Krzyż myszki: To małe makro zmienia kursor myszki w precyzyjny krzyż.
- Makro Dopasuj widok do ściany: To makro wyrównuje aktualny widok do wybranej ściany.
- Makro Wyrównaj obiekt do widoku: To makro wyrównuje wybrany obiekt do bieżącego widoku i ustawia współrzędne Umiejscowienie kamery.
- Makro Wyrównaj kamerę do płaszczyzny roboczej: To makro ustawia kamerę na aktualną Draft: Płaszczyznę roboczą.
- Makro Wyrównaj płaszczyznę roboczą do kamery: To makro przesuwa aktualną Draft: Płaszczyznę roboczą na środek aktualnego widoku.
- Makro Wyrównaj ścianę obiektu do widoku: To makro wyrównuje powierzchnię wybranego obiektu do bieżącego widoku (w przypadku otworu w powierzchni czołowej, otwór jest umieszczony w widoku).
- Makro Przełącz widoczność paneli: To makro przełącza widoczność różnych paneli pomocniczych we FreeCAD, umożliwiając przeglądanie okna głównego z całą dostępną przestrzenią ekranu.
- Makro FCCamera: To makro może obracać ekran o określony kąt i zdefiniowaną oś oraz tworzyć płaszczyznę skierowaną do ekranu. W celu utworzenia formy w określonej pozycji planu należy ustawić wybraną ścianę przed ekranem, w celu wykrycia pozycji kamery.
- Makro Przełącz widoczność: Zestaw trzech makrodefinicji,
makro 1: ukrywa obiekty nie wybrane,
makro 2: wyświetla wszystkie obiekty,
makro 3: ukrywa wszystkie obiekty. - Makro Widoczne wszystkie obiekty: To makro sprawdza, czy wszystkie obiekty w dokumencie są widoczne, parametr (Visibility=True).
- Makro Ukryte wszystkie obiekty: To makro sprawdza, czy wszystkie obiekty w dokumencie są ukryte, parametr (Visibility=False).
- Makro Jeśli wybrano Zostań, jeśli nie, usuń: Wszystkie obiekty, które nie zostały wybrane, zostaną usunięte!!
- Makro Przełącz widoczność2 1-2: Zestaw dwóch makrodefinicji,
makro 1: Macro_Toggle_Visibility2_1-2 ukrywa obiekty niewybrane,
makro 2: Macro_Toggle_Visibility2_2-2 wyświetla wszystkie obiekty, makro z oryginalną widocznością. - Makro Przełącz widoczność2 2-2: Zestaw dwóch makrodefinicji,
makro 1: Macro_Toggle_Visibility2_1-2 ukrywa obiekty niewybrane,
makro 2: Macro_Toggle_Visibility2_2-2 wyświetla wszystkie obiekty, makro z oryginalną widocznością. - Makro Wybierz widoczne: Zostaną wybrane wszystkie obiekty które mają ustawiony parametr widoczności w drzewie.
- File:Macro Manage Navigational Styles1.png Makro Zarządzaj Stylem Nawigacji1: Ta para makr pozwala na zmianę Stylu Nawigacji na CAD.
- File:Macro Manage Navigational Styles2.png Makro Zarządzaj Stylem Nawigacji2: Ta para makr pozwala na zmianę Stylu Nawigacji na Inventor.
- Makro Zduplikowany wybór: Makro testuje czy zaznaczenie nie jest zduplikowane, wybierz obiekt w oknie widoku 3D, jeśli kursor zmieni się w symbol "Zakazu", oznacza to że wybór jest zduplikowany, makro pozostaje rezydentne.
- Makro Copy3DViewToClipboard: Skopiuj zawartość widoku 3D o rozmiarze 640 x 480 px do schowka.
- Makro Prostopadle do linii łamanej: To makro ustawia obiekt prostopadle do wybranej linii.
- Makro Obróć w punkcie: Makro do obracania samego obiektu z osią obrotu ze środkiem w klikniętym polu wyboru, środkiem masy lub ostatnim punktem.
- Makro FCTreeView: Makro umożliwia utworzenie listy wszystkich obiektów w projekcie bez określania kolejności, umożliwia sortowanie opcji według nazwy, etykiety, widoczności, grupy. Umożliwia wyszukiwanie opcji według długości według nazwy, etykiety .... bez uwzględniania wielkości liter lub z uwzględnieniem wielkości liter i zaznaczenie wszystkich obiektów wyświetlanych w oknie makra.
- Makro Select Hovering: to makro zaznacza wybór ściany, krawędzi, wierzchołka leżącego pod kursorem myszki.
- Makro Rozwiń pozycję drzewa: to makro rozwija wybrane elementy w widoku drzewa. Jeśli nie zaznaczono, wszystkie elementy są rozwijane/zwijane.
- Makro Mouse over cb: to makro wyświetla wszystkie elementy pod kursorem (wyświetlane będą również elementy zasłonięte przez inne elementy)
- Makro Wybierak elementów FC: to makro wyświetla wszystkie elementy pod kursorem to samo "Makro Mouse over cb" z GUI (wyświetlane będą również elementy zakryte przez inne elementy).
- Makro_Screen_Wiki: Specjalne makro dla osoby pracującej z Wiki. To makro pozwala na zapisanie widoku 3D w pożądanym formacie. Widok 3D lub pełne okno 3D programu FreeCAD przyjmuje pożądane wymiary.
- Makro GuiResetToolbars: To makro resetuje pozycję pasków narzędzi.
Animacja
- Macro crank simul: Rotation rod and piston
- Macro Spring: Simulation of one spring
- Macro hinge: Open and close hinge
- Macro Assembly: Assembly animate
- Macro Animated Constrain: Animate angle constrain in sketcher
- Macro Assemblage Imprimante 3D: Simulation of movements of a 3D printer
- Constraint Draft: Simple example animation Draft wires by use the Expressions for associate many wires and simulate or verify the movement. Here the circle rotation create the movement for all objects connected (This macro run with FreeCAD version 0.16)
Kodowanie i tworzenie skryptów
- Macro MessageBox: shows how to give information to the user through the GUI.
- Qt Example: example of using Qt commands, their connections, extraction and data assignment.
- Macro Python Assistant Window: This macro provides a cut/copy/paste workspace for Python code, it is segmented so different sections can be selected and it is persistent between FreeCAD sessions.
- Macro Build Utility: This macro provides a utility to assemble a project from sub-project files using the Merge Project facility.
- Macro Global Variable Watcher: This macro facilitates the user selecting global variables and monitoring their values.
- Macro clone explicit: creates a copy of each selected object and sets its properties to an expression linking to the original object, making it an explicit and editable clone.
- Macro ZTest Over 128: This macro is only used by programmers Test characters ASCII over 127.
Konwersja
- Macro Extract Wires from Mesh: Extracts boundary wires from selected meshes
- Macro MeshToPart: converts selected meshes to parts
- Macro PartToVRML: Converts selected parts to VRML meshes for small size and faster loading (VRML models Kicad and Blender compatible)
- Macro FaceToSketch: Converts the selected Face to a single Sketch without constraints.
- Macro FCWire To Volume: This macro create boolean operation with the objects selected just select the wires give the thickness and click "Create"
- Macro DeepCopy: Make a compound out of a part with a copy of all its shapes.
Środowisko pracy Drawing
The Drawing Workbench is considered obsolete since FreeCAD 0.17. Consider using the TechDraw Workbench instead.
- Macro Automatic drawing: allows the user to get the view of his object in a drawing with 4 different position (front,top,iso,right). Needs some modification to be perfectly effective
- Macro CartoucheFC: This GUI macro to fill simply all fields of the cartridge of the plan implementation worksheet FreeCAD, the format of the date and the symbol of the projection mode adapt to the EU region or US selected.
- Macro CartoucheFC Full: This GUI macro to fill simply all fields of the cartridge templates_Full of the plan implementation worksheet FreeCAD, the format of the date and the symbol of the projection mode adapt to the EU region or US selected.
- Macro CartoucheFC 2: This GUI macro to fill simply all fields of the cartridge model 2 of the plan implementation worksheet FreeCAD.
- Macro Normal Vector: Get the normal vector of a preselected face for creating a drawing view normal to that face
Dxf 2D Draft
- Macro Rectellipse: creates a parametric rectellipse
- Macro Make Circle 3 Points: creates a circle on 3 selected points, the points can be objects (this example brings together the two examples below, all parameters simply settle on a graphic window).
- Macro Draft Circle 3 Points: creates a circle from 3 selected points 2D orthogonal
- Macro Draft Circle 3 Points 3D: creates a circle from 3 selected points in the space 3D
- Macro Make Arc 3 Points: creates a arc from 3 selected points
- Macro Ellipse-Center+2Points Makes an ellipse by selecting three points (in this order): centre, major radius and minor radius
- Macro FC Convert Lines: this macro convert the object line, wire in line Dash, DashDot, DashDotDot,ZigZag and Hand with the dimensions given.
- Macro EdgesToArc: Converts the selected Edges to a circular Arc if possible. Useful for restoring discretized arcs.
- Macro Creating faces from a DXF file: This macro create face from a DXF file, the "Layer" are recognized separate and trained in groups.
- Macro DXF to Face and Sketch: This macro converts selected elements of imported dxf to face and sketch.
- Macro Compound Plus: Draf command set in a small macro for the 2D sketch example: work with the DXF files.
- Macro Dxf To Shape: Macro utility for create unique wire with many wires, the type wire created is selected to MakeWire, Bspline, BsplineCurve, BsplineCurve + Arc, Polygon, Bezier curve
Fem
- Makro GMSH: Utwórz siatki FEM za pomocą generatora siatki GMSH
- Makro Eksport przejściowych wyników FEM: To makro eksportuje wiele obiektów wyników FEM z analizy przejściowej do formatu VTK i generuje plik PVU, który może być użyty do załadowania wyników bezpośrednio do ParaView w celu późniejszego przetwarzania.
Informacje i wymiarowanie
- Macro FCInfo: Gives a series of information about the selected shape and can display a conversion of length, inclination (degrees, radian, grade) shape, surface, volume and the weight of the form in the density selected in various international and Anglo-Saxon units
- Macro FCInfo Alternate Linux: same as above, but for Linux
- Macro FCInfoGlass: Gives a series of information about the selected shape and displayed in screen 3D
- Macro FCInfoToMouse: Provide informations coordinates, length and angles in real time on the mouse in a bubble annotation displayed in the 3D screen
- Macro Delta xyz: Gives the Delta values and the distance between 2 points
- Macro ObjectInfo: User-friendly "Info" module created by a FreeCAD user
- Macro Dump Objects: This macro generates a listing of all objects in the current document - the list can be in a window or on the Report view.
- Macro MeasureCircle: Compute the radius of a circle by 3 points or a circular edge.
- Macro CenterOfMass: Gives the total mass and the center of mass of multiple objects selected with the density chosen.
- Macro SimpleProperties: Display in a concise way basic physical properties of an object (volume, bound box dimensions, ...)
Biblioteki
- Macro screw maker1_2: This macro creates a screw with or without thread, according to ISO standards (screw_maker1_6.py.zip with Pyside support). (Screw Maker 2.0 - new version!)
- Macro BOLTS: The aim of BOLTS is to build a free and open-source standard parts library for CAD applications.
- Macro PartsLibrary: Starts the Parts library browser
Funkcje matematyczne
- Macro 3D Parametric Curve: Draw a function described by parametric equations x(t), y(t) and z(t).
- Macro Draw 2D Function: draws a function described by an equation z=F(x)
- Macro Draw Parametric 2D Function: Based on the above macro, but for parametric and optionally polar
- Macro WorkFeatures: Tool utility : Tab > Wire > Curves And Surfaces Launch Curves and Surfaces Menu ...
equations.
Wielofunkcyjne
- Macro WorkFeatures: Tool utility to create plans of the axes, planes from 3 points, axes on a form, information on the coordinates of the shape and many other useful features to facilitate the creation of your project. This utility is up next in the combo view.
Tworzenie obiektów
- Macro Make Cube: creates a rectangular cuboid from 4 points
- Macro Solid Sweep: creates a solid by sweeping a 2D profile along a trajectory previously selected in the 3D view. The 2D elements can be created through the regular tools in FreeCAD's GUI.
- Macro Geodesic Dome: This macro creates a geodesic dome shell
- Macro Pyramid: This macro creates a parametric pyramid. All parameters are customizable just like with Part Cone.
- Macro Polyhedrons: This macro creates parametric polyhedrons (dodecahedron, icosahedron, tetrahedron, ...). Customizable via radius or side.
- Macro Line Length: Create a line giving coordinate XYZ length and angle to plane X Y
- Macro Cut Line: Cut a line and create x points, giving the number of points, create line or not, create points or not, create bicolor or not on choice.
- Macro CirclePlus: Create a circle or arc giving radius, diameter, circumference, area, startangle, endangle, arc, anglecenter, cord, arrow, center (point) on choice (same below but with GUI) plus create sector and face.
- Macro Circle: Create a circle or arc giving radius, diameter, circumference, area, startangle, endangle, arc, anglecenter, cord, arrow, center (point) on choice (same above without GUI).
- Macro Cut Circle: Cut a circle or arc and create x arcs, giving the number of cut.
- Macro Triangle AH: This macro create one triangle creates a triangle by giving the head angle and the height of the triangle (the triangle of the head is positioned to the xyz coordinates 0.0)
- Macro Texture: Create a project from a bmp image to create a texture easily
- Macro Loft: Create a loft with a list of wire (specially created for Macro Texture see above)
- Macro Circular Text: This macro create a text around a cylinder
- Macro WireXYZ: This macro creates a Wire with the coordinates extracted from a file. The coordinates X Y Z are separated by a space.
- Macro Repro Wire: This macro reproduce all element selected subobject wire or face.
- Macro Apothem Based Prism GUI: A GUI dialog that creates an Apothem, (inradius) Based Prism from user input.
- Macro FCSpring Helix Variable: This macro create one spring truncate, the troncature is adjustable on the all coil to choice.
- Macro FCSpring On Surface: This macro create one spring (helix) on the surface of the object (solide).
- Macro Guitar fretboard: Guitar Fretboard Maker
- Macro Guitar Nut: Guitar Nut Maker
- Macro FCCamGroover: Creates grooved cylinder for cam.
- Macro Site From Contours: creates an Arch Site from a series of contour lines
- Macro FCHoneycombMaker: Creates parametric honeycomb grid.
Transformacja obiektu
- Macro ArrayCopy: copies the selected object several times, on an array grid
- Macro FlattenWire: flattens draft wires that are not planar to their median Z coordinate
- Macro FlattenWire3Points: flattens draft wires that are not planar to a plane defined by 3 points
- Macro JointWire: allows to find and joint all non connected edge to the closest non connected one using a line
- Macro Remove parametric history: removes all parametric associativity from an object, leaving it as a "dumb" shape
- Macro SuperWire: Forces the creation of a Wire from lines and arcs that don't necessarily touch each other. Use this if normal wire operation fails
- Macro HealArcs: Sometimes arcs are transformed into BSplines, for example when scale operations have been applied to them. This macro recreates valid arcs from them. Useful before exporting to dxf
- Macro CloneConvert: Creates a clone of the object and the converted in the chosen position and size (inch, mm, m, µm...). The base object is recognized in mm (FreeCAd base)
- Macro Image Scaling: Macro for easy scaling drawings, graphics, diagram, blueprint and similar 2D images in Image workbench.
- Macro MatrixTransform: apply linear space transformations to distort shapes. E.g., non-uniform scaling, shearing, mirroring, axes swapping.
- Macro Connect And Sweep: This macro easily creates a connection between two objects, an object and a point or between two points or the selected line, wire, edge (the center of the objects are the starting and ending points of the sweep) can be selected form a configurable ellipse polygon circle
- Macro Section: (parametric): alternative implementation of Part Section tool, more suitable for making sweep paths.
- Macro Overlap: (parametric): Boolean operation. Similar to Part Common, but with custom overlap count threshold.
Druk 3D
- Macro 3d Printer Slicer: Exports current design to slicer software or CAM software.
- Macro 3d Printer Slicer Individual Parts: This code, when run, will export the visible bodies at the top level (bodies deeper in the tree will be ignored) of the currently open design to individual STL files, and open them it in the slicing software that you use. This macro will look for Cura as the default but you can change it to any other slider by changing the SLICERAPP variable in the source code.
Raytracing
- Macro FreeCAD na Kerkythea: Eksport z FreeCAD do Kerkythea
Środowisko pracy arkusz kalkulacyjny
- Macro Alias Manager: helps managing aliases inside FreeCAD Spreadsheet workbench. It is able to create, delete, move aliases and create a 'part family' group of files.
- Macro EasyAlias: Quickly create aliases in FreeCAD Spreadsheet workbench. It uses the labels from one column to create aliases for adjacent cells in the next column to the right, e.g. labels from Column A become aliases for the cells in Column B.
- Macro Spreadsheet Tools: This macro helps managing cells inside FreeCAD Spreadsheet workbench.
- Macro FCTreeView: Macro for list all objects in the project in one list without hierarchy, options sort by name, label, visibility, group, by length option search by name, label .... without case sensitive or with case sensitive and select all objects displayed in the macro window.
- Macro FCSpreadSheet Extract: This macro save the data in a csv file with the formula or in a xml file.
Narzędzia
- Macro CenterFace: This macro red trace (editable) the center face (mass) with 1 point and print the coordinates
- Macro Center Align Objects with Faces or Edges: This macro covers the following constraints: - Concentric constraint among non cylindrical parts; - Constraint on center Faces and/or Edges. It works also with the new Body and App::Part containers, as well as with STEP hierarchy.
- Macro Easy cutouts for Enclosure Design: This macro makes Cutouts for Enclosures in a very handy way
- Macro MacroMenu: Add the macros found in the macros folder to the Macros menu of FreeCAD
- Macro ForceRecompute: Forces manual recompute of model
- Macro Recompute Profiler: measures time it takes to recompute each object in a project
- Macro Shake Sketch: Shake a sketch in order to discover its unconstrained parts.
- Macro Replace Part in Assembly: Replaces a part (simple copy) in an "Assembly" with another Part (simple copy).
- Macro Toggle Drawstyle: This macro toggles the Drawstyle of the selected object
- Macro Toggle Drawstyle Optimized: This macro toggles the Drawstyle of the selected object (same Macro Toggle Drawstyle above optimized all language)
- Macro HighlightCommon: Highlight common parts.
- Macro HighlightDifference: Compute the difference between two shapes.
- Macro cross section: displays an interactively slidable cross-section.
- Macro Print_SceneGraph: prints the SceneGraph.
- Macro BoundingBox Tracing: This macro red trace (editable) around the BoundingBox with 6 rectangles
- Macro Arch Axis System Repartition: This macro help you to create an Arch Axis System along a line with a
- Macro Perpendicular To Wire: This macro positioned your object perpendicularly to wire selected.
- Macro merge duplicate materials: Merges materials that have the same base name (with different numeral endings like 001, 002,...) into one.
- Macro Unbind Numpad Shortcuts: rebinds standard view commands from digit keys to Ctrl+digit, so that they don't spin the view by accident when entering numbers.
- Macro findConfigFiles: finds user config files system.cfg and user.cfg, copies folder location to system clipboard, instructs user on renaming these files in order to reset FreeCAD settings, and opens folder with default file browser.
- Macro Snip: Easily post screenshots to the FreeCAD forum.
- Macro SketchUnmap: unmap a sketch from its current support and makes its placement absolute, eventually creating a locating datum plane.
- Macro PlacementAbsolufy: reset Part containers to global origin while maintaining objects absolute position.
- Macro SplitPropEditor: temporarily split the property editor from the combo view to a separated dock widget
- Macro StraightenObject: re-align object(s) with FreeCAD coordinate system according reference face/edge
- Macro_Visibility_Manager: manage visibility of document objects by type or individually
- Macro TreeToAscii: Prints model tree as "ASCII art" with custom pattern & style, and export to clipboard, file or embedded document
Kreatory
- Macro Sheet Metal Unfolder: Creates an unfolded part from a sheet-metal-part.
- Macro Unroll Ruled Surface: allows to unroll ruled surfaces and to draw them on a page.
- Macro Unfold Box: allows to unfold the surfaces of a box of any shape and to draw them on a page.
- Macro Airfoil Import & Scale: Imports and scales a .dat airfoil to desired chord length.
- Macro Geneva Wheel: Allows the user to create a Geneva wheel mechanism from scratch. Must edit values within the Macro to alter the size of the object.
- Macro Geneva Wheel GUI: A GUI front end that allows the user to create a Geneva wheel mechanism from scratch.
- Macro Cabinets32: creates side and top/bottom walls for a cabinet with drilled holes for connection parts of manufacturer Hettich.
- Macro Half turn stairs: Creates a half turn (left/right) stair from a Data-file.
- Macro Half-Hull Model: This macro generates both three dimensional half-hull and full-hull models from a series of 2D line drawings.
- Macro Stairs: Create stair helix, create your stair nosing select and run the macro.
- Macro FCGear: Additional Workbench to create different types of gears, involute gear, involute rack, cycloide gear, bevel gear.
- Macro Corner shapes wizard: pops up a dialog asking for the dimensions of your corner piece, then creates the object in the document and creates a page view with top, front and lateral views of the piece
- Macro Corner shapes wizard/update: pops up a dialog asking for the dimensions of your corner piece, then creates the object in the document and creates a page view with top, front and lateral views of the piece
- Macro PropertyMemo: This little macro create one Property additional (memo or other text) for you object (only Draft)
- Macro Fonts Win10 PYMP: This little macro is dedicate to users of Windows 10. The explorer fonts for use the ShapeString is empty and this little macro can help you see aesily the font to use.
- Macro Rubik Cube: Display a Rubik Cube and interactively do slice rotations.
- Macro Megaminx: Display a Megaminx and interactively do slice rotations.
Inne ciekawe makrodefinicje stworzone przez użytkowników FreeCAD
- By microelly2 : freeCAD_macro, geodata, Animation, freecad-nurbs, PieMenu, and more.
- By hamish2014: FreeCAD_assembly2, FreeCAD_drawing_dimensioning, and more.
- By triplus: IconThemes, ShortCuts, NavigationIndicator, TabBar, Launcher, PersistentToolbars, PieMenu, and more.
- By rockn: FreeCAD-Timber, FreeCAD-addons, FreeCAD-library, FreeCAD-StructuresBois, and more.
- By oddtopus: flamingo (workbench for metal structures).
- By dprojects: getDimensions FreeCAD macro to get chipboards dimensions to cut (woodworking).
- By Siardeni: workbench for create metal profiles, square tubing, z profile, palette, rotation, drawing, and more.
- By realthunder: Assembly3 workbench, and more.
Użycie
Zobacz artykuł Jak zainstalować makrodefinicje, aby uzyskać pełny opis, oraz dostosowanie paska narzędzi, aby dodać makra do paska narzędzi w celu zapewnienia łatwego dostępu.
Instalacja wielu makr jest równoznaczna z instalacją nowego stołu warsztatowego; informacje na ten temat można znaleźć w artykule Jak zainstalować dodatkowe Środowiska pracy.
Instalacja automatyczna
Poczynając od FreeCAD 0.17, użyj Menadżera dodatków w menu głównym Narzędzia → Menadżer dodatków aby zainstalować makrodefinicje, która została dołączone do repozytorium FreeCAD-macros.
Instalacja ręczna
Jeśli nie używasz Menedżera dodatków, makro można zainstalować ręcznie.
- Skopiuj kod Python z odpowiedniej strony makrodefinicji.
- Otwórz menu Makrodefinicji Makro → Makra..., naciśnij przycisk Utwórz i nadaj mu nazwę.
- Wklej kod Python, który skopiowałeś.
- Wciśnij przycisk Zapisz, i uruchom ponownie program FreeCAD.
- Aby go użyć, otwórz ponownie menu makrodefinicji, wybierz nowe makro i naciśnij przycisk Wykonaj.
Dodaj makro do niestandardowego paska narzędzi
- Idź do menu Narzędzia → Dostosuj.
- W zakładce Makro dodaj nową nazwę makrodefinicji oraz opcjonalnie zdefiniuj ikonę i skrót klawiszowy.
- W zakładce Narzędzia utwórz nowy pasek narzędzi i dodaj swoje makro, wybierając je z kategorii Makro.