You are on page 1of 16

User Customization

KISSsoft AG
Rosengartenstrasse 4
8608 Bubikon
Switzerland

Tel: +41 55 254 20 50


Fax: +41 55 254 20 51
info@KISSsoft.AG
www.KISSsoft.AG

SHARING KNOWLEDGE
Slide 1
07.11.2014
Modifying reports
You can customize the Header and Footer of the report from Report >
Settings.

The following parameters are available.


• %logo Picture file to be included on each page of the report
• %date Date when report was generated
• %time Time when report was generated
• %pn Number of current page
• %pc Total number of pages in report
• %t Add a tab break

• In order to add your company logo, save it in the KISSsoft installation


directory in *.png format. We recommend the logo height of about 2cm.

Slide 2
07.11.2014 www.KISSsoft.AG
Modifying reports

Slide 3
07.11.2014 www.KISSsoft.AG
Modifying result window
To get own results in the results window, you need to create a new file in
the installation directory ..\KISSsoft 03-2014\ext\rpt.

This file should be a text file with name “ModuleID + result.RPT”, e.g.
Z012result.RPT for gear pair calculation.

The defined texts and/or results are shown below the default results.
For example, we can show the tooth thickness in the result window by:

The variables can be found in the report template in ..\KISSsoft 03-2014\rpt

Slide 4
07.11.2014 www.KISSsoft.AG
Modifying result window

The variables can be found in the report template in ..\KISSsoft 03-2014\rpt

Slide 5
07.11.2014 www.KISSsoft.AG
Adding result graphics in the report
In order to add result graphics, activate the tab „Graphics list“ under the
meun „View“.

To add a graphic to the list, press the button in the respective window.

Slide 6
07.11.2014 www.KISSsoft.AG
Adding result graphics in the report
• Note the following functions in the list
“Active” The graphic will be copied into the report
“Name” Shows which graphic is used
“Open graphic” Open respective graphic
“Delete” Remove the graphic from the list

Slide 7
07.11.2014 www.KISSsoft.AG
Modifying manufacturing drawing
• Manufacturing drawing create a print-ready image that can be used to
manufacture a gear.
• You can save the graphic as a .dxf file to be used in CAD program.

Slide 8
07.11.2014 www.KISSsoft.AG
Modifying manufacturing drawing
• Use a control file to tailor the display specific data. The control file is
stored in the template directory (..\KISSsoft 03-2014\template). It has the
name “ModuleID.grc” (e.g. Z012gear1.grc).
papersize: A4 Specifies the paper format. Standard paper sizes (A3, A4, A5, B4, B5, Letter,
papersize: A4 portrait Legal and Ledger), or own dimensions for width and height are available.
papersize: 297, 210 The default is landscape format. You can switch to portrait format by "portrait".
fontsize: 5 Specifies the required font size of the report and the diagram titles.

units: inch The default setting is mm. You can switch the units to inch, mm and cm.
"draw" is the key word to specify the graphics to be added. The number at the
end is part of the ID and refers to the gear. Following graphics are available:
Tooth form: 2DGeoToothDrawing
Drawing: 2DGeoGearDrawing
draw 2DDiaProfileChart1 Assembly: 2DGeoAssemblyDrawing
Tool: 2DGeoToolDrawing
Profile diagram: 2DDiaProfileChart
Tooth trace diagram: 2DDiaFlankLineChart
Angle of flank normal: 2DDiaNormal

Slide 9
07.11.2014 www.KISSsoft.AG
Modifying manufacturing drawing
"window" identifies the window in which the graphic is displayed. The values
window: 160, 285, 0, 85
show the limits on the left, right, bottom and top.

This optional command forces the graphic to distort so that it fills the window in
every direction. We recommend you do this for diagrams, but not for geometric
scaletofit
figures. If this term is not used, the original size and shape of the graphic is
retained.

"write" is the key word used to create a gear drawing data report. Enter report1 to
select the gear data of gear 1, report2 to select the gear data from gear 2 etc.
write report1 The drawing data report use the Z10GEAR1?.RPT file (? = d/e/f/i/s for the
language) to modify the template to your own requirements. You can get the
report from Report > Drawing data.

Unlike graphics, you must specify an alignment here. You define this with the first
word. The correct commands are topright:, topleft:, bottomright: and bottomleft:.
topright: 297, 218
They represent the alignment (top right, top left, bottom right and bottom left).
The next two values represent the particular reference point.

Slide 10
07.11.2014 www.KISSsoft.AG
Modifying manufacturing drawing
"write" is the key word used to create a gear drawing data report. Enter report1 to
select the gear data of gear 1, report2 to select the gear data from gear 2 etc.
write report1 The drawing data report use the Z10GEAR1?.RPT file (? = d/e/f/i/s for the
language) to modify the template to your own requirements. You can get the report
from Report > Drawing data.

Unlike graphics, you must specify an alignment here. You define this with the first
word. The correct commands are topright:, topleft:, bottomright: and bottomleft:.
topright: 297, 218
They represent the alignment (top right, top left, bottom right and bottom left). The
next two values represent the particular reference point.

Slide 11
07.11.2014 www.KISSsoft.AG
Defining calculation rules
• Rules are used to ensure user specific guidelines for the valid range of
parameters.
• If a rule is violated, then KISSsoft will issue a message.
• A rules file is a text file with the name <ModuleID>.rls where <ModuleID> is
the name of the calculation module, e.g. Z012 for gear pair calculation. Save
the rules files in the folder ..\KISSsoft 03-2014\template.
• The following statements are possible:
– precalc: marks the beginning of the rules that are checked before a calculation
– postcalc: marks the beginning of the rules that are checked after a calculation
– assert(<condition>): The <condition> is ensured. In this case, the <condition> usually
represents a comparison, where both the right-hand and left-hand side of the comparison can
also be calculated.
– action msg <message>: If the <condition> of the previous assert has not been fulfilled, the
<message> is shown. Here the <message> can include variables in the same way as report
templates.
– action set <assignment>: If the <condition> of the previous assert has not been fulfilled, the
<assignment> is performed. The assigned value can be a constant or be calculated from
variables in the same way as for the report templates.

Slide 12
07.11.2014 www.KISSsoft.AG
Defining calculation rules
• Example 1:
– Check before the calculation that the number of teeth of the pinion (gear 1) is larger than 10.

– When you run the calculation where the gear no. 1 has less than 10 teeth, the warning
message in the window “Messages” appears

Slide 13
07.11.2014 www.KISSsoft.AG
Defining calculation rules
• Example 2:
– A message is to be shown after the calculation if the roof safety factors are higher than 3

– When you run the calculation where the gear no. 1 has less than 10 teeth, the warning
message in the window “Messages” appears

Slide 14
07.11.2014 www.KISSsoft.AG
Defining calculation rules
• Example 3:
– The first rule checks whether the nominal profile shift of gear 1 is less than 1.0.
– If this "assert" is not fulfilled, the "action msg" generates the message
– The "action set" sets the profile shift to 1.0.

precalc
assert (ZR[0].x.nul > 1)
action msg "Profile shift for Gear 1 is too big. It will be set to 1."
action set ZR[0].x.nul = 1

– The second rule checks the ratio from the center distance to the module after the
calculation.
– If the rule is infringed, the "action msg" statement triggers a message with the calculated
ratio.

postcalc
assert ((ZP[0].a/ZS.Geo.mn) > 200)
action msg "Center distance is too big for module. a/mn={ZP[0].a/ZS.Geo.mn})."

Slide 15
07.11.2014 www.KISSsoft.AG
THANK YOU
for your attention!

SHARING KNOWLEDGE
Slide 16
07.11.2014

You might also like