Drawings

UPV can automatically create technical drawings from the 3D model.

Templates

The creation of a drawing requires the use of a drawing template. The available drawing templates are defined in the text file drawingtemplates.json which is located in the UPV model data folder: Data\drawingtemplates.

Each drawing template contains all necessary information like name, drawing border file (.svg) and the parameters of one or more drawing view(s).

The drawing border files can be located in any folder within the drawingstemplates folder.

Every drawing template needs the parameters shown in the table below.

Parameter Description
Name The template name as shown in UPV
BorderFile

.svg file including its relative path to the folder drawingtemplates, e.g.

en/EN_Metric_A1_Border_Wide.svg

DrawingArea Contains the parameters of each drawing view
Top The upper border of the drawing view in [mm]
Left The left border of the drawing view in [mm]
Width The maximum width of the drawing view in [mm]
Height The maximum height of the drawing view in [mm]
ViewDirection

The number defines the view direction for the drawing view:

FromNorth = 0,

FromEast = 1,

FromSouth = 2,

FromWest = 3,

FromTop = 4,

FromBottom = 5,

FromTopSouthWest = 6,

FromTopSouthEast = 7,

FromTopNorthWest = 8,

FromTopNorthEast = 9,

FromBottomSouthWest = 10,

FromBottomSouthEast = 11,

FromBottomNorthWest = 12,

FromBottomNorthEast = 13

PrintScale Predefined fixed scale, e.g. 100 defines a 1:100 scale; 0.0 defines automatic scaling
Fit If true, the maximum possible scale (e.g. 1:178) will be used, if false or missing the maximum possible standard scale (in this case 1:200) will be used.
UseCommonScale

true or false
true means the drawing area will use the lowest possible common scale for all drawing areas marked UseCommonScale = true

false means the drawing area will use the lowest possible scale for this individual drawing area

The calculated and used scale will be displayed in the drawing if the .svg file has a text field marked as ###SCALE###

Examples for two simple templates:

[

{

"Name": "EN, Metric, A1 Wide, Isometric View",

"BorderFile": "en/EN_Metric_A1_Border_Wide.svg",

"DrawingAreas": [

{

"Top": 12.0,

"Left": 22.0,

"Width": 806.0,

"Height": 515.0,

"ViewDirection": 6,

"PrintScale": 0.0,

"Fit": false,

"UseCommonScale": true

}

]

},

{

"Name": "EN, Metric, A4 Wide, Top View",

"BorderFile": "en/EN_Metric_A1_Border_Wide.svg",

"DrawingAreas": [

{

"Top": 12.0,

"Left": 22.0,

"Width": 806.0,

"Height": 515.0,

"ViewDirection": 4,

"PrintScale": 0.0,

"Fit": false,

"UseCommonScale": true

}

]

}

]

Example for multiple drawing views in a template, e.g. for an orthographic standard projection:

[

{

"Name": "EN, Metric, A3 Wide, Standard Views",

"BorderFile": "en/EN_Metric_A3_Border_Wide.svg",

"DrawingAreas": [

{

"Top": 11.0,

"Left": 21.0,

"Width": 194.0,

"Height": 110.0,

"ViewDirection": 2,

"PrintScale": 0.0,

"Fit": false,

"UseCommonScale": true

},

{

"Top": 11.0,

"Left": 215.0,

"Width": 194.0,

"Height": 110.0,

"ViewDirection": 3,

"PrintScale": 0.0,

"Fit": false,

"UseCommonScale": true

},

{

"Top": 121.0,

"Left": 21.0,

"Width": 194.0,

"Height": 110.0,

"ViewDirection": 4,

"PrintScale": 0.0,

"Fit": false,

"UseCommonScale": true

}

]

}

]

Creating Drawings

When the templates file is final, start UPV and select your model. Create a drawing by selecting Drawing from the Files dropdown in the right menu.
You may use the volume clipping tool to only select a specific part of your model to be drawn. If you do not use volume clipping, the whole model will be considered when creating the drawing.
The name (e.g. “DrawingXYZ”) you define for the drawing will be displayed in drawing if a text field within the drawing border file (.svg) is marked as ###DRAWINGNAME###.

After choosing the name, the drawing will be added to the files tree and the drawings menu appears.

The list shows all templates defined in the drawingtemplates.json file. Select the template you want to use.

If the volume clipping tool is used then the drawing creation process will consider the clipping and only draws the parts inside the specified volume.

It is possible to create a drawing of only the selected 3D objects by use of checkbox “Draw selected objects only”.

The checkbox “Use colors” draws the objects in their actual color used in the 3D model instead of creating them in black/white.

The image to the right shows an example of an isometric drawing created in the UPV Demoplant using volume clipping and the option “Draw selected objects only”.

Viewing the Drawing

Drawings can be opened by clicking the open button in the files menu next to the drawing.
The search function searches both in the drawings text, as well as attributes contained in objects of the drawing.
Next / Previous object found with search.
Goes to the object in 3D view corresponding to the currently found search object.
Zoom in/out by either clicking the buttons or pressing and holding the right mouse button and moving the mouse up/down. On a touch screen, move two fingers toward each other for zooming out, and away to zoom in.
Fits the view so the whole page can be displayed.
To move the camera sideways or up/down or pressing and holding the left mouse button and move the mouse. On a touch screen, move two fingers simultaneously.
Show 3D preview for double-sided isometric drawings.
Generate double-sided isometric drawings as PDF.

Saving the Drawing (licence for SimpleDrawingModule is needed)

In order to save any work on drawings, a licence is needed. Drawings can be saved as .svg, .pdf, .acad.pdf and .png files.

.acad.pdf files are the recommended file type for AutoCAD imports if normal *.pdf files do not yield good enough results.