FlutingParameterData: Difference between revisions
(Created page with "right|50px|link=Toolpaths Category:SDK This object is used to hold the settings for a fluting toolpath. ==Constructor== ===FlutingParameterData()===...") |
No edit summary |
||
Line 19: | Line 19: | ||
'''Interaction:''' Read and Write | '''Interaction:''' Read and Write | ||
'''Returns:''' (double) Final cutting depth below start depth | '''Returns:''' (double) Final cutting depth below start depth | ||
===.CutDepthFormula=== | ===.CutDepthFormula=== | ||
'''Interaction:''' '''Interaction:''' Read and Write | '''Interaction:''' '''Interaction:''' Read and Write | ||
'''Returns:''' (string) Formula for final cutting depth below start depth | '''Returns:''' (string) Formula for final cutting depth below start depth | ||
Line 32: | Line 32: | ||
'''Interaction:''' Read and Write | '''Interaction:''' Read and Write | ||
'''Returns:''' (integer) Type of flute to create. | '''Returns:''' (integer) Type of flute to create. Valid values are: | ||
::''FlutingParameterData.FULL_LENGTH'' | |||
::''FlutingParameterData.RAMP_START'' | |||
::''FlutingParameterData.RAMP_START_END'' | |||
Line 44: | Line 43: | ||
'''Interaction:''' Read and Write | '''Interaction:''' Read and Write | ||
'''Returns:''' (string) The name for the toolpath | '''Returns:''' (string) The name for the toolpath | ||
Line 52: | Line 51: | ||
'''Interaction:''' Read and Write | '''Interaction:''' Read and Write | ||
'''Returns:''' (bool) If true and used with Aspire, toolpath is projected onto model surface after calculation | '''Returns:''' (bool) If true and used with Aspire, toolpath is projected onto model surface after calculation | ||
Line 60: | Line 59: | ||
'''Interaction:''' Read and Write | '''Interaction:''' Read and Write | ||
'''Returns:''' (double) Length of ramp. This is only used if .UseRampRatio is false. | '''Returns:''' (double) Length of ramp. This is only used if .UseRampRatio is false. | ||
Line 68: | Line 67: | ||
'''Interaction:''' Read and Write | '''Interaction:''' Read and Write | ||
'''Returns:''' (double) Length of ramp as ratio of flute length (range 0 to 1.0). For ramp at start end ratio is of half length. This is only used if .UseRampRatio is true. | '''Returns:''' (double) Length of ramp as ratio of flute length (range 0 to 1.0). For ramp at start end ratio is of half length. This is only used if .UseRampRatio is true. | ||
Line 76: | Line 75: | ||
'''Interaction:''' Read and Write | '''Interaction:''' Read and Write | ||
'''Returns:''' (integer) Type of ramping to perform. Valid values are: FlutingParameterData.RAMP_LINEAR | '''Returns:''' (integer) Type of ramping to perform. Valid values are: | ||
FlutingParameterData.RAMP_SMOOTH | FlutingParameterData.RAMP_LINEAR | ||
FlutingParameterData.RAMP_SMOOTH | |||
Line 85: | Line 85: | ||
'''Interaction:''' Read and Write | '''Interaction:''' Read and Write | ||
'''Returns:''' (double) Start depth for toolpath below material surface | '''Returns:''' (double) Start depth for toolpath below material surface | ||
Line 93: | Line 93: | ||
'''Interaction:''' Read and Write | '''Interaction:''' Read and Write | ||
'''Returns:''' (string) Formula for start depth for toolpath below material surface | '''Returns:''' (string) Formula for start depth for toolpath below material surface | ||
Line 101: | Line 101: | ||
'''Interaction:''' Read and Write | '''Interaction:''' Read and Write | ||
'''Returns:''' (bool) If true, use .RampRatio field for controling ramp length, else absolute value from .RampLength | '''Returns:''' (bool) If true, use .RampRatio field for controling ramp length, else absolute value from .RampLength | ||
Line 109: | Line 109: | ||
'''Interaction:''' Read and Write | '''Interaction:''' Read and Write | ||
'''Returns:''' (bool) If true use selection order of vectors as machining order | '''Returns:''' (bool) If true use selection order of vectors as machining order | ||
Revision as of 17:30, 1 May 2024
This object is used to hold the settings for a fluting toolpath.
Constructor
FlutingParameterData()
Create a new object ready to have its parameters set
For Example:
local fluting_data = FlutingParameterData()
Properties
.CutDepth
Interaction: Read and Write
Returns: (double) Final cutting depth below start depth
.CutDepthFormula
Interaction: Interaction: Read and Write
Returns: (string) Formula for final cutting depth below start depth
.FluteType
Interaction: Read and Write
Returns: (integer) Type of flute to create. Valid values are: ::FlutingParameterData.FULL_LENGTH ::FlutingParameterData.RAMP_START ::FlutingParameterData.RAMP_START_END
.Name
Interaction: Read and Write
Returns: (string) The name for the toolpath
.ProjectToolpath
Interaction: Read and Write
Returns: (bool) If true and used with Aspire, toolpath is projected onto model surface after calculation
.RampLength
Interaction: Read and Write
Returns: (double) Length of ramp. This is only used if .UseRampRatio is false.
.RampRatio
Interaction: Read and Write
Returns: (double) Length of ramp as ratio of flute length (range 0 to 1.0). For ramp at start end ratio is of half length. This is only used if .UseRampRatio is true.
.RampType
Interaction: Read and Write
Returns: (integer) Type of ramping to perform. Valid values are: FlutingParameterData.RAMP_LINEAR FlutingParameterData.RAMP_SMOOTH
.StartDepth
Interaction: Read and Write
Returns: (double) Start depth for toolpath below material surface
.StartDepthFormula
Interaction: Read and Write
Returns: (string) Formula for start depth for toolpath below material surface
.UseRampRatio
Interaction: Read and Write
Returns: (bool) If true, use .RampRatio field for controling ramp length, else absolute value from .RampLength
.UseSelectionOrder
Interaction: Read and Write
Returns: (bool) If true use selection order of vectors as machining order
References
Please Note: The base material for the contents found in this WiKi was sourced from Vectric Lua Interface for Gadgets, version 2.05, published September 12, 2018. by Vectric Ltd. Most current document from Vertric can be downloaded at Vertric Developer Information