Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

VBscript - support


Recommended Posts

Hello all,

 

I have what might be a unique challenge.

 

I have written a program in VB-6 that calculates a series of data points.

VB-6 then creates a ".DXF" file containing point data. I then import all

the points into MASTERCAM.

 

Now the challenge:

 

I wish to write a script that calls MASTERCAM to create an automatic spline

through a series of points. These points have shown to be sequentially numbered

in the MASTERCAM data base. For example, I wish to make a spline using points 1 to 400,

then another spline using 401 to 800. I might have as many as 50 splines.

 

Is there a way to use script to call "RUNMASTERCAMCOMMAND" and then allow script to

pass point data ( either database number, or position data) to the spline creation?

 

Any advice is most appreciated.

 

Please feel free to email with comments, questions, or suggestions.

 

Regards,

Steven

Link to comment
Share on other sites

As a second thought, Does anyone have some sample code

that would allow me to write the spline from my VB-6 program

into the ".DXF" file? This might be the easiest way.

 

I have noticed that later versions of ".DXF" now support

splines. The problem would seem to be in getting all the correct

information into the ".DXF" file.

 

Any Ideas?

 

Regards,

Steven

Link to comment
Share on other sites
Guest SAIPEM

Simply create an ASCII *.txt file with the points and a proper End of Row Marker instead of the DXF file.

 

You can then read the ASCII file directly as splines by selecting "Splines" from the Options in the File|Open Dialogue.

 

 

-2.529435,2.845789,-0.000998

-2.529435,2.851932,0.09873127

-2.529435,2.942877,0.125

-2.529435,3.043602,0.125

-2.529435,3.144327,0.125

-2.529435,3.245052,0.125

-2.529435,3.345777,0.125

-2.529435,3.446503,0.125

-2.529435,3.547228,0.125

-2.529435,3.647953,0.125

-2.529435,3.748678,0.125

-2.529435,3.849403,0.125

-2.529435,3.950128,0.125

-2.529435,4.050853,0.125

-2.529435,4.151579,0.125

-2.529435,4.252304,0.125

-2.529435,4.343249,0.09873083

-2.529435,4.349391,-0.0009658607

NewRow

-2.425436,2.53989,-0.000387

-2.425436,2.540087,0.09790504

-2.425436,2.545903,0.1955573

-2.425436,2.61559,0.2592336

-2.425436,2.713235,0.2549016

-2.425436,2.811283,0.2480982

-2.425436,2.909565,0.2461

-2.425436,3.007837,0.2461

-2.425436,3.10613,0.2461

-2.425436,3.204422,0.2461

-2.425436,3.302714,0.2461

-2.425436,3.401006,0.2461

-2.425436,3.499299,0.2461

-2.425436,3.597591,0.2461

-2.425436,3.695883,0.2461

-2.425436,3.794175,0.2461

-2.425436,3.892468,0.2461

-2.425436,3.99076,0.2461

-2.425436,4.089052,0.2461

-2.425436,4.187344,0.2461

-2.425436,4.285684,0.2461

-2.425436,4.383899,0.2480983

-2.425436,4.481946,0.2549017

-2.425436,4.579592,0.2592331

-2.425436,4.649277,0.1955551

-2.425436,4.655093,0.09790337

-2.425436,4.65529,-0.000340173

NewRow

-2.342436,2.45549,-0.000218

-2.342436,2.455687,0.09876254

-2.342436,2.460219,0.1973786

-2.342436,2.515073,0.2773398

-2.342436,2.6086,0.3030156

-2.342436,2.706977,0.2922357

-2.342436,2.805761,0.2861516

-2.342436,2.904725,0.2848

-2.342436,3.003706,0.2848

-2.342436,3.102687,0.2848

-2.342436,3.201667,0.2848

-2.342436,3.300648,0.2848

-2.342436,3.399629,0.2848

-2.342436,3.49861,0.2848

-2.342436,3.59759,0.2848

-2.342436,3.696571,0.2848

-2.342436,3.795552,0.2848

-2.342436,3.894533,0.2848

-2.342436,3.993513,0.2848

-2.342436,4.092494,0.2848

-2.342436,4.191475,0.2848

-2.342436,4.290456,0.2848

-2.342436,4.38942,0.2861517

-2.342436,4.488204,0.2922358

-2.342436,4.586579,0.3030155

-2.342436,4.680106,0.277341

-2.342436,4.734962,0.1973752

-2.342436,4.739493,0.09876193

-2.342436,4.73969,-0.0001787679

NewRow

-2.163436,2.36419,0

-2.163436,2.364389,0.09919172

-2.163436,2.367295,0.1982358

-2.163436,2.402738,0.2900908

-2.163436,2.473017,0.3590185

-2.163436,2.565541,0.3926722

-2.163436,2.663693,0.3849991

-2.163436,2.758269,0.3551782

-2.163436,2.85491,0.3329407

-2.163436,2.953055,0.3187586

-2.163436,3.052038,0.3127285

-2.163436,3.151227,0.3125

-2.163436,3.250418,0.3125

-2.163436,3.34961,0.3125

-2.163436,3.448802,0.3125

-2.163436,3.547994,0.3125

-2.163436,3.647186,0.3125

-2.163436,3.746378,0.3125

-2.163436,3.84557,0.3125

-2.163436,3.944762,0.3125

-2.163436,4.043954,0.3125

-2.163436,4.143144,0.3127285

-2.163436,4.242125,0.3187586

-2.163436,4.340271,0.3329408

-2.163436,4.436911,0.3551781

-2.163436,4.531482,0.3849977

-2.163436,4.629639,0.3926721

-2.163436,4.722165,0.359017

-2.163436,4.792443,0.2900891

-2.163436,4.827885,0.1982351

-2.163436,4.830791,0.09919117

-2.163436,4.83099,0.00002711868

NewRow

-1.890435,2.34659,0

-1.890435,2.34679,0.1001969

-1.890435,2.34699,0.2004223

-1.890435,2.347191,0.3005906

-1.890435,2.355483,0.4000798

-1.890435,2.399453,0.4893759

-1.890435,2.474776,0.5544375

-1.890435,2.569508,0.5849545

-1.890435,2.668648,0.576092

-1.890435,2.756471,0.529251

-1.890435,2.831281,0.4627048

-1.890435,2.915199,0.4081525

-1.890435,3.007009,0.3683121

-1.890435,3.104169,0.3442863

-1.890435,3.203973,0.3367455

-1.890435,3.303635,0.3458991

-1.890435,3.400431,0.3713579

-1.890435,3.497799,0.3945705

-1.890435,3.59759,0.4023711

-1.890435,3.697381,0.3945705

-1.890435,3.794748,0.371358

-1.890435,3.891546,0.345899

-1.890435,3.991208,0.3367454

-1.890435,4.09101,0.3442861

-1.890435,4.18817,0.368312

-1.890435,4.279985,0.4081543

-1.890435,4.363895,0.4627017

-1.890435,4.438711,0.5292529

-1.890435,4.526533,0.5760921

-1.890435,4.625672,0.5849545

-1.890435,4.720403,0.5544382

-1.890435,4.795727,0.4893758

-1.890435,4.839696,0.4000811

-1.890435,4.847989,0.3005906

-1.890435,4.84819,0.2003813

-1.890435,4.84839,0.1001968

-1.890435,4.84859,0.00003524412

NewRow

-1.591435,2.34659,0

-1.591435,2.346789,0.09957917

-1.591435,2.346988,0.1991583

-1.591435,2.347187,0.2987375

-1.591435,2.347386,0.3983167

-1.591435,2.349264,0.4978234

-1.591435,2.380116,0.5918194

-1.591435,2.44501,0.6664877

-1.591435,2.533777,0.7101354

-1.591435,2.632537,0.7159365

-1.591435,2.725811,0.6829767

-1.591435,2.798999,0.6164164

-1.591435,2.856889,0.5355473

-1.591435,2.930035,0.4682611

-1.591435,3.016159,0.4186764

-1.591435,3.111071,0.3892029

-1.591435,3.210142,0.3812816

-1.591435,3.30853,0.3952992

-1.591435,3.402292,0.4285526

-1.591435,3.498495,0.4537907

-1.591435,3.59759,0.462286

-1.591435,3.696685,0.4537907

-1.591435,3.792888,0.4285525

-1.591435,3.886653,0.3952982

-1.591435,3.985046,0.3812813

-1.591435,4.084107,0.3892024

-1.591435,4.179019,0.4186755

-1.591435,4.265151,0.4682655

-1.591435,4.338292,0.535548

-1.591435,4.39618,0.6164159

-1.591435,4.469368,0.682976

-1.591435,4.562645,0.7159368

-1.591435,4.661397,0.7101369

-1.591435,4.750169,0.6664882

-1.591435,4.815065,0.5918187

-1.591435,4.845915,0.4978252

-1.591435,4.847794,0.3983169

-1.591435,4.847993,0.2987378

-1.591435,4.848192,0.1991586

-1.591435,4.848391,0.09957944

-1.591435,4.84859,0.0000002755977

NewRow

-1.348435,2.34659,0

-1.348435,2.346788,0.09917166

-1.348435,2.346987,0.1983433

-1.348435,2.347185,0.297515

-1.348435,2.347383,0.3966866

-1.348435,2.347582,0.4959033

-1.348435,2.365436,0.592758

-1.348435,2.419308,0.6752564

-1.348435,2.500872,0.7305316

-1.348435,2.597448,0.7499986

-1.348435,2.694055,0.7306383

-1.348435,2.77568,0.675453

-1.348435,2.845048,0.6047444

-1.348435,2.926371,0.5482547

-1.348435,3.01723,0.5088985

-1.348435,3.114063,0.4882189

-1.348435,3.213069,0.4870261

-1.348435,3.310374,0.5053678

-1.348435,3.403168,0.5401764

-1.348435,3.49891,0.5655554

-1.348435,3.59759,0.5740998

-1.348435,3.69627,0.5655554

-1.348435,3.792012,0.5401764

-1.348435,3.884805,0.5053682

-1.348435,3.982107,0.4870265

-1.348435,4.081117,0.4882188

-1.348435,4.177949,0.5088984

-1.348435,4.268807,0.5482535

-1.348435,4.350127,0.6047408

-1.348435,4.4195,0.6754527

-1.348435,4.501124,0.7306378

-1.348435,4.597733,0.7499986

-1.348435,4.694312,0.73053

-1.348435,4.775872,0.6752562

-1.348435,4.829743,0.5927598

-1.348435,4.847598,0.4958583

-1.348435,4.847797,0.3966866

-1.348435,4.847995,0.2975149

-1.348435,4.848193,0.1983433

-1.348435,4.848392,0.09917162

-1.348435,4.84859,0.00004181309

NewRow

-1.066436,2.38739,-0.000082

-1.066436,2.387588,0.09916633

-1.066436,2.387787,0.1984147

-1.066436,2.387985,0.297663

-1.066436,2.388184,0.3969113

-1.066436,2.388382,0.4961597

-1.066436,2.409773,0.592138

-1.066436,2.472612,0.6677652

-1.066436,2.563053,0.7063295

-1.066436,2.661128,0.6993176

-1.066436,2.751089,0.6577351

-1.066436,2.846884,0.6327482

-1.066436,2.945883,0.6320541

-1.066436,3.042017,0.6556941

-1.066436,3.129447,0.7021468

-1.066436,3.215069,0.7522271

-1.066436,3.305977,0.7919153

-1.066436,3.400915,0.8206623

-1.066436,3.498569,0.8380708

-1.066436,3.597589,0.8439004

-1.066436,3.696608,0.8380711

-1.066436,3.794261,0.8206633

-1.066436,3.889198,0.791917

-1.066436,3.980107,0.7522292

-1.066436,4.06573,0.7021484

-1.066436,4.153153,0.655698

-1.066436,4.249291,0.6320548

-1.066436,4.348293,0.6327478

-1.066436,4.444091,0.6577351

-1.066436,4.534046,0.6993157

-1.066436,4.632123,0.70633

-1.066436,4.722564,0.6677682

-1.066436,4.7854,0.5921375

-1.066436,4.806798,0.4961627

-1.066436,4.806996,0.3969115

-1.066436,4.807195,0.2976631

-1.066436,4.807393,0.1984148

-1.066436,4.807592,0.09916646

-1.066436,4.80779,-0.00008187795

NewRow

-0.8904352,2.45619,-0.000219

-0.8904352,2.456392,0.1010082

-0.8904352,2.456595,0.2022354

-0.8904352,2.456797,0.3034626

-0.8904352,2.457,0.4046898

-0.8904352,2.464543,0.5052138

-0.8904352,2.517047,0.590331

-0.8904352,2.605834,0.6363489

-0.8904352,2.706263,0.6330656

-0.8904352,2.807221,0.6340687

-0.8904352,2.904712,0.6603188

-0.8904352,2.992524,0.7101428

-0.8904352,3.073326,0.7710497

-0.8904352,3.159963,0.8233179

-0.8904352,3.251753,0.8658907

-0.8904352,3.347614,0.8982662

-0.8904352,3.446421,0.9200641

-0.8904352,3.547006,0.931027

-0.8904352,3.648177,0.9310269

-0.8904352,3.748759,0.9200641

-0.8904352,3.847566,0.8982662

-0.8904352,3.943427,0.8658906

-0.8904352,4.035217,0.8233181

-0.8904352,4.121854,0.7710493

-0.8904352,4.202655,0.7101436

-0.8904352,4.290468,0.6603187

-0.8904352,4.387959,0.6340687

-0.8904352,4.488919,0.6330658

-0.8904352,4.589346,0.6363489

-0.8904352,4.678134,0.5903301

-0.8904352,4.730638,0.5052133

-0.8904352,4.73818,0.4046895

-0.8904352,4.738383,0.3034623

-0.8904352,4.738585,0.2022351

-0.8904352,4.738788,0.1010079

-0.8904352,4.73899,-0.0001925499

NewRow

-0.7014351,2.534189,-0.000375

-0.7014351,2.534391,0.1007388

-0.7014351,2.534594,0.2018526

-0.7014351,2.534796,0.3029664

-0.7014351,2.537148,0.4039623

-0.7014351,2.578261,0.4950071

-0.7014351,2.660377,0.5518959

-0.7014351,2.75736,0.5797334

-0.7014351,2.841716,0.6346151

-0.7014351,2.911939,0.7073221

-0.7014351,2.988022,0.7738533

-0.7014351,3.070525,0.8322405

-0.7014351,3.158577,0.8818669

-0.7014351,3.25125,0.9222096

-0.7014351,3.347569,0.9528437

-0.7014351,3.446517,0.9734467

-0.7014351,3.547059,0.983803

-0.7014351,3.648117,0.9838032

-0.7014351,3.748659,0.9734473

-0.7014351,3.847612,0.9528435

-0.7014351,3.943931,0.9222092

-0.7014351,4.036602,0.8818672

-0.7014351,4.124654,0.8322413

-0.7014351,4.207158,0.7738533

-0.7014351,4.283244,0.7073188

-0.7014351,4.353464,0.6346154

-0.7014351,4.437821,0.5797333

-0.7014351,4.534808,0.5518944

-0.7014351,4.616919,0.495007

-0.7014351,4.658032,0.4039626

-0.7014351,4.660384,0.3029664

-0.7014351,4.660586,0.2018526

-0.7014351,4.660789,0.1007387

-0.7014351,4.660991,-0.000340398

NewRow

-0.5294352,2.534189,-0.000375

-0.5294352,2.534386,0.09820576

-0.5294352,2.534584,0.1967865

-0.5294352,2.534781,0.2953673

-0.5294352,2.535907,0.3939158

-0.5294352,2.570647,0.4849669

-0.5294352,2.646397,0.5462865

-0.5294352,2.739648,0.5777263

-0.5294352,2.820876,0.6328029

-0.5294352,2.888175,0.7047912

-0.5294352,2.960988,0.7711927

-0.5294352,3.039984,0.8301058

-0.5294352,3.124395,0.8809577

-0.5294352,3.213401,0.9232543

-0.5294352,3.306137,0.956585

-0.5294352,3.401702,0.9806263

-0.5294352,3.499171,0.995145

-0.5294352,3.597586,1

-0.5294352,3.696006,0.9951454

-0.5294352,3.793475,0.9806269

-0.5294352,3.889042,0.9565854

-0.5294352,3.981779,0.9232543

-0.5294352,4.070785,0.8809576

-0.5294352,4.155195,0.8301063

-0.5294352,4.23419,0.7711939

-0.5294352,4.307004,0.7047919

-0.5294352,4.374304,0.6328032

-0.5294352,4.455532,0.5777264

-0.5294352,4.548787,0.5462847

-0.5294352,4.624533,0.4849666

-0.5294352,4.659273,0.3939099

-0.5294352,4.660399,0.2953672

-0.5294352,4.660596,0.1967864

-0.5294352,4.660794,0.09820563

-0.5294352,4.660991,-0.000341318

NewRow

-0.2794352,2.534189,-0.000375

-0.2794352,2.53439,0.09979522

-0.2794352,2.53459,0.1999654

-0.2794352,2.534791,0.3001357

-0.2794352,2.536659,0.4002285

-0.2794352,2.575449,0.491302

-0.2794352,2.655211,0.549932

-0.2794352,2.753388,0.5681283

-0.2794352,2.845958,0.6051753

-0.2794352,2.921975,0.6698563

-0.2794352,2.996119,0.7371534

-0.2794352,3.076924,0.7962848

-0.2794352,3.163492,0.8465942

-0.2794352,3.25487,0.887528

-0.2794352,3.350045,0.9186319

-0.2794352,3.447961,0.9395607

-0.2794352,3.54753,0.9500827

-0.2794352,3.647647,0.9500828

-0.2794352,3.747218,0.9395608

-0.2794352,3.845135,0.9186319

-0.2794352,3.94031,0.887528

-0.2794352,4.031688,0.8465945

-0.2794352,4.118257,0.7962842

-0.2794352,4.199062,0.7371526

-0.2794352,4.273204,0.6698566

-0.2794352,4.349222,0.6051753

-0.2794352,4.441792,0.5681284

-0.2794352,4.539967,0.5499328

-0.2794352,4.619731,0.4913023

-0.2794352,4.658521,0.4002251

-0.2794352,4.660389,0.3001358

-0.2794352,4.66059,0.1999656

-0.2794352,4.66079,0.09979539

-0.2794352,4.660991,-0.0003748305

NewRow

0.2195644,2.534189,-0.000375

0.2195644,2.534391,0.1004832

0.2195644,2.534593,0.2013413

0.2195644,2.534795,0.3021995

0.2195644,2.537049,0.4029406

0.2195644,2.577609,0.4939796

0.2195644,2.659091,0.551374

0.2195644,2.758672,0.5624001

0.2195644,2.85923,0.5678629

0.2195644,2.955579,0.5967756

0.2195644,3.041668,0.6488121

0.2195644,3.122076,0.709609

0.2195644,3.208982,0.7606851

0.2195644,3.301298,0.8011676

0.2195644,3.39774,0.8304929

0.2195644,3.496965,0.8482529

0.2195644,3.597588,0.8542004

0.2195644,3.698212,0.8482532

0.2195644,3.797438,0.8304933

0.2195644,3.893882,0.8011676

0.2195644,3.986199,0.7606848

0.2195644,4.073105,0.7096083

0.2195644,4.153511,0.6488131

0.2195644,4.239601,0.5967758

0.2195644,4.335951,0.5678628

0.2195644,4.436507,0.5624001

0.2195644,4.536092,0.551373

0.2195644,4.617571,0.4939798

0.2195644,4.65813,0.4029438

0.2195644,4.660385,0.3021996

0.2195644,4.660587,0.2013415

0.2195644,4.660789,0.1004833

0.2195644,4.660991,-0.0003748208

NewRow

0.4295645,2.50449,-0.000316

0.4295645,2.504689,0.09945605

0.4295645,2.504889,0.1992281

0.4295645,2.505088,0.2990002

0.4295645,2.505292,0.3987642

0.4295645,2.530467,0.4942527

0.4295645,2.598268,0.5660596

0.4295645,2.692159,0.5966688

0.4295645,2.79191,0.5971

0.4295645,2.89168,0.5973497

0.4295645,2.990429,0.6103983

0.4295645,3.084634,0.6427631

0.4295645,3.171075,0.6923715

0.4295645,3.259016,0.7393656

0.4295645,3.35205,0.7752442

0.4295645,3.448774,0.7994671

0.4295645,3.547735,0.81167

0.4295645,3.647444,0.81167

0.4295645,3.746405,0.7994671

0.4295645,3.84313,0.7752442

0.4295645,3.936164,0.7393657

0.4295645,4.024105,0.6923717

0.4295645,4.110546,0.6427632

0.4295645,4.204751,0.6103983

0.4295645,4.3035,0.5973497

0.4295645,4.40327,0.5971

0.4295645,4.503021,0.5966689

0.4295645,4.596912,0.5660596

0.4295645,4.664714,0.4942522

0.4295645,4.689888,0.398781

0.4295645,4.690092,0.2990001

0.4295645,4.690291,0.1992281

0.4295645,4.690491,0.09945603

0.4295645,4.69069,-0.0002739964

NewRow

0.6885643,2.38689,-0.000081

0.6885643,2.387089,0.09945905

0.6885643,2.387288,0.1989991

0.6885643,2.387487,0.2985392

0.6885643,2.387686,0.3980792

0.6885643,2.387885,0.4976134

0.6885643,2.409999,0.5937212

0.6885643,2.473587,0.6691077

0.6885643,2.564606,0.7070897

0.6885643,2.663998,0.7097

0.6885643,2.763538,0.7097

0.6885643,2.863078,0.7097

0.6885643,2.962619,0.7097

0.6885643,3.061468,0.7009946

0.6885643,3.159421,0.6846317

0.6885643,3.258384,0.6926349

0.6885643,3.353126,0.722777

0.6885643,3.44923,0.7484373

0.6885643,3.547855,0.7613774

0.6885643,3.647325,0.7613774

0.6885643,3.74595,0.7484373

0.6885643,3.842054,0.722777

0.6885643,3.936796,0.6926349

0.6885643,4.035759,0.6846317

0.6885643,4.133712,0.7009947

0.6885643,4.232561,0.7097

0.6885643,4.332102,0.7097

0.6885643,4.431642,0.7097

0.6885643,4.531182,0.7097

0.6885643,4.630576,0.7070894

0.6885643,4.721592,0.6691083

0.6885643,4.785182,0.5937194

0.6885643,4.807295,0.4975733

0.6885643,4.807494,0.398079

0.6885643,4.807693,0.298539

0.6885643,4.807892,0.1989989

0.6885643,4.808091,0.09945887

0.6885643,4.80829,-0.0000551296

NewRow

0.9695644,2.34659,0

0.9695644,2.346791,0.1005987

0.9695644,2.346992,0.2011974

0.9695644,2.347194,0.3017961

0.9695644,2.347395,0.4023947

0.9695644,2.347607,0.5029456

0.9695644,2.368747,0.6006523

0.9695644,2.426453,0.6822422

0.9695644,2.511504,0.7347109

0.9695644,2.610304,0.75

0.9695644,2.710902,0.75

0.9695644,2.811501,0.75

0.9695644,2.9121,0.75

0.9695644,3.01268,0.7491676

0.9695644,3.110675,0.7280043

0.9695644,3.201706,0.6854251

0.9695644,3.299903,0.6658355

0.9695644,3.399089,0.6796037

0.9695644,3.497329,0.7008649

0.9695644,3.59759,0.7079999

0.9695644,3.697851,0.7008649

0.9695644,3.796091,0.6796039

0.9695644,3.895277,0.6658355

0.9695644,3.993474,0.6854251

0.9695644,4.084506,0.7280043

0.9695644,4.182501,0.7491676

0.9695644,4.28308,0.75

0.9695644,4.383679,0.75

0.9695644,4.484278,0.75

0.9695644,4.584877,0.75

0.9695644,4.683678,0.7347102

0.9695644,4.768727,0.6822422

0.9695644,4.826433,0.6006513

0.9695644,4.847572,0.5030262

0.9695644,4.847785,0.4023945

0.9695644,4.847986,0.3017959

0.9695644,4.848188,0.2011972

0.9695644,4.848389,0.1005985

0.9695644,4.84859,0.00004715261

NewRow

1.219564,2.34659,0

1.219564,2.346792,0.1010393

1.219564,2.346994,0.2020786

1.219564,2.347196,0.3031179

1.219564,2.347398,0.4041572

1.219564,2.347645,0.5052225

1.219564,2.369825,0.6030677

1.219564,2.428715,0.6843397

1.219564,2.514825,0.7359025

1.219564,2.614269,0.75

1.219564,2.715309,0.75

1.219564,2.816348,0.75

1.219564,2.917388,0.75

1.219564,3.01839,0.7487261

1.219564,3.116437,0.725801

1.219564,3.2044,0.6766267

1.219564,3.2974,0.6383626

1.219564,3.397822,0.6329826

1.219564,3.496945,0.652281

1.219564,3.59759,0.66

1.219564,3.698236,0.652281

1.219564,3.797357,0.6329827

1.219564,3.89778,0.6383627

1.219564,3.990782,0.6766281

1.219564,4.078743,0.725801

1.219564,4.176789,0.748726

1.219564,4.277793,0.75

1.219564,4.378832,0.75

1.219564,4.479872,0.75

1.219564,4.580911,0.75

1.219564,4.680354,0.7359026

1.219564,4.766465,0.6843402

1.219564,4.825355,0.6030688

1.219564,4.847536,0.5051888

1.219564,4.847782,0.404157

1.219564,4.847984,0.3031177

1.219564,4.848186,0.2020784

1.219564,4.848388,0.1010391

1.219564,4.84859,0.00004738087

NewRow

1.719564,2.34659,0

1.719564,2.346789,0.09960856

1.719564,2.346988,0.1992171

1.719564,2.347188,0.2988257

1.719564,2.347387,0.3984342

1.719564,2.347586,0.4980677

1.719564,2.366421,0.5951893

1.719564,2.421467,0.6774279

1.719564,2.50411,0.7318651

1.719564,2.601392,0.75

1.719564,2.701001,0.75

1.719564,2.80061,0.75

1.719564,2.900219,0.75

1.719564,2.999823,0.7498186

1.719564,3.097592,0.7325823

1.719564,3.186588,0.688588

1.719564,3.262671,0.6244751

1.719564,3.350233,0.5779528

1.719564,3.448177,0.5625

1.719564,3.547786,0.5625

1.719564,3.647395,0.5625

1.719564,3.747003,0.5625

1.719564,3.844947,0.5779529

1.719564,3.93251,0.6244762

1.719564,4.008593,0.6885886

1.719564,4.097588,0.7325823

1.719564,4.195355,0.7498185

1.719564,4.294962,0.75

1.719564,4.39457,0.75

1.719564,4.494179,0.75

1.719564,4.593788,0.75

1.719564,4.691065,0.7318672

1.719564,4.773713,0.6774278

1.719564,4.82876,0.5951856

1.719564,4.847594,0.4980037

1.719564,4.847793,0.398434

1.719564,4.847992,0.2988255

1.719564,4.848192,0.1992169

1.719564,4.848391,0.09960836

1.719564,4.84859,0.00004738087

NewRow

1.969564,2.34659,0

1.969564,2.346789,0.09960856

1.969564,2.346988,0.1992171

1.969564,2.347188,0.2988257

1.969564,2.347387,0.3984342

1.969564,2.347586,0.4980677

1.969564,2.366421,0.5951893

1.969564,2.421467,0.6774279

1.969564,2.50411,0.7318651

1.969564,2.601392,0.75

1.969564,2.701001,0.75

1.969564,2.80061,0.75

1.969564,2.900219,0.75

1.969564,2.999823,0.7498186

1.969564,3.097592,0.7325823

1.969564,3.186588,0.6885879

1.969564,3.262671,0.6244755

1.969564,3.350234,0.5779528

1.969564,3.448177,0.5625

1.969564,3.547786,0.5625

1.969564,3.647395,0.5625

1.969564,3.747003,0.5625

1.969564,3.844947,0.5779529

1.969564,3.93251,0.624476

1.969564,4.008594,0.6885889

1.969564,4.097588,0.7325823

1.969564,4.195355,0.7498185

1.969564,4.294962,0.75

1.969564,4.39457,0.75

1.969564,4.494179,0.75

1.969564,4.593788,0.75

1.969564,4.691065,0.7318672

1.969564,4.773713,0.6774278

1.969564,4.82876,0.5951856

1.969564,4.847594,0.4980037

1.969564,4.847793,0.398434

1.969564,4.847992,0.2988255

1.969564,4.848192,0.1992169

1.969564,4.848391,0.09960834

1.969564,4.84859,0.00004738087

NewRow

2.079564,2.38239,0

2.079564,2.382588,0.0992312

2.079564,2.382787,0.1984624

2.079564,2.382985,0.2976936

2.079564,2.383184,0.3969248

2.079564,2.383382,0.496156

2.079564,2.40428,0.5922649

2.079564,2.465899,0.6689351

2.079564,2.555287,0.7099812

2.079564,2.654231,0.7142

2.079564,2.753462,0.7142

2.079564,2.852694,0.7142

2.079564,2.951925,0.7142

2.079564,3.050743,0.7079843

2.079564,3.14333,0.6734345

2.079564,3.221419,0.6126807

2.079564,3.304591,0.5591497

2.079564,3.399332,0.5307339

2.079564,3.498359,0.5267

2.079564,3.59759,0.5267

2.079564,3.696822,0.5267

2.079564,3.795849,0.530734

2.079564,3.890589,0.5591497

2.079564,3.97376,0.6126799

2.079564,4.05185,0.6734345

2.079564,4.144437,0.7079842

2.079564,4.243255,0.7142

2.079564,4.342487,0.7142

2.079564,4.441718,0.7142

2.079564,4.54095,0.7142

2.079564,4.639891,0.7099816

2.079564,4.729281,0.6689356

2.079564,4.790901,0.592264

2.079564,4.811798,0.4961566

2.079564,4.811996,0.3969246

2.079564,4.812195,0.2976934

2.079564,4.812393,0.1984622

2.079564,4.812592,0.09923096

2.079564,4.81279,0.00002558379

NewRow

2.121565,2.42389,0

2.121565,2.424092,0.1011224

2.121565,2.424294,0.2022448

2.121565,2.424497,0.3033672

2.121565,2.424699,0.4044895

2.121565,2.424981,0.5056103

2.121565,2.456841,0.6000753

2.121565,2.535611,0.6611952

2.121565,2.635317,0.6727

2.121565,2.73644,0.6727

2.121565,2.837562,0.6727

2.121565,2.938685,0.6727

2.121565,3.039505,0.667898

2.121565,3.133127,0.6312233

2.121565,3.211335,0.5673697

2.121565,3.298423,0.5165086

2.121565,3.395545,0.48934

2.121565,3.496468,0.4852

2.121565,3.59759,0.4852

2.121565,3.698713,0.4852

2.121565,3.799635,0.48934

2.121565,3.896757,0.5165088

2.121565,3.983845,0.5673701

2.121565,4.062053,0.6312236

2.121565,4.155675,0.6678981

2.121565,4.256496,0.6727

2.121565,4.357618,0.6727

2.121565,4.458741,0.6727

2.121565,4.559864,0.6727

2.121565,4.659569,0.6611953

2.121565,4.738339,0.6000752

2.121565,4.770199,0.5056075

2.121565,4.770481,0.4044891

2.121565,4.770683,0.3033667

2.121565,4.770886,0.2022443

2.121565,4.771088,0.1011219

2.121565,4.77129,0.00002848258

NewRow

2.157265,2.53409,0

2.157265,2.53429,0.09982462

2.157265,2.534489,0.1996492

2.157265,2.534689,0.2994738

2.157265,2.534889,0.3992985

2.157265,2.535088,0.4991438

2.157265,2.598352,0.5625

2.157265,2.698201,0.5625

2.157265,2.798026,0.5625

2.157265,2.897851,0.5625

2.157265,2.99767,0.5622441

2.157265,3.089524,0.5273245

2.157265,3.166402,0.463826

2.157265,3.253721,0.4157687

2.157265,3.348773,0.3857789

2.157265,3.447859,0.3750223

2.157265,3.547678,0.375

2.157265,3.647502,0.375

2.157265,3.747301,0.3750221

2.157265,3.846409,0.3857792

2.157265,3.941458,0.4157685

2.157265,4.028775,0.4638234

2.157265,4.105655,0.5273238

2.157265,4.197511,0.5622442

2.157265,4.297329,0.5625

2.157265,4.397154,0.5625

2.157265,4.496979,0.5625

2.157265,4.596756,0.5625

2.157265,4.660092,0.4991655

2.157265,4.660291,0.3992979

2.157265,4.660491,0.2994733

2.157265,4.660691,0.1996487

2.157265,4.66089,0.09982408

2.157265,4.66109,0.00003535513

NewRow

Link to comment
Share on other sites

Thank you for the reply.

 

I modified the code so that I generated the ascii file complete

with row separation. Works great.

 

I guess I was trying to make it more complicated than it needed to be.

 

Thanks again for the help.

 

Regards,

Steven

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...