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:

Alot of code for Nothing


CamNinja
 Share

Recommended Posts

Good Afternoon all,

I'm doing some engraving on a Horizonal wrapping the text around a cylinder, Im using X5 with the generic fanuc post. I have Two issues, The first is when I project the lettering to the cylinder it is getting distorted Im using scale to reverse the effects but its more like a coverup than a fix and it only fools about 90% of the people who see it. How can I take a flat pattern and project it onto a curved surface with no distortion? The second issue is The amount of code is crazy, 8 letters is like 11,000 lines of code Here is just 1 letter I have played with all kinds of setting just obviously not the right ones. Any help is greatly appriciated.

 

( C )

Y1.9691 B5.835

Z2.2

G1 Z1.99 F6.

Y1.9714 B5.914 F331.66

Y1.9736 B5.996

Y1.9757 B6.079 F347.26

Y1.9768 B6.122

Y1.9777 B6.164 F363.88

Y1.9787 B6.208

Y1.9796 B6.251

Y1.9805 B6.295

Y1.9814 B6.34

Y1.9823 B6.385 F377.13

Y1.9831 B6.43

Y1.9839 B6.476 F387.29

Y1.9846 B6.522

Y1.9854 B6.568

Y1.9861 B6.615

Y1.9868 B6.662 F398.97

Y1.9874 B6.709

Y1.988 B6.757

Y1.9886 B6.805

Y1.9892 B6.853

Y1.9897 B6.902 F411.31

Y1.9902 B6.95

Y1.9907 B6.999

Y1.9912 B7.049

Y1.9916 B7.098

Y1.992 B7.148 F422.22

Y1.9923 B7.198

Y1.9927 B7.248

Y1.993 B7.298

Y1.9932 B7.349

Y1.9935 B7.399

Y1.9937 B7.45

Y1.9938 B7.501

Y1.994 B7.552

Y1.9941 B7.603

Y1.9942 B7.655

B7.706

B7.757

B7.809

B7.86

Y1.9941 B7.912

Y1.994 B7.964

Y1.9939 B8.015

Y1.9937 B8.067

Y1.9935 B8.119

Y1.9933 B8.17

Y1.993 B8.221

Y1.9927 B8.272

Y1.9924 B8.323

Y1.992 B8.373

Y1.9917 B8.423

Y1.9913 B8.473

Y1.9908 B8.523

Y1.9903 B8.573

Y1.9898 B8.622

Y1.9893 B8.671

Y1.9888 B8.719 F411.78

Y1.9882 B8.768

Y1.9876 B8.816

Y1.9869 B8.863 F400.22

Y1.9863 B8.91

Y1.9856 B8.957

Y1.9848 B9.004

Y1.9841 B9.05

Y1.9833 B9.096 F388.14

Y1.9825 B9.141

Y1.9817 B9.186

Y1.9808 B9.231 F376.74

Y1.9799 B9.275

Y1.979 B9.319

Y1.9781 B9.362

Y1.9771 B9.405 F361.19

Y1.9761 B9.447

Y1.9751 B9.489

Y1.973 B9.571 F348.34

Y1.9708 B9.651

Y1.9685 B9.729 F328.86

Y1.9661 B9.805 F318.12

Y1.9636 B9.878 F306.53

Y1.961 B9.949 F296.13

Y1.9583 B10.018 F284.74

Y1.9555 B10.083 F271.3

Y1.954 B10.114 F257.51

Y1.9526 B10.143

Y1.9511 B10.17 F227.58

Y1.9495 B10.196 F215.04

Y1.948 B10.219 F204.81

Y1.9464 B10.241 F189.73

Y1.9448 B10.262 F176.96

Y1.9432 B10.28 F156.1

Y1.9416 B10.297 F142.64

Y1.9399 B10.311 F122.22

Y1.9382 B10.325

Y1.9366 B10.336 F96.01

Y1.9349 B10.345 F79.2

Y1.9332 B10.353 F68.81

Y1.9315 B10.359 F51.51

Y1.9297 B10.363 F35.82

Y1.928 B10.366 F23.26

Y1.9263 F15.

Y1.9246 B10.365

Y1.9229 B10.362 F25.76

Y1.9212 B10.357 F40.75

Y1.9194 B10.351 F53.86

Y1.9177 B10.342 F77.79

Y1.916 B10.332 F88.35

Y1.9144 B10.32 F106.22

Y1.9127 B10.306 F116.53

Y1.911 B10.291 F132.22

Y1.9094 B10.273 F155.72

Y1.9078 B10.254

Y1.9062 B10.233 F177.85

Y1.9046 B10.21 F192.59

Y1.903 B10.185 F208.09

Y1.9015 B10.159 F225.03

Y1.9 B10.13 F238.63

Y1.8985 B10.1

Y1.8971 B10.069 F258.25

Y1.8957 B10.037

Y1.8943 B10.004 F269.43

Y1.8929 B9.97 F279.94

Y1.8917 B9.937 F293.56

Y1.8904 B9.903

Y1.8892 B9.868 F309.97

Y1.888 B9.832

Y1.8869 B9.796 F322.15

Y1.8857 B9.758

Y1.8846 B9.72 F333.41

Y1.8835 B9.682

Y1.8814 B9.603 F345.66

Y1.8794 B9.522

Y1.8775 B9.439 F362.69

Y1.8757 B9.354

Y1.8748 B9.311 F373.37

Y1.874 B9.268

Y1.8732 B9.224

Y1.8724 B9.18

Y1.8716 B9.136

Y1.8709 B9.092 F389.62

Y1.8702 B9.047

Y1.8694 B9.

Y1.8688 B8.953 F402.85

Y1.8681 B8.905

Y1.8675 B8.858

Y1.8669 B8.81

Y1.8664 B8.762

Y1.8658 B8.714

Y1.8654 B8.665 F417.35

Y1.8649 B8.617

Y1.8645 B8.568

Y1.8641 B8.519

Y1.8637 B8.47

Y1.8634 B8.421

Y1.863 B8.372

Y1.8628 B8.323 F427.97

Y1.8625 B8.274

Y1.8623 B8.224

Y1.8621 B8.175

Y1.862 B8.125

Y1.8618 B8.076

Y1.8617 B8.026

B7.977

B7.927

B7.877

B7.828

B7.778

Y1.8618 B7.729

Y1.8619 B7.68

Y1.8621 B7.63

Y1.8623 B7.581

Y1.8625 B7.532

Y1.8627 B7.483

Y1.863 B7.434

Y1.8633 B7.386

Y1.8636 B7.337

Y1.864 B7.289

Y1.8644 B7.241

Y1.8648 B7.193

Y1.8652 B7.145

Y1.8657 B7.097 F413.83

Y1.8662 B7.05

Y1.8667 B7.003

Y1.8673 B6.956

Y1.8679 B6.909

Y1.8685 B6.865 F402.82

Y1.8691 B6.82

Y1.8698 B6.777

Y1.8704 B6.733

Y1.8712 B6.69 F386.16

Y1.8719 B6.647

Y1.8726 B6.604

Y1.8734 B6.562

Y1.8742 B6.52 F375.26

Y1.8751 B6.478

Y1.8759 B6.437

Y1.8768 B6.396 F362.33

Y1.8778 B6.355

Y1.8787 B6.315

Y1.8797 B6.275

Y1.8817 B6.196 F349.04

Y1.8838 B6.12 F337.57

Y1.886 B6.045 F327.53

Y1.8884 B5.972 F315.39

G0 Z2.25

Link to comment
Share on other sites

you should be using the translate/roll command to wrap your text around the cylinder

Its funny because I was looking for Wrap Thats what I use in Solidworks. It looks like it Rolled correctly

 

And as far as the huge amount of code... there is probably a tolerance/filter setting or a max deg/step setting that you need to adjust. What toolpath are you using?

 

Im sure there is Im not sure what to change thou. I'm using contour with axis substitution.

Link to comment
Share on other sites

It has to due with how the letters were created. You'll probably notice that the letters before they were wrapped are made up of multiple lines, for instance a T will be made up of three lines, you can join the entities before wrapping them. Or you could leave the geom flat and let the toolpath wrap the geom.

Link to comment
Share on other sites

It has to due with how the letters were created. You'll probably notice that the letters before they were wrapped are made up of multiple lines, for instance a T will be made up of three lines, you can join the entities before wrapping them. Or you could leave the geom flat and let the toolpath wrap the geom.

 

I fixed the geometry for instance the C in the example above is 1 entity however when I look at my screen statistics it says 1606 lines and 26 arcs (total Not just the C)?

 

^^^That is not correct it looks like I have duplicate lines^^^

Link to comment
Share on other sites

Splines will give tons of code, you need to try and get lines & arcs. Can you put up a couple screenshots, or a file to the FTP? What are you engraving, on what diameter?

 

Its nothing real fancy just lettering wrapped around a 4" diameter. Roll worked perfect but there is still a bunch of code; I got 2 samples finished today, but I would still like to know how to reduce the amount of code. Its the #1 complaint I get from the shop floor and its understandable.

Link to comment
Share on other sites
I got 2 samples finished today, but I would still like to know how to reduce the amount of code.

Get the file up on the FTP here or shoot the file to your reseller, let him (her) know you already have a couple good parts but the amount of code is a problem for your shop.

Link to comment
Share on other sites
  • 2 weeks later...

I think you may like to try changing your Filter Tolerance between 0.05 to 0.1...that may start to combine all the little linear movements into arcs.

 

Go to the Parameters of your Contour toolpath,

go to 'Arc Filter / Tolerance',

set the Filter ratio to Custom,

and type 0.05 in the 'Filter tolerance' textbox.

Make sure "Create arcs in XY" is checked. You may want the others checked, too...

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...