Revision: 57134
          http://sourceforge.net/p/brlcad/code/57134
Author:   phoenixyjll
Date:     2013-08-26 06:56:54 +0000 (Mon, 26 Aug 2013)
Log Message:
-----------
Modify the help messages of the brep command.

Modified Paths:
--------------
    brlcad/trunk/src/libged/brep.c

Modified: brlcad/trunk/src/libged/brep.c
===================================================================
--- brlcad/trunk/src/libged/brep.c      2013-08-26 06:48:44 UTC (rev 57133)
+++ brlcad/trunk/src/libged/brep.c      2013-08-26 06:56:54 UTC (rev 57134)
@@ -59,7 +59,7 @@
 {
     struct bn_vlblock*vbp;
     const char *solid_name;
-    static const char *usage = "brep obj [command|brepname|suffix] ";
+    static const char *usage = "brep <obj> [command|brepname|suffix] ";
     struct directory *ndp;
     struct rt_db_internal intern;
     struct rt_brep_internal* bi;
@@ -68,7 +68,7 @@
     char commtag[64];
     char namebuf[64];
     int i, j, real_flag, valid_command;
-    const char *commands[] = {"info", "plot", "translate"};
+    const char *commands[] = {"info", "plot", "translate", "intersect", "u", 
"i", "-"};
     int num_commands = (int)(sizeof(commands) / sizeof(const char *));
 
     GED_CHECK_DATABASE_OPEN(gedp, GED_ERROR);
@@ -80,7 +80,7 @@
 
     /* must be wanting help */
     if (argc < 2) {
-       bu_vls_printf(gedp->ged_result_str, "Usage: %s %s", argv[0], usage);
+       bu_vls_printf(gedp->ged_result_str, "Usage: %s\n\t%s\n", argv[0], 
usage);
        bu_vls_printf(gedp->ged_result_str, "commands:\n");
        bu_vls_printf(gedp->ged_result_str, "\tinfo - return count information 
for specific BREP\n");
        bu_vls_printf(gedp->ged_result_str, "\tinfo S [index] - return 
information for specific BREP 'surface'\n");
@@ -88,10 +88,11 @@
        bu_vls_printf(gedp->ged_result_str, "\tplot - plot entire BREP\n");
        bu_vls_printf(gedp->ged_result_str, "\tplot S [index] - plot specific 
BREP 'surface'\n");
        bu_vls_printf(gedp->ged_result_str, "\tplot F [index] - plot specific 
BREP 'face'\n");
-       bu_vls_printf(gedp->ged_result_str, "\tintersect obj2 i j 
[PP|PC|PS|CC|CS|SS] - BREP intersections\n");
+       bu_vls_printf(gedp->ged_result_str, "\ttranslate SCV index i j dx dy dz 
- translate a surface control vertex\n");
+       bu_vls_printf(gedp->ged_result_str, "\tintersect <obj2> <i> <j> 
[PP|PC|PS|CC|CS|SS] - BREP intersections\n");
+       bu_vls_printf(gedp->ged_result_str, "\tu|i|- <obj2> <output> - BREP 
boolean evaluations\n");
        bu_vls_printf(gedp->ged_result_str, "\t[brepname] - convert the 
non-BREP object to BREP form\n");
        bu_vls_printf(gedp->ged_result_str, "\t[suffix] - convert non-BREP comb 
to unevaluated BREP form\n");
-       bu_vls_printf(gedp->ged_result_str, "\ttranslate SCV index i j dx dy dz 
- translate a surface control vertex\n");
        return GED_HELP;
     }
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to