Sandbox:Mario52: Difference between revisions

From FreeCAD Documentation
mNo edit summary
mNo edit summary
 
(79 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{VeryImportantMessage|'''my personal Sanbox Mario52'''<br />'''Not For Release - Do not Translate - Do not change - Not to read - Not to look'''}}
{{VeryImportantMessage|'''my personal Sanbox Mario52'''<br />'''Not For Release - Do not Translate - Do not change - Not to read - Not to look'''}}


----
{{TutorialInfo
___________________________________________________________________________________________________________________________________________________________
|Topic=Macros
print("_________________________")
|Level=Beginner
import sys
|Time=
|Author=
## ####new2
|FCVersion=
pathFile = os.path.dirname(SaveName) + "/" #= C:/Provisoire400/
|Files=
formatFichier = os.path.splitext(SaveName)[1] #= .png
}}
SaveName = os.path.splitext(SaveName)[0] # /home/kubuntu/.FreeCAD/Macro/Texture_007_H
SaveNameformatFichier = SaveName + formatFichier #= C:/Provisoire400/image3D.png
print(SaveName)
print(formatFichier)
print(pathFile)
print(SaveNameformatFichier)
## ####new2
print("__________________________")


This page contains macros to add functionality to your freecad installation


OS: Ubuntu 20.10 (KDE/plasma)
== Macros ==
Word size of OS: 64-bit
<div class="toccolours mw-collapsible mw-collapsed">
Word size of FreeCAD: 64-bit
===[[File:Freecad16.svg]] Object creation===
Version: 0.19.23578 (Git) AppImage
<div class="mw-collapsible-content">
Build type: Release
* {{MacroLink|Macro_makeCube|Macro Make Cube|Macro Make Cube}}: creates a [http://en.wikipedia.org/wiki/Cuboid rectangular cuboid] from 4 points
Branch: master
* {{MacroLink|Text-x-python|Macro Solid Sweep|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.
Hash: 50c3cbf00579dc4941ca743c25720d016b0453ce
* {{MacroLink|Text-x-python|Macro Geodesic Dome|Macro Geodesic Dome}}: This macro creates a geodesic dome shell
Python version: 3.8.6
* {{MacroLink|Text-x-python|Macro Line Length|Macro Line Length}}: Create a line giving coordinate XYZ length and angle to plane X Y
Qt version: 5.12.5
* {{MacroLink|Text-x-python|Macro cutLine|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.
Coin version: 4.0.0
* {{MacroLink|Text-x-python|Macro circle|Macro Circle}}: Create a circle or arc giving radius, diameter, circumference, area, startangle, endangle, arc, anglecenter, cord, arrow, center (point) on choice.
OCC version: 7.4.0
* {{MacroLink|Text-x-python|Macro cutCircle|Macro Cut Circle}}: Cut a circle or arc and create x arcs, giving the number of cut.
* {{MacroLink|Text-x-python|Macro triangleAH|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)
* {{MacroLink|FCTexture|Macro FCTexture|Macro Texture}}: Create a project from a bmp image to create a texture easily
* {{MacroLink|FCCreaLoft|Macro FCCreaLoft|Macro Loft}}: Create a loft with a list of wire (specially created for Macro Texture see above)
* {{MacroLink|FCCircularTextButtom|Macro FCCircularText|Macro Circular Text}}: This macro create a text around a cylinder
* {{MacroLink|Text-x-python|Macro WireXYZ|Macro WireXYZ}}: This macro creates a Wire with the coordinates extracted from a file. The coordinates X Y Z are separated by a space.
* {{MacroLink|Macro_ReproWire|Macro ReproWire|Macro Repro Wire}}: This macro reproduce all element selected subobject wire or face.
* {{MacroLink|Part_Prism_Apothem|Macro Apothem Based Prism GUI|Macro Apothem Based Prism GUI}}: A GUI dialog that creates an Apothem, (inradius) Based Prism from user input.
</div>
</div>


<div class="toccolours mw-collapsible mw-collapsed">
===[[File:Workbench_PartDesign.svg]] Object transformation===
<div class="mw-collapsible-content">
* {{MacroLink|Text-x-python|Macro ArrayCopy|Macro ArrayCopy}}: copies the selected object several times, on an array grid
* {{MacroLink|Text-x-python|Macro FlattenWire|Macro FlattenWire}}: flattens draft wires that are not planar to their median Z coordinate
* {{MacroLink|Text-x-python|Macro FlattenWire3Points|Macro FlattenWire3Points}}: flattens draft wires that are not planar to a plane defined by 3 points
* {{MacroLink|Text-x-python|Macro JointWire|Macro JointWire}}: allows to find and joint all non connected edge to the closest non connected one using a line
* {{MacroLink|Text-x-python|Macro Remove parametric history|Macro Remove parametric history}}: removes all parametric associativity from an object, leaving it as a "dumb" shape
* {{MacroLink|Text-x-python|Macro SuperWire|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
* {{MacroLink|Text-x-python|Macro HealArcs|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
* {{MacroLink|Macro_CloneConvert‎|Macro CloneConvert‎|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)
* {{MacroLink|Text-x-python|Macro Image Scaling|Macro Image Scaling}}: Macro for easy scaling drawings, graphics, diagram, blueprint and similar 2D images in Image workbench.
* {{MacroLink|Text-x-python|Macro MatrixTransform|Macro MatrixTransform}}: apply linear space transformations to distort shapes. E.g., non-uniform scaling, shearing, mirroring, axes swapping.
* {{MacroLink|Macro_Connect_And_Sweep|Macro Connect And Sweep|Macro Connect And Sweep}}: This macro easily creates a connection between two objects, an object and a point or between two points (the center of the objects are the starting and ending points of the sweep) can be selected form a configurable ellipse polygon circle
* {{MacroLink|Part_Section‎|Macro Section|Macro Section}}: (parametric): alternative implementation of Part Section tool, more suitable for making sweep paths.
* {{MacroLink|Macro_Overlap|Macro Overlap|Macro Overlap}}: (parametric): Boolean operation. Similar to Part Common, but with custom overlap count threshold.
* {{MacroLink|Text-x-python|Macro Duplicate Selection|Macro Duplicate Selection}}: This macro testing if one selection are duplicate , select the object IN THE 3D VIEW the "ForbiddenCursor" stay if the or one selection is duplicate, the macro stay resident.
</div>
</div>


<div class="toccolours mw-collapsible mw-collapsed">
===[[File:Part_Measure_Clear_All.svg]] Info and measures===
<div class="mw-collapsible-content">
* {{MacroLink|FCInfo|Macro FCInfo|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
* {{MacroLink|FCInfo|Macro FCInfo Alternate Linux|Macro FCInfo Alternate Linux}}: same as above, but for Linux
* {{MacroLink|Macro_FCInfoGlass|Macro FCInfoGlass|Macro FCInfoGlass}}: Gives a series of information about the selected shape and displayed in screen 3D
* {{MacroLink|FCInfoToMouse|Macro FCInfoToMouse|Macro FCInfoToMouse}}: Provide informations coordinates, length and angles in real time on the mouse in a bubble annotation displayed in the 3D screen
* {{MacroLink|Text-x-python|Macro Delta xyz|Macro Delta xyz}}: Gives the Delta values and the distance between 2 points
* {{MacroLink|Text-x-python|Macro ObjectInfo|Macro ObjectInfo}}: User-friendly "Info" module created by a FreeCAD user
* {{MacroLink|Macro_Dump_Objects|Macro Dump Objects|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.
* {{MacroLink|Macro_MeasureCircle|Macro MeasureCircle|Macro MeasureCircle}}: Compute the radius of a circle by 3 points or a circular edge.
</div>
</div>


<div class="toccolours mw-collapsible mw-collapsed">
===[[File:Arch_MeshToShape.svg]] Conversion===
<div class="mw-collapsible-content">
* {{MacroLink|Text-x-python|Macro Extract Wires from Mesh|Macro Extract Wires from Mesh}}: Extracts boundary wires from selected meshes
* {{MacroLink|Text-x-python|Macro MeshToPart|Macro MeshToPart}}: converts selected meshes to parts
* {{MacroLink|PartToVRML|Macro PartToVRML|Macro PartToVRML}}: Converts selected parts to VRML meshes for small size and faster loading (VRML models Kicad and Blender compatible)
* {{MacroLink|Text-x-python|Macro FaceToSketch|Macro FaceToSketch}}: Converts the selected Face to a single Sketch without constraints.
* {{MacroLink|Macro FCWire To Volume|Macro FCWire To Volume|Macro FCWire To Volume}}: This macro create boolean operation with the objects selected just select the wires give the thickness and click "Create"
</div>
</div>


{{Mario52|FALSE|runCommand}} totoche
<div class="toccolours mw-collapsible mw-collapsed">
===[[File:IFC.svg]] Multifunctional===
<div class="mw-collapsible-content">
* {{MacroLink|WF_wf|Macro WorkFeatures|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.
</div>
</div>


{{Mario52|TRUE|runCommand}}totoche
<div class="toccolours mw-collapsible mw-collapsed">
===[[File:Draft_VisGroup.svg]] Libraries===
<div class="mw-collapsible-content">
* {{MacroLink|Text-x-python|Macro screw maker1_2|Macro screw maker1_2}}: This macro creates a screw with or without thread, according to ISO standards ([http://forum.freecadweb.org/viewtopic.php?f=22&t=6088#p48519 screw_maker1_6.py.zip with Pyside support]). [http://forum.freecadweb.org/viewtopic.php?f=22&t=6558&start=30#p95929 (Screw Maker 2.0 - new version!)]
* {{MacroLink|Macro_BOLTS|Macro BOLTS|Macro BOLTS}}: The aim of BOLTS is to build a free and open-source standard parts library for CAD applications.
* {{MacroLink|FreeCAD Doc|Macro PartsLibrary|Macro PartsLibrary}}: Starts the Parts library browser
</div>
</div>


{{Mario52|runCommand}}totoche
<div class="toccolours mw-collapsible mw-collapsed">
===[[File:Part_CheckGeometry.svg]] 3D View operations===
<div class="mw-collapsible-content">
* {{MacroLink|Text-x-python|Macro Rotate View|Macro Rotate View}}: This macro rotates the current view by 90° to the left. Only works if you are in Top view.
* {{MacroLink|Text-x-python|Macro View Rotation|Macro View Rotation}}: Provides a GUI to permit rotation of view by precise amounts in all three directions.
* {{MacroLink|Text-x-python|Macro Texture Objects|Macro Texture Objects}}: This macro allows you to temporarily put a texture image on the selected objects.
* {{MacroLink|Text-x-python|Macro Mouse Cross|Macro Mouse Cross}}: This small macro turns the arrow of the mouse in a precision cross.
* {{MacroLink|Text-x-python|Macro Align View to Face|Macro Align View to Face}}: This macro aligns the current view to a selected face.
* {{MacroLink|Text-x-python|Macro Align Object to View|Macro Align Object to View}}: This macro align the selected object to the current View and set the coordinates Placement of the camera.
* {{MacroLink|Text-x-python|Macro Align Face Object to View|Macro Align Face Object to View}}: This macro align the face of the selected object to the current View (in case face hole the hole is placed to the view).
* {{MacroLink|Macro_Toggle_Views_Visibility|Macro Toggle Panels Visibility|Macro Toggle Panels Visibility}}: This macro toggles the visibility of various supporting panels in FreeCAD, allowing the main window to be viewed with all available screen space.
* {{MacroLink|FCCamera_00|Macro FCCamera|Macro FCCamera}}: This macro can rotate the screen in a defined angle and the defined axis and creates a plan to face the screen to create a form in the specified plan positions the selected face facing the screen, to detect the position of the camera ...
* {{MacroLink|Macro SelectVisible|Macro SelectVisible|Macro Toggle Visibility}}: Set of three macro, macro '''1:''' hidden the objects not selected, macro '''2:''' displayed alls objects, macro '''3:''' hidden alls objects.
* {{MacroLink|SelectVisible|Macro SelectVisible|Macro SelectVisible}}: All visible objects in the tree will be selected.
* {{MacroLink|Text-x-python|Macro Manage Navigational Style|Macro Manage Navigational Style}}: This pair of macros allow you to alter the Navigation Style while in the Sketcher.
</div>
</div>


{{Mario52|}}totoche
<div class="toccolours mw-collapsible mw-collapsed">
===[[File:Bulb.svg]] Wizards===
<div class="mw-collapsible-content">
* {{MacroLink|Text-x-python|Macro Sheet Metal Unfolder|Macro Sheet Metal Unfolder}}: Creates an unfolded part from a sheet-metal-part.
* {{MacroLink|Text-x-python|Macro Unroll Ruled Surface|Macro Unroll Ruled Surface}}: allows to unroll ruled surfaces and to draw them on a page.
* {{MacroLink|Text-x-python|Macro Unfold Box|Macro Unfold Box}}: allows to unfold the surfaces of a box of any shape and to draw them on a page.
* {{MacroLink|Text-x-python|Macro Airfoil Import & Scale|Macro Airfoil Import & Scale}}: Imports and scales a .dat airfoil to desired chord length.
* {{MacroLink|GW_Dim|Macro Geneva Wheel|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.
* {{MacroLink|GW_Dim|Macro Geneva Wheel GUI|Macro Geneva Wheel GUI}}: A GUI front end that allows the user to create a Geneva wheel mechanism from scratch.
* {{MacroLink|FCSpring_Helix_Variable|Macro FCSpring Helix Variable|Macro FCSpring Helix Variable}}: This macro create one spring truncate, the troncature is adjustable on the all coil to choice.
* {{MacroLink|Cabinets32|Macro Cabinets32|Macro Cabinets32}}: creates side and top/bottom walls for a cabinet with drilled holes for connection parts of manufacturer Hettich.
* {{MacroLink|Text-x-python|Macro Half_turn_stairs|Macro Half_turn_stairs}}: Creates a half turn (left/right) stair from a Data-file.
* {{MacroLink|Macro_Half_Hull_Model|Macro Half-Hull Model|Macro Half-Hull Model}}: This macro generates both three dimensional [http://en.wikipedia.org/wiki/Half_hull_model_ship half-hull] and full-hull models from a series of 2D line drawings.
* {{MacroLink|Text-x-python|Macro Stairs|Macro Stairs}}: Create stair helix, create your stair nosing select and run the macro.
* {{MacroLink|Gearworkbech|Macro FCGear|Macro FCGear}}: Additional Workbench to create different types of gears, involute gear, involute rack, cycloide gear, bevel gear.
* {{MacroLink|Text-x-python|Macro Corner shapes wizard|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
</div>
</div>


{{Mario52}}totoche
<div class="toccolours mw-collapsible mw-collapsed">
===[[File:Arch_Survey.svg]] Utility===
<div class="mw-collapsible-content">
* {{MacroLink|CenterFace|Macro CenterFace|Macro CenterFace}}: This macro red trace (editable) the center face (mass) with 1 point and print the coordinates
* {{MacroLink|Macro_Center_Align_Objects_with_Faces_or_Edges|Macro Center Align Objects with Faces or Edges|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.
* {{MacroLink|Macro_Easy_Cutouts_for_Enclosures|Macro Easy cutouts for Enclosure Design|Macro Easy cutouts for Enclosure Design}}: This macro makes Cutouts for Enclosures in a very handy way
* {{MacroLink|Text-x-python|Macro MacroMenu|Macro MacroMenu}}: Add the macros found in the macros folder to the Macros menu of FreeCAD
* {{MacroLink|Force_Recompute|Macro ForceRecompute|Macro ForceRecompute}}: Forces manual recompute of model
* {{MacroLink|Text-x-python|Macro Shake Sketch|Macro Shake Sketch}}: Shake a sketch in order to discover its unconstrained parts.
* {{MacroLink|Replace_Part|Macro Replace Part in Assembly|Macro Replace Part in Assembly}}: Replaces a part (simple copy) in an "Assembly" with another Part (simple copy).
* {{MacroLink|Macro_Toggle_Drawstyle|Macro Toggle Drawstyle|Macro Toggle Drawstyle}}: This macro toggles the Drawstyle of the selected object
* {{MacroLink|Text-x-python|Macro HighlightCommon|Macro HighlightCommon}}: Highlight common parts.
* {{MacroLink|HighlightDifference|Macro HighlightDifference|Macro HighlightDifference}}: Compute the difference between two shapes.
* {{MacroLink|Text-x-python|Macro cross section|Macro cross section}}: displays an interactively slidable cross-section.
* {{MacroLink|Macro_Copy3DViewToClipboard|Macro Copy3DViewToClipboard|Macro Copy3DViewToClipboard}}: Copy contents of 3DView resized 640, 480 px to clipboard .
* {{MacroLink|BoundBoxTracing|Macro BoundingBox Tracing|Macro BoundingBox Tracing}}: This macro red trace (editable) around the BoundingBox with 6 rectangles
* {{MacroLink|Text-x-python|Macro Arch Axis System Repartition|Macro Arch Axis System Repartition}}: This macro help you to create an Arch Axis System along a line with a set of parameters.
</div>
</div>


<div class="toccolours mw-collapsible mw-collapsed">
===[[File:Tree_Python.svg]] Mathematical functions===
<div class="mw-collapsible-content">
* {{MacroLink|Text-x-python|Macro 3D Parametric Curve|Macro 3D Parametric Curve}}: Draw a function described by parametric equations x(t), y(t) and z(t).
* {{MacroLink|Text-x-python|Macro Draw 2D Function|Macro Draw 2D Function}}: draws a function described by an equation z=F(x)
* {{MacroLink|Text-x-python|Macro Draw Parametric 2D Function|Macro Draw Parametric 2D Function}}: Based on the above macro, but for parametric and optionally polar equations.
</div>
</div>


<noinclude>
<div class="toccolours mw-collapsible mw-collapsed">
<!--
===[[File:Draft_FlipDimension.svg]] Animation===
{{Mario52|=}} {{Mario52|help}} {{Mario52|69}} {{Mario52|69|50}}
<div class="mw-collapsible-content">
* {{MacroLink|Text-x-python|Macro crank simul|Macro crank simul}}: Rotation rod and piston
* {{MacroLink|Text-x-python|Macro Spring|Macro Spring}}: Simulation of one spring
* {{MacroLink|Text-x-python|Macro hinge|Macro hinge}}: Open and close hinge
* {{MacroLink|Text-x-python|Macro Assembly|Macro Assembly}}: Assembly animate
* {{MacroLink|Text-x-python|Macro Animated Constrain|Macro Animated Constrain}}: Animate angle constrain in sketcher
* {{MacroLink|Text-x-python|Macro Assemblage Imprimante 3D|Macro Assemblage Imprimante 3D}}: Simulation of movements of a 3D printer
</div>
</div>


{{Mario52|127|1m00}}
<div class="toccolours mw-collapsible mw-collapsed">
===[[File:View.svg]] Printer 3D===
<div class="mw-collapsible-content">
* {{MacroLink|Text-x-python|Macro 3d Printer Slicer|Macro 3d Printer Slicer}}: Exports current design to slicer software or CAM software.
</div>
</div>


<div class="toccolours mw-collapsible mw-collapsed">
===[[File:Preferences-raytracing.svg]] Raytracing===
<div class="mw-collapsible-content">
* {{MacroLink|Text-x-python|Macro FreeCAD to Kerkythea|Macro FreeCAD to Kerkythea}}: Export from FreeCAD to Kerkythea
</div>
</div>


<div class="toccolours mw-collapsible mw-collapsed">
===[[File:Fem_ResultDisplacement.svg]] FEM===
<div class="mw-collapsible-content">
* {{MacroLink|Text-x-python|Macro GMSH|Macro GMSH}}: Create FEM Meshes by GMSH Mesh Generator
</div>
</div>


{{Mario52|E}} {{Mario52|E|50}} {{Mario52|69}} {{Mario52|69|z}}
<div class="toccolours mw-collapsible mw-collapsed">
===[[File:Drawing-orthoviews.svg]] Drawing Workbench===
<div class="mw-collapsible-content">
* {{MacroLink|Text-x-python|Macro Automatic drawing|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
* {{MacroLink|Text-x-python|Macro CartoucheFC|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.
* {{MacroLink|Macro_CartoucheFC_Full|Macro CartoucheFC Full|Macro CartoucheFC Full}}: This GUI macro to fill simply all fields of the cartridge '''model 1''' 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.
* {{MacroLink|Text-x-python|Macro CartoucheFC 2|Macro CartoucheFC 2}}: This GUI macro to fill simply all fields of the cartridge '''model 2''' of the plan implementation worksheet FreeCAD.
* {{MacroLink|Text-x-python|Macro Normal Vector|Macro Normal Vector}}: Get the normal vector of a preselected face for creating a drawing view normal to that face
</div>
</div>


{{Mario52|=}} {{Mario52|e|50}} {{Mario52|101}} {{Mario52|101|rer}}
<div class="toccolours mw-collapsible mw-collapsed">
===[[File:Draft_BSpline.svg]] Dxf 2D Draft===
<div class="mw-collapsible-content">
* {{MacroLink|Text-x-python|Macro Rectellipse|Macro Rectellipse}}: creates a parametric rectellipse
* {{MacroLink|Macro_Draft_Circle_3_Points|Macro Make Circle 3 Points|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).
* {{MacroLink|Macro_Draft_Circle_3_Points|Macro Draft Circle 3 Points|Macro Draft Circle 3 Points}}: creates a circle from 3 selected points 2D orthogonal
* {{MacroLink|Macro_Draft_Circle_3_Points|Macro Draft Circle 3 Points 3D|Macro Draft Circle 3 Points 3D}}: creates a circle from 3 selected points in the space 3D
* {{MacroLink|Macro Make Arc 3 Points|Macro Make Arc 3 Points|Macro Make Arc 3 Points}}: creates a arc from 3 selected points
* {{MacroLink|Text-x-python|Macro Ellipse-Center+2Points|Macro Ellipse-Center+2Points}} Makes an ellipse by selecting three points (in this order): centre, major radius and minor radius
* {{MacroLink|Macro_FCConvertLines|Macro FCConvertLines|Macro FC Convert Lines}}: this macro convert the object line, wire in line Dash, DashDot, DashDotDot,ZigZag and Hand with the dimensions given.
* {{MacroLink|Text-x-python|Macro EdgesToArc|Macro EdgesToArc}}: Converts the selected Edges to a circular Arc if possible. Useful for restoring discretized arcs.
* {{MacroLink|Text-x-python|Macro Creating faces from a DXF file|Macro Creating faces from a DXF file}}: This macro create face from a DXF file, the "Layer" are recognized separate and trained in groups.
* {{MacroLink|Macro_DXF_to_Face_and_Sketch|Macro DXF to Face and Sketch|Macro DXF to Face and Sketch}}: This macro converts selected elements of imported dxf to face and sketch.
* {{MacroLink|Macro_Compound_Plus|Macro_Compound_Plus|Macro Compound Plus}}: Draf command set in a small macro for the 2D sketch example: work with the DXF files.
* {{MacroLink|Macro Dxf To Shape|Macro Dxf To Shape|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
</div>
</div>


{{ASCII|E}} {{ASCII|E}} {{ASCII|69}} {{ASCII|69}}
<div class="toccolours mw-collapsible mw-collapsed">
===[[File:Spreadsheet.svg]] Spreadsheet Workbench===
<div class="mw-collapsible-content">
* {{MacroLink|aliasmanager_icon|Macro Alias Manager|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.
</div>
</div>


{{ASCII|e}} {{ASCII|e}} {{ASCII|101}} {{ASCII|101}}
<div class="toccolours mw-collapsible mw-collapsed">
===[[File:Applications-python.svg]] Code and Scripting===
<div class="mw-collapsible-content">
* {{MacroLink|Text-x-python|Macro MessageBox|Macro MessageBox}}: shows how to give information to the user through the GUI.
* {{MacroLink|Macro_Python_Assistant_Window|Macro Python Assistant Window|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.
* {{MacroLink|Macro_Build_Utility|Macro Build Utility|Macro Build Utility}}: This macro provides a utility to assemble a project from sub-project files using the Merge Project facility.
* {{MacroLink|Macro_Global_Variable_Watcher|Macro Global Variable Watcher|Macro Global Variable Watcher}}: This macro facilitates the user selecting global variables and monitoring their values.
* {{MacroLink|PropertyMemo|Macro PropertyMemo|Macro PropertyMemo}}: This little macro create one Property additional (memo or other text) for you object (only Draft)
</div>
</div>


{{ASCII|=}} {{ASCII|f}} {{ASCII|102}} {{ASCII|102}}
<div class="toccolours mw-collapsible mw-collapsed">
===[[File:Std_FreeCADWebsite.png|32px]] Other interesting macros create by FreeCAD users and deposit in extra wiki.===
<div class="mw-collapsible-content">
* [[Image:2364.png|24px]] [https://github.com/microelly2?tab=repositories By microelly2] : freeCAD_macro, geodata, Animation, freecad-nurbs, PieMenu, ..... other
* [[Image:Text-x-python.png|24px]] [https://github.com/hamish2014?tab=repositories By hamish2014]: FreeCAD_assembly2, FreeCAD_drawing_dimensioning, ...
* [[Image:Text-x-python.png|24px]] [https://github.com/triplus?tab=repositories By triplus]: IconThemes, ShortCuts, NavigationIndicator, TabBar, Launcher, PersistentToolbars, PieMenu, ....
* [[File:681.jpg |24px]] [https://github.com/wood-galaxy By rockn]: FreeCAD-Timber, FreeCAD-addons, FreeCAD-library, FreeCAD-StructuresBois, .... other
* [[Image:Text-x-python.png|24px]] [https://github.com/oddtopus?tab=repositories By oddtopus]: flamingo (workbench for metal structures)
</div>
</div>


== How to use? ==
[[File:Macro Recipes MacroHowToInstall.png|200px|left|Macro how to install]]
'''The above macros can easily be plugged on any FreeCAD installation'''
* Copy the macro python code from the corresponding macro page
* In FreeCAD, Macro->Macros->Create new, and give it a name
* Paste the python code you copied
* Hit the Save button, and restart FreeCAD
* Open the Macro manager, select your new macro and click "execute"
* Tutorial [[How to install macros]]


'''Additionally, you can also add your new macro to a custom toolbar'''
* In FreeCAD, go to Tools -> Customize
* In the Macros tab, add a new macro, and, if you like, define an icon and a keyboard shortcut
* In the Toolbars tab, create a new toolbar, and add your macro, taking it from the "Macros" category.
* Tutorial [[Customize_Toolbars|Customize Toolbars]]
{{clear}}


{{Mario52|}}
== Adding new macros to this repository ==
* Create a new page, beginning its name with "Macro", for example "Macro_My_Excellent_Macro", this can be done simply by editing this page, and adding a new link to your macro, like this:<br />
** example :


{{Mario52|☺}} {{Mario52|☺|50}} {{Mario52|1}} {{Mario52|1|50}}
{{Code|code=
<nowiki>* {{MacroLink|Text-x-python|Macro My Excellent Macro|Macro My Excellent Macro title}} : My excellent macro description</nowiki>.}}


{{Mario52|☻}} {{Mario52|☻|50}} {{Mario52|2}} {{Mario52|2|50}}
* '''Text-x-python''' : icon by default (replace with your name icon with the exact same name as your macro page if there is. The format always '''.png''' only)
* '''Macro My Excellent Macro''' : macro name
* '''Macro My Excellent Macro title''' : macro name or title


{{Mario52|♥}} {{Mario52|♥|50}} {{Mario52|3}} {{Mario52|3|50}}
A new page (red link) will be created.
* In that page, paste the following text:


{{Mario52|♦}} {{Mario52|♦|50}} {{Mario52|4}} {{Mario52|4|50}}
(With the default icon)


{{Mario52|♣}} {{Mario52|♣|50}} {{Mario52|5}} {{Mario52|5|50}}
<nowiki>{{Macro|Icon=Text-x-python|Name=Macro_My_Excellent_Macro|Description=What my excellent macro does|Author=your username|Version=1.0}}</nowiki>


{{Mario52|♠}} {{Mario52|♠|50}} {{Mario52|6}} {{Mario52|6|50}}
(With the icon custom)
<nowiki>{{Macro|Icon=Macro_My_Excellent_Macro|Name=Macro_My_Excellent_Macro|Description=What my excellent macro does|Author=your username|Version=1.0}}</nowiki>


{{Mario52|•}} {{Mario52|•|50}} {{Mario52|7}} {{Mario52|7|50}}
(Another language with the default icon (example "/fr" "/de" "/it"....))


{{Mario52|◘}} {{Mario52|◘|50}} {{Mario52|8}} {{Mario52|8|50}}
<nowiki>{{Macro/fr|Icon=Text-x-python|Name=Macro_My_Excellent_Macro|Name/fr=Macro_My_Excellent_Macro|Description=
What my excellent macro does|Author=your username|Version=1.0}}</nowiki>


{{Mario52|○}} {{Mario52|○|50}} {{Mario52|9}} {{Mario52|9|50}}
(Another language with the icon custom (example "/fr" "/de" "/it"....))


{{Mario52|◙}} {{Mario52|◙|50}} {{Mario52|10}} {{Mario52|10|50}}
<nowiki>{{Macro/fr|Icon=Macro_My_Excellent_Macro|Name=Macro_My_Excellent_Macro|Name/fr=Macro_My_Excellent_Macro|Description=
What my excellent macro does|Author=your username|Version=1.0}}</nowiki>


{{Mario52|♂}} {{Mario52|♂|50}} {{Mario52|11}} {{Mario52|11|50}}
*You can also [http://www.freecadweb.org/wiki/index.php?title=Special:Upload Upload ] a custom format icon'''.png'''<br />'''Note that the name of the icon must have the same name as the name of the macro'''.
**example: " Macro_My_Excellent_Macro " '''without extension''' (the extension is given by the system), and, replace " Icon='''Text-x-python''' " by " Icon='''Macro_My_Excellent_Macro''' "
**'''Text-x-python''' [[Image:Text-x-python.png|32px]] is the default icon of the page dedicated to the Macro.


{{Mario52|♀}} {{Mario52|♀|50}} {{Mario52|12}} {{Mario52|12|50}}
* Paste your macro, and use the [[Template:Code|Code template]] to avoid adding spaces into your script. This will display the macro in a monospace font inside a light grey box like the example above.
* If you like, upload a .png icon with the exact same name as your macro page (ex. Macro_My_Excellent_Macro.png)
* Add an image: an image is useful to show what the macro does. Optionally you can create an animated gif that represents the object in context. The gif image should have a maximum size of 500x500px as the wiki does not resize animated gifs; if the gif is any bigger the animation won't work.
* Optionally you can add some more info on how to use your macro, tips, limitations and workaround.
* It is also interesting to include version information in your macro. This macro allows you to locate in time compared to the evolution of FreeCAD, do "Menu > Help > About FreeCAD and click to Copy to clipboard" and paste it your macro


{{Mario52|♪}} {{Mario52|♪|50}} {{Mario52|13}} {{Mario52|13|50}}
Ex:


{{Mario52|♫}} {{Mario52|♫|50}} {{Mario52|14}} {{Mario52|14|50}}
{{Code|code=
#OS: Windows Vista
#Platform: 32-bit
#Version: 0.14.3389
#Python version: 2.6.2
#Qt version: 4.5.2
#Coin version: 3.1.0
#SoQt version: 1.4.1
#OCC version: 6.5.1
}}


{{Mario52|☼}} {{Mario52|☼|50}} {{Mario52|15}} {{Mario52|15|50}}
It is also advisable to create a macro in your header, this header can be used by the [http://forum.freecadweb.org/viewtopic.php?t=10556 Plugin Loader] program to install the macro and check versions. Also available [https://github.com/FreeCAD/FreeCAD-addons addons_installer.FCMacro]


{{Mario52|►}} {{Mario52|►|50}} {{Mario52|16}} {{Mario52|16|50}}
Ex:
{{Code|code=


{{Mario52|◄}} {{Mario52|◄|50}} {{Mario52|17}} {{Mario52|17|50}}
__Title__="Title_Of_macro"
__Author__ = "User_Name"
__Version__ = "00.11"
__Date__ = "25/07/2015"


{{Mario52|↕}} {{Mario52|↕|50}} {{Mario52|18}} {{Mario52|18|50}}
__Comment__ = "This is the comment of the macro"
__Web__ = "http://forum.freecadweb.org/viewtopic.php?f=3&t=7384"
__Wiki__ = "http://www.freecadweb.org/wiki/index.php?title=Macro_Title_Of_macro"
__Icon__ = "/usr/lib/freecad/Mod/plugins/icons/Title_Of_macro"
__IconW__ = "C:/Documents and Settings/YourUserName/Application Data/FreeCAD"
__Help__ = "start the macro and follow the instructions"
__Status__ = "stable"
__Requires__ = "freecad 0.14.3706"
__Communication__ = "http://www.freecadweb.org/wiki/index.php?title=User:User_Name"
}}


{{Mario52|‼}} {{Mario52|‼|50}} {{Mario52|19}} {{Mario52|19|50}}


{{Mario52|¶}} {{Mario52|¶|50}} {{Mario52|20}} {{Mario52|20|50}}
* Add it to the above categories, create a new category if needed.


{{Mario52|§}} {{Mario52|§|50}} {{Mario52|21}} {{Mario52|21|50}}
===Tutorials===
* [[How to install macros|How to install macros]]
* [[Customize_Toolbars|Customize Toolbars]]
* [[How_to_install_additional_workbenches|How to install additional workbenches]]


{{Mario52|▬}} {{Mario52|▬|50}} {{Mario52|22}} {{Mario52|22|50}}


{{Mario52|↨}} {{Mario52|↨|50}} {{Mario52|23}} {{Mario52|23|50}}
[[Category:Repository]]
[[Category:Macros]]
[[Category:Python Code]]


{{Mario52|↑}} {{Mario52|↑|50}} {{Mario52|24}} {{Mario52|24|50}}


{{Mario52|↓}} {{Mario52|↓|50}} {{Mario52|25}} {{Mario52|25|50}}


{{Mario52|→}} {{Mario52|→|50}} {{Mario52|26}} {{Mario52|26|50}}


{{Mario52|←}} {{Mario52|←|50}} {{Mario52|27}} {{Mario52|27|50}}
<noinclude>
<nowiki>


{{Mario52|∟}} {{Mario52|∟|50}} {{Mario52|28}} {{Mario52|28|50}}


{{Mario52|↔}} {{Mario52|↔|50}} {{Mario52|29}} {{Mario52|29|50}}
[[Category:Administration]]


{{Mario52|▲}} {{Mario52|▲|50}} {{Mario52|30}} {{Mario52|30|50}}
</nowiki>

{{Mario52|▼}} {{Mario52|▼|50}} {{Mario52|31}} {{Mario52|31|50}}

{{Mario52| }} {{Mario52| |50}} {{Mario52|32}} {{Mario52|32|50}}

{{Mario52|!}} {{Mario52|!|50}} {{Mario52|33}} {{Mario52|33|50}}

{{Mario52|"}} {{Mario52|"|50}} {{Mario52|34}} {{Mario52|34|50}}

{{Mario52|#}} {{Mario52|#|50}} {{Mario52|35}} {{Mario52|35|50}}

{{Mario52|$}} {{Mario52|$|50}} {{Mario52|36}} {{Mario52|36|50}}

{{Mario52|%}} {{Mario52|%|50}} {{Mario52|37}} {{Mario52|37|50}}

{{Mario52|&}} {{Mario52|&|50}} {{Mario52|38}} {{Mario52|38|50}}

{{Mario52|'}} {{Mario52|'|50}} {{Mario52|39}} {{Mario52|39|50}}

{{Mario52|(}} {{Mario52|(|50}} {{Mario52|40}} {{Mario52|40|50}}

{{Mario52|)}} {{Mario52|)|50}} {{Mario52|41}} {{Mario52|41|50}}

{{Mario52|*}} {{Mario52|*|50}} {{Mario52|42}} {{Mario52|42|50}}

{{Mario52|+}} {{Mario52|+|50}} {{Mario52|43}} {{Mario52|43|50}}

{{Mario52|,}} {{Mario52|,|50}} {{Mario52|44}} {{Mario52|44|50}}

{{Mario52|-}} {{Mario52|-|50}} {{Mario52|45}} {{Mario52|45|50}}

{{Mario52|.}} {{Mario52|.|50}} {{Mario52|46}} {{Mario52|46|50}}

{{Mario52|/}} {{Mario52|/|50}} {{Mario52|47}} {{Mario52|47|50}}

{{Mario52|0}} {{Mario52|0|50}} {{Mario52|48}} {{Mario52|48|50}}

{{Mario52|1}} {{Mario52|1|50}} {{Mario52|49}} {{Mario52|49|50}}

{{Mario52|2}} {{Mario52|2|50}} {{Mario52|50}} {{Mario52|50|50}}

{{Mario52|3}} {{Mario52|3|50}} {{Mario52|51}} {{Mario52|51|50}}

{{Mario52|4}} {{Mario52|4|50}} {{Mario52|52}} {{Mario52|52|50}}

{{Mario52|5}} {{Mario52|5|50}} {{Mario52|53}} {{Mario52|53|50}}

{{Mario52|6}} {{Mario52|6|50}} {{Mario52|54}} {{Mario52|54|50}}

{{Mario52|7}} {{Mario52|7|50}} {{Mario52|55}} {{Mario52|55|50}}

{{Mario52|8}} {{Mario52|8|50}} {{Mario52|56}} {{Mario52|56|50}}

{{Mario52|9}} {{Mario52|9|50}} {{Mario52|57}} {{Mario52|57|50}}

{{Mario52|:}} {{Mario52|:|50}} {{Mario52|58}} {{Mario52|58|50}}

{{Mario52|;}} {{Mario52|;|50}} {{Mario52|59}} {{Mario52|59|50}}

{{Mario52|<}} {{Mario52|<|50}} {{Mario52|60}} {{Mario52|60|50}}

{{Mario52|=}} {{Mario52|=|50}} {{Mario52|61}} {{Mario52|61|50}}

{{Mario52|>}} {{Mario52|>|50}} {{Mario52|62}} {{Mario52|62|50}}

{{Mario52|?}} {{Mario52|?|50}} {{Mario52|63}} {{Mario52|63|50}}

{{Mario52|@}} {{Mario52|@|50}} {{Mario52|64}} {{Mario52|64|50}}

{{Mario52|A}} {{Mario52|A|50}} {{Mario52|65}} {{Mario52|65|50}}

{{Mario52|B}} {{Mario52|B|50}} {{Mario52|66}} {{Mario52|66|50}}

{{Mario52|C}} {{Mario52|C|50}} {{Mario52|67}} {{Mario52|67|50}}

{{Mario52|D}} {{Mario52|D|50}} {{Mario52|68}} {{Mario52|68|50}}

{{Mario52|E}} {{Mario52|E|50}} {{Mario52|69}} {{Mario52|69|50}}

{{Mario52|F}} {{Mario52|F|50}} {{Mario52|70}} {{Mario52|70|50}}

{{Mario52|G}} {{Mario52|G|50}} {{Mario52|71}} {{Mario52|71|50}}

{{Mario52|H}} {{Mario52|H|50}} {{Mario52|72}} {{Mario52|72|50}}

{{Mario52|I}} {{Mario52|I|50}} {{Mario52|73}} {{Mario52|73|50}}

{{Mario52|J}} {{Mario52|J|50}} {{Mario52|74}} {{Mario52|74|50}}

{{Mario52|K}} {{Mario52|K|50}} {{Mario52|75}} {{Mario52|75|50}}

{{Mario52|L}} {{Mario52|L|50}} {{Mario52|76}} {{Mario52|76|50}}

{{Mario52|M}} {{Mario52|M|50}} {{Mario52|77}} {{Mario52|77|50}}

{{Mario52|N}} {{Mario52|N|50}} {{Mario52|78}} {{Mario52|78|50}}

{{Mario52|O}} {{Mario52|O|50}} {{Mario52|79}} {{Mario52|79|50}}

{{Mario52|P}} {{Mario52|P|50}} {{Mario52|80}} {{Mario52|80|50}}

{{Mario52|Q}} {{Mario52|Q|50}} {{Mario52|81}} {{Mario52|81|50}}

{{Mario52|R}} {{Mario52|R|50}} {{Mario52|82}} {{Mario52|82|50}}

{{Mario52|S}} {{Mario52|S|50}} {{Mario52|83}} {{Mario52|83|50}}

{{Mario52|T}} {{Mario52|T|50}} {{Mario52|84}} {{Mario52|84|50}}

{{Mario52|U}} {{Mario52|U|50}} {{Mario52|85}} {{Mario52|85|50}}

{{Mario52|V}} {{Mario52|V|50}} {{Mario52|86}} {{Mario52|86|50}}

{{Mario52|W}} {{Mario52|W|50}} {{Mario52|87}} {{Mario52|87|50}}

{{Mario52|X}} {{Mario52|X|50}} {{Mario52|88}} {{Mario52|88|50}}

{{Mario52|Y}} {{Mario52|Y|50}} {{Mario52|89}} {{Mario52|89|50}}

{{Mario52|Z}} {{Mario52|Z|50}} {{Mario52|90}} {{Mario52|90|50}}

{{Mario52|[}} {{Mario52|[|50}} {{Mario52|91}} {{Mario52|91|50}}

{{Mario52|\}} {{Mario52|\|50}} {{Mario52|92}} {{Mario52|92|50}}

{{Mario52|]}} {{Mario52|]|50}} {{Mario52|93}} {{Mario52|93|50}}

{{Mario52|^}} {{Mario52|^|50}} {{Mario52|94}} {{Mario52|94|50}}

{{Mario52|_}} {{Mario52|_|50}} {{Mario52|95}} {{Mario52|95|50}}

{{Mario52|`}} {{Mario52|`|50}} {{Mario52|96}} {{Mario52|96|50}}

{{Mario52|a}} {{Mario52|a|50}} {{Mario52|97}} {{Mario52|97|50}}

{{Mario52|b}} {{Mario52|b|50}} {{Mario52|98}} {{Mario52|98|50}}

{{Mario52|c}} {{Mario52|c|50}} {{Mario52|99}} {{Mario52|99|50}}

{{Mario52|d}} {{Mario52|d|50}} {{Mario52|100}} {{Mario52|100|50}}

{{Mario52|e}} {{Mario52|e|50}} {{Mario52|101}} {{Mario52|101|50}}

{{Mario52|f}} {{Mario52|f|50}} {{Mario52|102}} {{Mario52|102|50}}

{{Mario52|g}} {{Mario52|g|50}} {{Mario52|103}} {{Mario52|103|50}}

{{Mario52|h}} {{Mario52|h|50}} {{Mario52|104}} {{Mario52|104|50}}

{{Mario52|i}} {{Mario52|i|50}} {{Mario52|105}} {{Mario52|105|50}}

{{Mario52|j}} {{Mario52|j|50}} {{Mario52|106}} {{Mario52|106|50}}

{{Mario52|k}} {{Mario52|k|50}} {{Mario52|107}} {{Mario52|107|50}}

{{Mario52|l}} {{Mario52|l|50}} {{Mario52|108}} {{Mario52|108|50}}

{{Mario52|m}} {{Mario52|m|50}} {{Mario52|109}} {{Mario52|109|50}}

{{Mario52|n}} {{Mario52|n|50}} {{Mario52|110}} {{Mario52|110|50}}

{{Mario52|o}} {{Mario52|o|50}} {{Mario52|111}} {{Mario52|111|50}}

{{Mario52|p}} {{Mario52|p|50}} {{Mario52|112}} {{Mario52|112|50}}

{{Mario52|q}} {{Mario52|q|50}} {{Mario52|113}} {{Mario52|113|50}}

{{Mario52|r}} {{Mario52|r|50}} {{Mario52|114}} {{Mario52|114|50}}

{{Mario52|s}} {{Mario52|s|50}} {{Mario52|115}} {{Mario52|115|50}}

{{Mario52|t}} {{Mario52|t|50}} {{Mario52|116}} {{Mario52|116|50}}

{{Mario52|u}} {{Mario52|u|50}} {{Mario52|117}} {{Mario52|117|50}}

{{Mario52|v}} {{Mario52|v|50}} {{Mario52|118}} {{Mario52|118|50}}

{{Mario52|w}} {{Mario52|w|50}} {{Mario52|119}} {{Mario52|119|50}}

{{Mario52|x}} {{Mario52|x|50}} {{Mario52|120}} {{Mario52|120|50}}

{{Mario52|y}} {{Mario52|y|50}} {{Mario52|121}} {{Mario52|121|50}}

{{Mario52|z}} {{Mario52|z|50}} {{Mario52|122}} {{Mario52|122|50}}

{{Mario52|{}} {{Mario52|{|50}} {{Mario52|123}} {{Mario52|123|50}}

{{Mario52||}} {{Mario52|||50}} {{Mario52|124}} {{Mario52|124|50}}

{{Mario52|}}} {{Mario52|}|50}} {{Mario52|125}} {{Mario52|125|50}}

{{Mario52|~}} {{Mario52|~|50}} {{Mario52|126}} {{Mario52|126|50}}

{{Mario52|⌂}} {{Mario52|⌂|50}} {{Mario52|127}} {{Mario52|127|50}}
----

{{Mario52|0|xx}}{{Mario52|1|xx}}{{Mario52|2|xx}}{{Mario52|3|xx}}{{Mario52|4|xx}}{{Mario52|5|xx}}{{Mario52|6|xx}}{{Mario52|7|xx}}{{Mario52|8|xx}}{{Mario52|9|xx}}{{Mario52|10|xx}}{{Mario52|11|xx}}{{Mario52|12|xx}}{{Mario52|13|xx}}{{Mario52|14|xx}}{{Mario52|15|xx}}{{Mario52|16|xx}}{{Mario52|17|xx}}{{Mario52|18|xx}}{{Mario52|19|xx}}{{Mario52|20|xx}}{{Mario52|21|xx}}{{Mario52|22|xx}}{{Mario52|23|xx}}{{Mario52|24|xx}}{{Mario52|25|xx}}{{Mario52|26|xx}}{{Mario52|27|xx}}{{Mario52|28|xx}}{{Mario52|29|xx}}{{Mario52|30|xx}}{{Mario52|31|xx}}{{Mario52|32|xx}}{{Mario52|33|xx}}{{Mario52|34|xx}}{{Mario52|35|xx}}{{Mario52|36|xx}}{{Mario52|37|xx}}{{Mario52|38|xx}}{{Mario52|39|xx}}{{Mario52|40|xx}}{{Mario52|41|xx}}{{Mario52|42|xx}}{{Mario52|43|xx}}{{Mario52|44|xx}}{{Mario52|45|xx}}{{Mario52|46|xx}}{{Mario52|47|xx}}{{Mario52|48|xx}}{{Mario52|49|xx}}{{Mario52|50|xx}}{{Mario52|51|xx}}{{Mario52|52|xx}}{{Mario52|53|xx}}{{Mario52|54|xx}}{{Mario52|55|xx}}{{Mario52|56|xx}}{{Mario52|57|xx}}{{Mario52|58|xx}}{{Mario52|59|xx}}{{Mario52|60|xx}}{{Mario52|61|xx}}{{Mario52|62|xx}}{{Mario52|63|xx}}{{Mario52|64|xx}}{{Mario52|65|xx}}{{Mario52|66|xx}}{{Mario52|67|xx}}{{Mario52|68|xx}}{{Mario52|69|xx}}{{Mario52|70|xx}}{{Mario52|71|xx}}{{Mario52|72|xx}}{{Mario52|73|xx}}{{Mario52|74|xx}}{{Mario52|75|xx}}{{Mario52|76|xx}}{{Mario52|77|xx}}{{Mario52|78|xx}}{{Mario52|79|xx}}{{Mario52|80|xx}}{{Mario52|81|xx}}{{Mario52|82|xx}}{{Mario52|83|xx}}{{Mario52|84|xx}}{{Mario52|85|xx}}{{Mario52|86|xx}}{{Mario52|87|xx}}{{Mario52|88|xx}}{{Mario52|89|xx}}{{Mario52|90|xx}}{{Mario52|91|xx}}{{Mario52|92|xx}}{{Mario52|93|xx}}{{Mario52|94|xx}}{{Mario52|95|xx}}{{Mario52|96|xx}}{{Mario52|97|xx}}{{Mario52|98|xx}}{{Mario52|99|xx}}{{Mario52|100|xx}}{{Mario52|101|xx}}{{Mario52|102|xx}}{{Mario52|103|xx}}{{Mario52|104|xx}}{{Mario52|105|xx}}{{Mario52|106|xx}}{{Mario52|107|xx}}{{Mario52|108|xx}}{{Mario52|109|xx}}{{Mario52|110|xx}}{{Mario52|111|xx}}{{Mario52|112|xx}}{{Mario52|113|xx}}{{Mario52|114|xx}}{{Mario52|115|xx}}{{Mario52|116|xx}}{{Mario52|117|xx}}{{Mario52|118|xx}}{{Mario52|119|xx}}{{Mario52|120|xx}}{{Mario52|121|xx}}{{Mario52|122|xx}}{{Mario52|123|xx}}{{Mario52|124|xx}}{{Mario52|125|xx}}{{Mario52|126|xx}}{{Mario52|127|xx}}
----

{{Mario52||aa}}{{Mario52|☺|aa}}{{Mario52|☻|aa}}{{Mario52|♥|aa}}{{Mario52|♦|aa}}{{Mario52|♣|aa}}{{Mario52|♠|aa}}{{Mario52|•|aa}}{{Mario52|◘|aa}}{{Mario52|○|aa}}{{Mario52|◙|aa}}{{Mario52|♂|aa}}{{Mario52|♀|aa}}{{Mario52|♪|aa}}{{Mario52|♫|aa}}{{Mario52|☼|aa}}{{Mario52|►|aa}}{{Mario52|◄|aa}}{{Mario52|↕|aa}}{{Mario52|‼|aa}}{{Mario52|¶|aa}}{{Mario52|§|aa}}{{Mario52|▬|aa}}{{Mario52|↨|aa}}{{Mario52|↑|aa}}{{Mario52|↓|aa}}{{Mario52|→|aa}}{{Mario52|←|aa}}{{Mario52|∟|aa}}{{Mario52|↔|aa}}{{Mario52|▲|aa}}{{Mario52|▼|aa}}{{Mario52| |aa}}{{Mario52|!|aa}}{{Mario52|"|aa}}{{Mario52|#|aa}}{{Mario52|$|aa}}{{Mario52|%|aa}}{{Mario52|&|aa}}{{Mario52|'|aa}}{{Mario52|(|aa}}{{Mario52|)|aa}}{{Mario52|*|aa}}{{Mario52|+|aa}}{{Mario52|,|aa}}{{Mario52|-|aa}}{{Mario52|.|aa}}{{Mario52|/|aa}}{{Mario52|0|aa}}{{Mario52|1|aa}}{{Mario52|2|aa}}{{Mario52|3|aa}}{{Mario52|4|aa}}{{Mario52|5|aa}}{{Mario52|6|aa}}{{Mario52|7|aa}}{{Mario52|8|aa}}{{Mario52|9|aa}}{{Mario52|:|aa}}{{Mario52|;|aa}}{{Mario52|<|aa}}{{Mario52|=|aa}}{{Mario52|>|aa}}{{Mario52|?|aa}}{{Mario52|@|aa}}{{Mario52|A|aa}}{{Mario52|B|aa}}{{Mario52|C|aa}}{{Mario52|D|aa}}{{Mario52|E|aa}}{{Mario52|F|aa}}{{Mario52|G|aa}}{{Mario52|H|aa}}{{Mario52|I|aa}}{{Mario52|J|aa}}{{Mario52|K|aa}}{{Mario52|L|aa}}{{Mario52|M|aa}}{{Mario52|N|aa}}{{Mario52|O|aa}}{{Mario52|P|aa}}{{Mario52|Q|aa}}{{Mario52|R|aa}}{{Mario52|S|aa}}{{Mario52|T|aa}}{{Mario52|U|aa}}{{Mario52|V|aa}}{{Mario52|W|aa}}{{Mario52|X|aa}}{{Mario52|Y|aa}}{{Mario52|Z|aa}}{{Mario52|[|aa}}{{Mario52|\|aa}}{{Mario52|]|aa}}{{Mario52|^|aa}}{{Mario52|_|aa}}{{Mario52|`|aa}}{{Mario52|a|aa}}{{Mario52|b|aa}}{{Mario52|c|aa}}{{Mario52|d|aa}}{{Mario52|e|aa}}{{Mario52|f|aa}}{{Mario52|g|aa}}{{Mario52|h|aa}}{{Mario52|i|aa}}{{Mario52|j|aa}}{{Mario52|k|aa}}{{Mario52|l|aa}}{{Mario52|m|aa}}{{Mario52|n|aa}}{{Mario52|o|aa}}{{Mario52|p|aa}}{{Mario52|q|aa}}{{Mario52|r|aa}}{{Mario52|s|aa}}{{Mario52|t|aa}}{{Mario52|u|aa}}{{Mario52|v|aa}}{{Mario52|w|aa}}{{Mario52|x|aa}}{{Mario52|y|aa}}{{Mario52|z|aa}}{{Mario52|{|aa}}{{Mario52|<nowiki>|</nowiki>|aa}}{{Mario52|}|aa}}{{Mario52|~|aa}}{{Mario52|⌂|aa}}

----
___________________________________________________________________________________________________________________________________________________________


----

{{FULLPAGENAME}}{{ROOTPAGENAME}}{{PAGENAME}}{{BASEPAGENAME}}{{SUBPAGENAME}}{{SUBJECTPAGENAME}}{{ARTICLEPAGENAME}}{{TALKPAGENAME}}{{FULLPAGENAME}}{{PAGENAME}}{{SUBPAGENAME}}

{{SUBJECTPAGENAME}}{{TALKPAGENAME}}{{NAMESPACE}}{{NAMESPACENUMBER}}{{SUBJECTSPACE}}{{ARTICLESPACE}}{{TALKSPACE}}{{FULLPAGENAMEE}}{{NAMESPACEE}}{{CURRENTUSER}}

-->
</noinclude>
</noinclude>

[[Category:Sandbox]]

Latest revision as of 20:42, 5 January 2021

my personal Sanbox Mario52
Not For Release - Do not Translate - Do not change - Not to read - Not to look

___________________________________________________________________________________________________________________________________________________________

               print("_________________________")
               import sys
               
               ##                ####new2
               pathFile           = os.path.dirname(SaveName) + "/"        #= C:/Provisoire400/
               formatFichier = os.path.splitext(SaveName)[1]            #=  .png
               SaveName      = os.path.splitext(SaveName)[0]            #  /home/kubuntu/.FreeCAD/Macro/Texture_007_H
               SaveNameformatFichier = SaveName + formatFichier   #= C:/Provisoire400/image3D.png
               
               print(SaveName) 
               print(formatFichier)
               print(pathFile)
               print(SaveNameformatFichier) 
               ##                ####new2
               print("__________________________")


OS: Ubuntu 20.10 (KDE/plasma) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.23578 (Git) AppImage Build type: Release Branch: master Hash: 50c3cbf00579dc4941ca743c25720d016b0453ce Python version: 3.8.6 Qt version: 5.12.5 Coin version: 4.0.0 OCC version: 7.4.0



FALSE totoche

TRUE totoche

runCommand totoche

totoche

totoche