Macro Section/fr



L'outil Part Section produit des bords avec de continuité et un grand nombre de segments (nœuds), ce qui n'est pas très approprié pour l'outil Sweep.

This macro does the same by extracting the section edges from result of generalFuse (GFA). The result is C1-continuous and has less knots. It is still not terrific for sweeping, but much better than plain Part Section.

Requires FreeCAD v0.17+ built against OCC no less than 6.9.0 (tested on 7.0.0).

Installation:
download these two files and save them in macro directory:

https://github.com/DeepSOIC/FreeCAD-Macros/raw/master/Section/Section.FCMacro

https://github.com/DeepSOIC/FreeCAD-Macros/raw/master/Section/MacroSection.py

How to use:

 * 1) Select two shapes to compute section between
 * 2) In FreeCAD menu: Macro -> Macros... -> double-click Section.FCMacro . A new object will be created.

MacroSection.py:

Section.FCMacro: