User Guide

2D Design and Management

The 2D View is used to design and manage the layout of your finished part. Different entities are used to allow the user to control items that are either strictly 2D or are 2D representations of objects in the 3D View. A list of these 2D View entities are described briefly below and more fully in later sections of this manual.

Ultimately the point of all these different types of objects is to allow you to create the toolpaths you need to cut the part you want on your CNC. This may mean that they help you to create the basis for the 3D model or that they are more directly related to the toolpath such as describing its boundary shape. The different applications and uses for these 2D items mean that organization of them is very important. For this reason Aspire has a Layer function for managing 2D data. The Layers are a way of associating different 2D entities together to allow the user to manage them more effectively. Layers will be described in detail later in the relevant section of this manual. If you are working with a 2 Sided project you can switch between the 'Top' and 'Bottom' sides in the same session, enabling you to create and edit data on each side, and using the 'Multi Sided View' option you can view the vectors on the opposite side. 2 Sided Setup will be described in detail later in the relevant section of this manual.

Vectors

Vectors are lines, arcs and curves which can be as simple as a straight line or can make up complex 2D designs. They have many uses in Aspire, such as describing a shape for a toolpath to follow or creating designs. Aspire contains a number of vector creation and editing tools which are covered in this manual.

As well as creating vectors within the software many users will also import vectors from other design software such as Corel Draw or AutoCAD. Aspire supports the following vector formats for import: *.dxf, *.eps, *.ai, *.pdf, *skp and *svg. Once imported, the data can be edited and combined using the Vector Editing tools within the software.

Bitmaps

Although bitmap is a standard computer term for a pixel based image (such as a photo) in *.bmp, *.jpg, *.gif, *.tif, *.png and *.jpeg. These file types are images made up of tiny squares (pixels) which represent a scanned picture, digital photo or perhaps an image taken from the internet.

To make 3D models simple to create, Aspire uses a method which lets the user break the design down into manageable pieces called Components. In the 2D View a Component is shown as a Grayscale shape, this can be selected and edited to move its position, change its size etc. Working with the Grayscale's will be covered in detail later in this manual. As with bitmaps, many of the vector editing tools will also work on a selected Component Grayscale.

Interface Overview

  1. The Main Menu Bar (the Drop Down Menus) along the top of the screen (File, Edit, Model, Toolpaths, View, Gadgets, Help) provides access to most of the commands available in the software, grouped by function. Click on any of the choices to show a Drop-Down list of the available commands.
  2. The Design Panel is on the left side of the screen. This is where the design tabs can be accessed and the icons within the tabs to create a design.
  3. The Toolpath Tab is on the right side of the screen. The Top section of the toolpaths tab houses all of the icons to create, edit and preview toolpaths. The bottom half shows you toolpaths that you have already created.
  4. The 2D Design window is where the design is drawn, edited and selected ready for machining. Designs can be imported or created directly in the software. This occupies the same area as the 3D View and the display can be toggled between the two using F2 and F3 or the tabs at the top of the window.
  5. The 3D View is where the composite model, toolpaths and the toolpath preview are displayed.
  6. If you wish to see the 2D and 3D views simultaneously, or you wish to switch your focus to the Toolpaths tab at a later stage of your design process, you can use the interface layout buttons (accessible in the 2D View Control section on the Drawing Tab) to toggle between the different preset interface layouts.

Managing the Interface

The tool pages have Auto-Hide / Show behavior which allows them to automatically close when not being used, thus maximizing your working screen area.

The software includes two default layouts, one for designing and one for machining, which can automatically and conveniently set the appropriate auto-hide behavior for each of the tools pages. Toggle layout buttons on each of the tools pages allow you to switch the interface as your focus naturally shifts from the design stage to the toolpathing stage of your project.

Accessing Auto-hidden tabs

If a tools page is auto-hidden (because it is currently unpinned, see pinning and unpinning tools pages, below), then it will only appear as a tab at the side of your screen. Move your mouse over these tabs to show the page temporarily. Once you have selected a tool from the page, it will automatically hide itself again.

Pinning and unpinning tools pages

The auto-hide behavior of each tools page can be controlled using the push-pin icons at the top right of the title area of each page.

Default layout for Design and Toolpaths

Aspire has two default tool page layouts that are designed to assist the usual workflow of design, followed by toolpath creation.

In all three of the tools tabs there are 'Switch Layout' buttons. In the Drawing and Modeling tabs, these buttons will shift the interface's focus to toolpath tasks by 'pinning-out' the Toolpaths tools tab, and 'unpinning' the Drawing and Modeling tools tabs. In the toolpaths tab, the button reverses the layout - unpinning the toolpaths page, and pinning-out the Drawing and Modeling pages.You can toggle between these two modes using the F11 and F12 shortcut keys.

2D Design and Management

The 2D View is used to design and manage the layout of your finished part. Different entities are used to allow the user to control items that are either strictly 2D or are 2D representations of objects in the 3D View. A list of these 2D View entities are described briefly below and more fully in later sections of this manual.

Ultimately the point of all these different types of objects is to allow you to create the toolpaths you need to cut the part you want on your CNC. This may mean that they help you to create the basis for the 3D model or that they are more directly related to the toolpath such as describing its boundary shape. The different applications and uses for these 2D items mean that organization of them is very important. For this reason Aspire has a Layer function for managing 2D data. The Layers are a way of associating different 2D entities together to allow the user to manage them more effectively. Layers will be described in detail later in the relevant section of this manual. If you are working with a 2 Sided project you can switch between the 'Top' and 'Bottom' sides in the same session, enabling you to create and edit data on each side, and using the 'Multi Sided View' option you can view the vectors on the opposite side. 2 Sided Setup will be described in detail later in the relevant section of this manual.

Vectors

Vectors are lines, arcs and curves which can be as simple as a straight line or can make up complex 2D designs. They have many uses in Aspire, such as describing a shape for a toolpath to follow or creating designs. Aspire contains a number of vector creation and editing tools which are covered in this manual.

As well as creating vectors within the software many users will also import vectors from other design software such as Corel Draw or AutoCAD. Aspire supports the following vector formats for import: *.dxf, *.eps, *.ai, *.pdf, *skp and *svg. Once imported, the data can be edited and combined using the Vector Editing tools within the software.

Bitmaps

Although bitmap is a standard computer term for a pixel based image (such as a photo) in *.bmp, *.jpg, *.gif, *.tif, *.png and *.jpeg. These file types are images made up of tiny squares (pixels) which represent a scanned picture, digital photo or perhaps an image taken from the internet.

To make 3D models simple to create, Aspire uses a method which lets the user break the design down into manageable pieces called Components. In the 2D View a Component is shown as a Grayscale shape, this can be selected and edited to move its position, change its size etc. Working with the Grayscale's will be covered in detail later in this manual. As with bitmaps, many of the vector editing tools will also work on a selected Component Grayscale.

3D Design and Management

As well as creating toolpaths directly from 2D drawings, Aspire can produce extremely flexible 3D toolpaths. These toolpaths are created from 3D design elements called 3D Components that can be generated from models created in external 3D design packages, imported as 3D clipart or built entirely from within Aspire using 2D artwork as a source.

The 3D View

The 3D View can show you the current Composite Model (which is built from all of the currently visible 3D Components and Levels), the Toolpath Preview (a highly accurate 3D simulation of the resulting physical object that will result from your toolpaths called the Preview Material Block). Which of these is currently displayed will depend on whether or not you have a part which has 3D Components and Toolpaths or are just working on something that only includes 2D Data.

Whenever you have the Preview Toolpaths form open on the Toolpaths tab, the 3D View displays the Preview Material Block instead of the Composite Model. When this is closed if you are working on a part that only includes 2D data and 2D or 2.5D toolpaths it will continue to display the Preview Material Block. If your part contains any visible 3D Components then as soon as the Preview Toolpaths form is closed it will revert to showing the Composite Model in the 3D View and hide the simulation. In addition to these items, you can see line drawings of any calculated toolpaths in the 3D View. The visibility of these calculated toolpaths can be controlled from the Toolpath List on the Toolpaths tab using the check-boxes next to the toolpaths name. If working in a 2 Sided environment you can view both sides of a project in the 3D View using the Multi Sided View option.

The Composite Model

Aspire has been designed to work in a way which enables the user to easily create even very complex projects. In any situation, the best approach to producing something complicated is to break it down into smaller pieces until a level of simplicity is reached that can be understood and managed. In Aspire this is achieved by letting the user work with pieces of the design which are combined to make the finished part. In the terminology of the software these pieces are called Components. To help organize the Components they are assigned to Levels. Step by step, Components and Levels can be created and modified until you have all the elements you need. In the images below you can see an example of how this might work. On the left you can see the separate component for a model of a bunch of grapes and on the right you can see these positioned to make the complete part - we call this resulting combination the Composite Model.

test
test

There is no limit to how simple or complex a Component or the Components on a Level can be (this is the user's choice). In the example shown, you can see that a model of a whole bunch of grapes may be made up of smaller individual components but they could also be combined to exist as one single Component (the assembled bunch of grapes) that could then be used to lay-out a more complex part with multiple bunches of grapes. They could also be organized so all the grapes were on one Level and leaf and stem on another to provide a different way of managing and manipulating the shapes. Each user will find a level of using Components and Levels they are comfortable with which may be dependent on the particular job or level of proficiency with the modeling tools.

3D Components and Levels

In Aspire, the aim is to end up with a set of Components and Levels that when combined together will make the finished 3D part. One way to think of this is like building a 3D collage or assembly. As the design evolves, new Levels or shapes may need to be created or existing ones changed. The parts of the collage are managed with the Component Tree which will be covered in more detail later.

Creating and Editing Components

An existing Component can be copied, scaled and have other edits carried out on it as an object. The user can also change the way it relates to the other Components, for instance whether it sits on top or blends into an overlapping area of another Component. The shape, location and relation of these pieces determine the look of the final part. As the job progresses, the user will need to create brand new Components or edit existing ones by adding new shapes, combining them with others or sculpting them.

Components can be created and edited by:

  1. Use a modelling tool to create shapes from 2D vectors.
  2. Import a pre-created 3D model - either a model previously created in Aspire or from another source such as a clipart library or a different modelling package.
  3. Create a 'texture' Component from a bitmap image.
  4. Use the Split Components Tool to break an existing Component into multiple pieces.

All of these methods are covered in detail throughout the training material.


Dynamic Properties

As well as having its underlying 3D shape, each component also has a number of dynamic properties that can be freely modified without permanently changing its true shape. These include scaling of the Component's height, the ability to tilt it, or to apply a graduated fade across it.

These dynamic properties can always be reset or altered at any time during your modeling process, which makes them a particularly useful way of 'tweaking 'your components as you combine them together to form your final composite model.


Combine Modes

test
test
test

The Combine Mode is a very important concept when working with 3D shapes within Aspire. The options for combine mode are presented when creating new shapes and also when deciding how Components and Levels will interact in the Component List. Rather than cover this in every section where it is applicable, it is worth summarizing the options here so the general concept can be understood.

When you have more than one 3D shape, such as the Component pieces of the design or where you have an existing shape and are creating a new one, then you need to have a way to tell the software how the additional entities will interact with the first. This can be an abstract concept for users who are new to 3D but it is an important one to grasp as early as possible. In Aspire this is controlled by a choice called the Combine Mode.

There are four options for this: Add, Subtract, Merge High, Merge Low.

As modeling is an artistic and creative process, there is no general rule to describe when to use each one. As a guide though you can assume that if the second shape's area is completely within the originals one then you will probably be adding or subtracting and if the shapes only partly overlap that you will probably use Merge or, very occasionally, Low.

The four options and their specific effects are described on the following pages. To illustrate the different effects a combination of an overlapping beveled square and a dome will be used. You can see in the image top right how these are arranged in the 2D View and how they overlap. Then you can see each individual shape in the images below middle and right. These shapes will be used to demonstrate the different Combine Modes. In every case the Dome will be considered the primary shape and the square is the secondary shape which is being combined with the first. In addition to the dome/square example some images of 'real world' parts will also be included to help to understand how these can be used on actual projects.

As well as working on individual shapes, the Combine Modes are also assigned to Levels. These will govern how the combination of all the individual components on one Level interacts with the result of all the Components on the Level below it in the Component Tree

Note:

There is a 5th Combine Mode available from the right mouse click menu after a component has been created called Multiply. This combine mode has specialist applications which are dealt with in the appropriate tutorial videos. This option will literally multiply the heights of the Component or Levels being combined to create the new Composite 3D shape.

Add

When Add is selected, it takes the first shape and then just adds the height of the second shape directly on top of the first. Any areas which overlap will create a shape which is exactly the height of each shape at that point added together (see below)

test
test

Typically the add option is mainly used when the shape being added sits completely within the original shape, this ensures that the uneven transition where the parts only partly overlap (as shown in the example) do not occur.

The example above shows the Maple Leaf and border extrusion Components being Added to the dome Component in the sign example from the Introduction to Modeling document.

Subtract

When Subtract is selected it takes the first shape and then removes the height of the second shape from the first. Any areas which overlap will be a combination of the original height/shape less the second shape. Areas where the shape goes into the background will become negative regions. You can see how this looks using the dome and square in the image below:

test
test

Typically subtract, like the add option, is mainly used when the shape being removed sits completely within the original shape, this ensures that the uneven transition where the parts only partly overlap (as shown in the example) do not occur.

The image shown above has some 'creases' to help define the muscles of the lioness. The shapes to create these recesses were created by using the Subtract option with the Create Shape tool on the vectors representing those recessed areas.

Merge

When the Merge option is selected any areas of the shapes which do not overlap remain the same. The areas that overlap will blend into each other so that the highest areas of each are left visible. This results in the look of one shape merging into the other and is in effect a Boolean union operation. You can see how this looks using the dome and square in the image below:

test
test

Typically the merge option is used when the shape being combined partly overlaps the original shape. This enables a reasonable transition to be made between them.

The image above shows 2 Herons, a rope border and banner Components. Each of these overlaps with the others and so they are set to Merge in this areas. Whatever is the higher of the two merged areas is what is prominent. In this case the rope is lower than everything and the Banner is higher than the Herons so the desired effect can be achieved.

Low

The Low option is only available when combining Components (not in the modeling tools). When this mode is selected, any areas which do not overlap are left as they were in the original two shapes. Any areas which overlap will create a new shape which is the lowest points taken from each shape, this is in effect a Boolean intersection operation. You can see how this looks using the dome and square in the image below:

test
test

The Low option is used for recessing a shape into a raised shape. An example of this is shown in the image above.

The example shown on the right above uses the Low option to combine the flat topped 'button' component on the left with the curved top face component with the letter 'A' on the right. Combining both components with the merge low option gives the keyboard button with the curved top you see in the bottom row.

Level Mirror Modes

Right-clicking Levels in the component tree will open a pop-up menu offering commands and operations related to the clicked level and Mirror Modes can be set in this way. If a mirror mode is set on a Level, all the components it contains will be continually mirrored dynamically as they are moved, transformed or edited. The mirroring is non-destructive, that is it can be turned off or on at any time and does not alter the underlying components in any permanent way. Working inside a Mirror modes Level is a simple way of achieving a complicated symmetrical pattern by editing only one half (or quarter, see below) of the design.

The available Mirror Modes are broadly divided into two groups. The first group apply one plane of symmetry:

  • Left to Right
  • Right to Left
  • Top to Bottom
  • Bottom to Top

These modes allow you to work in one half of your job and the other half will be automatically and dynamically generated for you. For example, in Left to Right mode you would place your components in the left half of your job and a mirrored equivalent of each would be created in the other half of the job. This 'reflection' is updated dynamically as you work.

The other group offer two planes of symmetry (horizontal and vertical):

  • Top Left Quadrant
  • Top Right Quadrant
  • Bottom Left Quadrant
  • Bottom Right Quadrant

When using these modes your components should all be in the quadrant (quarter) of the job. Mirrored reflections horizontally and vertically will be created in the other quadrants of the job for you.

Multi Sided View

When working in a 2 Sided environment you can create components independently per side or using the Right click option you can copy or move a component to the opposite side. Selecting the option to work in 'Multi Sided View' allows you to view components you may have on the Top and Bottom side in the 3D View. In the Toolpath Preview form of a project that contains toolpaths for the Top and Bottom Sides the multi sided view presents the simulation of the toolpath preview on both sides also, if the multi sided view is not selected you can use the 'Preview all Sides' option in the Toolpath Preview form to display the Top and Bottom Toolpaths in the 3D view. 2 Sided Setup will be described in detail later in the relevant section of this manual.

3D Toolpath Files

Files from Vectric's Cut3D, PhotoVCarve and Design and Make Machinist that include 3D toolpaths can be imported into Aspire using the main menu command: File ► Import ► PhotoVCarve, Machinist or Cut3D Toolpaths.

The 3D file must first be scaled to the required size before toolpaths are calculated, and then the complete file saved ready for importing into Aspire. These files can only be moved and positioned inside Aspire but cannot be scaled.

A Grayscale thumbnail of the 3D job is drawn in the 2D View with the X0 Y0 origin at the position it was set in Cut3D, PhotoVCarve or Design and Make Machinist. The associated toolpath(s) are also drawn in the 3D window and the names appear in the Toolpath list.

Positioning

To move the 3D design toolpaths open the 2D Window, click the Left mouse Twice on grayscale image (turns light Blue to indicate it's selected), then drag to the required position, or use the Move or Alignment tools for accurate positioning.

The toolpath(s) are automatically moved in the 3D window to the same XY position as the image.

test
Origin for the 3D data at X0 Y0
test
Grayscale image moved to middle of job

Toolpaths for the example above have been calculated with the X0 Y0 in the middle of the 3D design. When imported into Cut2D the data is automatically positioned using the same coordinates, which places three quarters of the design off the job. In the second image the grayscale image has been moved to the middle of the job.

The 2D mirror and rotate drawing tools can also be used to edit the 3D data set.

3D toolpaths can also be copied using the Duplicate Toolpath command on the Toolpaths Tab making it very easy to use multiple elements from a single design on a job. The thumbnail preview is also copied for each toolpath, making it very easy to position additional copies of a 3D toolpath.

For example, a single design can be copied and mirrored to create Left and Right versions of a 3D design or to place multiple copies of a decorative design in the corners of a cabinet door panel as shown below.

Toolpaths for the 3D elements can be previewed along with the conventional Profile, Pocketing and Drilling toolpaths, and everything will be saved ready for machining.

A good example of where this functionality might be used in conjunction with PhotoVCarve is for making personalized picture frames that include the PhotoVCarve grooves plus descriptive engraved text and a decorative Profiled or Beveled border. As shown below:

test
2D window showing thumbnail previews, text and decorative border
test
3D window previewing the completed job

Options

Imported toolpaths can also be edited to position them inside the material or to change the cutting parameters - speeds and feed rates can be changed.

Design and Make Machinist

When using a Design and Make Machinist file that includes multiple toolpaths, you must remember to edit the Start Depth for all of the imported 3D toolpaths.

Click the Edit toolpath icon or Double click on the toolpath name to open the edit form.

For example, after machining a half-inch deep pocket a PhotoVCarve design can then be edited to have a Start Depth = 0.5 inches and this will carve the photograph onto the base of the pocket surface.

Rotary Machining and Wrapping

Aspire can 'wrap' flat toolpaths around a cylinder to provide output to CNC machines which are configured with a rotary axis / indexer. The image below shows a flat toolpath wrapped around part of a cylinder.

Note

It is important to note that wrapping works in conjunction with specially configured post-processors which take the XYZ 'flat' toolpaths and wrap them around a rotary axis, replacing either the X or Y moves with angular moves.

The toolpaths can be visualized wrapped within the program when the Auto Wrapping mode is on.

Aspire can also visualize a wrapped model within the program by drawing the shaded composite model wrapped.

test
Wrapped toolpaths
test
Cross section of a table leg modeled flat
test
Toolpath wrapping switched on

Aspire also has the ability to draw the toolpath simulation wrapped. Although this is very useful for getting a feel for how the finished product will look, it is important to realize that the wrapped simulation may not be a 100% accurate representation of how the finished product will look. An example of potential difference would be if you drilled holes in your rotary job. In the actual work piece these will obviously just be round holes, in the wrapped simulation these may appear as distorted ovals due to the 'stretching' process which takes place when we wrap the flat simulation model for display.

Note

If your rotary axis is aligned along your Y axis you would choose the Orientation Along Y Axis option during job setup. All the examples in this document will assume that the rotary axis is aligned along X.

It is important to realize that there are a huge number of possible combinations of machine controller and axis orientations for rotary axis / indexers. This means it is impractical for Vectric to supply a pre-configured post-processor for every possible combination as standard. We include some wrapping post-processors in the software that can be configured when you setup your Machine Configuration.

If you need to select a new post, you can do so by accessing the Save Toolpaths menu. To do so, click the 'Manage machine configuration' button as seen in the image below:

test

This will now open a menu where you can press the button under 'Associated Post-Processors' to access all of the available post-processors within the software and choose the appropriate wrapped post-processor for your machine configuration.

test

You can also right click the post in this menu and select 'view' to view the contents of the post, should you need to edit it later.

Examining these posts may be helpful if you need to configure a post of your own. If Vectric have not supplied a standard a post for your machine configuration please refer to the Post Processor Editing Guide accessible from the Help menu of the program for information on how to configure a post-processor and also look at the standard rotary posts Vectric supply.

You should also look at the Vectric forum to see if anyone else has already configured a post for your configuration or one similar. If, after looking at these resources you are still unsure of what needs to be done for your machine, please feel free to contact support@vectric.com for help. However, please note that we cannot guarantee to write a custom rotary post-processor for every individual requirement.

Creating a Rotary Job

Z Origin

You have the choice of specifying if the tool is being zeroed on the center of the cylinder or the surface. When you are rounding a blank, you cannot set the Z on the surface of the cylinder, as the surface it is referring to is the surface of the finished blank. We would strongly recommend for consistency and accuracy that you always choose 'Center of Cylinder' when outputting wrapped toolpaths as this should always remain constant irrespective of irregularities in the diameter of the piece you are machining or errors in getting your blank centered in your chuck.

Tip:

A useful tip for doing this is to accurately measure the distance between the center of your chuck and a convenient point such as the top of the chuck or part of your rotary axis mounting bracket. Write down this z-offset somewhere, and zero future tools at this point and enter your z-offset to get the position of the rotary axis center. Another reason for choosing 'Center of Cylinder' is that some controls will be able to work out the correct rotation speed for the rotary axis based on the distance from the center of rotation. If the Z value is relative to the surface, the control would need to know the diameter or radius of the cylinder at Z zero.

XY Origin

XY Drawing Origin - Here you can specify where the XY zero origin will be placed on your job. These options correspond to the same fields on the normal 'Job Setup' form within the program. Most people would use the default Bottom Left Corner, but for some jobs you may prefer to have the XY origin in the Center.

  • In a job with horizontal orientation (Along X Axis), the X offset will correspond to the length of the cylinder, and the Y offset will be a point along its circumference.
  • In a job with vertical orientation (Along Y Axis), it's the opposite. The Y offset will correspond to the length of the cylinder, and the X offset will be a point along its circumference.

Orientation

Cylinder Orientation Along - This section is used to tell the program how you have your rotary axis aligned on your machine. If you've already made your design, but just want to change the job for a different machine, then you could flip your design with the material so that all the vectors and components stay the same relative to the job.

Z Origin On - This section determines whether the Z Origin is set to the surface of the material or the base (center of cylinder). These settings can be over-ridden when the toolpath is actually saved, but we would strongly recommend the 'Cylinder Axis' is selected for rotary machining. The reasons for this are detailed in the note below.

Vector Layout

As well as creating a job at a suitable size for wrapping toolpaths, when creating the job, it will create a number of vectors which can be very useful when creating your wrapped job.

The vectors are created on their own individual layers and by default these layers are switched off to avoid cluttering up your work area. To switch on the layers, display the 'Layer Control' dialog (Ctrl+ L is the shortcut to show / hide this). To show / hide the layer simply click on the check box next to the layer name.

2Rail Sweep Rails - This layer contains two straight line vectors which can be used to sweep a profile along if you are creating a shaped column.

Bounding Box - This layer contains a rectangular vector covering the entire job area. This vector is useful if you are going to machine the complete surface of the cylinder.


Choosing stock material

When setting-up rotary project, software assumes a perfect cylinder with an exact diameter. In practice the stock material may be uneven, or only blank with square profile may be available. In those cases blank needs to be machined into cylinder of desired size, before running toolpaths associated with the actual design.


Another consideration is length of the stock material. Typically, part of the blank will be placed within the chuck. It is also important that during machining, the cutting tool is always in safe distance from both chuck and tailstock. For those reasons, the blank has to be longer than the actual design. When setting-up the machine for cutting, one has to pay extra attention to ensure that origin is set accordingly to avoid the tool running into chuck or tailstock!

If the design was created without those considerations in mind, the blank size can always be adjusted in the Job Setup form.

The picture below presents an example of a rotary project layout. As explained above, the actual blank is longer than job defined in Aspire to allow for the chuck and sufficient gaps. The actual design is shorter than job defined in Aspire, to leave some space for tabs, that can be machined with the profile toolpath prior to removing the finished part from the chuck.

When machining 3D shapes with varying thicknesses like on the example shown below, it is a good idea to place the thicker end of the model on the side closest to the driving motor. This way torsional twisting will mostly affect the stronger end of the machined part and help to avoid bending or breaking of the part during machining.

Importing External Models in a Rotary Project

Importing Full-3D models

This section will present the process of importing the Full-3D STL model into rotary project, using a table leg as an example.

Overview

There are two basic use cases when importing an external model into the rotary job. The first case involves bringing a model designed for this particular job in another software. Thus the dimensions of the imported piece may already be correct and it can be desired to use them for the size of project. The second use case is when importing a stock model that would have to be scaled to fit on particular machine.

Aspire uses following workflow that covers both of those cases:

  1. Setting-up rotary project
  2. Choosing file for import
  3. Orientating the model in material block
  4. Scaling the model
  5. Finishing the import

Setting up a rotary project

Create a new job using the Job Setup form. It is important to set the job type as rotary to ensure a proper import tool is used in the next step.

If the dimensions of the project are already known, they could be specified directly.

If it is desired to fit the model to a given machine or stock available, set both the diameter and length to maximum. During import the model will be scaled to those limits.

If it is desired to use the imported model size, any size can be specified at this time. During the model import the project can be automatically resized to match the model dimensions.

In this example it was desired to fit the model into a specific stock size with a Diameter of 4 inches and a Length of 12 inches. XY origin was set to centre.

Importing the file and orientating it

To start the importing process, use Import a Component or 3D Model tool from the Modelling tab

Make sure that the Imported model type is set to Full 3D model .

The first step is to position the imported model within the material. This step is necessary as this information is not present in the imported file. When the model was opened, the import tool chose the initial orientation, as can be seen below.

To help with orientating the model, the software displays a blue bounding cylinder. This cylinder has the rotation axis aligned with that defined for the material block and thus can be used as a reference. Its size is just big enough to contain the imported model at the current orientation. When the model orientation is changed, this blue cylinder will shrink or grow so it always contains the model. At this stage its exact dimensions are not important, as we are only interested in positioning the model correctly.

The software also highlights the rotation axis in red. This is particularly important when importing bended models. It is currently not possible to represent areas of model that are entirely below or above the rotation axis. This is the case in the example shown here. If the model was imported as is, the distortion would be created as can be seen below. Therefore it is important to position the model in a way such that the rotation axis is contained within the model.

test
test
The same model imported without distortion

The last guiding element displayed by the software is the red half arrow on the side of the cylinder. This arrow is indicating the position that corresponds to the center of the wrapped dimension in the 2D view. In this example the model is orientated in such a way, that front of the leg would be placed on side of the 2D view, rather than centre. Thus it is better to rotate model so this arrow points to the front of the imported model.

The import tool provides a few ways of adjusting the model orientation. The most basic one is the Initial Orientation. This can be used to roughly align the model with the rotation axis. This can also be combined with the Rotation about Z Axis.In this example the tool chose Left with no rotation. In order to align the front of the leg with the red arrow, one could use the Front and -90 as the Rotation about Z Axis.

Once the initial orientation is decided, further adjustments can be made using the Interactive Rotation. The default option - XYZ View - disables the interactive rotation. That means that the 3D view can be twiddled with a mouse. Selecting other options enables the rotation around the specified axis.

In this example, instead of changing the initial orientation to align the front of the leg with the red arrow, one could select X Model option and rotate the piece manually. When selecting single axis rotation, the 3D view will be adjusted to show that axis pointing towards the screen. If any mistake is made, it is possible to undo rotation using Ctrl+ Z

Notice that whenever the part is rotated, it is always centered in the cylinder. In this example it is not desired, since we need the rotation axis to be contained within the model. In order to move the model in relation to the rotation axis, one can use the Rotation Axis Movement

Similarly to the previously described tool, when Rotation Axis Movement is set to Off, the 3D view can be panned

Correctly positioning the model for importing may require a combination of the Rotation Axis Movement and the Interactive Rotation to achieve desired results with models that bend. It is important to make sure that rotation axis is hidden in order to avoid distortion. However it is also desirable to have the rotation axis being in the center of each segment of the piece to ensure tool has angle close to the optimal during machining. Usually it is also useful to rotate the model in view around the axis after the adjustment, as this allows us to inspect the model from each side without the need to disable the Interactive Rotation before changing the viewing angle.

It is important to understand that Aspire does not support 4-axis machining. That means that while the machined piece can be rotated and tool moves along the rotation axis and in the Z direction, it is not possible to move the tool in the wrapped dimension and thus the tool is always above the rotation axis and cannot be moved to the side.

This limitation is shown below. The first picture presents correct machining of the point. If the tool moves to another location though, the angle will be incorrect and even worse, the tool side will be touching the stock.

test
3-axis rotary machining, tool correctly positioned
test
3-axis rotary machining, tool side is touching the stock

Scaling imported model

Once model has been positioned as desired, its size can be taken into account.

By default the tool will assume that imported model is using the same units as the project. If that is not the case, model units can be switched. In this example project was set-up in inches, while imported model was designed in mm. After switching model becomes considerably smaller and a red cylinder, representing current material block is shown, as can be seen below.

At this point it is possible to specify the model size, in terms of diameter and length. This can be done manually by typing desired dimensions, or by fitting to material. If Lock ratio option is selected, the ratio between diameter and length is kept. One can also tick Resize material block option. If it is selected, the material block will be scaled to match current size of the model, after OK is clicked.

If it is desired to use model size as material block size, one can just make sure units are correct, then tick Resize material block option and press OK.

If it is desired for the model to fit material, one could click Scale model to fit material and tick Resize material block.

In this example model was fitted to material. Since in this case length of the piece is limiting factor and lock ratio is maintained, this results in model having considerably smaller diameter than material block. Hence Resize material block option was ticked.

Finishing import

After pressing OK the model will be imported as a component. It is possible to modify it as any other component or add pieces of decorative clipart onto its surface if desired.

It is important to keep in mind the distortion caused by the wrapping process. That means that wrapped toolpaths will match flat toolpaths only at the surface of the blank. The closer to the rotation axis (i.e. deeper) the toolpath is, the more it will be 'compressed'. This fact have a profound implication for 3D toolpaths. Consider the example shown below.

As can be seen if there is substantial difference in diameter in different parts of model, generating one 3D toolpath for whole model will result in wrapped toolpath being overly compressed. Thus it is usually better to create boundaries of regions with significantly different diameter and generate separate toolpaths using correct settings for each diameter.

Importing Flat Models

This section will present a process of importing Flat STL model into rotary project. Flat models are similar to decorative clipart pieces provided with Aspire and are supposed to be placed on the surface of modelled shape.


To start the importing process, use Import a Component or 3D Model tool from the Modelling tab

Make sure that Imported model type is set to Flat model

Again the first step is to select proper orientation of model. The tool will chose initial orientation and display model in the red material box. This box corresponds to the 'unwrapped' material block and its thickness is equal to half of the specified diameter of the blank.

If model is not oriented correctly, that is, does not lie flat on the bottom of the material box, as can be seen above, orientation have to be adjusted. To do that one can change Initial Orientation option and/or Rotation about Z Axis.

If imported model is not aligned with any of the axes, it may be necessary to use Interactive Rotation.The default option - XYZ View - disables interactive rotation. That means that 3D view can be twiddled with a mouse. Selecting other options enables rotation around specified axis.

Each rotation can be undone by pressing Ctrl+ Z.

Once model is properly orientated, units conversion can be performed. By default the tool will assume that imported model is using the same units as the project. If that is not the case, model units can be switched.

There is also model scaling option included. When Lock ratio option is selected, the ratio between X, Y and Z lengths are kept. Note that once model is imported, it will be added to project as a component. Hence correct placement, rotation and sizing can be performed later, after model is imported.

If the project does not contain any models yet, following message will be displayed:

Typically you could simply click Yes.The more detailed explanation about modelling plane adjustment has been provided in Modelling 3D rotary projects

Simple Rotary Modelling using 2D Toolpaths

Creating vectors for a basic column

This section will show how to create a simple column, using the profile and fluting toolpaths.

Start by creating a new rotary job. Please note that settings shown here are only an example and should be adapted to match your machine setup and available material.

In this example the blank will rotate around X axis. We will refer to it as the rotation axis. The axis that will be wrapped is the Y axis. We will refer to it as the wrapped axis. That means that the top and bottom boundaries of the 2D workspace will actually coincide. We will refer to them as the wrapped boundaries.

First, create the cove vectors using Draw Line/Polyline tool. Those will run along the wrapped axis at both ends of the design. Snapping may be useful to ensure that the created line starts and ends at the wrapped boundaries.

In this example the coves were placed 1 inch from the job boundaries, leaving 10 inches in the middle for the flutes. The flutes will run along rotation axis. Assuming 0.5 inch gap between the cove and the beginning of the flute, the flutes will have the length of 9 inches. This example will use 8 flutes.

To start, create a line parallel to rotation axis that is 9 inches long. Now select the created flute vector and then select one of the cove vectors while holding down Shift. Then use Copy Along Vectors tool to create 9 copies. The original flute vector may now be removed as it is no longer necessary. Note that first and last copy are both created on wrapped boundaries. That means they will coincide, so one of them can be removed. As the last step select all flute vectors and press F9 to place them in the center of design.

Creating rotary toolpaths

The process of creating 2D rotary toolpaths is very similar to creating toolpaths for Single - and Double - models. This example will use the profile toolpath on the cove vectors. To create the toolpath, select the cove vectors and click on the Profile Toolpath from

To create the toolpath for the flutes, select the flute vectors and click on the Fluting Toolpath. This Example used a 1 inch 90deg V-Bit set to Flute Depth 0.2 and using the Ramp at Start and End and Ramp Type Smooth options. Ramp length was set to 0.25 inches. Both toolpaths can be seen below.

test
Toolpath for coves of the column
test
Toolpath for flutes of the column

Simulating and saving toolpaths

It is time to simulate toolpaths using Preview Toolpaths. If the option to animate the preview is selected, the simulation will be visualized in flat mode. Once the simulation is complete, the wrapped rotary view will be turned back on automatically.

Contrary to single - and double - sided simulation, rotary simulation is not 100% accurate. For example round holes will appear in rotary view as oval ones, but obviously will be round when part is actually machined.

Although the design can be considered to be finished, in practice it is useful to be able to cut-out the remaining stock. This can be realized by making the design slightly longer and adding profile cuts. In this example the blank length was extended by 2 inches using the Job Setup . Existing vectors can be recentered using F9After that the existing toolpaths have to be recalculated.

The cut-out vectors can be created in the same way as cove vectors. Two extra profiling toolpaths can be created using the suitable End Mill. In this example we used a tab with a 0.5 inch diameter. In order to achieve that, the user can type the following in the Cut Depth box: z-0.25 and then press = and the software will substitute the result of the calculation. Variable 'z' used in the formula will be substituted by the radius of the blank automatically by software. It is also important to specify Machine Vectors Outside/Right or Machine Vectors Inside/Left as appropriate. The cut-out toolpaths and the resulting simulation can been shown below.

test
Cut-out toolpaths in 2D view
test
Finished part after adding cut-out toolpaths

The final step is to save the toolpaths in a format acceptable by your machine. Use the Save Toolpaths and select the wrapped post-processor matching your machine.

Note

Tools and values presented in this example are for illustrative purposes only. Size of tools, feed rate, tabs diameter etc. have to be adapted to the material and machine used to ensure safe and accurate machining.

Spiral toolpaths

This section will explain how to create and simulate spiral toolpaths.

One way of thinking about spiral toolpaths is to imagine a long, narrow strip of fabric. Such a strip can be wrapped around a roll at a certain angle. In order to create a toolpath that wraps around the blank multiple times, one can create a long vector at a certain angle. Such a vector is an equivalent to the strip of fabric when it is unwrapped from the roll.

Although such a toolpath will exceed the 2D workspace of the rotary job, thanks to the wrapping process during both simulation and machining the toolpath will actually stay within material boundaries.

The most crucial part of designing spiral vectors is to determine the right angle and length of the line that would result in a given number of wraps. Suppose one would like to modify a simple column design to use spiral flutes, rather than parallel to rotation axis. The following example will use flutes wrapping 3 times each, but the method can be adapted to any other number.

All but one of the existing flute vectors can be removed. Select the Draw Line/Polyline and start a new line by clicking at one end of the existing flute. This line needs to be made along the wrapped axis with the length being 3 times the circumference of the job. In this example that means typing 90 into the Angle box and typing y * 3 into the Length box and pressing =. If the wrapped axis is not the Y axis, but rather the X axis, then the above formula should be x * 3.

Now one can simply draw a line connecting to the other end of the original flute vector and the newly created one. Using Copy Along Vectors tool this single flute may be copied in the way described earlier. In this example 4 spiral flutes were created, as can be seen below.

test
Vectors used to create spiral flutes
test
Spiral toolpaths in flat view

Once the flute vectors are ready, the toolpath can be created again using the Fluting Toolpath. An important thing to note, is the difference between the appearance of spiral toolpaths in the wrapped and flat view. By clicking on Auto Wrapping one can switch from wrapped rotary view to flat view and back again.

As can be seen above, in the flat view the toolpaths will follow the vectors and extend beyond the job boundaries. On the other hand the wrapped view, presented below, will display the toolpaths spiralling around the blank.

This was just a brief overview of general 2D workflow for rotary machining. Remember to also take a look at video tutorials dedicated to rotary machining, which are accessible from the Tutorial Video Browser link when the application first starts.

Modelling 3D Rotary Projects

Elaborating 2D designs with 3D clipart pieces

This section will present how to add 3D clipart to basic fluted column presented in Simple rotary modelling using 2D toolpaths.

A simple way to start with 3D rotary models is to use add pieces of decorative clipart that is provided with Aspire. This process is very similar to adding clipart to single - or double - sided project, however there are some additional considerations that are specific to wrapped rotary machining.

To start, switch to the Clipart tab. Then choose a piece of clipart and drag and drop it into the workspace. Aspirewill show following message:

To understand this message, we need to consider the flat view of our model, after importing the clipart. Flat view can be accessed by clicking Auto Wrapping button.

test

As can be seen, the model contains only the selected decorative piece on the flat plane. Although the column is obviously a cylindrical solid, so far we only used 2D toolpaths to carve details on the surface of cylinder. So the fact that machined piece is a cylindrical solid, derives only from fact that the blank is a cylindrical solid itself. Aspireallows the 3D model to also describe a solid body.

In this example the intent is to only place a decorative piece on the surface, rather than define body of the column. Aspirecan see that we did not model a body and we are placing a piece of clipart, that is likely to be placed at the surface. By responding 'Yes' to the message we can confirm that it is our intent to use the component to decorate a surface.

Note

The above message is only displayed when the 3D model is empty. Regardless of user choice, this message will not be displayed again for this project.

More clipart can be placed as desired. Then the 3D view can be inspected. Once design is finished it is time to create toolpaths. In order to create 3D roughing toolpath, use the 3D Roughing Toolpath. Then create 3D finishing toolpath, using 3D Finish Toolpath. Select settings that are most appropriate for given application, while remembering which axis is rotating. The choice of axis may be particularly important if rotation axis speed is slower than linear axis.

In this example the decorative clipart that was added was not recessed. That means that after 3D machining the flat areas around clipart will be recessed due to clipart 'standing out' of the flat surface. Therefore existing 2D toolpaths needs to be projected. This can be accomplished by selecting Project toolpath onto 3D model option and recalculating the toolpaths.

Making a tapered column

This section will explain how to make a tapered column by modifying the basic design from previous section.

So far only the surface details were modelled. In order to make a tapered shape, we need to model 'body' of the shape in addition to surface details. For that purpose, zero plane component can be used. It is added automatically for rotary jobs.

Double-click the zero plane component to open Component Properties. Enter 0.8 in the Base Height box. Select Tilt option. Click Set button in Tilt section, then switch to 2D view and then click in the middle left and then in the middle right. Set the angle to 3 degrees.

Since the modelling plane was adjusted for placing component on the surface, it needs to be adjusted again, so the component body is not 'inflated'. To do that open the Material Setup form. Adjust modelling plane by moving the slider down, until the Gap Inside Model is 0.

After modelling a tapered shape, the 3D model of column will have a desired shape. However clipart pieces in the narrower parts have been distorted, as can be seen below. To fix that, one needs to stretch the components in the wrapped dimension, to compensate for distortion.

test
Tapered column with distorted clipart
test
Tapered column with clipart stretched to overcome distortion

The distortion that has been demonstrated above, applies also to toolpaths. That means that wrapped toolpaths will match flat toolpaths only at the surface of the blank. The closer to the rotation axis (i.e. deeper) the toolpath is, the more it will be 'compressed'. This fact have a profound implication for 3D toolpaths. Consider the example shown below.

As can be seen if there is substantial difference in diameter in different parts of model, generating one 3D toolpath for whole model will result in wrapped toolpath being overly compressed. Thus it is usually better to create boundaries of regions with significantly different diameter and generate separate toolpaths using correct settings for each diameter.

Modelling turned shapes

This section will present a basic technique for creating turned shapes.

Modelling turned shapes is quite easy. It requires a vector representing a profile of the desired shape and a Two Rail Sweep tool.

To start, create a new rotary job. Then either draw a profile using available drawing tools or import profile vector. This example used a chess pawn profile, as can be seen below.

Open the Two Rail Sweep tool. When the rotary job is created, the software inserts a special layer called '2Rail Sweep Rails'. It contains two blue lines on the sides of the job, that are perpendicular to the rotation axis.

Select both of those rails and click the Use Selection button. The rails will then be highlighted. Then select the profile vector and click apply. Inspect the 3D view to verify the results.

Modelling cross section

This section will explain how to model desired shape using Vector Unwrapper.

The Vector Unwrapper is useful when rather than modelling a profile along the rotation axis, it is more intuitive to specify a desired cross section. The tool transforms a vector, representing a cross section, into a profile vector that can be subsequently used with Two Rail Sweep tool.

Suppose we would like to create a hexagonal-shaped column. Let's start by creating a new rotary job. In this example job has a diameter of 6 inches and is 20 inches long. X axis is the rotation axis and Z origin has been placed on the cylinder axis.

We need to create a hexagon using Draw Polygon tool. This vector will serve as a cross section and can be placed anywhere in the 2D view. In this example the material block diameter is 6 inches, so the radius of the shape cannot exceed 3 inches.

When the shape is created, select it and open Vector Unwrapper. The tool will display a crosshair in place where the rotation axis is crossing the profile and a circle with the diameter of the material block. This will help you determine whether the shape with such cross profile will fit in current material block.

In this example, the Use Center of contour option was used. That means that rotation axis will be placed in the centre of vector's bounding box. One can also tick Simplify unwrapped vectors option to fit bezier curves, instead of using series of very short line segments. After apply is pressed, the unwrapped version of the selected cross section will be created, as have been shown below.

This example shows the unwrapped vector for a cylinder rotating around the X axis. If your rotary axis is aligned along Y the unwrapped vector will be horizontal. It is worth noting that unwrapped profile have 'legs' on each end. Those are needed to ensure that correct height will be used in the next step.

The tool automatically creates layer called 'Unwrapped Vectors Drive Rails' on which it places two blue line vectors on job sides, parallel to the rotation axis. In order to extrude the profile, open the Two Rail Sweep tool. Then select top and then bottom rail (left and right when Y axis is rotation axis) and confirm selection by clicking Use Selection button. The rails will now be highlighted. Now click on unwrapped vector and press apply. The 3D view will show a hexagonal column, that can be seen at the beginning of this section.

Modeling Plane

The desired cross-section will only be achieved if modelling plane is positioned in cylinder centre. That means that Gap Inside Model is reported as 0 in Material Setup form. Otherwise the resulting model will have incorrect diameter and the cross section will become rounded.

The Vector unwrapper is not restricted to simple shapes. In principle it is always possible to use convex shapes and certain concave shapes. The example below shows a heart profile unwrapped.

test
Heart-shaped vector and its unwrapped version
test
Extruded heart shape

If cross section in question is concave, one could imagine straight line starting in the center of the shape and touching a point on the boundary. If the second points keeps travelling along the boundary and each line is not crossing another point on the boundary, then it is possible to use this cross section. If the line does cross more than one point on the boundary, this part of the cross section will not be represented correctly.

All the examples so far used a single cross section. However it is also possible to use multiple cross sections.

Let's take another cross section and open Vector Unwrapper. Then drag the rotation axis handle a bit down from the center. If snapping is enabled, it can be used to help position the rotation center, as can be seen below.

Once we have another unwrapped cross section, it is possible to use both during Two Rail Sweep. For example unwrapped heart profile can be placed twice on the left and twice on the right. The second unwrapped profile can be placed twice in the middle. Such arrangement may result in shape morphing, as can be seen below.

Advanced Modelling of 3D Rotary Projects

Modelling 3D spiral features

In this section we will show how to use level-wrapping feature to wrap a design in spiral manner around a column.

The workflow for creating spiral toolpaths has been presented in the Simple rotary modelling using 2D toolpaths chapter. The basic idea involved creating a line at a proper angle to the rotation axis, that exceeded the 2D boundaries. When 2D toolpath is created based on such a line, it will be wrapped around material cylinder, creating a spiral.

This guide will build on that basic idea. The task is to create a horizontal strip with desired pattern and then wrap it like a ribbon around the cylinder.

To help with that task, it is important to create some helpful vectors first. We need to create lines, that will become boundaries of our strip. In this example the strip was being wrapped four times around full length of material. This example assumes that rotation axis is parallel to X axis.

To start, select Draw Line/Polyline tool and draw a horizontal line at the bottom of the job from left to right. If it is desired for the spiral pattern to only fill part of the cylinder length, this horizontal line should be drawn only in th desired location. While the drawing tool is still active, type 90 into Angle box and type y * 4 into Length box and pressing =. We used y * 4 formula so the strip will wrap 4 times. Then press Add button to add a vertical segment.

Now, start a new line that connects the horizontal and vertical lines, forming a triangle. Once this line is created, horizontal and vertical lines can be removed.

The line that we just created will form a bottom of the strip. Now copy this line and place line so its bottom left end coincides with top left corner of the 2D job. This line will form a top of the strip. Then make another copy and place it in the middle. This middle line will be used later to position our design within strip. All three lines have been shown below.

test
test

Next step is to find out the required length and width of the strip. We will need a few extra vectors to accomplish that.

Let's copy one of the created three lines and rotate by 90 degrees, to get a line that is perpendicular to the strip. Then place it in such way so it crosses the strip. This will help us measure the width.

Then copy the perpendicular line and place it so it touches the top line. Then extend the bottom line, until it crosses the perpendicular line we just added. This will help us measure the length of the strip.

The easiest way to achieve that, is to create a textured component. To do that, select the design in the component tree and activate the Create Texture Area tool. This example used the default settings of the tool. The tool will create a new component that will fill the whole 2D job boundaries. The component itself will be filled with the design in tiled manner. Now use the Set Size tool to resize textured component to match the strip size.

Now the component have to be rotated and moved to fit between the lines you have drawn at the beginning. This process can be made easier by utilizing Copy Along Vectors tool. To proceed, activate the tool and select the textured component first, then select the middle line in the strip while holding Shift. Make sure that Align objects to curve option is selected and use Number of copies option. Since our strip has already have a correct size, we only need one copy. However the tool would place the middle of our component at the beginning of the line only. If you enter 3 as the number of copies, then the tool will place two copies of component at each end and in the middle. Afterwards the copies at the ends can be simply deleted. The picture below shows the strip in the 3D view after being correctly positioned.

test
test

As can be seen, the strip disappears as soon as it leaves the material boundaries. In order to make it wrap around, we need to create a new level in the component tree and move the texture component into it. Then right click on the newly created level and right click. From the pop-up menu select wrapping. After that wrapping will occur.

Note:

Wrapping can be enabled on any level in component tree and combined with mirror mode. If the level wraps on itself, then intersecting areas will be merged regardless of level's combine mode. If it is desired to create e.g. a woven pattern, then place left-hand spiralled component and right-hand spiralled components in different separate levels, both with wrapping enabled.

The last step is to make column endings. For that purpose the third level was created, with Combine Mode set to Merge. This way the spiral pattern will be 'hidden' at the ends. A circular 3D tab clipart was placed at each end, and stretch vertically to match the job boundaries.


Modelling twisted shapes

This section will show how to create twisted shapes, using a combination of level-wrapping and Vector Unwrapper tool.

In this example a new rotary job was created, with a diameter of 6 inches and length of 20 inches, rotating around X axis. To start, we need a cross-section vector. In this example a 5-armed star was used. To create a star, we can use Draw Star tool. This example used Outer Radius of 3 inches, to match the radius of the material.

The next step is to unwrap the cross section. In the case of the star however, the center is not the same as center of star's bounding box. To find the real center, one can draw a line from two of the star corners. Then open Vector Unwrapper and select the star. Then drag rotation center and snap it to the intersection of the lines, as can be seen below.

test
Using Vector Unwrapper with the star-shaped vector
test
Rails and uwrapped star


Once the star is unwrapped, we need to create rails, that will make spiral when wrapped. To do that, select Draw Line/Polyline tool and draw a horizontal line at the bottom of the job from left to right. While the drawing tool is still active, type 90 into Angle box and type y * 2 into Length box and pressing =. We used y * 2 formula so the star will make 2 revolutions Then press button to add a vertical segment. Finally, start a new line that connects the horizontal and vertical lines, forming a triangle. Once this line is created, our horizontal and vertical lines can be removed.

Next step is to copy the line and place it so its bottom left end coincides with top left corner of 2D job.

Once the the rails are ready, one could use a Two Rails Sweep tool. However, since rails exceeds the 2D job boundaries, the created sweep will be cropped as soon as those boundaries are exceeded.

To overcome that, select both rails, open Draw Rectangle tool and press . This will create a bounding box containing the rails. Now, write done the size of the box and save current project. Then create a new single-sided project with the slightly bigger than the bounding box. Use the Import Vectors option from the main menu and select the previously saved file. Now select the rails and press F9 to center them.

Now use Two Rail Sweep tool. When component is ready, save the file.

Now re-open the original rotary project. Use Import Component and select the single-sided project created in the step above. Move the component to the desired location. Then, create a new level, move the component there and enable wrapping.

Using single-sided modelling tools

This section will present how to use single-sided modelling techniques in rotary projects.

Users familiar with modelling techniques used in single-sided projects may find them more convenient for modelling certain shapes. This example uses two vectors, representing side cross section of the table leg and a few of half cross sections for different parts of the table leg. Those vectors are presented below.

One can simply treat the side cross section as rails and use the Two Rail Sweep tool, placing the half cross sections at appropriate locations. This way half of the leg can be modelled very quickly, with the result that can be seen below (using flat 3D view).

In order to use the created model in a rotary project, we need to export and then import it back. Although it is possible to do this with two sessions of Aspire, it can also be done within a single session with rotary project. To export the leg model, make sure no other components are visible (including the automatically added zero plane) and open the Export Model tool while holding down Shift. Pressing Shift allows to open the export tool in single-sided, rather than rotary mode.

Since half of the leg was modelled, Close with inverted front option can be used. The resulting STL mesh can be seen below.

Once component is exported, it can be re-imported as Full 3D model. The model will have a seam, in the place were two halfs were merged. This can be removed using smoothing function of the Sculpting tool.

Traitement post-processeur

Que fait le post-processeur ?

Le post-processeur est la section du programme qui convertit les coordonnées XYZ des déplacements d'outils dans un format adapté à une toupie ou une machine-outil particulière. Ce document explique comment créer et modifier les fichiers de configuration qui personnalisent la sortie du programme pour l'adapter à une commande machine particulière.

Vous trouverez ci-dessous des sections d'un programme typique qui a été post-traité en code G et en HPGL.

Sortie G-Code

T1 M6

G17

G0 Z4.5000

G0 X0.0000 Y0.0000 S12000 M3

G0 X2.4567 Y7.8342 Z0.2500

G1 Z-0.0500 F5.0

G3 X3,3784 Y8,7559 I0,0000 J0,9218 F66,0

G3 X2,4567 Y9,6777 I-0,9218 J0,0000

G3 X1.5349 Y8.7559 I0.0000 J-0.9218

Sortie HPGL

IN;PA ;

PU2496,7960 ;

PD2496,7960 ;

AA2496,8896,90.000

AA2496,8896,90.000

AA2496,8896,90.000

AA2496,8896,90.000

PU2496, 7960 ;

PU2496,6096 ;

Les fabricants de commandes de machines personnalisent souvent le format de fichier requis pour que les programmes fonctionnent sur une machine particulière, afin d'optimiser la commande en fonction des caractéristiques individuelles de cette machine.

Le post-processeur Vectric utilise des fichiers de configuration simples basés sur du texte, afin de permettre à l'utilisateur de personnaliser un fichier de configuration, s'il le souhaite.

Sections du post-processeur

Les post-processeurs Vectric sont divisés en sections pour faciliter la clarté, essayez d'écrire vos post-processeurs dans un style similaire pour faciliter le débogage.

Commentaires sur le dossier

Une section dans laquelle vous pouvez décrire le post-processeur et enregistrer les modifications apportées au post-processeur. Chaque ligne est un commentaire et commence par un caractère '+' ou '|'.

+ Historique

+ Qui Quand Quoi

+ ======== ========== ===========================

+ Tony 14/07/2006 Écrit

+ Mark 26/08/2008 Commandes ATC combinées, arrêt de la broche sur TC

+================================================

Déclarations de fichiers globaux

Les instructions sont des éléments qui ne sont utilisés qu'une seule fois ou qui ont des valeurs statiques tout au long du fichier. Pour plus de clarté, écrivez les noms des déclarations en lettres majuscules..

Statement

Result

POST_NAME="Text Output Arcs(mm)(*.txt)

The name that will appear in the post processor list

FILE_EXTENSION="txt"

The file extension that the file will be given

UNITS="MM"

The units that the file outputs (INCHES or MM)

PRINT_DIRECT="YES"

The machine tool manufacturer has supplied a driver (usually a printer driver) thatn can directly accept the NC file output (For example see Generic HPCL_Arcs.pp)

RAPID_PLUNGE_TO_STARTZ="YES"

Indicates that plunge moves to Plunge (Z2) height (that is set on the material setup form) are rapid moves

DIRECT_OUTPUT="Display Name|Manufacturers.Document"

The control software uses a document interface that can directly accept the NC file output.

ROTARY_WRAP_Y=A

The moves in the Y axis are to be wrapped around a cylinder of the specified diameter. The "Y" values will be output as "A"

ROTARY_WRAP_X=B

The moves in the X axis are to be wrapped around a cylinder of the specified diameter. The "X" values will be output as "B"

SPINDLE_SPEED_RANGE = 1 15 4500 15000

Spindle speed for this machine is output as a range of integer numbers between 1 and 15 representing the actual speed in RPM of the spindle, (between 4500 and 15000 RPM in the quoted example). For an example, see the file: Roland_MDX-40_mm.pp

SUBSTITUTE = "O1 S1 O2 S2 On Sn"

This command allows you to substitute a character output within the variables (such as [TOOL_NAME]) and substitute that character, with another. This feature can be useful for those cases where particular characters cause errors on an NC control.

The characters are entered in pairs, Original - Subsititued.

For example MACH 3 control software uses parentheses as comment delimiters, and does not allow nested comments. Most tools within the Vectric Tool Database have parentheses within the “Name” section; if these names are output, this would cause an error within Mach3. The command SUBSTITUTE = "({)} " would convert the () characters to {} characters, and avoid this error. For an example, see the file: Mach2_3_ATC_Arcs_inch.pp

INVERSE_TIME_MODE="YES"

Rotary: Enables / Disables output of the feedrate F in Inverse Time Feed Mode. In this mode, we're expected to complete a move in one divided by the F number of minutes.

In GCode, this would G93 to switch on, or G94 to switch off and use units mode.

LASER_SUPPORT = "YES"

Indicates that this post-processor supports laser toolpaths (if the Laser Module is installed).

MIN_ARC_RADIUS = 0.01

Optional minimum arc radius. Arcs which have a radius smaller than this value will be replaced with a single straight line move.

MAX_ARC_RADIUS = 1000.0

Optional maximum arc radius. Arcs which have a radius greater than this value will be polygonized.

Support pour la division de la bande

Une section qui décrit comment une longue sortie de parcours d'outil sera divisée :

TAPE_SPLITTING=MAX_NUM_LINES LINE_TOL "FILENAME_FORMAT" START_INDEX INDEX_ON_FIRST_FILE

Par exemple, une commande de :

TAPLE_SPLITTING=1000 100 "%s_%s.tap" 1 "YES"

conduirait à......

La sortie sera divisée en plusieurs fichiers d'un maximum de 1 000 lignes (+ le nombre de lignes dans la section de pied de page du post-processeur), si un mouvement de rétraction existe après la ligne 900 (1000 - 100), le fichier sera divisé à ce mouvement. Si le fichier s'appelle "toolpath", les fichiers fractionnés seront nommés toolpath_1.tap, toolpath_2.tap, etc. La première sortie de parcours sera "toolpath_ 1.tap". Il n'y aura pas de fichier nommé "toolpath" sans numéro d'index, (car INDEX_ON_FIRST_FILE= YES est utilisé), à moins que le fichier ait moins de 1000 lignes, auquel cas le fichier ne sera pas divisé.

Note

Some controllers that require NC files to be split, also have limitations on the number of characters within a filename. For example they may require the file to be named with the MSDOS style 8.3 filename format. This should be considered when naming the output file.

Caractères de terminaison de ligne

LINE_ENDING="[13][12]"

Valeurs décimales des caractères ajoutés à chaque ligne séparée du fichier post-traité. (sera généralement [13][10]) (retour chariot, saut de ligne) pour tout contrôleur pouvant lire un fichier texte au format Windows ou MSDOS.

Numérotation des blocs

Si vous souhaitez ajouter des numéros de ligne au fichier de sortie, le numéro de ligne actuel est ajouté avec la variable [N]. Le comportement de cette variable de numéro de ligne est contrôlé par les variables suivantes :

Statement

Result

LINE_NUMBER=0

Value at which the line numbering should start

LINE_NUMBER_INCREMENT=10

Incremental value between line numbers

LINE_NUMBER_MAXIMUM=99999

The maximum line number to output, before cycling to the LINE_NUMBER_START value again.

Important - Some controllers have a limit to the number of lines that can be displayed on the control

Variables

Variable Name

Output using

Value

Example File

FEED_RATE

[F]

Current Feed Rate.

Mach2_3_ATC_Arcs_inch.pp

CUT_RATE

[FC]

Current Cut Feed Rate.

CNCShark-USB_Arcs_inch.pp

PLUNGE_RATE

[FP]

Current Plunge Feed Rate.

CNCShark-USB_Arcs_inch.pp

SPINDLE_SPEED

[S]

Current Spindle Speed in R.P.M.

GCode_arc_inch.pp

POWER

[P]

Current power setting for jet-based tools (e.g. lasers)

grbl_mm.pp

TOOL_NUMBER

[T]

Current Tool Number.

Mach2_3_ATC_Arcs_inch.pp

PREVIOUS_TOOL_NUMBER

[TP]

Previous Tool Number.

NC-Easy.pp

LINE_NUMBER

[N]

Line Number.

Mach2_3_ATC_Arcs_inch.pp

TOOL_NAME

[TOOLNAME]

Name of Current Tool.

MaxNC_inch.pp

TOOL_NOTES

[TOOL_NOTES]

Text from Note field in ToolDB for current tool

Busellato_Jet3006_arc_inch.pp

TOOLPATH_NAME

[TOOLPATH_NAME]

Name of Current Toolpath.

Viccam_ATC_Arcs_inch.pp

TOOLPATH_FILENAME

[TP_FILENAME]

Filename (Produced by “Save Toolpath(s)”).

ez-Router_inch.pp

TOOLPATH_DIR

[TP_DIR]

Folder Toolpath File was saved to.

Woodp_arc_mm.pp

TOOLPATH_EXTENSION

[TP_EXT]

Toolpath File Extension.

TekcelE_Arc_ATC_3D.pp

TOOLPATH_PATHNAME

[PATHNAME]

Toolpath Folder Pathname.

WinPC-NC_ATC_Arcs_mm.pp

X_POSITION

[X]

Current coordinate of tool position in X axis.

GCode_arc_inch.pp

Y_POSITION

[Y]

Current coordinate of tool position in Y axis.

GCode_arc_inch.pp

Z_POSITION

[Z]

Current coordinate of tool position in Z axis.

GCode_arc_inch.pp

A_POSITION

[A]

Current coordinate of tool position in A axis.

ARC_CENTRE_I_INC_POSITION

[I]

Arc centre in X Axis (relative to last X,Y position).

Mach2_3_ATC_Arcs_inch.pp

ARC_CENTRE_J_INC_POSITION

[J]

Arc centre in Y Axis (relative to last X,Y position).

Mach2_3_ATC_Arcs_inch.pp

ARC_CENTRE_I_ABS_POSITION

[IA]

Arc centre in X Axis (absolute coordinates).

Isel_arc_mm.pp

ARC_CENTRE_J_ABS_POSITION

[JA]

Arc centre in Y Axis (absolute coordinates).

Isel_arc_mm.pp

ARC_START_X_POSITION

[ArcStartX]

Start position of an arc in X axis.

TextOutput_Arcs_mm.pp

ARC_START_Y_POSITION

[ArcStartY]

Start position of an arc in Y axis.

TextOutput_Arcs_mm.pp

ARC_MID_X_POSITION

[ArcMidX]

Mid-point of arc in X (absolute coordinates).

TextOutput_Arcs_mm.pp

ARC_MID_Y_POSITION

[ArcMidY]

Mid-point of arc in Y (absolute coordinates).

TextOutput_Arcs_mm.pp

ARC_MID_X_INC_POSITION

[ArcMidXI]

Mid-point of arc in X (incremental coordinates).

TextOutput_Arcs_mm.pp

ARC_MID_Y_INC_POSITION

[ArcMidYI]

Mid-point of arc in Y (incremental coordinates).

TextOutput_Arcs_mm.pp

ARC_RADIUS

[Radius]

The radius of an arc.

Bosch_ATC_Arcs_mm.pp

ARC_ANGLE

[Angle]

The angle of an arc.

Generic HPGL_Arcs.pp

X_HOME_POSITION

[XH]

Home tool position for X axis.

CAMTech_CMC3_mm.pp

Y_HOME_POSITION

[YH]

Home tool position for Y axis.

CAMTech_CMC3_mm.pp

Z_HOME_POSITION

[ZH]

Home tool position for Z axis.

CAMTech_CMC3_mm.pp

SAFE_Z_HEIGHT

[SAFEZ]

Safe Z Height / Rapid Clearance Gap.

EMC2 Arcs(inch)(*.ngc)

WRAP_DIAMETER

[WRAP_DIA]

Diameter of cylinder that axis is wrapped around.

Mach2_3_WrapY2A_ATC_Arcs_mm.pp

X_LENGTH

[XLENGTH]

Length of material in X.

Mach2_3_ATC_Arcs_inch.pp

Y_LENGTH

[YLENGTH]

Length of material in Y.

Mach2_3_ATC_Arcs_inch.pp

Z_LENGTH

[ZLENGTH]

Length of material in Z.

Mach2_3_ATC_Arcs_inch.pp

X_MIN

[XMIN]

Minimum value of material in X.

MaxNC_inch.pp

Y_MIN

[YMIN]

Minimum value of material in Y.

MaxNC_inch.pp

Z_MIN

[ZMIN]

Minimum value of material in Z.

MaxNC_inch.pp

X_MAX

[XMAX]

Maximum value of material in X.

MaxNC_inch.pp

Y_MAX

[YMAX]

Maximum value of material in Y.

MaxNC_inch.pp

Z_MAX

[ZMAX]

Maximum value of material in Z.

MaxNC_inch.pp

X_ORIGIN_POS

[X_ORIGIN_POS]

Origin Position in X.

TextOutput_Arcs_mm.pp

Y_ORIGIN_POS

[Y_ORIGIN_POS]

Origin Position in Y.

TextOutput_Arcs_mm.pp

Z_ORIGIN

[Z_ORIGIN]

Z Zero Position, Table or Material Surface.

TextOutput_Arcs_mm.pp

XY_ORIGIN

[XY_ORIGIN]

X, Y Origin.

TextOutput_Arcs_mm.pp

TOOLS_USED

[TOOLS_USED]

List of tools used (In order of use).

Mach2_3_ATC_Arcs_inch.pp

TOOLPATHS_OUTPUT

[TOOLPATHS_OUTPUT]

List of toolpaths used in file (in order of use).

Mach2_3_ATC_Arcs_inch.pp

TOOLPATH_NOTES

[TOOLPATH_NOTES]

Toolpath Notes (Toolpath Control form).

Mach2_3_ATC_Arcs_inch.pp

FILE_NOTES

[FILE_NOTES]

File Notes (Edit > Notes).

Mach2_3_ATC_Arcs_inch.pp

TIME

[TIME]

File creation time.

Mach2_3_ATC_Arcs_inch.pp

DATE

[DATE]

File creation date.

Mach2_3_ATC_Arcs_inch.pp

DWELL_TIME

[DWELL]

Dwell time in seconds when drilling.

Mach2_3_Arcs_inch.pp

PRODUCT

[PRODUCT]

Name of the product used to output file, including version number.

TOOL_DIAMETER

[TDIA]

Tool diameter.

INVERSE_TIME

[FI]

Rotary: Current Inverse Time Rate

AvidCNC_WrapX2A_G93_inch.pp

Format des variables

Les valeurs de position d'outil, d'avance, de vitesse de broche, etc. sont insérées dans le fichier à l'aide de variables. Les variables sont utilisées dans l'ensemble du fichier ; elles sont remplacées par la valeur actuelle de cet élément lors du post-traitement du fichier. Par exemple, les positions X, Y et Z de l'outil à un moment donné sont insérées dans le fichier en utilisant les variables [X], [Y] et [Z] respectivement.

Pour plus de clarté, écrivez les noms de variables en lettres majuscules.

Une variable est formatée comme suit :

VAR VARIABLE = [VO|WO|CS|VF|MX]

  • VO = Sortie de la variable, par exemple X, XF ou F.
  • WO = Sortie de la variable, A=Toujours, C=Uniquement en cas de modification.
  • CS = Sortie de chaîne de caractères avant la valeur.
  • VF = Format de la valeur, détermine le format de sortie de la valeur.
  • MX = Valeur multiplicatrice.

Une variable typique

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

VAR

Z_HOME_POSITION

=

[

ZH

|

A

|

Z

|

F

1.0

|

-1

]

  1. VAR - Cette ligne est une variable.
  2. Nom de la variable.
  3. Signe d'égalité.
  4. Crochet ouvert - (début des paramètres de formatage de la variable).
  5. Étiquette de la variable - c'est-à-dire l'étiquette qui est remplacée par la valeur de la variable.
  6. Barre verticale - Séparateur de paramètres.
  7. A = Toujours sortir la valeur, C = Ne sortir la valeur que lorsqu'elle change.
  8. Barre verticale - Séparateur de paramètres.
  9. Chaîne de caractères à imprimer avant la valeur de la variable.
  10. Barre verticale - Séparateur de paramètres.
  11. Drapeaux de format facultatifs - pour plus de détails, voir ci-dessous.
  12. Format de la valeur - unités et nombre de décimales à afficher.
  13. Barre verticale - Séparateur de paramètres.
  14. Multiplicateur de sortie - pour plus de détails, voir ci-dessous.
  15. Crochet fermé - Fin du formatage des paramètres.

Formatage de la valeur de sortie

La chaîne de format des valeurs doit être formatée comme suit :

FORMAT_FLAGS FIELD_WIDTH DECIMAL_SEPARATOR DECIMAL_PLACES

Les indicateurs de format sont facultatifs et ne sont nécessaires qu'à un petit nombre de contrôleurs ; ils seront décrits sous peu.

Largeur de champ La largeur de champ représente le nombre minimum de caractères qui sont émis. La largeur de champ est généralement fixée à "1" ; une valeur supérieure à 1 n'est généralement requise que si le contrôleur s'attend à voir un nombre fixe de caractères pour la valeur. Dans ce cas, un nombre supérieur à 1 peut être saisi. Le nombre saisi garantira la sortie de ce nombre de caractères. Le nombre qui représente la largeur du champ comprend le nombre complet à virgule flottante de la valeur de sortie (y compris le caractère séparateur décimal).

Séparateur décimal Le caractère du séparateur décimal est presque toujours un simple point, mais certains contrôleurs s'attendent à voir un caractère de virgule. (Pour un exemple de post processeur qui n'utilise pas le caractère point, voir le fichier : Heidenhain_inch.pp)

Décimales Le nombre de décimales sorties après le séparateur décimal. Les valeurs sont souvent fixées à 3 pour les contrôleurs fonctionnant en système métrique, ou à 4 pour les contrôleurs fonctionnant en pouces.

Indicateurs de format facultatifs

Les valeurs de sortie peuvent être modifiées davantage en utilisant les indicateurs de format facultatifs :

Flag

Function

Default (without flag)

-

Left Justify the output

Values are right justified

+

Prefix the value with '+' or '-'

Only negative values are prefixed

0

If value has fewer characters than the set minimum, the value is prefixed with zeroes

Values is prefixed with blanks spaces

#

Values is always output with a separator character ( in practive this would only change the output value if the value is set to output integer values only)

When output is set to integer only, separator charactor is not appended to value.

Formatage par défaut des variables

La plupart des variables ont un format par défaut (voir ci-dessous). Pour définir un format différent pour une variable, entrez la ligne ci-dessous dans votre post-processeur et modifiez les paramètres en fonction de votre contrôleur.

Default

Example

VAR LINE_NUMBER = [N|A||1.0]

VAR LINE_NUMBER = [N|A|N|1.0]

The line number will always be output. An 'N' character will be inserted before the line number. It will be output as an integer number

VAR SPINDLE_SPEED = [S|A||1.0]

VAR SPINDLE_SPEED = [S|A|S|1.0]

The spindle speed will always be output. An 'S' character will be inserted before the value and it will be output as an integer number.

VAR FEED_RATE = [F|A||1.0]

VAR FEED_RATE = [F|C|F|1.1|0.01666]

The feed rate will be output with an F character before the value, and will only be output when it changes. The value will be output to 1 decimal place

Note

In this format string there is an option extra parameter. This is the value multiplier.

VAR PLUNGE_RATE = [FP|A||1.0]

VAR PLUNGE_RATE = [FP|C|F|1.1|0.01666]

The plunge rate will be output with an F character before the value, and will only be output when it changes. The value will be output to 1 decimal place.

Note

In this format string there is an option extra parameter. This is the value multiplier.

VAR CUT_RATE = [FC|A||1.0]

VAR CUT_RATE = [FC|C|F|1.1|0.01666]

The cut rate will be output with an F character before the value, and will only be output when it changes. The value will be output to 1 decimal place.

Note

In this format string there is an option extra parameter. This is the value multiplier.

VAR X_POSITION = [X|A||1.0]

VAR Y_POSITION = [Y|A||1.0]

VAR Z_POSITION = [Z|A||1.0]

VAR X_POSITION = [X|A|X|1.3]

The position value will be output with an ‘X’ character before the value, the position will Always be output, and will be output to 3 decimal places, this would typically be suitable for a control that requires metric output.

If you wished to output the values to 4 decimal places as would be more typical for a controller operating in inches. You would format the line as follows.

VAR X_POSITION = [X|A|X|1.4]

VAR X_HOME_POSITION = [XH|A||1.0]

VAR Y_HOME_POSITION = [YH|A||1.0]

VAR Z_HOME_POSITION = [ZH|A||1.0]

VAR X_HOME_POSITION = [XH|A|X|1.3]

The home position value will be output with an ‘X’ character before the value, the position will Always be output, and will be output to 3 decimal places, this would typically be suitable for a control that requires metric output.

If you wished to output the values to 4 decimal places as would be more typical for a controller operating in inches. You would format the line as follows.

VAR X_HOME_POSITION = [XH|A|X|1.4]

VAR SAFE_Z_HEIGHT = [SAFEZ|A||1.3]

VAR SAFE_Z_HEIGHT = [SAFEZ|A|X|1.3|-1]

The value will be output with an ‘X’ character before the value, the position will Always be output, and will be output to 3 decimal places, this would typically be suitable for a control that requires metric output.

If you wished to output the values to 4 decimal places as would be more typical for a controller operating in inches. You would format the line as follows.

VAR SAFE_Z_HEIGHT = [SAFEZ|A|X|1.4|-1]

Note

In this format string there is an option extra parameter. This is the value multiplier.

VAR ARC_START_X_POSITION = [ArcStartX|A||1.3]

VAR ARC_START_Y_POSITION = [ArcStartY|A||1.3]

VAR ARC_START_Y_POSITION = [ArcStartY|A|Y|1.3]

The value will be output with an ‘Y’ character before the value, the value will Always be output, and will be output to 3 decimal places, this would typically be suitable for a control that requires metric output.

If you wished to output the values to 4 decimal places as would be more typical for a controller operating in inches. You would format the line as follows.

VAR ARC_START_Y_POSITION = [ArcStartY|A|Y|1.4]

VAR ARC_CENTRE_I_INC_POSITION = [I|A||1.3]

VAR ARC_CENTRE_J_INC_POSITION = [J|A||1.3]

VAR ARC_CENTRE_J_INC_POSITION = [J|A|J|1.3]

The value will be output with a ‘J’ character before the value, the value will Always be output, and will be output to 3 decimal places, this would typically be suitable for a control that requires metric output.

If you wished to output the values to 4 decimal places as would be more typical for a controller operating in inches. You would format the line as follows.

VAR ARC_START_Y_POSITION = [J|A|J|1.4]

VAR ARC_CENTRE_I_ABS_POSITION = [IA|A||1.3]

VAR ARC_CENTRE_J_ABS_POSITION = [JA|A||1.3]

VAR ARC_CENTRE_J_ABS_POSITION = [JA|A|J|1.3|-1]

The value will be output with a ‘J’ character before the value, the value will Always be output, and will be output to 3 decimal places, this would typically be suitable for a control that requires metric output.

If you wished to output the values to 4 decimal places as would be more typical for a controller operating in inches. You would format the line as follows.

VAR ARC_CENTRE_J_ABS_POSITION = [JA|A|J|1.4|-1]

Note

In this format string there is an option extra parameter. This is the value multiplier.

VAR ARC_MID_X_POSITION = [ArcMidX|A||1.3]

VAR ARC_MID_Y_POSITION = [ArcMidY|A||1.3]

VAR ARC_MID_X_POSITION = [ArcMidX|A|X|1.3]

The value will be output with a ‘X’ character before the value, the value will Always be output, and will be output to 3 decimal places, this would typically be suitable for a control that requires metric output.

If you wished to output the values to 4 decimal places as would be more typical for a controller operating in inches. You would format the line as follows.

VAR ARC_MID_X_POSITION = [ArcMidX|A|X|1.4]

VAR ARC_MID_X_INC_POSITION = [ArcMidXI|A||1.3]

VAR ARC_MID_Y_INC_POSITION = [ArcMidYI|A||1.3]

VAR ARC_MID_X_INC_POSITION = [ArcMidXI|A|X|1.3]

The value will be output with a ‘X’ character before the value, the value will Always be output, and will be output to 3 decimal places, this would typically be suitable for a control that requires metric output.

If you wished to output the values to 4 decimal places as would be more typical for a controller operating in inches. You would format the line as follows.

VAR ARC_MID_X_INC_POSITION = [ArcMidXI|A|X|1.4]

VAR ARC_RADIUS = [Radius|A||1.3]


VAR ARC_RADIUS = [Radius|A|R|1.3]

The value will be output with a ‘R’ character before the value, the value will Always be output, and will be output to 3 decimal places, this would typically be suitable for a control that requires metric output.

If you wished to output the values to 4 decimal places as would be more typical for a controller operating in inches. You would format the line as follows.

VAR ARC_RADIUS = [Radius|A|R|1.4]

VAR ARC_ANGLE = [Angle|A||1.3]

VAR ARC_ANGLE = [Angle|A|A|1.3]

The value will be output with a ‘A’ character before the value, the value will Always be output, and will be output to 3 decimal places, this would typically be suitable for a control that requires metric output.

If you wished to output the values to 4 decimal places as would be more typical for a controller operating in inches. You would format the line as follows.

VAR ARC_ANGLE = [Angle|A|A|1.4]

VAR X_LENGTH = [XLENGTH|A||1.3]

VAR Y_LENGTH = [XLENGTH|A||1.3]

VAR Z_LENGTH = [XLENGTH|A||1.3]

VAR X_MIN = [XMIN|A||1.3]

VAR Y_MIN = [YMIN|A||1.3]

VAR Z_MIN = [ZMIN|A||1.3]

VAR X_MAX = [XMAX|A||1.3]

VAR Y_MAX = [YMAX|A||1.3]

VAR Z_MAX = [ZMAX|A||1.3]

VAR X_MIN = [XMIN|A|X|1.3]

The value will be output with an ‘X’ character before the value, the value will Always be output, and will be output to 3 decimal places.

Valeur du multiplicateur

La valeur du multiplicateur est utilisée pour multiplier la valeur afin de produire une valeur différente. Les raisons courantes pour lesquelles on souhaite faire cela sont les suivantes :

Pour convertir la sortie par défaut d'un post processeur en pouces, de pouces par minute en pouces par seconde, (Multiplier par 0.01666).

Pour convertir la sortie par défaut d'un post-processeur métrique, de mm par minute en mm par seconde, (Multiplier par 0,0166).

Pour rendre des valeurs positives négatives (et vice versa), (Multiplier par -1).

Pour convertir la sortie d'un angle d'arc de radians en degrés, (Multiplier par 57,2957795).

Pour multiplier ou diviser par un facteur fixe (par exemple, pour produire un modèle à l'échelle 1:4, multipliez par 0,25).

Blocs de post-processeur

HEADER

+---------------------------------------------------

+ Commands output at the start of the file

+---------------------------------------------------

begin HEADER

"Commands"

L'en-tête est l'emplacement des instructions qui sont produites une fois, au début du fichier, et qui configurent généralement des commandes modales pour le contrôleur.

Par exemple, l'en-tête peut contenir une commande pour afficher le nom du fichier sur le contrôleur et une série de "codes G" pour configurer la machine, par exemple G20 pour indiquer au contrôleur que les mouvements sont en pouces, ou G21 pour indiquer au contrôleur que les mouvements sont en millimètres.

Les variables que vous pourriez souhaiter voir figurer dans la section d'en-tête pourraient être les suivantes :

Informations sur le bloc matériel

  • Étendue minimale en X = [XMIN]
  • Étendue minimale en Y = [YMIN]
  • Étendue minimale en Z = [ZMIN]
  • Etendue maximale en X = [XMAX]
  • Extension maximale en Y = [YMAX]
  • Etendue maximale en Z = [ZMAX].
  • Longueur du matériau en X = [XLONGUEUR]".
  • Longueur du matériau en Y = [YLONGUEUR]
  • Profondeur du matériau en Z = [ZLONGUEUR]".

Informations sur la position du point d'attache

  • Origine X = [XH]
  • Origine Y = [YH]
  • Origine Z = [ZH]
  • Espace de dégagement rapide ou sécurité Z = [SAFEZ].

Détails du premier outil à utiliser.

  • Numéro d'outil = [T]
  • Nom de l'outil = [TOOLNAME]

Vitesses de coupe initiales

  • Vitesse d'avance utilisée pour couper et plonger dans le matériau = [F].
  • Vitesse d'avance pendant que l'outil coupe le matériau = [FC]
  • Vitesse d'avance pendant que l'outil plonge dans le matériau = [FP].

Les valeurs réelles dépendent des UNITÉS définies (voir Paramètres globaux du fichier) Les valeurs par défaut sont MM/Minute ou Inches/Minute, mais la sortie peut être modifiée en fonction du formatage "VAR FEED_RATE" approprié.

Vitesse de la broche

  • Vitesse de la broche = [S] R.P.M.

TOOLCHANGE

+---------------------------------------------------

+ Commands output at toolchange

+---------------------------------------------------

begin TOOLCHANGE

"Commands"

Les commandes qui sont émises lorsqu'un changement d'outil est nécessaire. Les variables et les commandes qui peuvent être utilisées incluent :

  • Numéro de l'outil = [T]
  • Nom de l'outil = [TOOLNAME]
  • Nom du parcours d'outil = [TOOLPATH_NAME].
  • Nom du chemin d'accès à l'outil = [PATHNAME]
  • Nom du fichier du parcours d'outil = [TP_FILENAME]
  • Répertoire du fichier du chemin d'accès = [TP_DIR].
  • Extension du parcours d'outil = [TP_EXT].
  • Vitesse de la broche = [S] R.P.M.
  • M3 M Code souvent utilisé pour mettre la broche en marche (rotation dans le sens des aiguilles d'une montre).
  • M5 M Code souvent utilisé pour mettre la broche hors tension.

NEW_SEGMENT

+---------------------------------------------------

+ Commands output for a new segment ( new toolpath with current toolnumber)

+---------------------------------------------------

begin NEW_SEGMENT

"Commands"

Pour un exemple de section NEW_SEGMENT, voir le fichier : Mach2_3_ATC_Arcs_inch.pp

Commandes qui sont émises lorsqu'un nouveau parcours utilise l'outil actuellement sélectionné, mais qu'une vitesse de broche différente est peut-être nécessaire ou que la machine requiert des instructions supplémentaires.

Toute commande utilisée dans la section NEW_SEGMENT ne doit pas être incluse dans la section TOOLCHANGE, car un changement d'outil appelle automatiquement les instructions de la section NEW_SEGMENT.

Les variables couramment utilisées sont les suivantes

  • Vitesse de la broche = [S] R.P.M.
  • M3 M Code souvent utilisé pour mettre la broche en marche (rotation dans le sens des aiguilles d'une montre).
  • M5 M Code souvent utilisé pour arrêter la broche.

INITIAL_RAPID_MOVE

+---------------------------------------------------

+ Commands output for Initial rapid move

+---------------------------------------------------

begin INITIAL_RAPID_MOVE

"Commands"

Pour un exemple de section INITIAL_RAPID_MOVE, voir le fichier : Saom_OSAI_Arc_inch.pp

Commandes qui sont émises lorsque le tout premier mouvement rapide est effectué après l'en-tête ou un changement d'outil. Une section qui n'est pas utilisée pour la plupart des postes, mais qui est utile si le tout premier déplacement rapide, doit sortir des informations différentes des déplacements rapides suivants. Cette section est parfois nécessaire pour les variantes de HPGL.

RAPID_MOVE

+---------------------------------------------------

+ Commands output for rapid moves.

+---------------------------------------------------

begin RAPID_MOVE

"Commands"

Commandes qui sont émises lorsque des mouvements rapides sont nécessaires.

FIRST_FEED_MOVE

+---------------------------------------------------

+ Commands output for first feed rate move in a series of feed moves.

+---------------------------------------------------

begin FIRST_FEED_MOVE

"Commands"

Cette section est généralement utilisée lorsque les contrôleurs exigent que l'avance soit définie lors du premier mouvement d'avance, cette avance sera ensuite utilisée pour les mouvements de coupe suivants.

Pour un exemple de section FIRST_FEED_MOVE, voir le fichier : Axyz_Arcs_ATC_inch.pp

FEED_MOVE

+---------------------------------------------------

+ Commands output for feed rate moves

+---------------------------------------------------

begin FEED_MOVE

"Commands"

Used to output information required at every move, or all feed moves except for the First Feed Move, if a FIRST_FEED_MOVE section is present within the post processor.

FIRST_CW_ARC_MOVE

+---------------------------------------------------

+ Commands output for the first clockwise arc move in a series of cw arc moves

+---------------------------------------------------

begin FIRST_CW_ARC_MOVE

"Commands"

Similaire à la section FIRST_FEED_MOVE, mais pour les segments d'arc dans le sens des aiguilles d'une montre. Cette section est généralement utilisée lorsque les contrôleurs exigent que la vitesse d'avance soit définie pour le premier segment d'arc, cette vitesse étant ensuite utilisée pour les mouvements d'arc suivants dans la même direction.

Pour un exemple de section FIRST_CW_ARC_MOVE, voir le fichier : Centroid_Arcs_inch.pp

FIRST_CW_HELICAL_ARC_PLUNGE_MOVE

+---------------------------------------------------

+ Commands output for clockwise helical arc plunge move in a series of moves.

+---------------------------------------------------

begin FIRST_CW _HELICAL_ARC_MOVE

"Commands"

Similaire à la section FIRST_CW_ARC_MOVE, mais pour les mouvements qui se déplacent également en Z. Les vitesses d'avance sont issues de la vitesse de plongée définie pour l'outil.

Pour un exemple de section CW_HELICAL_ARC_PLUNGE_MOVE, voir le fichier : Mach2_3_ATC_Arcs_inch.pp

FIRST_CW_HELICAL_ARC_MOVE

+---------------------------------------------------

+ Commands output for clockwise helical arc move in a series of moves.

+---------------------------------------------------

begin FIRST_CW_HELICAL_ARC_MOVE

"Commands"

Similar to the FIRST_CW_ARC_MOVE section, but for moves that also move in Z.

For an example of a CW_HELICAL_ARC_MOVE section, see the file: Mach2_3_ATC_Arcs_inch.pp

CW_ARC_MOVE

+---------------------------------------------------

+ Commands output for clockwise arc moves.

+---------------------------------------------------

begin CW_ARC_MOVE

"Commands"

Semblable à la section FEED_MOVE, mais pour les segments d'arc dans le sens des aiguilles d'une montre.

Pour un exemple de section CW_ARC_MOVE, voir le fichier : Centroid_Arcs_inch.pp

CW_HELICAL_ARC_MOVE

+---------------------------------------------------

+ Commands output for clockwise helical arc moves

+---------------------------------------------------

begin CW_HELICAL_ARC_MOVE

"Commands"

Similar to the CW_ARC_MOVE section, but for moves that also move in Z.

For an example of a CW_HELICAL_ARC_MOVE section, see the file: Mach2_3_ATC_Arcs_inch.pp

FIRST_CCW_ARC_MOVE

+---------------------------------------------------

+ Commands output for the first counter-clockwise arc move in a series of ccw arc moves.

+---------------------------------------------------

begin FIRST_CCW_ARC_MOVE

"Commands"

Semblable à la section FIRST_FEED_MOVE, mais pour les segments d'arc dans le sens inverse des aiguilles d'une montre. Cette section est généralement utilisée lorsque les contrôleurs exigent que la vitesse d'avance soit définie pour le premier segment d'arc, cette vitesse étant ensuite utilisée pour les mouvements d'arc suivants dans la même direction.

Pour un exemple de section FIRST_CCW_ARC_MOVE, voir le fichier : Centroid_Arcs_inch.pp

FIRST_CCW_HELICAL_ARC_PLUNGE_MOVE

+---------------------------------------------------

+ Commands output for counter- clockwise helical arc plunge move in a series of moves.

+---------------------------------------------------

begin FIRST_CCW_HELICAL_ARC_MOVE

"Commands"

Semblable à la section FIRST_CCW_ARC_MOVE, mais pour les mouvements qui se déplacent également en Z. Les vitesses d'avance produites proviennent de la vitesse de plongée définie pour l'outil.

Pour un exemple de section CCW_HELICAL_ARC_PLUNGE_MOVE, voir le fichier : Mach2_3_ATC_Arcs_inch.pp

FIRST_CCW_HELICAL_ARC_MOVE

+---------------------------------------------------

+ Commands output for first counter-clockwise helical arc move in a series of moves.

+---------------------------------------------------

begin FIRST_CCW_HELICAL_ARC_MOVE

"Commands"

Similaire à la section FIRST_CCW_ARC_MOVE, mais pour les mouvements qui se déplacent également en Z.

Pour un exemple de section CCW_HELICAL_ARC_MOVE, voir le fichier : Mach2_3_ATC_Arcs_inch

CCW_ARC_MOVE

+---------------------------------------------------

+ Commands output for counter-clockwise arc moves.

+---------------------------------------------------

begin CCW_ARC_MOVE

"Commands"

Similaire à la section FEED_MOVE, mais pour les segments d'arc dans le sens inverse des aiguilles d'une montre.

Pour un exemple de section CCW_ARC_MOVE, voir le fichier : Centroid_Arcs_inch.pp

CCW_HELICAL_ARC_MOVE

+---------------------------------------------------

+ Commands output for counter-clockwise helical arc moves

+---------------------------------------------------

begin CCW_HELICAL_ARC_MOVE

"Commands"

Similaire à la section CCW_ARC_MOVE, mais pour les mouvements qui se déplacent également en Z.

Pour un exemple de section CCW_HELICAL_ARC_MOVE, voir le fichier : Mach2_3_ATC_Arcs_inch.pp

FOOTER

Le pied de page est la section du post-processeur destinée aux instructions qui sont envoyées au contrôleur à la fin d'un fichier. Il peut s'agir d'instructions visant à ramener l'outil en position de départ, à arrêter la broche ou à couper l'alimentation des entraînements.

+---------------------------------------------------

+ Commands output at the end of the file

+---------------------------------------------------

begin FOOTER

"Commands"

Les variables couramment utilisées sont les suivantes.

  • G00 [XH] [YH] [ZH] Rapide à la position de base X, Y, Z.
  • M05 M Code souvent utilisé pour arrêter la broche.
  • M30 M Code souvent utilisé pour signifier la fin du fichier.

Sections de support des jets

Ces sections sont destinées à soutenir les outils de découpe par jet tels que les lasers, les plasmas et les hydrojets.

JET_TOOL_POWER

+---------------------------------------------------

+ Commands output when the cutter's power is set

+---------------------------------------------------

begin JET_TOOL_POWER

"Commands"

Pour un exemple de section JET_TOOL_POWER, voir le fichier : Grbl.pp

Commandes émises lorsque le paramètre de puissance associé à un "outil" laser est émis.

JET_TOOL_ON

+---------------------------------------------------

+ Commands output when the cutter's power is turned ON

+---------------------------------------------------

begin JET_TOOL_ON

"Commands"

Pour un exemple de section JET_TOOL_ON, voir le fichier : Grbl.pp

Commandes qui sont émises lorsque l'outil de jet est mis sous tension. Cette commande est globalement équivalente à SPINDLE_ON, mais elle est généralement émise à la fin d'un mouvement de plongée lorsque l'outil de coupe à jet est déjà à la hauteur de coupe prévue, au lieu d'être émise avant le mouvement de plongée comme l'exige un outil de coupe à broche.

JET_TOOL_OFF

+---------------------------------------------------

+ Commands output when the cutter's power is turned OFF

+---------------------------------------------------

begin JET_TOOL_OFF

"Commands"

For an example of a JET_TOOL_OFF section, see the file: Grbl.pp

Commands that are output when the jet tool is powered off.

Autres sections moins fréquemment utilisées

FEED_RATE_CHANGE

+---------------------------------------------------

+ Commands output when feed rate changes

+---------------------------------------------------

begin FEED_RATE_CHANGE

"Commands"

Pour un exemple de section FEED_RATE_CHANGE, voir le fichier : Gravograph_IS200.pp

Commandes qui sont émises lorsque la vitesse d'avance est modifiée. Cette section n'est pas souvent utilisée car de nombreux contrôleurs acceptent les changements de vitesse d'avance joints à d'autres instructions, mais elle est parfois utilisée avec les variantes HPGL.

FIRST_PLUNGE_MOVE

+---------------------------------------------------

+ Commands output for the First Plunge Move, in a series of plunge moves.

+---------------------------------------------------

begin FIRST_PLUNGE_MOVE

"Commands"

Pour un exemple de section FIRST_PLUNGE_MOVE, voir le fichier : Holz-Her_7123_ATC_Arcs_mm.pp

Cette section est souvent utilisée sur des machines qui ne supportent pas complètement le mouvement 3D simultané, par exemple l'axe Z ne peut pas se déplacer aussi rapidement que les axes X et Y. Une autre utilisation de cette section pourrait être d'inclure des commandes que vous souhaitez émettre à chaque fois que le premier mouvement de plongée se produit. Par exemple, des commandes pour allumer une torche à plasma. Cette commande est donc utile pour les commandes qui accélèrent automatiquement entre les coupes et pour lesquelles des instructions telles que les vitesses révisées et l'avance doivent être spécifiées lors du premier mouvement de plongée et ces instructions ne sont pas nécessaires pour les mouvements de plongée suivants dans l'opération de rampe.

PLUNGE_MOVE

+---------------------------------------------------

+ Commands output for Plunge Moves

+---------------------------------------------------

begin PLUNGE_MOVE

"Commands"

Pour un exemple de section PLUNGE_MOVE, voir le fichier : Burny_arc_inch.pp

Cette section est souvent utilisée sur des machines qui ne supportent pas complètement le mouvement 3D simultané, par exemple l'axe Z ne peut pas se déplacer aussi rapidement que les axes X et Y. Une autre utilisation de cette section pourrait être d'inclure les commandes que vous souhaitez émettre à chaque fois qu'un mouvement de plongée se produit. Par exemple, des commandes pour allumer une torche à plasma.

RETRACT_MOVE

+---------------------------------------------------

+ Commands output for Retract Moves

+---------------------------------------------------

begin RETRACT_MOVE

"Commands"

Pour un exemple de section RETRACT _MOVE, voir le fichier : Burny_arc_inch.pp

Une utilisation de cette section pourrait être d'inclure des commandes pour éteindre une torche à plasma.

DWELL_MOVE

+---------------------------------------------------

+ Commands output for Dwell Commands

+---------------------------------------------------

begin DWELL_MOVE

"Commands"

Pour un exemple de section DWELL_MOVE, voir le fichier : Mach2_3_Arcs_inch.pp

Cette commande a été introduite pour VCarve Pro 7.5 et Aspire 4.5 et plus. Elle est utilisée avec un parcours de perçage, lorsqu'un temps de séjour a été spécifié dans le programme. Si cette section n'est pas définie, toutes les commandes de temporisation sont ignorées, mais le reste du parcours de perçage sera produit normalement. La variable DWELL est documentée dans la section Variables.

Caractères spéciaux

La plupart des caractères peuvent être édités dans les limites des instructions de sortie du post-processeur. Cependant, certains caractères ont une signification particulière dans les fichiers de configuration du post-processeur et ne peuvent pas être édités directement.

Il s'agit des crochets [ ], et du caractère guillemet double " Il se peut que vous ayez besoin de sortir un de ces caractères dans votre fichier de sortie.

Si vous souhaitez éditer l'un de ces caractères, vous pouvez le faire en plaçant entre crochets l'équivalent décimal de la valeur ASCII du caractère spécial que vous souhaitez éditer, comme indiqué ci-dessous. Cette méthode peut également être utilisée pour insérer n'importe quelle valeur ASCII, même des caractères non imprimables.

  • [91] Affiche un crochet à gauche.
  • [93] Produit un crochet droit.
  • [34] Émet un caractère de guillemet double.
  • [13] Émet un retour chariot.
  • [10] Émet un saut de ligne.

Pour un exemple de fichier utilisant des caractères spéciaux, veuillez consulter : Biesse_Rover_Arcs_mm.pp

Exemple : Ajout de commandes de changement d'outil

Dans la majorité des cas, le moyen le plus rapide et le plus simple de produire un post-processeur personnalisé pour votre contrôleur est de modifier un post-processeur existant. Pour ce faire, créez d'abord un fichier de test simple que vous pourrez utiliser pour tester la sortie de votre post-processeur. Un fichier simple peut consister en une ligne et deux cercles. Produisez un parcours de profil de coupe peu profond pour chacune des formes, en usinant "sur" la ligne, "à l'intérieur" d'un des cercles et "à l'extérieur" de l'autre cercle.

Enregistrez un parcours en utilisant votre post-processeur de base et regardez-le en utilisant votre éditeur de texte préféré. Voici un exemple de fichier test enregistré à l'aide du post processeur "G-Code Arcs (inch) (*.tap)" L'exemple ci-dessous est affiché à l'aide du populaire éditeur Notepad ++.

Pour notre exemple, nous allons ajouter une section de changement d'outil à ce post processeur. Tout d'abord, faites une copie sécurisée du post-processeur que vous personnalisez. Si vous ouvrez le post-processeur que vous êtes en train de modifier dans un éditeur de texte, vous serez en mesure de voir les lignes de texte dans le post-processeur qui ont formaté la sortie de votre fichier de test.

Le dossier PostP est accessible depuis l'application, en cliquant sur "Fichier > Ouvrir le dossier de données de l'application" dans le menu principal de l'application.

Pour ajouter une section de changement d'outil au post-processeur, vous devrez consulter la documentation de la commande de la machine-outil (ou du logiciel de commande). Pour cet exemple, nous supposerons que les instructions que vous devez ajouter pour effectuer un changement d'outil pour votre machine-outil particulière sont les suivantes :

  • M05 Instruction pour arrêter la broche avant le changement d'outil.
  • M0 Instruction pour remettre l'outil existant dans le porte-outil.
  • M06TTool_Number n Instruction pour sélectionner le nouvel outil Tool_Number n
  • G43HTool_Number n Instruction pour que la commande utilise le décalage de longueur d'outil pour l'outil n
  • Sxxx M03 Régler la vitesse de la broche à xxx ; Mettre la broche en marche (rotation dans le sens des aiguilles d'une montre).

Modifiez le post-processeur à l'aide de votre éditeur de texte préféré.

Si le système d'exploitation de votre ordinateur est Microsoft Vista et que le contrôle d'accès des utilisateurs est activé, copiez ou déplacez le post-processeur que vous modifiez du dossier PostP vers un dossier situé sous votre zone utilisateur.

La première chose que vous devez modifier dans le fichier est la section Commentaire de l'historique, afin d'avoir une trace des modifications.

Modifiez ensuite le POST_NAME pour indiquer que ce post processeur produit des commandes de changement d'outil automatique (ATC), le nouveau post sera affiché comme "G-Code ATC Arcs (inch)(*.tap)" dans la liste des post processeurs.

Ajoutez ensuite une section de changement d'outil qui comprendra les instructions. L'emplacement de la nouvelle section dans le fichier n'est pas important, mais un bon endroit pour l'insérer est entre les sections En-tête et Déplacement rapide.

Ajoutez quelques lignes de commentaires en haut de la nouvelle section (commençant par le caractère +) pour décrire la section et rendre le fichier dans son ensemble plus facile à lire. Saisissez ensuite la ligne "begin TOOLCHANGE" pour indiquer au post-processeur que les instructions suivantes doivent être émises pour chaque changement d'outil (à l'exception de la sélection initiale de l'outil, dont les commandes sont contenues dans la section En-tête).

L'étape suivante consiste à entrer les instructions dont vous avez besoin, entre guillemets. Les "[T]" des troisième et quatrième lignes d'instructions de notre exemple seront remplacés par le numéro de l'outil lors du post-traitement du fichier ; les "[S]" de la cinquième ligne seront remplacés par la vitesse de rotation de l'outil.

Enfin, vous devrez enregistrer les modifications apportées au fichier, puisque vous avez changé le POST_NAME, enregistrez le fichier en utilisant un nouveau nom, par exemple “GCODE_ATC_Arcs_inch.pp”

Si le système d'exploitation de votre ordinateur est Microsoft Windows 7 ou Microsoft Vista et que le contrôle d'accès des utilisateurs est activé, copiez le fichier que vous avez modifié dans le dossier "PostP".

Pour tester le nouveau post-processeur, Si le logiciel est en cours d'exécution, redémarrez-le.

Si votre post-processeur présente des erreurs de syntaxe, une erreur similaire à l'image ci-dessous s'affichera au démarrage du logiciel, le post-processeur que vous avez modifié n'apparaîtra pas dans la liste déroulante des fichiers de configuration du post-processeur. Vous devrez rectifier les erreurs et redémarrer le logiciel.

Si aucune erreur ne s'affiche au démarrage du logiciel, ouvrez votre fichier de test et enregistrez un ou plusieurs de vos parcours de test.

Sélectionnez le post-processeur dans la liste déroulante de configuration du post-processeur et appuyez sur le bouton "Save Toolpath(s)".

Examinez le fichier que vous venez d'enregistrer dans un éditeur de texte.

Si le contenu du fichier semble bon, essayez le fichier sur votre machine.

Veuillez prendre toutes les précautions nécessaires lorsque vous exécutez la sortie d'un post-processeur modifié pour la première fois.

Exemple : Changement de l'extension de fichier

L'extension de fichier qui est automatiquement produite par le post-processeur peut être modifiée dans la boîte de dialogue "Enregistrer sous", lorsque vous cliquez sur le bouton "Enregistrer le(s) parcours".

Cependant, plutôt que de changer l'extension de fichier à chaque fois. Il est plus pratique de changer de façon permanente l'extension de fichier produite par le post-processeur.

Pour ce faire :

Faites une copie sûre du post processeur que vous souhaitez modifier.

Les fichiers de configuration du post-processeur sont situés dans le dossier "PostP" du dossier d'installation du produit et ont une extension de fichier ".PP". Pour Aspire version 2, l'emplacement par défaut du dossier PostP est : "C:\Program Files\Aspire V2.0\PostP" ; l'emplacement du dossier PostP sera différent selon le produit installé et si le logiciel a été installé à un emplacement personnalisé lors de l'installation du logiciel.

Modifiez le post-processeur à l'aide de votre éditeur de texte préféré.

Si le système d'exploitation de votre ordinateur est Microsoft Windows 7 ou Microsoft Vista et que le contrôle d'accès des utilisateurs est activé, copiez ou déplacez le post-processeur que vous êtes en train de modifier du dossier PostP vers un dossier situé sous votre espace utilisateur.

Recherchez les deux lignes suivantes dans le fichier de configuration du post-processeur, qui commencent par :

POST_NAME =

FILE_EXTENSION =

et modifiez-les en conséquence.

Par exemple, si vous souhaitez changer l'extension du fichier produit par le post-processeur "G Code ATC (inch)(*.tap)" de ".tap" à ".nc". Modifiez alors les lignes :

POST_NAME = "G Code ATC (inch) (*.tap)"

FILE_EXTENSION = "tap"

pour qu'elles soient lisibles :

POST_NAME = "G Code ATC (inch) (*.nc)"

FILE_EXTENSION = "nc"

Sauvegardez les modifications apportées à votre fichier. Si le système d'exploitation de votre ordinateur est Microsoft Windows 7 ou Microsoft Vista et que le contrôle d'accès utilisateur est activé, copiez le fichier que vous avez modifié dans le dossier "PostP".

Pour tester le nouveau post-processeur, Si le logiciel est en cours d'exécution, redémarrez-le. Si votre post-processeur présente des erreurs de syntaxe, une erreur similaire à l'image ci-dessous s'affichera au démarrage du logiciel, le post-processeur que vous avez modifié n'apparaîtra pas dans la liste déroulante des fichiers de configuration du post-processeur. Vous devrez rectifier les erreurs et redémarrer le logiciel.

Si aucune erreur ne s'affiche au démarrage du logiciel, ouvrez votre fichier de test et enregistrez un ou plusieurs de vos parcours de test.

Sélectionnez le post-processeur dans la liste déroulante de configuration du post-processeur et appuyez sur le bouton "Save Toolpath(s)".

Examinez le fichier que vous venez d'enregistrer dans un éditeur de texte.

Si le contenu du fichier semble bon, essayez le fichier sur votre machine.

Veuillez prendre toutes les précautions nécessaires lorsque vous utilisez la sortie d'un post-processeur modifié pour la première fois.

Trucs et astuces

  1. Faites toujours une copie sûre du traitement de texte que vous modifiez, au cas où vous devriez recommencer à zéro.
  2. Si vous utilisez un programme de traitement de texte, tel que Microsoft Word, pour modifier un post-processeur, assurez-vous que le fichier est enregistré en texte brut. Le fichier ne doit pas contenir d'informations de formatage.
  3. Si vous modifiez des post-processeurs sur un ordinateur fonctionnant sous Microsoft Windows 7 ou Microsoft Vista, ne modifiez pas les fichiers directement dans le dossier "Program Files\Product folder\PostP". Modifiez toujours le fichier dans votre espace utilisateur et copiez le fichier modifié dans le dossier "Program Files\Product folder\PostP".
  4. Utilisez des commentaires lorsque vous apportez des modifications. Un commentaire est un texte qui suit un caractère + ou |. Les commentaires ne sont pas pris en compte par le programme, mais ils peuvent vous aider à documenter les modifications que vous avez apportées et à les rendre compréhensibles à l'avenir.
  5. Toutes les lignes d'instruction doivent être contenues entre guillemets.
  6. Si possible, utilisez un éditeur de texte qui utilise les numéros de ligne ; cela facilitera le débogage du post-processeur en cas d'erreur dans le fichier. Le programme vérifie les post-processeurs dans le dossier PostP au démarrage du programme. Si des erreurs de syntaxe sont présentes dans le fichier, un message d'erreur sera affiché, indiquant le numéro de ligne de la première erreur rencontrée.
  7. Une fois que vous avez modifié avec succès un post-processeur, faites-en une copie sûre. Si vous installez une version ultérieure du produit Vectric que vous utilisez, pensez à copier votre post processeur modifié dans le dossier PostP de la nouvelle version du logiciel. Et sélectionnez votre post processeur modifié, la première fois que vous enregistrez un parcours, (le logiciel se souviendra de votre sélection pour les actions suivantes).
  8. Si vous installez une autre version du logiciel ou si vous mettez à jour la version du logiciel, n'oubliez pas de copier vos copies sécurisées de vos post-processeurs modifiés dans le dossier PostP de la nouvelle version. Assurez-vous de sélectionner le post-traitement correct la première fois que vous post-traitez un fichier à l'aide de la nouvelle version du logiciel.
  9. Pour les versions ultérieures du logiciel, (V5.5 et plus). Les post-traitements sont accessibles à partir de l'application, en cliquant sur "Fichier > Ouvrir le dossier de données de l'application - Dossier Post-traitement".
  10. Une liste personnalisée de post-processeurs peut être créée en copiant uniquement les post-processeurs requis dans le dossier "File > Open Application Data Folder\My_PostP". Si un fichier avec une extension .pp existe dans le dossier "My_PostP", seuls les post-processeurs qui existent dans le dossier My_PostP seront affichés dans la liste déroulante des post-processeurs.