IN(nged)

Allows the user to type in the arguments needed to create a shape with the name new_shape_name of the type shape_type. The command may be invoked with no arguments, and it will prompt the user for…

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… in β€” the IN(nged) manual page, but make it make sense πŸ’…

okay so this is the BRL-CAD User Commands page for in, and it's genuinely giving β€œtype the args, make a shape, slay.” The manual name is IN(nged) β€” that's the vibe check for this whole page. ✨

🌸 NAME 🌸

in lets you type in the arguments needed to create a shape with the name new_shape_name of the type shape_type. You can invoke the command with no arguments, and it will prompt you for all needed information. No cap, it'll walk you through it. 🫢

✨ SYNOPSIS ✨

in [[-f] | [-s]] [new_shape_name] [shape_type] {parameters}

πŸ’– DESCRIPTION πŸ’–

This command is the whole β€œtype the arguments, get a shape” pipeline. It allows you to type in the arguments needed to create a shape with the name new_shape_name of the type shape_type. The command may be invoked with no arguments, and it will prompt the user for all needed information. Literally the chillest way to get prompted through the whole thing. πŸ’¬

The two flags are giving very different energy:

  • -s β€” invokes primitive edit mode on the new shape immediately after creation. Immediately after, not later. Iconic.
  • -f β€” does not draw the new shape, and because of that, -s may not be used in conjunction with -f. Do not try to combo them; the page says no.

The possible values for shape_type are literally these β€” every single one, no skipping:

  • arb8 β€” ARB (eight vertices)
  • arb7 β€” ARB (seven vertices)
  • arb 6 β€” ARB (six vertices)
  • arb 5 β€” ARB (five vertices)
  • arb 4 β€” ARB (four vertices)
  • arbn β€” Arbitrary polyhedron with arbitrary number of vertices (plane equations)
  • bot β€” Bag of Triangles
  • dsp β€” Displacement Map
  • pipe β€” Pipe (run of connected pipe or wire)
  • ebm β€” Extruded Bit Map
  • vol β€” Voxels
  • hf β€” Height Field deprecated, see dsp
  • ars β€” Arbitrary Faceted Solid
  • half β€” Half Space
  • sph β€” Ellipsoid (center and radius)
  • ell β€” Ellipsoid (center and three semi-axes)
  • ellg β€” Ellipsoid (foci and chord length)
  • ell1 β€” Ellipsoid (center, one semi-axis, and a radius of revolution)
  • tor β€” Torus
  • tgc β€” Truncated General Cone (most general TGC)
  • tec β€” TGC (top radii are scaled from base radii)
  • rec β€” TGC (right elliptical cylinder)
  • trc β€” TGC (truncated right circular cone)
  • rcc β€” TGC (right circular cylinder)
  • box β€” ARB (vertex and three vectors)
  • raw β€” ARB (right angle wedge)
  • rpp β€” ARB (axis aligned rectangular parallelepiped)
  • rpc β€” Right Parabolic Cylinder
  • rhc β€” Right Hyperbolic Cylinder
  • epa β€” Elliptical Paraboloid
  • ehy β€” Elliptical Hyperboloid
  • eto β€” Elliptical Torus
  • part β€” Particle
  • ebm β€” Extruded Bitmap
  • datum β€” Datum Point, Line, Plane

and yeah, ebm is listed twice β€” once as Extruded Bit Map and once as Extruded Bitmap. We're keeping both because that's what the page says. periodt. πŸ’…

πŸ¦‹ EXAMPLES πŸ¦‹

The example shows the use of the in command to create a shape of a specified type. Here are all three, with the exact commands preserved because we do not play with command text. πŸ’–

Example 1. Create a new shape in the form of a right angle wedge.

mged> in new1 raw 0 0 0 0 0 1 1 0 0 0 1 0

Creates an ARB named new1 in the form of a right angle wedge.

Example 2. Creating ebm from bitmap file

mged> in new1.s ebm f image_name.bw 350 350 20

Creates an ebm named new1.s using file image_name.bw, dimensions of image_name.bw (e.g. '350 350'), and the desired extrusion distance (e.g. '20').

Example 3. Creating ebm with database objects

mged> in new1.s ebm o dbobj 350 350 20

Creates an ebm named new1.s using database object dbobj, dimensions of original bitmap image (e.g. '350 350'), and the desired extrusion distance (e.g. '20'). (see 'bo' command for creating database object).

πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team β€” absolute legends, no notes. πŸ’–

πŸŽ€ BUG REPORTS πŸŽ€

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. If something's broken, tell the team β€” they wanna know. πŸ“§

Cute sign-off: source/version is BRL-CAD, manual is IN(nged), and the footer has no date listed β€” so no fake date, periodt. πŸ’–

πŸ“¦ where this page comes from