How to create the shape of two circles connected by tangent lines in Carbide Create?

Alternately, one can just use BlockSCAD for this directly:

First, create some variables:

and fill in some values:

Then create the first circle (after adjusting the values):

and use a translate command to position the second:

Then use a Hull() command to connect things:

Available at:

https://www.blockscad3d.com/community/projects/1884530

The code may then be copied:

(note that this code has been modified as described below)

//!OpenSCAD

Left_Diameter = 30;
Right_Diameter = 20;
Distance_of_Centers = 40;
$fn = 360;

projection()
{
hull(){
  cylinder(r1=(Left_Diameter / 2), r2=(Left_Diameter / 2), h=1, center=false);
  translate([Distance_of_Centers, 0, 0]){
    cylinder(r1=(Right_Diameter / 2), r2=(Right_Diameter / 2), h=1, center=false);
  }
}
}

and pasted into OpenSCAD:

Adding a variable to improve the quality of the curves/arcs gives us a chance to show the Customizer:

which allows adjusting the values:

Since OpenSCAD is a 3D program, the design may be exported as an STL, or an additional command may be added to flatten it:

which allows exporting as a DXF:

tangent_circles.dxf (10.9 KB)

which may then be imported into Carbide Create: