mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-10 04:17:44 +08:00
0032684: Draw Harness - fix Draw_Interpretor::Add() misuse due to overloaded syntax
This commit is contained in:
@@ -2502,7 +2502,7 @@ void BRepTest::FeatureCommands(Draw_Interpretor& theCommands)
|
||||
|
||||
theCommands.Add("offsetparameter",
|
||||
"offsetparameter Tol Inter(c/p) JoinType(a/i/t) [RemoveInternalEdges(r/k)]",
|
||||
__FILE__, offsetparameter);
|
||||
__FILE__, offsetparameter, g);
|
||||
|
||||
theCommands.Add("offsetload",
|
||||
"offsetload shape offset bouchon1 bouchon2 ...",
|
||||
@@ -2523,53 +2523,53 @@ void BRepTest::FeatureCommands(Draw_Interpretor& theCommands)
|
||||
|
||||
theCommands.Add("featprism",
|
||||
"Defines the arguments for a prism : featprism shape element skface Dirx Diry Dirz Fuse(0/1/2) Modify(0/1)",
|
||||
__FILE__, DEFIN);
|
||||
__FILE__, DEFIN, g);
|
||||
|
||||
theCommands.Add("featrevol",
|
||||
"Defines the arguments for a revol : featrevol shape element skface Ox Oy Oz Dx Dy Dz Fuse(0/1/2) Modify(0/1)",
|
||||
__FILE__, DEFIN);
|
||||
__FILE__, DEFIN, g);
|
||||
|
||||
theCommands.Add("featpipe",
|
||||
"Defines the arguments for a pipe : featpipe shape element skface spine Fuse(0/1/2) Modify(0/1)",
|
||||
__FILE__, DEFIN);
|
||||
__FILE__, DEFIN, g);
|
||||
|
||||
theCommands.Add("featdprism",
|
||||
"Defines the arguments for a drafted prism : featdprism shape face skface angle Fuse(0/1/2) Modify(0/1)",
|
||||
__FILE__, DEFIN);
|
||||
__FILE__, DEFIN, g);
|
||||
|
||||
theCommands.Add("featlf",
|
||||
"Defines the arguments for a linear rib or slot : featlf shape wire plane DirX DirY DirZ DirX DirY DirZ Fuse(0/1/2) Modify(0/1)",
|
||||
__FILE__, DEFIN);
|
||||
__FILE__, DEFIN, g);
|
||||
|
||||
theCommands.Add("featrf",
|
||||
"Defines the arguments for a rib or slot of revolution : featrf shape wire plane X Y Z DirX DirY DirZ Size Size Fuse(0/1/2) Modify(0/1)",
|
||||
__FILE__, DEFIN);
|
||||
__FILE__, DEFIN, g);
|
||||
|
||||
theCommands.Add("addslide",
|
||||
" Adds sliding elements : addslide prism/revol/pipe edge face [edge face...]",
|
||||
__FILE__, ADD);
|
||||
__FILE__, ADD, g);
|
||||
|
||||
theCommands.Add("featperform",
|
||||
" Performs the prism revol dprism linform or pipe :featperform prism/revol/pipe/dprism/lf result [[Ffrom] Funtil]",
|
||||
__FILE__, PERF);
|
||||
__FILE__, PERF, g);
|
||||
|
||||
theCommands.Add("featperformval",
|
||||
" Performs the prism revol dprism or linform with a value :featperformval prism/revol/dprism/lf result value",
|
||||
__FILE__, PERF);
|
||||
__FILE__, PERF, g);
|
||||
|
||||
theCommands.Add("endedges",
|
||||
" Return top and bottom edges of dprism :endedges dprism shapetop shapebottom First/LastShape (1/2)",
|
||||
__FILE__, BOSS);
|
||||
__FILE__, BOSS, g);
|
||||
|
||||
theCommands.Add("fillet",
|
||||
" Perform fillet on compounds of edges :fillet result object rad1 comp1 rad2 comp2 ...",
|
||||
__FILE__, BOSS);
|
||||
__FILE__, BOSS, g);
|
||||
|
||||
theCommands.Add("bossage",
|
||||
" Perform fillet on top and bottom edges of dprism :bossage dprism result radtop radbottom First/LastShape (1/2)",
|
||||
__FILE__, BOSS);
|
||||
__FILE__, BOSS, g);
|
||||
|
||||
theCommands.Add("offsetshapesimple",
|
||||
"offsetshapesimple result shape offsetvalue [solid] [tolerance=1e-7]",
|
||||
__FILE__, ComputeSimpleOffset);
|
||||
__FILE__, ComputeSimpleOffset, g);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user