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:

Kristoffersen

Members
  • Posts

    1
  • Joined

  • Last visited

Kristoffersen's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi! I´m building a C# application that creates INI files that we are using for nesting files. It looks like this: [PARAMETERS] VERSION=10.002 TRUESHAPE=FALSE ACCUNEST=0 AUTOATTACHCHAINS=TRUE EXACTMODE=0 FITPARTINPART=FALSE GUILLOTINECUT=FALSE IGNOREHOLES=FALSE LABELHEIGHT=2 LABELHEIGHTAUTO=TRUE OPSELECT_INCLUDE_TOOL_RAD=TRUE PARTTOPARTDIST=10 PROFILETOLERANCE=0.01 RESOLUTION=1 SEPARATEOPPERSHEET=TRUE SHEETFILLDIRECTION=X SHEETTOPARTDIST=0 SORTMAXVACOPS=FALSE SORTMAXVACCHAINS=FALSE SORTMINTOOLCHG=TRUE SORTMODE=2 STARTINGCORNER=1 STOPBETWEENSHEETS=0 FILLALLSHEETS=FALSE RESCBOX=2 TOOLPATHS=TRUE WORKOFFSETS=0 WORKOFFSETNUMBERING=2 AUTOORIGINS=TRUE SHEETTOSHEETDIST=1 ADDLABELS=FALSE GRAINDIRECTION=N QUANTITY=1 ONIONSKIN-ACTIVE=FALSE ONIONSKIN-AREAX=5 ONIONSKIN-AREAY=5 ONIONSKIN-IGNORETABBED=TRUE ONIONSKIN-METHOD=0 ONIONSKIN-SORT=TRUE ONIONSKIN-STOCK=0.025 ONIONSKIN-TOOLDIA=0.375 ONIONSKIN-WIDTH=2 ONIONSKIN-TOOLAUTO=TRUE COMMONEDGE=FALSE CREATEBLOCKOPS=FALSE NAMEASLABEL=FALSE SCRAPNAME=SCRAP.NSLX ADDPARTSASGROUP=NO AUTOATTACHSEARCH=NO AUTOPAIRS=NO CYCLECOLORS=NO CYCLELEVELS=NO CYCLEUNUSED=NO DELETECHAINS=NO DISPLAYGROUPPAGE=NO DISPLAYRESULTSDLG=YES INNERHOLES=YES LOADDEFAULTSHEET=YES NESTFILLERSTONESTHEIGHT=YES PREFERHOLEFILLING=NO SAVESCRAP=NO USEMAINCOLOR=NO USEMAINLEVEL=NO OPSELECT_INCLUDE_RAPID_MOVES=0 PARENTOPID=0 RESULTCOLOR=10 RESULTLEVEL=1 RESUSER=1.0 SCANFORNOTES=YES SORTGROUPBYREGION=NO SORTGROUPBYSHEET=YES SORTREGIONORDER=0 SORTREGIONOVERLAP=1.0 SORTREGIONX=0.0 SORTREGIONY=0.0 SORTSTARTPT-X=0.0 SORTSTARTPT-Y=0.0 SORTSTARTPT-Z=0.0 SORTZIGZAG=NO TOOLORIGINCORNER=1 CREATECHILDOPS=NO XFMCOPYSOURCEOPS=NO XFMDISABLEPOSTING=NO XFMMETHOD=2 XFMSUBPGMABS=NO XFMSUBPGMON=NO XFMSUBPGMUNIQUE=NO XFMWOFF=0 XFMWOFFCREATENEWOPS=NO XFMWOFFINC=0 XFMWOFFKEEPEXISTINGOP=YES XFMWOFFMATCHEXISTING=NO XFMWOFFSTART=0 [sHEET] VERSION=11 SHEETID=1 SHEETNAME=Mystandard LENGTH=2050 WIDTH=1525 ADDRECTANGULAR=TRUE ORIGINPOINT-X=0 ORIGINPOINT-Y=0 QUANTITY=0 GRAINDIRECTION=X DELGEO=FALSE BASEPOINT-X=0 BASEPOINT-Y=0 MINMAX-X=2500 MINMAX-Y=1500 AMAR=TRUE CONTOURS-NUMBER=0 NOTES-NUMBER=0 MATERIALNAME=standard THICKNESS=2 [PART0] VERSION=11 PARTID=377466 PREVID=-1 PARTNAME=C:\mypath\sd1456.mcx-9 PARTLABEL= LENGTH=1 WIDTH=1 ADDRECTANGULAR=FALSE USERECTANGULAR=FALSE MINQUANTITY=1 FILLQUANTITY=0 STEPANGLE=90 PRIORITY=1 COMMONTOOL=FALSE MIRROR=FALSE GRAINDIRECTION=N CLUSTERMETHOD=7 DELGEO=FALSE BASEPOINT-X=0 BASEPOINT-Y=0 MINMAX-X=1 MINMAX-Y=1 CONTOURS_NUMBER=0 NOTES_NUMBER=0 QUANTITY=1 The first thing im wondering about is how could i change the step angle in the nesting it seems like it is 90 degrees now. The other thing is if there is some description of all values and what theý are used for. All my ini files are put in a folder then we have a .Net Hook that put all INI files toghether to one file. Where is there more information about how to work with .Net hooks? Im also haveing problems with the Label, i woluld like to have a unique label for each part, even if the same mcx-9-file is used. I have an idea to use the label for the customer info like PARTLABEL= "Customer number:123 Ordernumber:345" But this doesen´t seem to work.

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