Difference between revisions of "BezierSplineArcFittingScript"

From Hive13 Wiki
Jump to navigation Jump to search
(created project page.)
 
m (Changed date in infobox to ISO8601 because all other date formats are morally and religiously objectionable. Added category.)
Line 1: Line 1:
 +
[[Category:ActiveProjects]]
 
{{Infobox Project  
 
{{Infobox Project  
 
|ProjectTitle=Bezier Spline Arc-Fitting Script
 
|ProjectTitle=Bezier Spline Arc-Fitting Script
 
|ProjectStatus=Active
 
|ProjectStatus=Active
|StartDate=8/8/2014
+
|StartDate=2014-08-01
 
|EndDate=?
 
|EndDate=?
 
}}
 
}}

Revision as of 11:26, 28 August 2014



Property "ProjectImage" (as page type) with input value "{{{ProjectImage}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.

Hive13 Project
Bezier Spline Arc-Fitting Script
Status: Active
Start Date: 2014-08-01
End Date: ?


A script, currently targeting QCAD, to convert a Bezier Spline exported from Illustrator into a Polyline containing line and arc segments.

There's actually no real reason for this since the approximation by tiny lines of splines is usually enough for a machine to work with, but theoretically conversion to a polyline with arc segments will allow for much less generated G-Code, and I am nothing if not theoretical.

Maths

Multitudinous maths coming soon.

Progress

Week of 2014-08-18

Made a final push to get the script working. It now successfully produces a polyline through one iteration of arcfitting with no spline splitting. Some curves are approximated pretty well, but particularly eccentric ellipses become lozenges, which is not desirable.

Week of 2014-08-25

Stubbed out guards (They all return false for now.) Figured at this point I should just convert it to coffeescript, which is morally and technically superior to javascript, and punt it over to github instead of dropbox.