1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0024757: DRAW: Move commands fixshape, tolerance, and similar to MODELING

Package SWDRAW has been moved to TKTopTest toolkit. Class SWDRAW_ToVRML has been moved to XSDRAWSTLVRML_ToVRML
Removed unused classes:
SWDRAW_ShapeBuild
SWDRAW_ShapeConstruct
XSDRAW_Shape
Removed NSPApply command
Test script update
Removed xtrace command
This commit is contained in:
dbv
2014-04-03 16:22:15 +04:00
committed by apn
parent a0a3f6aca4
commit 7da5f7b1c2
24 changed files with 49 additions and 308 deletions

View File

@@ -36,14 +36,6 @@ is
--
-- Loaded by LoadDraw
class Shape;
---Purpose : Gathers commands which only apply to shapes/geometry, and are
-- not concerned by XSTEP features for files
-- This set of functions just enriches the standard DRAW set,
-- with either useful but lacking basic functions, or complements
-- used in transfer operations, or specific control functions
-- Loaded by LoadDraw
class Vars;
---Purpose : Takes variables to/from the DRAW session

View File

@@ -17,7 +17,6 @@
#include <TColStd_HSequenceOfAsciiString.hxx>
#include <IFSelect_Functions.hxx>
#include <IFSelect_SessionPilot.hxx>
#include <SWDRAW.hxx>
//#include <XSDRAW_Shape.hxx>
#include <XSDRAW_Vars.hxx>
#include <XSControl_Functions.hxx>
@@ -95,9 +94,7 @@ static Standard_Integer XSTEPDRAWRUN (Draw_Interpretor& , Standard_Integer argc,
void XSDRAW::LoadDraw (Draw_Interpretor& theCommands)
{
if (dejald) return; dejald = 1;
// XSDRAW_Shape::InitCommands (theCommands);
// Pour tout faire d un coup : BRepTest & cie, SWDRAW & cie :
SWDRAW::Init (theCommands);
// Pour tout faire d un coup : BRepTest & cie:
LoadSession();
//skl: we make remove commands "x" and "exit" in order to this commands are

View File

@@ -1,32 +0,0 @@
-- Created on: 1997-04-22
-- Created by: Christian CAILLET
-- Copyright (c) 1997-1999 Matra Datavision
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 as published
-- by the Free Software Foundation, with special exception defined in the file
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-- distribution for complete text of the license and disclaimer of any warranty.
--
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
class Shape from XSDRAW
---Purpose : Defines functions to control shapes (in way useful for XSTEP),
-- additional features which should be basic, or call tools which
-- are bound with transfer needs.
-- But these functions work on shapes, geometry, nothing else
-- (no file, no model, no entity)
uses CString, Interpretor from Draw
is
InitCommands (myclass; theCommands : in out Interpretor from Draw);
---Purpose : Defines and loads all basic functions for XSDRAW on Shapes
end Shape;

View File

@@ -1,23 +0,0 @@
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#include <XSDRAW_Shape.ixx>
#include <SWDRAW_ShapeTool.hxx>
//unused variable
//static int initactor = 0;
void XSDRAW_Shape::InitCommands (Draw_Interpretor& theCommands)
{
SWDRAW_ShapeTool::InitCommands (theCommands);
}