Metalworking (rec.crafts.metalworking) Discuss various aspects of working with metal, such as machining, welding, metal joining, screwing, casting, hardening/tempering, blacksmithing/forging, spinning and hammer work, sheet metal work.

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to rec.crafts.metalworking
external usenet poster
 
Posts: 377
Default It Pays to Do Some Math... 1.3 Million lines of code

I finished a prototype mold for somebody yesterday. Just a little 2 cavity
to test the concept. The I nested it out and blew it up to a full work
envelope 22 cavity mold and started it cutting about 10:00 last night. When
I ran a simulation on it it said it would take 23 1/2 hours. WHAT? Its
just a simple little stacked 3d cylinder shape. Didn't take me ten minutes
to do the CAD, and maybe half an hour to do the CAM. I let my "gee that
will be easy" thought over ride the fact that it still takes a lot of time
to cut a 3D cavity. Oops. For some reason I was thinking 5 or 6 hours
tops. I couldn't figure out why it will take that long. Then I scrolled to
the end of the file and checked the line counter.

1,391,851

Ok, so there are an average of 2 comment lines per MOP, and 2 lines of setup
words per MOP. Each nest creates its own group of MOPS, so that is a total
of 111 MOPs. Worst case there are 222 non-functional comment lines and
about the same number of machine setup lines of code. 1,391,851 - 450 misc
non movement lines of code.... is an insignificant difference. Most folks
would round up and say 1.4 MILLION lines of code. LOL.

I'm just praying it doesn't crash. I have no clue how I would recover this
job if I lost reference. Should finish some time this evening. I gotta
remember to break these up into smaller job files in the future.





 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How much can you do with 1000 lines of G-code? _[_2_] Metalworking 3 February 7th 10 07:47 PM
2.3 million US Soldiers vs 11.7 million Iranian Soldiers = ARMY DRAFT 127.0.0.1 Woodworking 39 November 20th 07 10:18 PM
2.3 million US Soldiers vs 11.7 million Iranian Soldiers = DRAFT 127.0.0.1 Home Ownership 0 November 13th 07 08:20 PM
Britain's police have 4.1 million people in their DNA database, about 1/2 million of them kids. Useful Info UK diy 7 May 14th 07 08:06 PM
From chalk lines to roof lines--Putting final shingles at the top [email protected] Home Repair 14 September 27th 06 01:23 AM


All times are GMT +1. The time now is 09:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 DIYbanter.
The comments are property of their posters.
 

About Us

"It's about DIY & home improvement"