Data File Locations Related Global Methods

From SDK
Jump to navigation Jump to search
Back.jpg

GetDataLocation()


Returns the "root" data location for the application e.g.

"C:\ProgramData\Vectric\Aspire\V4.0" For V4.0 of Aspire on Windows 7.
"C:\ProgramData\Vectric\VCarve Pro\V7.0" For V7.0 of VCarve Pro on Windows 7.
This is the same folder accessible via "File – OpenApplication Data Folder" within the program.


GetPostProcessorLocation()


Returns the PostP folder location for the program e.g

"C:\ProgramData\Vectric\Aspire\V4.0\PostP" For V4.0 of Aspire on Windows 7.


GetToolDatabaseLocation()


Returns the Tool Database folder location for the program e.g

"C:\ProgramData\Vectric\Aspire\V4.0\ToolDatabase" For V4.0 of Aspire on Windows 7.


GetGadgetsLocation()


Returns the Gadgets folder location for the program e.g

"C:\ProgramData\Vectric\Aspire\V4.0\Gadgets" For V4.0 of Aspire on Windows 7.
Note that the user can also install Gadgets in their local documents folder under "Vectric Files\Gadgets\Aspire V4.0"


GetToolpathDefaultsLocation()


Returns the ToolpathDefaults folder location for the program e.g

"C:\ProgramData\Vectric\Aspire\V4.0\ToopathDefaults" For V4.0 of Aspire on Windows 7.


CreateCadContour (Contour ctr)


Returns a CadContour which owns the passed Contour object.

ctr - Contour - the data which is held by the created CadContour


CreateCadGroup(ContourGroup ctr_group)


Returns a CadContourGroup which owns the passed ContourGroup object.

ctr_group - ContourGroup - the data which is held by the created CadContourGroup


GetDefaultContourTolerance()


Returns a double value which is the default value for contour tolerances used within the program.

This is usually 0.001 if working in metric or 0.00004 if working in inches.


GetBitmapTexturesLocation()


Returns the BitmapTextures folder location for the program which stores the bitmaps used for displaying different material types e.g

"C:\ProgramData\Vectric\Aspire\V4.0\BitmapTextures" For V4.0 of Aspire on Windows 7.
Note that the user can also install additional textures in their local documents folder under Vectric Files\Material Images


GetVectorTexturesLocation()


Returns VectorTextures folder location for the program e.g

"C:\ProgramData\Vectric\Aspire\V4.0\VectorTextures" For V4.0 of Aspire on Windows 7.


Back.jpg

References

Please Note: The base material for the contents found in this WiKi was sourced from Vectric Lua Interface for Gadgets, version 10.0, published August 21, 2019. by Vectric Ltd. Most current document from Vertric can be downloaded at Vertric Developer Information