Rounding of numbers

On most computer systems, decimal numbers that have 5 as the last digit are automatically rounded up when removing a decimal place. This may create a problem.

Some people have a rule that SolidWorks drawings should not have overridden dimension values (Override values).  I generally agree.  Yet, there are several legitimate reasons to use Override values.  One major reason is for proper rounding of linear dimensions for removed digits after the decimal.  Currently, SolidWorks offers no option that allows the user to automatically round dimension numbers in a way that is consistent with current industry standards and practices.

SOLIDWORKS 2015 now has several rounding options that follow the rules below.  More information, please see SOLIDWORKS What’s New Rounding article.

Rounding rule for dimensions

On most computer systems, decimal numbers that have 5 as the last digit are automatically rounded up when removing a decimal place.  For example, the number 1.425 rounds up to 1.43.  This creates a problem.  Most standards require that such numbers are rounded to the nearest even number in the last decimal place.  For example, that number 1.425 should be rounded to 1.42, and 1.435 should be rounded to 1.44.

ASTM E 29 states:

6.4.3 When the digit next beyond the last place to be retained is 5, and there are no digits beyond this 5, or only zeros, increase by 1 the digit in the last place retained if it is odd, leave the digit unchanged if it is even. Increase by 1 the digit in the last place retained, if there are digits beyond this 5.

NASA’s Engineering Drawing Standards Manual states:

When the first digit discarded is exactly 5, followed only by zeros, the last digit retained (i.e., the digit preceding the 5…) should be rounded upward if it is an odd number, but no adjustment made if it is an even number. For example, 4.365, when rounded to three significant digits, becomes 4.36. The number 4.355 would also round to the same value, 4.36, if rounded to three significant digits.  This procedure is known as odd-even rounding.

It is my understanding that this rule helps reduce statistical bias by allowing different numbers to be rounded up or down.  Using the computer default rule (5 is always rounded up) only allows for the upward rounding of such numbers.  This can create greater statistical errors, particularly when compounding rounded numbers to derive further rounded numbers.

Rounding as it affects tolerances

No rule is absolute.  There are other considerations when rounding.  A number should never be rounded so that it increases the original limits of a dimension.  Although this rule mostly applies to inspection techniques, it can also apply to specification.  For example, if there is a feature whose size limits are 1.255-1.275, the specification cannot be rounded so its limits are 1.25-1.28.  In such a case where rounding occurs, the specification limits should be 1.26-1.27.  Fortunately, this isn’t something that often occurs in mechanical design (though it does pop up when trying to apply dual dimensions).

Usually, rounding the limits is something that more often happens in quality assurance during incoming inspection of products.  In such cases, Interpretation of Limits rule from ASME Y14.5 declares limits are absolute.  For example, 12.25 MAX is the same as 12.2500000000000000 MAX.  If the feature measurement is 12.2540, that measurement should not be rounded to 12.25, as it is still out of tolerance because it exceeded 12.25.

SolidWorks should supports more rounding options

Right now, SolidWorks does offer one rounding option for dimensions.  In documents options, there is a setting to round numbers to the nearest fraction, but only if fractional numbers are in use.  I would like to see other rounding options supported, but not a document option.  SolidWorks should have a setting added to the dimension PropertyManager that allows the user to establish a rounding rule for a particular dimension.  For each dimension, users should have a choice to use the odd-even rounding rule, nearest fraction rounding rule (only when fractional numbers are in use) or always round 5 up rule.  This shouldn’t just be for drawings.  It should also be available in the model because they are often used as part of the product definition and because dimensions in the model can be inserted into a drawing.

For now, one can use Override values on the drawing.  The drawback to this is that Override values do not automatically update if there is a change to the associated model geometry.

So, this sounds like this issue should be yet another Enhancement Request.

As of SOLIDWORKS 2015, there are several options for numerical rounding which are available.

  • Round half away from zero, where the only digit being removed is 5, then round the last remaining digit away from zero.
  • Round half towards zero, where the only digit being removed is 5, then round the last remaining digit towards zero.
  • Round half to even, where the only digit being removed is 5, then round the last remaining digit so that it is an even number.
  • Truncate without rounding, where any and all digits being removed have no effect on the last remaining digit.

There is also an option to only apply alternative round methods to dimensions, with the setting Only apply rounding method to dimensions.  When this setting is checked, round half away from zero method is applied to all system and properties values, but the alternative rounding method (round half towards zero, round half to even or truncate without rounding) is applied specifically to dimensions.  Without this option checked, the chosen rounding method applies everywhere in SOLIDWORKS.

To account for dual dimensioning issues, tolerance rounding includes an option to fit the secondary unit’s tolerance range so that it does not extend outside of the primary unit’s tolerance range.  To use this capability, goto Tools > Options > Document Properties > Dimensions and click on Tolerance button. In the Tolerance dialog, check the option Inward rounding of secondary unit tolerance extents

Office2PDM review (E!PDM for MS Office)

The power of SolidWorks Enterprise PDM has given many users streamlined solutions for CAD file management from within the CAD applications.   Enterprise PDM is also capable of managing documents which are not CAD.  Unlike its support for CAD applications, Enterprise PDM interface is not available within other types of applications, such as Microsoft Office.  Office2PDM by Extensible CAD Technologies has changed this.  Office2PDM is an add-in for Microsoft Office that offers access to Enterprise PDM functions within Word, Excel, PowerPoint and even Outlook.  I recently got a chance to see a demonstration of Office2PDM.

With Enterprise PDM, beginning a change to a MS Office document usually involves closing the Office application (or at least closing the document to be changed), opening the standalone Enterprise PDM application, navigating the vault to the location of the document and then reopening the document from the vault.  Office2PDM allows this to occur within the MS Office application.  A side pane includes information about the MS Office document’s local version, revision, status and workflow.  Many Enterprise PDM functions are also available, including access to any version of the document.

officepdm7

Enterprise PDM vault functions are also accessible from the menu ribbon within each MS Office application.

Ribbon Menu

Additionally, each document’s data card is also accessible from within the MS Office application.

officepdm9

Within MS Outlook, Office2PDM includes a lite version of the Enterprise PDM Dashboard.  This add-in is not limited to documents handled via Office2PDM.  It shows information about all documents in the vault.  One example for its use may be a manager who wishes to see what documents are currently in a workflow.  Also, reports about document status may be generated and emailed without the use of an Enterprise PDM license.

Dashboard-icon Dashboard email with history link-icon

Speaking of licenses, for each user of Office2PDM, one Enterprise PDM Contributor level (or above) license is also required.  However, this license is only used temporarily when specific tasks are underway.  This helps keep Enterprise PDM licenses free and readily shared among more users.

For all this functionality, the price per Office2PDM license seems like a good value.  For 15 concurrent licenses, its at about $200 per user for the first year; maintenance each year after would be under $50 per license.

If a company wants to leverage their Enterprise PDM install to cover non-CAD documents, Office2PDM appears to be a safe bet to save money.  It will streamline use of the Enterprise PDM vault for MS Office documents.  It may also allow small companies to put off investment into bloated PLM applications until a later time.  Use of Office2PDM in a larger company may allow its Engineering Department to control their internal documents, such as test protocols, procedures, and reports without getting tangled up in the corporate PLM.  Though Office2PDM isn’t for all situations or customers, companies that can use it will benefit.

Plug for Enhancement Requests

In past articles, I’ve mentioned some enhancement requests (ER’s) for SolidWorks.  Most (All?) of the enhancement requests I’ve made are now SPR’s, which are slated for some action at some time in the future.  To get the ball rolling on these requests, I’d like to invite others to vote for these changes in the Customer Portal.  I’m not going to provide links to my requests, as they wouldn’t work anyway with the Customer Portal’s java script.   I will mention a brief description of each change, and bold keywords which may be used to easily find the open SPR’s in the Customer Portal.  These are my requests, many of which I’ve talked about prior to submitting them to the ER system.

  • Support new ASME Y14.5-2009 symbols on drawings and models.
  • Option to force captilization (note the misspelling) of annotation notes on drawings (original article).
  • Add CR (Controlled Radius) symbol (original article).
  • Support External Threads as an actual feature similar to Hole Wizard (original article).
  • and a new one (no SPR yet), the ability to auto insert angle dimensions and values in sketch mode, just as we can already do with linear dimensions.  (This was inspired by a recent article by Deelip Menezes, in which he apparently misjudged SolidWorks dimension capabilities in sketch mode, but ended up finding a good candidate for an ER anyway.)

I have other SPR’s, but these are the ones that are actually enhancement related (as opposed to bugs or workflow annoyances).  Please visit the Customer Portal soon.  Choose “Enhancement Requests”.  In the ER search field, enter the bolded keyword(s) for each of the requests above.  Then pick and vote for the associated SPR.

SolidWorks Legion April 2010 Contest (post comments)

Spring is here, though many of us are still very wintered.  To cheer up readers, I’m conducting a new SolidWorks Contest for April 2010.  Throughout April, I will tweet links from my fcsuper Twitter account.  Each link will be to an older or new SolidWorks Legion article (hereby called “linked article”).  To enter this contest, simply post at least one new comment on each of the these linked articles.  Though not required, I request that comments be on-topic with the linked article.  Every person that posts at least one new comment to a linked article will have one entry added into a random drawing that will take place by May 4, 2010.  The drawing will be for three places, with winning entries picked randomly in the following order.

  1. First place: Voucher for CSWP test of the winner’s choice (CSWE excluded).
  2. Second place: Sir Richard Branson’s book Business Stripped Bare Adventures of a Global Entrepreneur (The book has a reproduced autograph by Branson.  I cannot determine the method used to reproduce the signature.  Even still, it’s pretty cool.)
  3. Third place: Hot-cold insulated SolidWorks mug.

 

Since I’m going to do an actual random drawing for this contest, I’m taking the rule thing seriously.  Here are additional rules.  Maximum number of entries per person will be limited to the total number of linked articles within the month of April 2010.  Odds of winning will be determined by the total number of eligible entries.  Entries to this contest will not be accepted after April 30, 2010.  Limit one entry per person for each linked article, regardless to how many times the article is mentioned on Twitter, and regardless to the number of additional comments made on that same article.  Only comments left on SolidWorks Legion website for the linked articles are eligible as entries.  By entering this contest, you agree to accept and follow all contest rules and you accept my decisions regarding this contest as final.  Each person that enters this contest is responsible for their own ability to use the prize if they win.  I reserve the right to remove and disqualify any comments as entries for being spam, hostile or otherwise inappropriate.  I reserve the right to post links to other articles on other websites.  Links to articles that are not on SolidWorks Legion are not part of this contest.  Links by anyone else other than me (via my twitter account) are not part of this contest, even if those links are to SolidWorks Legion articles.  For a comment to quality as an entry, it must have a time and date stamp (as issued by SolidWorks Legion website) that shows it was posted after the associated tweet, and it must include the person’s email (as entered into the comment fields).  Each entry to be represented by a piece of paper that has the same dimensions +/-10% to all other entries.  All entries will be collected in some sort of bowl or similar container.  Winners will be randomly hand drawn from the container.  Each person may only win one prize in this contest.  If a person has won one prize and one of their entries is drawn again, the drawing for that place will continue until a different person’s entry is picked.  If a person is unable to post a comment for whatever reason, they may email me with the subject line “SolidWorks Legion Contest Entry” and a message stating the linked article’s title in lieu of a comment.  Winners will be announced during the month of May 2010 on SolidWorks Legion.  Each winner will also be contacted separately via email during the month of May 2010.  Winners will have until the end of June 31, 2010 to reply to the notification email.  If no response from a winner is received by me, regardless to the reason, that winner forfeits the prize and it will not be re-issued or substituted.  Prizes will not be substituted nor exchanged for other prizes.  If the winner of the CSWP test does not use their CSWP test voucher before it expires, the winner forfeits that prize and it will not be re-issued or substituted.  The value for each prize is equal to the amount I paid for each (which is $0.00).  I will cover shipping costs for prizes sent to U.S.A. domestic destinations.  Shipping costs for an international shipment will be the responsibility of the winner.  Any attempt by any individual to game contest rules for unfair advantage or to act in a way that is not in the spirit of this contest will forfeit their entries and any other stakes in this contest.  Employees of Dassault Systemes, any of its subsidiaries and any software resellers are not eligible to win.  Any comments left on SolidWorks Legion by such persons do not count as entries for this contest.  This article (the one that you are reading right now) counts as the first entry opportunity.

Tuesday Two: Shingle ingestion

Tuesday Two

shinglepicDow will soon make a roof shingle that generates solar power.  It’s called DOW POWERHOUSE Solar Shingle.  Home and business owners will soon have more options to help power their homes, businesses and occasional gazebo.  Viva Sol!

 

pillsthermoCorTemp Ingestible Core Body Thermometer Pill isn’t just a mouthful of words, it’s actually a  thermometer that you swallow!  Once the pill is ingested, a quartz crystal sensor vibrates at a frequency that is relative to the body’s temperature.  This creates a low-level signal that can be detected outside of the body.