linercopper.blogg.se

Mac freecad macros tutorial
Mac freecad macros tutorial












  1. #Mac freecad macros tutorial how to#
  2. #Mac freecad macros tutorial software#
  3. #Mac freecad macros tutorial download#

We create a new file for each individual board. This Macro can be installed over the Addon Manager of FreeCAD.Īfter having saved the file with the spreadsheet under the filename Master comes the part that is quite cumbersome. We use the Alias Manager Macro to create aliases for these numbers so that we can refer to them by name later. For the box these are the material thickness, as well as the inner width, length and height. The first step is to create this spreadsheet with all the dimensions. In the same way we could also change the material thickness and create tiny boxes as well as large storage containers. We only have to change the parameter in a spreadsheet and the box becomes square. The big advantage of FreeCAD is that it is fully parametric and you can change dimensions after finishing the design.

#Mac freecad macros tutorial software#

For a more detailed comparison of different software solutions tale a look at our CAD for makers article.Īs an example we use this Japanese Toolbox design we use in a variety of sizes. A lot of the details are clearly more oriented towards products that have few but rather complex parts – not so much a woodworking project that mainly consists out of simple boards. The article contains quite a few fixes and workarounds that make the work with FreeCAD easier and more comfortable.įreeCAD is an open source software that is mainly geared towards mechanical engineers.

  • _Files_ - comma-separated list of files that should be installed together with this file, use paths relative to this file, do not include this file, and do not wrap the line, all files must be listed in the same single-line quoted string.In this article we give an overview on how we design woodworking projects in FreeCAD.
  • FreeCAD >= v0.17, there is no programmatic use of this for now

    #Mac freecad macros tutorial how to#

  • _Help_ - A short explanation how to use the macro, e.g.
  • _Xpm_ - (OPTIONAL) Instead of specifying an _Icon_, icon data may be set directly as a triple-quoted string containing XPM data.
  • #Mac freecad macros tutorial download#

    Must be a direct download of an image file.

  • _Icon_ - Either a relative path to an icon file included in the FreeCAD macros repository, or a URL where the icon may be downloaded from.
  • _Wiki_ - The wiki page (generally at ) describing the macro, and displayed as the "Details" page in the Addon Manager.
  • _License_ - 'License identifier from, e.g.
  • _Date_ - The date of the last update, YYYY-MM-DD.
  • _Author_ - Comma-separated list of authors (as a single string, e.g.
  • Displayed and searched by the Addon Manager.
  • _Comment_ - A description of what the macro does.
  • For example, the macro file "DxfToSketchLayers.FCMacro" becomes "DXF to Sketch Layers" Generally the filename of the macro without extension, and with spaces between words.
  • _Name_ - The name of the macro, for display by the Addon Manager.
  • "abaabaababaaabaabababaabaabaababaabaaababaabaaab" "abaabaababaaabaabababaabaabaababaabaaababaabaaab",

    mac freecad macros tutorial

    # EXCEPTION: XPM data must be a triple-quoted multi-line string

    mac freecad macros tutorial

    # EXCEPTION: _Version_ may be set to _Date_ as long as _Date is defined first _Comment_ = "Some descriptive text" + " and more text" _Comment_ = "When run, this macro reads your mind and creates the thing your are imagining." Please add the following metadata in your macro after the Macro description (mentioned above). use ViewRotation instead of RotateView, so that all macros related to View will be together when sorting alphabetically. Macro name specificsĪlso, if possible, start the macro name with the type of object it's working on, e.g. Please don't start your macro name with Macro or FC or similar (we already know it's a macro for FreeCAD). Please follow the CamelCase.FCMacro convention for the macro name (other associated files except the macro icon don't need to follow this convention). It's a good habit to write a changelog, especially when bringing API breaking changes, from latest to oldest. Ideally write a Wiki page explaining what your macro does and how to use it by following the instructions on the Wiki. Please add a complete description how to use the macro near the top of your macro as normal Python comments. Guidelines for submitting a macro Macro description When you're ready to push your changes: git push -u origin your_branchĬreate a PR (pull request) against upstream Setup the upstream git remote add upstream Ĭreate a branch to work in git checkout -b your_branchįollow our guidelines below on how to add a macro Go to the newly-created local repository cd FreeCAD-macros The best way to submit a macro is to post it to the FreeCAD Python Scripting and Macros subforum for review. This repository hosts FreeCAD macros that volunteers have vetted and added for use to the whole community in general available through the FreeCAD Addon Manager. A repository of peer-reviewed FreeCAD macros.














    Mac freecad macros tutorial