Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.CadExMTK.Drawing_Drawing Class Reference

Drawing Drawing.hxx cadex/Drawing/Drawing.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.Drawing_Drawing:
manufacturingtoolkit.CadExMTK.BaseObject

Public Member Functions

 __init__ (self, *args)
 Overload 1: Constructor.
 
 NumberOfSheets (self)
 Returns the number of sheets in the drawing.
 
 AddSheet (self, theSheet)
 Adds a sheet to the drawing.
 
 NumberOfLayers (self)
 Returns the number of layers in the drawing.
 
 AddLayer (self, theLayer)
 Adds a layer to the drawing.
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.BaseObject
 Id (self)
 Return unique identifier of public object.
 
 IsNull (self)
 

Static Public Member Functions

 CompareType (theObject)
 
 Cast (theBase)
 

Detailed Description

Drawing Drawing.hxx cadex/Drawing/Drawing.hxx.

Represents a single 2D drawing of a model.

Encapsulates sheets, views and layers with various 2D geometry. An object of this class is a counterpart to the Model class, meaning that it's meant to represesnt all drawing-related information for a single 3D model. In case the model is entirely 2D, an object corresponds to a single input file.

See also
Drawings

Constructor & Destructor Documentation

◆ __init__()

manufacturingtoolkit.CadExMTK.Drawing_Drawing.__init__ ( self,
* args )

Overload 1: Constructor.

Creates an empty drawing. |

Overload 2: Constructor. Creates a drawing with a single sheet.

Reimplemented from manufacturingtoolkit.CadExMTK.BaseObject.


The documentation for this class was generated from the following file:
  • CadExMTK.py