PM Toolpath Point Parameter Functions
PM Toolpath Point Parameter Functions
User Guide
Toolpath Point Parameters
Contents
Overview 1
Toolpath point parameter functions 2
Sample macros ................................................................................................... 5
Component-type is an
optional argument for adding
parameters to a component
other than a segment. When
omitted, segment is assumed.
Adds a parameter named key int point_add_parameter( entity
with value value to the m'th ref, int n, int m, string key,
point on the n'th segment of string value, string component-
the referenced toolpath, or if type)
component-type is specified
as such, to the lead connected
to that segment or the link
that precedes it.
Component-type is an
optional argument for adding
parameters to a component
other than a segment. When
omitted, segment is assumed.
Remove parameter named int point_remove_parameter( ent
key from the m'th point on ity ref, int n, int m, string
the n'th segment of the key, string component-type)
referenced toolpath, or if
component-type is specified
as such, to the lead connected
to that segment or the link
that precedes it.
Component-type is an
optional argument for adding
parameters to a component
other than a segment. When
omitted, segment is assumed.
Points can have more than one parameter, or they can have
no parameters at all.
int segments = toolpath_segment_count("toolpath", "1")
int segment = 0
int error = 0
$segment = $segment + 1
}
The Filters area and Layers list is only used for strategies
calculated from the PowerMill Additive plugin.
The Process Parameters dialog enables you to select a point and
view its parameters.
Points with parameters are red and points with no parameters are
blue. The selected point is surrounded by a yellow circle. For
example, 0:10 where the first number (0) is the segment number
and the second (10) the point number.
License
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS
OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR
"LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR
OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS
PROHIBITED.
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU
ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS
LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO
BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF
SUCH TERMS AND CONDITIONS.
Can I use content from Autodesk online help to create new materials for
a specific audience?
Yes, if you want to help a specific audience learn how to optimize
the use of their Autodesk software, there is no need to start from
scratch. You can use, remix, or enrich the relevant help content and
include it in your book, instructions, examples, or workflows you
create, then Share-Alike with the community. Always be sure to
comply with the terms of the Creative Commons license under
which the learning content is released.
Trademarks
The following are registered trademarks or trademarks of Autodesk,
Inc., and/or its subsidiaries and/or affiliates in the USA and other
countries: 3ds Max, ADSK, Alias, ATC, AutoCAD LT, AutoCAD,
Autodesk, Autodesk Construction Cloud, Autodesk Forge, Autodesk
Fusion 360, BIM 360, BuildingConnected, Civil 3D, Dancing Baby,
The (image) Eagle, FBX, FeatureCAM, Flame, FormIt, Forge, Forge
Devcon, Forge Fund, Fusion 360, Glue, Green Building Studio,
ICMLive, InfoWater, InfoWorks, InfraWorks, Innovyze,
Instructables, Inventor, Make Anything, Maya, Moldflow,
MotionBuilder, Mudbox, Navisworks, Netfabb, PartMaker, Plangrid,
PowerInspect, PowerMill, PowerShape, Pype, RasterDWG, Redshift,
RealDWG, ReCap, Revit, Shotgun, SketchBook, Spacemaker,
Tinkercad, TrustedDWG, VRED. All other brand names, product
names or trademarks belong to their respective holders.
Disclaimer
THIS PUBLICATION AND THE INFORMATION CONTAINED HEREIN IS
MADE AVAILABLE BY AUTODESK, INC. "AS IS." AUTODESK, INC.
DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
REGARDING THESE MATERIALS.