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:

spaces - post variable


CarbonCAD
 Share

Recommended Posts

I don't want spaces between variables when they are posted. I though I remember that all I need to do is set the spaces variable to 0, but that is not working. Any Ideas?

 

code:

# --------------------------------------------------------------------------

# General Output Settings

# --------------------------------------------------------------------------

sub_level$ : 1 #CD_VAR Enable automatic subprogram support

breakarcs$ : 0 #CD_VAR Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs

arctype$ : 1 #CD_VAR Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.,

#5 = R no sign, 6 = R signed neg. over 180

do_full_arc$ : 0 #CD_VAR Allow full circle output? 0=no, 1=yes

helix_arc$ : 0 #CD_VAR Support helix arc output, 0=no, 1=all planes, 2=XY plane only

arccheck$ : 1 #CD_VAR Check for small arcs, convert to linear

atol$ : 0.01 #CD_VAR Angularity tolerance for arccheck

ltol$ : 0.002 #CD_VAR Length tolerance for arccheck

vtol$ : 0.0001#System tolerance

maxfeedpm : 500 #Limit for feed in inch/min

ltol_m : 0.05 #Length tolerance for arccheck, metric

vtol_m : 0.0025#System tolerance, metric

maxfeedpm_m : 10000 #Limit for feed in mm/min

force_wcs : no$ #Force 'H' fixture offset output at every toolchange?

spaces$ : 0 #CD_VAR Number of spaces to add between fields

omitseq$ : no$ #CD_VAR Omit sequence numbers?

seqmax$ : 9999 #CD_VAR Max. sequence number

stagetool : 0 #0 = Do not pre-stage tools, 1 = Stage tools

use_gear : 0 #Output gear selection code, 0=no, 1=yes

max_speed : 10000 #Maximum spindle speed

min_speed : 50 #Minimum spindle speed

nobrk$ : no$ #CD_VAR Omit breakup of x, y & z rapid moves

progname$ : 1 #Use uppercase for program name (sprogname)

tap_ipr : yes$ #Do G84 tapping using IPR (G95) feed mode?

do_M01 : yes$ #Output 'M01" (Optional STOP) at toolchanges ?


Link to comment
Share on other sites

Just thought I should point this out since it appears in all of our posts (and I believe Inhouses posts since they are based on our posts) since X was released. If you look at the comments at the top of the post you will find the following comment:

 

code:

# - Variable initialization with CD_VAR are read directly from CD.  Changing these initial values

# in the post will not effect output. These values are only processed during the update post routine.

This relates directly to many of the variable initializations you display above. Like:

 

code:

sub_level$   : 1     #CD_VAR Enable automatic subprogram support

breakarcs$ : 0 #CD_VAR Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs

arctype$ : 1 #CD_VAR Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.,

#5 = R no sign, 6 = R signed neg. over 180

do_full_arc$ : 0 #CD_VAR Allow full circle output? 0=no, 1=yes

helix_arc$ : 0 #CD_VAR Support helix arc output, 0=no, 1=all planes, 2=XY plane only

arccheck$ : 1 #CD_VAR Check for small arcs, convert to linear

atol$ : 0.01 #CD_VAR Angularity tolerance for arccheck

ltol$ : 0.002 #CD_VAR Length tolerance for arccheck

spaces$ : 0 #CD_VAR Number of spaces to add between fields

omitseq$ : no$ #CD_VAR Omit sequence numbers?

seqmax$ : 9999 #CD_VAR Max. sequence number

nobrk$ : no$ #CD_VAR Omit breakup of x, y & z rapid moves

The next note at the top of the post expands on this and relates to variables that are set by MD or CD parameters:

 

code:

 

# - Variable initialization with SET_BY_MD or SET_BY_CD are overwritten in this post by parameter or

# variable settings from MD or CD.

These refer to initializations like:

 

code:

vmc          : 1     #SET_BY_MD 0 = Horizontal Machine, 1 = Vertical Mill 

rot_on_x : 1 #SET_BY_MD Default Rotary Axis Orientation

#0 = Off, 1 = About X, 2 = About Y, 3 = About Z

rot_ccw_pos : 0 #SET_BY_MD Axis signed dir, 0 = CW positive, 1 = CCW positive

index : 0 #SET_BY_MD Use index positioning, 0 = Full Rotary, 1 = Index only

ctable : 5 #SET_BY_MD Degrees for each index step with indexing spindle

use_frinv : no$ #SET_BY_CD Use Inverse Time Feedrates in 4 Axis, (0 = no, 1 = yes)

maxfrdeg : 2000 #SET_BY_MD Limit for feed in deg/min

maxfrinv : 999.99#SET_BY_MD Limit for feed inverse time

maxfrinv_m : 99.99 #SET_BY_MD Maximum feedrate - inverse time

 

stagetool : 0 #SET_BY_CD 0 = Do not pre-stage tools, 1 = Stage tools

use_frinv : no$ #SET_BY_CD Use Inverse Time Feedrates in 4 Axis, (0 = no, 1 = yes)

Hope this helps stop the head bashing some smile.gif

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