building a cad program
science_geek
Posts: 247
i want to build a cad program for the prop to be used to controll my cnc mill.·i would like it to be much like declaring a vector as far as drawing a line goes, you give it an x,y start, a direction, and a magnitude, but i also want to do depth but only on the 2d side so something like a different color representing depth, and which one to cut first. the only way i see this working is with·6 arrays, there would be quite a bit of info, so should i us a uSD card or is there enough ram to be able to store all this info, has anyone tried anything similar, any thoughts or help is appreciated
Comments
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
I think it's possible... Chip has even made mention of having a small schematic editor/simulator running completely from the Propeller. For storage though, I would go with a standard format ... what comes to mind for me is GDSii, but that's just the CAD world that I live in, there are certainly other CAD drawing formats that could be used. If you are interested, I have a GDSii parser that I wrote in Visual Basic that could easily be implemented on another programming platform... i.e. the Propeller that I could send your direction.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
kye, I have already planned on using several props as im incorporating this into my A.N.A project, but i am using a serial display, so the graphics drawing would only use the data thats stored in the array and would only use one command to draw it all, dont know how long it would take, but i know there is a vsync command i could use to sync up and not erase the·whole screen,
rayman, it would be a great reward, cause who really has a cad program·on a device that is the size of your palm that·has sub programs that can·control basic·functions in my garage and on my go kart
would my vector array methods work, or is there a better·way to·do·this, i·use·cad all the time, but i dont generally understand all the·proggramming that goes into the, i have·coded a wire frame builder that would rotate and redraw a little square, but it was coded to draw all the lines in code,·and·thats my extent of graphics
This Visual Basic code will parse a GDSii standard file into human readable text
GDSiifunctions.bas
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Post Edited (Beau Schwabe (Parallax)) : 6/3/2009 6:08:10 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm