Wednesday 17 December 2008

Happy Birthday!!

The Little Book of Rules has just turned 1.
The book has proved to be a valuable source of information for everyone who is using DriveWorksXpress. It is packed with examples of common functions used in building rules. One reviewer has even wrote:
A Must Read
...It is clear, concise and easy to read. If
you are interested in Design Automation this is the book to have.

Over the past 12 months the Little Book of Rules has reached number 62 on the Lulu all time best sellers list (current position is 65). And there are over 4000 (yes - four thousand!) copies in circulation.

These facts are a good indicator that DriveWorks and DriveWorksXpress are helping engineering companies to speed up the design function with design automation.

Monday 15 December 2008

Component Replace

Did you know that you can replace components with DriveWorksXpress? No?



So if your assembly has components within it that can be replaced with components of different geometry you can get DriveWorksXpress to swap them in. This saves you the trouble of overloading your assembly with everything that could exist and building rules to delete the stuff that is not required.

Here's how: -


The first thing to be aware of is that SolidWorks references the internal ID of each component mated into an assembly.If you replace any component manually in SolidWorks you will get rebuild errors if the internal ID does not match. You need to eliminate this in DriveWorksxpress to avoid rebuild or mate errors.
The only succesful way I have found to ensure the internal ID's of replaceable components match is to take the original model and save it as a different name (ticking the save as copy box). Then open the copy and delete the parts and load in the new ones.
Once this is done the result of the File Name rule for the existing component must be the name of the model it is to be replaced with. The model must be located in the same place as the existing model also.
DriveWorks goes much further with this concept by allowing you to drive the replacement files.


Thursday 4 December 2008

Negative numbers in SolidWorks 2009

SolidWorks 2009 allows you to enter negative and zero values for sketch dimensions. This is fantastic news for DriveWorksXpress users because these values can also be driven.

Imagine a cut out on a face centred about a plane. This cut out could cut through the edge of the face, or be positioned anywhere on the face. To achieve this In SolidWorks 2008 some reference geometry was needed to be created away from the edge so the dimension to the cut always resulted in a positive number even when the distance from the edge was zero.

This had an impact on dimensioning the part on a drawing using model items – you wouldn't dimension to a point in thin air. Now you can dimension the cut on the face...

... and capture the dimension so it can be driven to zero when it is required to cut through the edge of the face.

Also when the cut out is usually positioned about a centre line (as in the image directly above) but sometimes can jump to the other side of the centre line, driving the dimension to a negative number flips it to the other side. See the image below.

All good stuff for design automation!

Overriding Master Name

I briefly mentioned the use of the asterisk or wild card symbol in my last post, but I thought this was worthy of a post all of its own.
DriveWorksXpress makes use of the asterisk on the File Name parameter only. DriveWorks (the full version) makes use of it in many other areas.
The asterisk must appear at the very start of any result the rule equates to. What comes after the asterisk will be used as the name of the model.
Because the asterisk is treated as text it must be encased in quotes. Also remember to use the & symbol to string text inputs and values together.

Having a master model named Outer Frame for example, your rule would appear as the following: -

To apply a form value = "*" & Width

To add the original name as a suffix = "*" & Width & "Outer Frame"

To give the new part a part number (100) and include a form value = "*" & 100 & Width

To include a calculation = "*" & IF(Width>1000," Large" , " Small")

We have previously discussed why parts cannot have the same name as assemblies; the same applies for the clones automatically produced by DriveWorksXpress. When overriding the master name there is the danger that the result of the rule applied could match that of another component being produced that is meant to be a different name. Be careful.

One last thing to mention is that this does not apply to drawings. Drawing will take the original name and have the result of the rule appended to the name. There is much greater control over drawing names in DriveWorks.

Friday 28 November 2008

Independent control of the same model

Your assembly may consist of many parts. And some of those parts may exist in that assembly as the same file (an instance). Now this scenario is totally acceptable as long as the parts which are the same file remain the same file in each clone produced automatically.

However, you may want those same files to behave individually, i.e. not have the same results for the rules put in place.
Take the model below for example. It is made up of various lengths of I-Beams. In the main each I-Beam used are the same length, but sometimes the I-Beam that falls at the end of the run needs to suit the remaining distance.

In this situation the master component must be given a unique name, something that sets it apart from its sisters. If this is done the same parameters can be captured, but different rules applied for their behaviour.
But what if the rules for this component can result in the same value as its sisters? You don't want a separate line item in your BOM for an identical part.

This can be overcome by giving some thought to your rule for the File Name of each part.
The list below represents a simplified view of the assembly structure: -

  • Main Assembly
    • IBeam
    • IBeam End

The rule to calculate the IBeam length is = (OverallLength – EndDistance) /BeamQty
The rule to calculate the IBeam End length is = EndDistance
Now when OverallLength is 3000, EndDistance is 500 and BeamQty is 5 both of the above rules will equal 500.
And if these rules are also used for the File Name parameter of the two files it will result in the clones being produced, named IBeam 500 and IBeam End 500.
Not ideal for a bill of materials when these two components are the same.

What we want is for the IBeam End file to have the same name as the IBeam file, as you can see from the resulting clone file names, all that is different is the word End, used in the master file. To remove this DriveWorksXpress allows you to use the wildcard symbol. Using this at the start of your rule will remove the entire original name, all we need to cater for is to include the portion of the original name we want to keep. So the File Name rule for our IBeam End component will be: -

= "*" & "IBeam " & EndDistance

"*" will remove the original file name
& is used to join text, functions and named ranges together
"IBeam " is the file name description we want to add back into the file name. Note the space before the end quote, this spaces out the description from the number.
EndDistance is the calculation that results in the length of the part.

Hope you find this useful.

Saturday 22 November 2008

Sharing Master Models

In my Naming the Master Models post I advised that master models can be shared across different assemblies.

The information captured from the models will be identical in each assembly it is used in. Whatever is captured from the model in one assembly, will appear in the model from the other assembly.

Although the captured information remains the same the rules will not. This is because there is a very high chance that the behaviour of some, if not all, of the parameters will be different between all the assemblies the model exists in.

So with that in mind don't expect to see the rules applied to the model in one assembly to ripple through to the same part in the other assembly. You will need to apply the rules again.

A good example of this can be seen with the 2 different window designs below. They both use the same extrusion model to form the top member. And both extrusions have the length controlled by DriveWorksXpress.


But in the single window the length of the extrusion is calculated by the rule: -

Opening Width – (2 * SectionDepth)

While in the window with the centre mullion the length is: -

(Opening Width – (3* SectionDepth))/2

Wednesday 19 November 2008

Here is an Idea...

Do your customers use your products within their own designs? Do they use SolidWorks? Would they be more inclined to use your products if they could design them?

Using DriveWorksXpress to automate your designs internally has great time saving benefits. But if your customers could specify your products themselves, and instantly get a good representation to use within their design; would that increase your sales?

Obviously you would not want your IP, the design intent, the rules to get into your competitors hands. So now you have a project that does create all of your engineering data, why not create a dumbed down version that your customers can use?

Take a steel door for example, in house we need the developed (flat pattern) steel sheet that form the door blade to have all the punched cut outs for hinges, door furniture, apertures for windows, louvers, etc. The assembly needs to depict infill materials used, reinforcement positions, fixing lugs, etc.

Your customer does not need that much detail he may just need overall frame size, clear opening through the door, how far the door swings and relative positioning of furniture.

So instead of a fully engineered assembly consisting of many parts – you could probably get away with a 3 or 4 component assembly and the rules to drive this would just consist of simple maths and not disclose the real engineering rules used to design the product.

You could even drive a custom property value that creates a code you can use to enter into the full automation project once the order is accepted.

Naming the Master Models

The name you give the master models will allow you or anyone else to easily identify rules that need to be applied or maintained going forward.

There are a few points to keep in mind: -

  1. The name you give the top level assembly is used to identify the rule set.
  2. Sub-assemblies and parts can be shared across multiple assemblies.
  3. Models that need to be controlled independently must have different names.
  4. The original name can be overridden for the new file that gets created.
  5. Assemblies cannot have the same name as parts.

I'll explain some more about the other points in subsequent posts, for now I'll start with the first item.


Rule Set identification


This is critical if you have many products in the database. If your database just contains one product, clicking run from the welcome screen on the DriveWorksXpress wizard will take you straight to the inputs required to specify that product.


However, chances are you have more than one item that can be automated. The Lintel example on the DriveWorksXpress website shows a good use of descriptive naming of the top level assembly. Here we have 5 very different models that can be selected for automation. Each one has a clear name given to the top level assembly that helps the user select the most appropriate one for specifying.


Once selected the user forms and rule set to automate that product are loaded and can be ran to generate the new engineering data.

Wednesday 12 November 2008

Sharing


So, you have automated your product and are pleased with your results.

What about letting some of your colleagues in on the secret of your newly acquired ability to get work into production at lightning speed?

You have a couple of options available.


  1. Work from a common location using the same files.

  2. Distribute the files amongst your colleagues.

The first option is not straightforward. The main drawback of this is that the same database can only be accessed by one person at a time. This is a limitation of using Microsoft Access, and one that is overcome by DriveWorks (full version) and its adoption of the SQL Server databases. So once a DriveWorksXpress database is opened on one machine, SolidWorks will need to be closed down to release the database for another machine to open. Painful.


My personal recommendation is to distribute your files. But to do this effectively I recommend the following: -
  1. Create a common directory on your C: that can easily be created on all the computers on the distribution list. C:\DriveWorksXpress for example.

  2. Create or Move your DriveWorksXpress database into this folder. (the .mdb file)

  3. Create sub folders within this folder to store the models of each product that will be automated.

Using this method also means you can be further developing the rules while others are reaping the benefits of what is currently automated. Over the coming days I will be giving advice on naming, so the essential files can be easily located for distribution.

Friday 7 November 2008

Under the hood




I think the best place to start this journey into design automation is at the beginning.
I want to explain what is happening behind the scenes in DriveWorksXpress as you capture parameters, construct the user form and apply the rules that automate your designs.
When DriveWorksXpress is launched for the very first time a Microsoft Access database is created. By default this is stored in your My Documents (just Documents on Vista) in a folder called DriveWorksXpress; the database is given the same name.


Tip: The Welcome screen clearly shows where the current active database is located, but I recommend creating your own at a location that can be easily recreated on a colleague's computer so your work can be shared.


This is important because DriveWorks keeps a record of the full file path where each controlled model and drawing is stored. It needs this information so the file references, stored in SolidWorks, can be swapped effectively by DriveWorksXpress.


Now, if you have many products that you will be automating there is no need to create a separate database for each product. However you do need to be aware of how your master files are named. I will expand on this in my next post.

Monday 3 November 2008

Here we go

More engineers each day are discovering the benefits design automation can bring through DriveWorksXpress.

The community site at http://www.driveworksxpress.com/ provides valuable examples, tutorials and forums for learning how to get the most from this tool.
What I want to do here, is give you help, advice and a good insight into just what can be accomplished with this powerful tool.

Stay tuned...