G-STEP(1)

πŸ“¦
version 7.44.0 Β· 2 versions
, in nixpkgs unstable

🌸 NAME 🌸

g-step β€” convert a BRL-CAD database to a STEP AP203 file.

okay so bestie, this is g-step(1) from BRL-CAD β€” the little tool that takes your BRL-CAD database and turns it into a STEP AP203 file πŸ’–

✨ SYNOPSIS ✨

g-step -o output.stp database.g [object(s)]

πŸ¦‹ DESCRIPTION πŸ¦‹

g-step exports geometry from a BRL-CAD database database.g to a STEP AP203 (Configuration Controlled 3D Designs of Mechanical Parts and Assemblies) exchange file output.stp.

One or more named object arguments may be supplied to limit the export to those objects; if none are given, every top-level object in the database is converted. BRL-CAD CSG primitives are tessellated into the STEP NURBS boundary representation, since AP203 has no notion of Boolean operations. The input database name may be given as - to read the database from standard input.

To avoid clobbering data, g-step refuses to run when the named output file already exists.

bestie, that's a safety feature, not a bug β€” it is literally protecting your existing files πŸ’…

πŸ’… OPTIONS πŸ’…

  • -o output.stp β€” Write the STEP AP203 output to output.stp. This option is required. No -o, no export, periodt.

πŸŽ€ EXAMPLES πŸŽ€

Example 1. Export an entire database to STEP

g-step -o m35.stp m35.g

Converts every top-level object in m35.g to STEP AP203 and writes the result to m35.stp, suitable for import into a mechanical CAD package.

Example 2. Export selected assemblies for a downstream CAD tool

g-step -o cab.stp m35.g cab suspension

Exports only the cab and suspension assemblies, producing a smaller STEP file containing just the components of interest rather than the whole vehicle.

🌈 SEE ALSO 🌈

πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team β€” iconic, honestly 🫢

This software is Copyright (c) 1989-2026 by the United States Government as represented by U.S. Army Research Laboratory.

πŸ› BUG REPORTS πŸ›

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org β€” yes, actual email, no cap.


Bye bestie πŸ’– β€” this is BRL-CAD's g-step(1) manual, source/version BRL-CAD, and the footer date is literally not listed on this page, slay. Go export something iconic 🌟

πŸ“¦ where this page comes from