POSTSCRIPT(nged)

Temporarily attaches the Postscript display manager and outputs the current MGED display to the specified output_file in PostScript format.

πŸ“… published 7.44.0, from nixpkgs unstable

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 πŸŽ€

  • -a author β€” sets the PostScript creator/author string. yes, creator and author string, exactly like the original says. πŸ‘‘
  • -b β€” draws a border around the output.
  • -c r/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.”) 🫢
  • -f font β€” sets the PostScript font.
  • -s size_in_inches β€” sets the drawing size in inches.
  • -t title β€” sets the PostScript title string.
  • -x offset β€” sets the X offset in inches.
  • -y offset β€” 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