Creating Vectors From Script: Difference between revisions
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
[[ArcSpan]] | ;*[[ArcSpan|ArcSpan]] | ||
;*[[BezierSpan|BezierSpan]] | |||
[[BezierSpan]] | ;*[[Contour|Contour]] | ||
;*[[ContourGroup|ContourGroup]] | |||
[[Contour]] | ;*[[LineSpan|LineSpan]] | ||
;*[[Span Helper Methods|Span Helper Methods]] | |||
[[ContourGroup]] | ;*[[Span|Span]] | ||
;*[[ToolpathTab|ToolpathTab]] | |||
[[LineSpan]] | |||
[[Span Helper Methods]] | |||
[[Span]] | |||
[[ToolpathTab]] | |||
Latest revision as of 08:27, 31 August 2024
The previous objects (VectricJob, CadLayer, CadContour etc) represent high level objects used within the program. When the user wants to create new geometry from within a script, they will be working with lower level entities. These entities are Spans, Contours and Contour Groups. A Span is the lowest level piece of geometry and it always has a start and end point. It is important to realize that although geometry in the main program is always 2D, the underlying reprentation of Spans and Contours supports full 3d values. This means that when Contours are used to define toolpaths, full 3D tool moves can be represented. If you are simply creating geometry which will appear in the 2D view in the main program, the Z value for all points should be left at 0.0.
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