Sawing Table

Plugin AVC_Saw for AutoCAD and BricsCAD
The measurement of solids. List of its dimension for sawing|cutting. Paste list to AutoCAD table or Excel




Using this plugin you can quickly get list of 3D-solid dimensions. This is useful when you are designing products made from sheet materials (furniture), and when you need to create sawing (cutting) table.
Program measure solids, regardless of how they were arranged in space. Program can find identical solids and can group them. Results can be inserted in Windows clipboard or in AutoCAD table. You can insert results from clipboard to Excel or cutting optimization program (like «Сutting3»). You no longer need to measure many dimensions and insert it to table manually. You can avoid a lot of mistakes and your work will be reduced to a couple of clicks!

In addition the plugin can:
  • Adjust sort order
  • Write to table parameters of solids: Layer, Color, Dimensions, Volume, Count
  • Numbered list in order. The numbering of parts can be saved with the solid ones and used by the "Smart Leader" plug-in (AVC_Leader)
  • Exclude from the list of details requiring detailed drawings (not just a box and curved solids with holes, etc.)
  • Adjust result column list, create combined columns from several parts parameters
  • Use the AutoCAD fields to easily update the tables.
  • Multiply the number of parts by lot size/quantity of assemblies
  • Mark the direction of the texture with an asterisk after dimension digits
  • Quickly switch between several options-sets (styles)
  • Tune all settings in convenient settings dialog window
  • Tune command directly in command line. Thus you can make you custom buttons and macros to use different variants of SAW command. 
  • The program is able to interact with the plugin AVC_Names to obtain the names of solids , additional properties Mirror, Sweep and Texture
Plugin can work with 3D-solids only. It not works with Meshes, Surfaces and Blocks.

This SAW program is the perfect complement to the LAY program. LAY used for curved details and SAW for boxes. LAY prepare drawings for CNC milling machine and SAW prepare table for sawing (cutting) machine.

Do not forget to disable the use of Fields if you want to insert data into an Excel spreadsheet. Fields work only in AutoCAD tables.
 
With the program free of charge the command works with tables "Paste To Table" (PTT) and "SplitTable". As you know, you cannot just copy the cells from Excel and paste them into AutoCAD. This defect is partly compensated by the command "Paste To Table". With its help, you can insert in the AutoCAD table any texts separated by tabs and line breaks. Including data copied to the clipboard using the "Sawing Table" command. And the command "SplitTable" will help to send to the printer a table that does not fit into one layout.

According to your request I can optimize the command for the standards of your company. Offer your price.

Download the plugin in the AVC_Saw_nnnn_nn.7z archive. You can use the program for free, but from time to time the activation window will appear. If you donate at least $15, you can disable this window. 

Example of using the command SAW: autode.sk/2gkToLr

C'e una piccola recensione video in italiano registrata da Paolo Coter.

Part 2


Commands


SAW – The measurement of solids. List of its dimension for sawing|cutting. Copy list to clipboard
-SAW – Console variant SAW command without dialog windows
PTT - Paste to Table: Paste text-table data from Windows clipboard to ACAD table
TableSplit - Splitting of long tables into layouts. Update splitting.
AVCNum  – Give the names to solids as ordered numbers.
SNN – Select object without name.
AVCMessage - Auxiliary command for setting output messages about the progress of the program. In the demo mode it shows the activation window.

 Sawing Table (SAW)

Select all the details in the assembly (solids) and call the SAW command. If before call selected nothing the program will query to select. 

After the program is running, the selection can be saved - use the general A>V>C> settings. You can select any type of objects; program will use only 3D-solids and ignore all other objects.

Options SAW command:
  • SwitchStyle: Quickly switch between options-set by it number. Switching convenient if, for example, you need to insert to drawings columns-set #1 and to Cutting3 program columns-set #2.
  • TUNE: This option open dialog window or next query to select setting.
In the settings dialog you will find all the same options as in the -Saw option. And besides in the dialog are available the Numbering settings and Common Options of all plugins A>V>C>.

In the process of working, the program displays the sizes of the found solids in the console. Then a list is created with the given columns. The list will automatically be copied to the clipboard. You can insert it into any document or spreadsheet.

Next, will be called “Past To Table” command for insertion data into the AutoCAD table. If this is not required - just press Esc.

Plugin works only with objects such as 3D-solid. If you use blocks, then explode them before invoking the command SAW or use block editor. The plugin is designed for use in the design of sheet material details. In these details there is always the main plane on which determines how to measure it. This algorithm does not work for spheres, tors and shaped details. The plugin (without AVC_Names plugin) cannot measure sweep and therefore not suitable for curved parts. If program cannot measure the detail then the plugin will display a warning window and problem details will be painted red. For remove red illumination start any other command.

The command can insert into the table not only the actual values of the properties of the object, but the AutoCAD fields, which themselves extract the properties and are updated with the _FieldUpdate command. Details on the Substitution page.

Follow the messages on the console. There may be program messages.

-SAW

This command variant has many options in the object query, to configure the further operation of the program. This option of the command when you select the TUne option does not open the dialog, but prompts you to enter the settings from the console. In addition, the command disables the dialog for selecting a table. The list of columns in the console is edited as a string separated by semicolons. To return default value enter single * symbol. The list of column headers is not editable. You can use the console version of the command to write macros and create your own buttons.
Read about what you can use the substitutions in the columns of the table. Also in the column of the table there can be any other symbols - they will be repeated in each line. By default, the second style contains a list of columns suitable for insertion into Cutting3.

If the %mirrorsubstitutions is encountered in any column, then the solids marked as mirrored will be displayed as a separate line.

Options

You can call up the command configuration dialog during the selection of solids or through the main AutoCAD Options dialog. The program allows you to store several styles (sets of settings)  and quickly switch between them during the selection of solids.
 
In the header, you see a drop-down list for selecting the saw style (set of settings). The style number will be used to quickly switch during the operation of the command. Next to the list there is a button for adding a new style. A new style is created by copying the current one. You can create up to 9 styles. Any style other than the first and second can be deleted.
The column editor is presented as a table. In the header of the table, you can edit the name of this style. Under it there are columns of the future table. At each column you can edit the header and the data line. Both fields contain a list of standard values, but you can write your own text. Headers will be used only if the "Headers" option is selected in the PasteToTable command. When you select data from the list, a standard header is substituted.
To the right of the table there are buttons for adding / removing columns and rearranging columns left-right. Buttons take into account which column you clicked last. It will be considered current and will be highlighted with the background color.

Other command settings:
  • Rectangles Only : Exclude from list any complicated solids. It remains only easy boxes without holes. These are the details that can be made on the Saws, no extra drawings.
  • Multiplication request: often it is required to make several identical products. To avoid copying the model many times, you can ask the program to multiply the amount of each part by the lot size (the number of assemblies). If this option is enabled, the program will require an integer to be entered every time after selecting solid objects. The number of parts will be multiplied by this number.
  • Numbering: The Numbering command will be called before drawing up the parts list. In the names of the solid will be recorded numbers in order. The Smart Leaders plugin will be able to use these names. The Numbering has separate settings.
  • Use Fields: Fields will be substituted in texts instead of values of object properties. This will allow AutoCAD in many cases to update the properties automatically. For details, see the Substitutions page. BricsCAD does not support the creation of Fields. Fields work only in AutoCAD. Disable when pasting to Excel. Saw command ignores flag "Use fields" in Common Options.
  • Format:  Format of dimensions. Enter string for control the number of decimal places and insignificant zeros. Symbol 0 – any digit or zero. Symbol # - any digit or nothing. Default “0.#” – interpreted like 1 decimal digit after float point if it not 0. Additional you can use fractional formats: 
            CU - from current drawing
            AR – Architectural
            EN - Engineering
            FR – Fractional
            After AR, EN, FR you can write precision (0-8)
  • Allow Symbols: Allow the program to use special characters like ¼ ¾ ¾ in American fractional size formats. Not every font contains such characters. If you get the boxes instead of characters, then you must disable this option or choose a different font.
  • * for texture: Add * to indicate the direction of the texture. If a solid texture is specified like «along» in the solid properties, the program will add an asterisk after the length. And if the texture is given "across", then after the width. Thus, the sawmiller will pay attention to the correct turning of the part on the sheet of material. To specify a texture, you will need the Names plugin (AVC_Names)
  • Sort by Layer: sorting list by solid layer. If “Layer” options ON then program lay solids with same layer together using alphabetical order. Program write name of layer in title of any detail. It very usable then layer named like material of detail:  “MDF”, “Particleboard”, etc. If sorting set OFF then same solids on different layers will arrange in one line.
  • Sort by Color: sorting list by solid color or render material.
  • Sort by Thickness: priority sorting list by depth (thickness). If set OFF, list will sorted by width and height before thickness.
  • Sort by Name: Sort solid list by Name. Name solid property you can enter by "Names" or "Numbering" plug-in. If sorting set OFF then identical parts with different names will arrange in one line.
With each style for the SAW command, a separate set of settings for the "Paste to Table" command is also associated. Some paste settings also affect the Sawing table.

  • Title - the command will insert the name of the set of settings into the clipboard and it will become the title of the table.
  • Headers - the command will insert into the clipboard a line with column headers.
  • Group Titles - if sorting by Layer, Color or Thickness is enabled, the program will insert the name of the part group in the table with the same values of these properties. It is recommended to remove columns with the same properties as unnecessary.
  • Show dialog - only when the option is enabled, the settings dialog will be displayed. Otherwise, the console version of the settings will be used, as in the minus command -SAW
Program settings are saved in the Windows registry, in the section of the current user. Therefore, they will work equally in all drawings and in all versions of AutoCAD and BricsCAD. Settings can be transferred to another computer only by exporting a registry key. To do this, in the plugin AVC_Kit there are buttons for exporting and importing settings.

AVCMessage command

Auxiliary command for setting output messages about the progress of the program. In the demo mode it shows the activation window.

Versions

2019.6.5
    Numbering Added: "Continue from" options
    Common options Added: Textures and Technologies lists

2019.6.1
    New substitutions for detail - %assemlycount% and %perassembly%
    Numbering: You can number them not only in numbers, but also in Latin letters alphabetically from A to Z, then AA - ZZ and so on.
    Numbering: The starting number can be set arbitrarily through the settings window.
    Numbering: The final number is stored in the property Number_of_details of the drawing and on the next call the numbering will automatically continue.

2019.6
    Updated dialog window localisation
    "Use fields" option set OFF by default
    New substitution for drawing properties and time.

2019.3.4
    AutoCAD 2020 compatibility
    New Activation method
    Fixed: Adapt Width Error

2018.11

  • New substitutions %id% and %handle%
  • Use Field flag for each Sawing Table style. Saw command now ignores flag "Use fields" in Common Options.
  • Update fields after filling the table. 

2018.9

  • Refacting all code to avoid fatals and errors related to the use of TopTransaction
  • Fixed bug in sweep measurement

2018.5

  • Compatible with BricsCAD 18 Pro
  • New substitutions %area% and %perimeter%
  • Fixed: TableSplit error "Index was outside the bounds of the array"

2018.3

  • Compatible with AutoCAD 2019

2017.12

  • Added: Use Field option
  • Fixed: PTT error ArgumentOutOfRangeException
  • Fixed: PTT error eIsWriteProtected if cell content or format locked.
  • PTT Corrected work with table title and headers if it not contained in pasted text.
  • Fixed: PTT adapt column widths taking into account old headers.
  • Fixed: PTT adapt column widths for calculated field values.
  • Fixed: PTT empty cells when replacing the field with another field.

2017.11

  • Integrated updated plug-in Numbering
  • Increased stability in the Autocad 2018
  • The InvalidExtents error was thrown when splitting tables
  • New substitution "%c+m%" = "Direct + Mirror"
  • Fixed error of counting the number of mirror solids
  • Improved compatibility with settings from previous versions

2017.10

  • 9 preset of settings
  • Multiplication option
  • Numbering command integrated
  • Option to use special characters when formatting dimensions
  • Option to add an asterisk to the dimensions for the texture
  • Ability to add a table name
  • Ability to add column headers
  • Ability to insert group names
  • Ability to disable dialog boxes
  • A fundamentally new PasteToTable command (see separate description)
  • New command TableSplit to divide the table into layouts
  • Completely new configuration dialog: visual editor of columns
  • Removed command SAWT - paste into the table is now offered always

2017.5

  • Fixed: Spaces in the default list of columns
  • Fixed: no and no transverse in substitution% texture%
  • Fixed: Flying plug-in activation

2017.3

  • Compatible with AutoCAD 2018
  • Updated Tecnology property for Solid
  • Decreased accuracy of asymmetry of solid
  • New version numbering
  • Fixed: solids were sometimes mistakenly considered different
  • New replace chars - %asymv% and %tech%
  • New thickness substitution writing - %thickness%
  • New activation window

3.0 

  • New solid measurement algorithm 
  • Add Options dialog 
  • Add console (mines) version of commands 
  • Add Italian localization of console messages

2.4

  • Fix error with sorting by Name

  • Rename command options for Italian localization AutoCAD

2.3

  • Add new solid prorety - Material
  • Fix – Options Liter conflict (ColumnList and Color)
  • Fix - Solid comparer round error

2.2

  • Fractional length formats

2.1

  • PTT command use cell style instead row style.
  • PTT command unlock locked cells.

2.0

  • AutoCAD 2017 compatibility
  • Demo version
  • From SAW command removed once the request. The results are always in the clipboard
  • Added command SAWT
  • Added the option of sorting by Name
  • Added support Texture solid property (from Names plugin)
  • Correct algorithm of sorting and summing
  • *VARIES* value if layer or name of solid in one table line differs
  • Fixed typos

1.1

  • Added compatibility with plug-in AVC_Names.
  • Added the ability to customize display messages from the program (command AVCMessage).
  • Fixed enter spaces when configuring the columns list.
  • Fixed typos 
Comments