ive tryed it and i see the numbers at the top corner , if i change the number of zero's in (d2, "##0.000") i can change the number of decimal points .i'm not sure how this works into the application
The above code converts a string to a double.
.
ive tryed it and i see the numbers at the top corner , if i change the number of zero's in (d2, "##0.000") i can change the number of decimal points .i'm not sure how this works into the application
ive tryed the same code using my textbox , if i try this with more than one number i get error conversion from string to double not valid
yea, thats what I'm working on.
.
Ok, this will parse a sample .txt file, then divide each number on each line by 100, then insert the answer number into a second richtextbox.
It's far from finished, should get you started.
Try the sample 123.txt file that I included.
.
i strip down some of the stuff within the converter ,but i still have a few more garbage lines to pull out of the generated gcode ,im not sure how to outright delete them so ive replaced them with a line space , which i will need to figure out how to close them up at a later time , i still need to add a textbox for z moves and stuff ,
its this mass division of all the numbers that has me stumped
You can do something like this:
TextBox1.Text = Replace(TextBox1.Text, ".", "")
That would delete a decimal point.
.
thats pretty good , i took a quick peek at it , i'll go at it a bit more this evening
i really appreciate all the help your giving me ,i see your a man who clearly loves a challenge
thanks
Curt
yeah, sometimes I just can't let it (challenge) go.
You realize your going to be doing a lot of parsing on those latex files...That file you posted was over 16,000 lines, I'm not sure how fast the code I posted will work.
Any chance you can post a screenshot of the code that you've plotted?
Also, whats up with the latex extension, I've never heard of that before?
.
i'll try to post a screen shot for you ,
latex i have no clue about , i was bored one night and looked at how inscape saves every file type ,when i opened the latex file it was clear how everything was point to point so after some simply replaced text in the file i had a solid looking gcode file
from the sample tex file in converter zip
this is what what the path looks loke minus the rapid moves
its a bit rough but it gives a good idea of what inkscape can put out into the tex file , i find it similar to the dxf files it puts out
if you push back some and envision the path being cut with a v-bit i think it would come out pretty good