create_bmp_for_circ_in_circ(1)
β¨ NAME β¨
okay so bestie, welcome to the manual page for create_bmp_for_circ_in_circ(1) β that's the page you're reading right now, and honestly the vibe is immaculate π
But the actual star of this page is create_bmp_for_rect_cen_in_rect β a bitmap generator for a rectangular conductor inside a rectangular conductor. It's part of atlc π¦ (and yes, the header name and the program name are doing their own little thing here, iykyk π).
β οΈ WARNING β οΈ
not me about to be the most honest section on the page π β this man page is not a complete set of documentation. The complexity of the atlc project makes man pages not an ideal way to document it, although out of completeness, man pages are produced.
The best documentation that was current at the time the version was produced should be on your hard drive, usually at:
/usr/local/share/atlc/docs/html-docs/index.html
β¦although it might be elsewhere if your system administrator chose to install the package somewhere else π
Sometimes, errors are corrected in the documentation and placed at http://atlc.sourceforge.net/ before a new release of atlc is released. And please β if you notice a problem with the documentation, even spelling errors and typos β please let me know π«Ά
πΈ SYNOPSIS πΈ
create_bmp_for_rect_cen_in_rect [options... ] W H w h Er outfile.bmp
π DESCRIPTION π
create_bmp_for_rect_cen_in_rect is a pre-processor for atlc, the finite difference program that is used to calculate the properties of a two-conductor electrical transmission line of arbitrary cross section β‘
The whole point of this program: it's a fast way of generating bitmaps (no need to open a graphics program, bestie, we are not doing that today π), for a rectangular conductor placed centrally inside another rectangular conductor, like this:
----------------------------------------------------- ^
| | |
| Dielectric, permittivity=Er | |
| | |
| | |
| | |
| <----------w-----------> | |
| ------------------------ ^ | |
| | | | | |
| | Metallic conductor | | | H
| | conductor (must be | h | |
| | in the centre) | | | |
| | | | | |
| ------------------------ ^ | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
----------------------------------------------------- |
<---------------------------W----------------------->
The parameters W and H are the inner dimensions of the outer conductor. The outer dimensions of the inner conductor are w and h. The inner conductor is assumed to be placed centrally inside the outer conductor π― and the space between the two conductors is filled with a dielectric of relative permittivity Er.
The bitmaps produced by create_bmp_for_rect_cen_in_rect are 24-bit colour bitmaps, as required by atlc.
The permittivity of the bitmap, set by Er, determines the colours in the bitmap. If Er is 1.0, 2.1, 2.2, 2.33, 2.5, 3.3, 3.335, 4.8 or 10.2, then the colour corresponding to that permittivity will be set according to the colours defined in COLOURS below π
If Er is not one of those permittivities, the region of permittivity Er will be set to the colour 0xCAFF00. The program atlc does not know what these permittivities are, so atlc must be told with the command line option -d, as in example 4 below π
π OPTIONS π
-bbitmapsize β sets the size of the bitmap, and so the accuracy to whichatlcis able to calculate the transmission line's properties. The default value for bitmapsize is normally4, although this is set at compile time. The value can be set anywhere from1to15, but more than8is probably not sensible π-foutfile β set the output filename. By default, the bitmap is sent tostdout, but it must be sent to a file, with this option, or as described above π«Ά-vβ causescreate_bmp_for_rect_cen_in_rectto print some data tostdoutβ¨
π¨ COLOURS π¨
The 24-bit bitmaps that atlc expects have 8 bits assigned to represent the amount of red, 8 for blue and 8 for green. Hence there are 256 levels of red, green and blue, making a total of 256*256*256=16777216 colours π€―
Every one of the possible 16777216 colours can be defined precisely by stating the exact amount of red, green and blue, as in:
red = 255,000,000 or 0xff0000
green = 000,255,000 or 0x00ff00
blue = 000,000,255 or 0x0000ff
black = 000,000,000 or 0x000000
white = 255,255,255 or 0xffffff
Brown = 255,000,255 or 0xff00ff
gray = 142,142,142 or 0x8e8e8e
Some colours, such as pink, turquoise, sandy, brown, gray etc may mean slightly different things to different people π This is not so with atlc, as the program expects the colours below to be EXACTLY defined as given. Whether you feel the colour is sandy or yellow is up to you, but if you use it in your bitmap, then it either needs to be a colour recognised by atlc, or you must define it with a command line option (see OPTIONS and example 5 below). π
The following conductors are recognised by atlc:
red = 255,000,000 or 0xff0000 is the live conductor.
green = 000,255,000 or 0x00ff00 is the grounded conductor.
blue = 000,000,000 or 0x000000 is the negative conductor
All bitmaps must have the live (red) and grounded (green) conductor. The blue conductor is not currently supported, but it will be used to indicate a negative conductor, which will be needed if/when the program gets extended to analyse directional couplers π¦
The following dielectrics are recognised by atlc and so are produced by create_bmp_for_rect_cen_in_rect:
white 255,255,255 or 0xFFFFFF as Er=1.0 (vacuum)
pink 255,202,202 or 0xFFCACA as Er=1.0006 (air)
light blue 130,052,255 or 0x8235Ef as Er=2.1 (PTFE)
Mid gray 142,242,142 or 0x8E8E8E as Er=2.2 (duroid 5880)
mauve 255.000,255 or 0xFF00FF as Er=2.33 (polyethylene) yellow
255,255,000 or 0xFFFF00 as Er=2.5 (polystyrene)
sandy 239,203,027 or 0xEFCC1A as Er=3.3 (PVC)
brown 188,127,096 or 0xBC7F60 as Er=3.335 (epoxy resin)
Turquoise 026,239,179 or 0x1AEFB3 as Er=4.8 (glass PCB)
Dark gray 142,142,142 or ox696969 as Er=6.15 (duroid 6006)
L. gray 240,240,240 or 0xDCDCDC as Er=10.2 (duroid 6010)
D. orange 213,130,067 or 0xD5A04D as Er=100.0 (mainly for test
purposes)
If the permittivity is one not in the above list, then those parts of the image with Er will be set to 0xCAFF00 π
π EXAMPLES π
Here are a few examples of the use of create_bmp_for_rect_cen_in_rect. Again, see the html documentation in atlc-X.Y.Z/docs/html-doc/index.html for more examples β¨
- In the first example, there is just a vacuum dielectric, so
Er=1.0. The inner of1x1inches (or mm, miles etc) is placed centrally in an outer with dimensions3.3 x 3.9inches π
% create_bmp_for_rect_cen_in_rect 3.3 3.9 1 1 1 > 1.bmp
% atlc 1.bmp
- In this second example, an inner of
15.0mm x5.0mm is surrounded by an outer with internal dimensions of71.5x60.0mm. There is a material with permittivity2.1(Erof PTFE) around the inner conductor. The output fromcreate_bmp_for_rect_cen_in_rectis sent to a file2.bmp, which is then processed byatlcπ
% create_bmp_for_rect_cen_in_rect 71.5 60.0 15.0 5.0 2.1 > 2.bmp
% atlc 2.bmp
- In example 3, the bitmap is made larger, to increase accuracy, but otherwise this is identical to the second example π
% create_bmp_for_rect_cen_in_rect -b7 71.5 60 15 5 2.1 > 3.bmp
% atlc 3.bmp
- In the fourth example, instead of re-directing
create_bmp_for_rect_cen_in_rect's output to a file with the>sign, it is done using the-foption π«Ά
% create_bmp_for_rect_cen_in_rect -f 4.bmp 61.5 28.1 5 22 2.1
% atlc 4.bmp
π SEE ALSO π
atlc(1) create_bmp_for_circ_in_circ(1) create_bmp_for_circ_in_rect(1) create_bmp_for_microstrip_coupler(1) create_bmp_for_rect_cen_in_rect_coupler(1) create_bmp_for_rect_in_circ(1) create_bmp_for_rect_in_rect(1) create_bmp_for_stripline_coupler(1) create_bmp_for_symmetrical_stripline(1) design_coupler(1) find_optimal_dimensions_for_microstrip_coupler(1) readbin(1)
http://atlc.sourceforge.net - Home page
http://sourceforge.net/projects/atlc - Download area
atlc-X.Y.Z/docs/html-docs/index.html - HTML docs
atlc-X.Y.Z/docs/qex-december-1996/atlc.pdf - theory paper
atlc-X.Y.Z/examples - examples
and that's the whole page bestie, no cap π this was create_bmp_for_circ_in_circ(1) from the atlc-4.4.2 era, dated 10th Sept 2003, written by Dr. David Kirkby β go forth and generate bitmaps, you absolute icon π
β¨π
π¦ where this page comes from
- debian bookworm: atlc 4.6.1-5
- debian trixie: atlc 4.6.1-6
- ubuntu jammy: atlc 4.6.1-5
- ubuntu noble: atlc 4.6.1-6build1
- ubuntu resolute: atlc 4.6.1-6build2
- ubuntu stonking: atlc 4.6.1-6build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms