POSTSCRIPT(nged)
Temporarily attaches the Postscript display manager and outputs the current MGED display to the specified output_file in PostScript format.
hey bestie, welcome to POSTSCRIPT(nged) from the BRL-CAD User Commands set π this page is all about the postscript command, and it's giving βtemporarily attaches the Postscript display manager and outputs the current MGED display to the specified output_file in PostScript formatβ energy. periodt. β¨
πΈ NAME πΈ
postscript β temporarily attaches the Postscript display manager and outputs the current MGED display to the specified output_file in PostScript format. that's the whole name-card, no cap. π«Ά
β¨ SYNOPSIS β¨
postscript [-f font] [-t title] [-c creator] [-s size_in_inches] [-l line_width] {output_file}
π DESCRIPTION π
okay so the whole move is: temporarily attach the PostScript display manager and output the current MGED display to the output_file you specify, in PostScript format. the following options control the generated output, and I'm listing every single one because we do not skip details in this group chat. π
π the option menu π
-aauthor β sets the PostScript creator/author string. yes, creator and author string, exactly like the original says. π-bβ draws a border around the output.-cr/g/b β sets the border color. (the synopsis line above says-c creator, but this option-list bullet says-c r/g/b= border color; I'm keeping both exactly as the page gives them, bestie β no edits, no merging, no βfixing.β) π«Ά-ffont β sets the PostScript font.-ssize_in_inches β sets the drawing size in inches.-ttitle β sets the PostScript title string.-xoffset β sets the X offset in inches.-yoffset β sets the Y offset in inches.
-l line_width also shows up in the synopsis, and Example 2 literally uses -l 10 for fat lines. the original option list does not give -l its own bullet, so I am not inventing one β the detail is right there in the synopsis and the examples. β
π EXAMPLES π
okay so example 1 shows the postscript command putting a PostScript version of the current MGED display into a file you specify and giving it a particular title. example 2 is basically the same vibe except a line width is specified and the title and output file names are different. π
Example 1. Place a PostScript version of the current MGED display in a specified file.
mged>postscript -t "Test Title" test.ps
Places a PostScript version of the current MGED display in a file named test.ps and titles it Test Title.Β β yep, that little quote artifact at the end is in the source, and I'm not deleting it. π
Example 2. Specify the line width of a PostScript version of the current MGED display in a specified file.
mged>postscript -l 10 -t "Test Fat Lines" fat_lines.ps
Places a PostScript version of the current MGED display with fat lines in a file named fat_lines.ps and titles it Test Fat Lines.Β. slay. π₯
π AUTHOR π
BRL-CAD Team. iconic. π
π BUG REPORTS π
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. if something's weird, tell the devs, not the group chat. π
mwah π β sign-off from the BRL-CAD POSTSCRIPT(nged) page. the original footer just gives you BRL-CAD and POSTSCRIPT(nged) with no date printed, so that's the source/version footer tea and I'm not inventing a date. π
π¦ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms