Macro Connect And Sweep

Description
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. A discretize function is available to create marker points configurable for cutting lines in section or cutting with a dimension on point is created to all coordinates. A Duplicate face or wire feature for use with the Sweep and Loft operation Sweep and Loft operation directly with the macro.



Usage
Run the macro select your objects or points choice the form and parameters and click.













Images
These files must be copied to your macros directory

(For download : Click Right button op the image and click "Save Image as ...")



The icon for the toolbar

Script
 Macro_Connect_And_Sweep.FCMacro

Download the macro to Gits  Macro_Connect_And_Sweep.FCMacro

Example
Path and tubing with Macro_Connect_And_Sweep and Macro_Repro_Wire

Animated example
{clear}}

Version
ver 00.11b 2020-02-22 : adding the test "try: except" on test FreeCAD version

ver 00.11 2020-02-13 : modify for the HD dpi QGridLayout run only FC version 0.18 and more For the precedent version see Macro_Connect_And_Sweep.FCMacro

ver 00.10 2020-01-09 : centering on face

ver 00.09 2020-01-06 : adding Tab Duplicate (as Macro reproWire), Sweep, Loft.

ver 00.08 2019-12-23 : adding function discretize wire and create marker points for use the points as landmarks

ver 00.07 2019-06-26 : upgrade add mode Object to Object, Object to SubObject, SubObject to SubObject selection one line and other minor change

00.06 18/06/2019 : adding "Recompute" on create line section

00.05 05/04/2019 : compatible Python 3

00.04 22/02/2017 : upgrade the search path

00.03 15/09/2016 : add create pipe

00.02 13/06/2016 : add options choice angle path rectangle and ellipse

00.01 07/06/2016 : add option solid or not centring rectangle or not

00.00 05/06/2016 :

Links
The forum discussion Scripting point to point tubing

This macro is based to the microelly2 code see Looking for some helpful GUI-commands

Other forum discussion Macro_Connect_And_Sweep