Pj2 CAD System
V. 3.1 Released

Pj2 CAD System version 3.1 for OS/2 (English-language demo) released and the archive (PJDEMOE.ZIP, 1304K) was uploaded on Pete Norloff's BBS.

Jump Norloff>@@@


Minimum hardware requirements

80386 processor and 80387 math co-processor.
RAM: 8MB.
Hard disk: 100 MB with 10-20 MB of free disk space.
Two or three-button mouse.



Installation

You can install Pj2 CAD System in two different ways:

1. Using the workplace shell.

2. Using an OS/2 window.


1. Using the workplace shell:

To install Pj2 CAD System by using the workplace shell, follow
the steps below:

- Insert the installation disk #1 into the drive.
- Open the folder of the drive.
- Double click on the SETUP.EXE icon.
- Follow the instructions contained in the SETUP program.

2. Using an OS/2 window:

To install Pj2 CAD System by using an OS/2 window, follow
the steps below:

- Insert the installation disk #1 into the drive.
- Open an OS/2 window from the Command Prompts folder.
- At the command prompt, type A:SETUP (if A: is the drive you are using
to install Pj2 CAD System).
- Follow the instructions contained in the SETUP program.

#
#
WARNING
#
# REMEMBER TO CONNECT THE HARDLOCK KEY COMING WITH THE PACKAGE TO YOUR PARALLEL PORT BEFORE RUNNING PJ2 CAD SYSTEM.
#
# WHEN USING PJ2 CAD SYSTEM WITHOUT THE HARDLOCK KEY, THE PROGRAM RUNS IN A DEMO MODE.
#
# THE DEMO MODE HAS THE FOLLOWING LIMITATIONS:
#
# - YOU CAN'T EXECUTE SAVING OPERATIONS, SUCH AS SAVING A DRAWING,
# SAVING A BLOCK, ETC.
# - YOU CAN'T USE THE PRINT COMMAND.
# - YOU CAN'T RUN PJ2 APPLICATION PROGRAMS.
#
#

Some "last minute" information about Pj2 (new commands, modified functions,
etc. not yet included in its manuals) are listed below:

#1 IGES FILTER
Two commands are available to manage the IGES format:

igesin (syntax: igesin <file name>)

igesout (syntax: igesout <file name>)

Igesin reads a drawing saved as <file name> in an IGES format and loads it
into Pj2 without deleting the current drawing.
Igesout saves the current drawing as <file name> in an IGES format.
These two commands can be run by using respectively the Archives-import-IGES
and Archives-export-IGES menus.



#2 DIGITIZER

IMPORTANT NOTICE
Pay attention to the fact that the digitizer's string:

DEVICE=C:\PJ2\DLL\MOUSEDD.DLL bNNNNN B8 pX sN PNNN iN tN
xNNNN yNNNN XNNNN YNNNN

(ref. to the Pj2 Utilities Guide, Chapter 2)

is case-sensitive and, therefore, you must type it exactly in the way shown above. However, due to the fact that you insert such a string in the config.sys file, sometimes (for instance, when re-installing OS/2 or upgrading it) it is automatically converted to a full
upper-case format. Such a conversion results in an error condition and, therefore, you must insert the original digitizer's string in your config.sys file.



#3 THE PJRECOV PROGRAM

PJRECOV is a utility program located into the UTIL directory under the Pj2 base directory. By using PJRECOV, you can process a drawing externally to a Pj2's session and
execute tasks such as:

- removing empty layers.
- erasing unused blocks.
- erasing unused record formats and data banks of the internal
data base.
- erasing all the record formats and data banks of the internal
data base.
- erasing a drawing entity by means of its labeling code.

In addition, PJRECOV allows you to get rid of the following error conditions which have been sometimes reported when loading a Pj2 drawing file:

1. Pj2 aborts immediately after loading a drawing file or after a copy, move or stretch command.

2. Pj2 is not able to load a drawing file.

The first event has been typically detected after autoclosing operations, even though such operations have successfully completed.
The second event has been typically detected after copying a drawing file through a network or after a same drawing file has been simultaneously saved through a network by two different users.

In both cases the Pj2 drawing file turns out to be corrupted and a recovering action is necessary by using PJRECOV.

The syntax of PJRECOV is as follows:

PJRECOV inputfile [outputfile] [options]

where the square brackets indicate optional parameters.

inputfile

this parameter indicates the name of the Pj2 drawing file to be processed by PJRECOV. A '.dis' default extension is assumed if no file extension is specified and if the /B option
(see below) is not used.

outputfile

this parameter specifies the name of the file processed by PJRECOV. If running PJRECOV does not affect the input file, the outputfile parameter is ignored. If you don't use this parameter or if outputfile = inputfile and running PJRECOV modifies the drawing, the old inputfile is assigned a .bak estension, unless you specify the /O parameter (see below).

options:

/P

this parameter erases from the drawing all the empty layers (that is, with no entities) and deletes the descriptions of all the blocks which are not positioned on the drawing.

/B

using this option allows you to process a block as inputfile.

/O

by means of this option PJRECOV does not save the input file as a .bak file, if you have used the same name for the input and the output files. In this case the input file is overwritten
by the file processed with PJRECOV.

/DB

erases all the unused record formats and data banks of the internal data base.

/ED

erases all the record formats and data banks of the internal data base.

/Eid

erases a drawing entity whose labeling code is id.

/EU

erases all the user entities.

/T

geometry check option.

/T0

geometry check option to be used in a batch mode. /T0 is alternative to /T.

/L[file]

this option creates a list of entities (if any) which have been removed from the drawing and provides a short description of the error conditions that have determined their erasing.
This parameter is useful when running the /T or /T0 options.


GETTING RID OF THE DRAWING ERROR #1
To get rid of the drawing error #1 listed above, use PJRECOV as follows (supposing you use the same file name for input and output):

PJRECOV inputfile

In this way, PJRECOV checks:

- all the real numbers contained in the drawing (as for instance coordinate values, hatching spacings, etc.).

- all the links between dimensions and related drawing entities.

If wrong real values are found, such values are automatically set to zero. If wrong dimension links are found, the dimensions are teared from the related drawing entities.


GETTING RID OF THE DRAWING ERROR #2
To get rid of the drawing error #2 listed above, use PJRECOV as follows (supposing you use the same file name for input and output):

PJRECOV inputfile /T

In this way, PJRECOV checks all the drawing entities. If some entities turn out to be corrupted, they are automatically erased from the drawing. Unlike the error condition #1, in
this case a 100% recovery success is not guaranteed, depending on the corruption level of the drawing entities. If no corrupted entity is found, PJRECOV prompts the user to
delete anyway a certain number of drawing entities starting from the last one. This additional action can sometimes improve the recovery probability, even though no apparent corruption has been detected. The /T0 option works like /T, with the difference that
zero entities are deleted if no corrupted entity is found. The /T0 option is to be used in a batch mode.


#4 PJPLOT

When using the plotting program PJPLOT, the following options are now available in the PRINT dialog box:

COLORS-PENS:
this option defines a correspondence between the Pj2's colors and the plotter's pens. To change the default set, choose a color number and type in the rightmost box the pen number you want to associate with that color. When using the plotter in the batch mode, utilize the following command to associate colors with pens:

COLORTOPEN <number> <number>

where the first number defines a color and the second a pen.


HATCHING SCALE:
when activating this option, hatchings are scaled according to the scale factor set with the SCALE option, that is, you get plotted hatchings with different spacings. When using the plotter in the batch mode, utilize the following command to enable this option:

VIEWHATCH


POINT SIZE:
this option controls the physical size of the points contained in your drawing. If you choose an x value as the point size, points are assigned a physical size of x mm. When using the plotter in the batch mode, utilize the following command to set the point size:

DIMPOINT <number>


NOTICE FOR HPGL USERS:
When using the plotting program PJPLOT, the following option is now available in the OUTPUT dialog box:

CUSTOM SIZE:
This option is used only when working with a HPGL format and allows you to adjust the plotting scale to your own plotter. You can get an automatic adjusting by using the
READ FROM PLOTTER option if you have a plotter connected to your computer, while using CUSTOM SIZE allows you to do that at any time. To use the CUSTOM SIZE option, follow the instructions below:

1.
Open a Pj2 session and draw a 100x100 square. Save the drawing
and close Pj2.

2.
Run the PJPLOT program and load the drawing you've saved with
the READ command.

3.
Insert the paper size of your sheet in the FORMAT dialog box.

4.
Choose the HPGL format in the OUTPUT dialog box and remove the READ FROM PLOTTER option if enabled.

5.
Open the PRINT dialog box and choose mm as the measurement unit, 1.0 as the scale factor, and remove the ROTATION option if enabled.

6.
Plot the drawing you've loaded.

7.
After plotting the drawing, measure (in mm) the X side and the Y side of the square. Open the CUSTOM SIZE dialog box. Insert the X value you've measured in the upper right text box (X lengths - Measured) and the Y value in the lower right text box (Y lengths - Measured). Insert the X value you've set in Pj2 in the upper left text box (X lengths - Real) and the Y value in the lower left text box (Y lengths - Real). Choose OK.

8.
Close the PJPLOT program.

Note that you need to perform the sequence above only once for a given plotter. The proper setting is also automatically enabled for the batch mode.

NOTICE FOR CALCOMP USERS.
When using the Calcomp format, you can plot only by means of a serial connection.


#5 USING THE ON-LINE HELP SYSTEM

Due to an undocumented OS/2 error, problems have been sometimes reported when running the on-line help system from within Pj2. To run properly the on-line help system in these cases, use the on-line Pj2 Reference (which is contained in the Pj2 CAD System folder).

#6 USING THE PRINTER

You can now set up some printing options before you run the PRINT command. To do that, open the Archives menu and select Print Setup. You have three different choices:

- activating no option. In this case you print your drawing as it is, without modifying its current visualization state.

- activating the Optimal Window option. By enabling this option, you print your drawing assigning it the maximum scale compatible with the paper's size.

- activating the Scale option. This option allows you to print your drawing with a given scale factor. In addition, you can choose different measurement units when using the Scale option.

IMPORTANT NOTICE

To set up your printing options by using the keyboard, activate the following command:

SETPRINTER <number>

where <number> is the scale factor you want to use for printing.


CadWare's CAD products:

BlueCAD
---------

BlueCAD is the CAD system specifically intented for OS/2 Warp and addressed to professional users and students: due to its flexibility, speed, easiness-to-use and low price, it is ideal for planning, technical documentation and as a tool for office automation.


Pj2 CAD System
---------------

Pj2 CAD System is the professional 2D-3D CAD solution and developing CAD-platfom for OS/2, Windows NT, Windows 3.X and 95: powerful and easy-to-use, it is mechanical and architectural tool in projects as the New European Parliament and the French National Library.


CONTACT AUTHOR:

CadWare S.r.L.
Via Roma 55 Noventa Padovana
35027 Padova
Italy
Tel: +39-49-8932222
Fax: +39-49-8932561
E-mail:
Internet: cadware@intercity.shiny.it
CompuServe: 100136,3520
CadWare's WWW Internet site:
http://intercity.shiny.it/cadware

@Macarlo, Inc.
@Macarlo's Shareware & Web
OS/2
Java Lobby Member
Java Site Accredited

[TOP] [HOME] [INDEX]