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:

MCHulk

Verified Members
  • Posts

    19
  • Joined

  • Last visited

    Never

MCHulk's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thank you N.Dalhoff, work's fine. (Hätt ich auch selber drauf kommen müssen. Aber manchmal sieht man den Wald vor lauter Bäumen nicht.)
  2. Hi folks, I'm trying to retrieve the text from the notes or labels of the actual loaded MC-Model via a chook. To get the notes/labels is easy, but how to convert the pointer mtid from the structure v8_note to the text. code: typedef struct /* structure for notes */ { byte type; /* 0=witness, 1=leader, 2=label, 3=note */ p_3d ref_pt; /* reference point (text in view) (Z=depth) */ short view; /* view number that note was created in */ real scale; /* internal scale for detail view */ font_attr params; /* font attributes */ ulong mtid; /* memory table index (allocated string) */ v8_wit_ldr ldr; /* leader/witness associated with entity */ eptr_type xptr; /* conversion pointer: note (always null_eptr) */ boolean assoc; /* this entity uses associativity */ p_3d txtpos; /* incremental position used to regenerate note */ short ldr_count; /* number of leaders */ byte pad[2]; /* pad to 8 bytes "none" */ } v8_note; I dont know, how to convert back the memory table record to the desired text. Does someone know how to do this. Thanks in advance, MCHulk
  3. $5.9 per gallon for unleaded in Germany. Right after the USA annexed the Iraq the price falls down to $3.5 per Gallon but nowadays the price climbs an climbs. But why, Whats wrong?
  4. Me too, after installing SP1 to MC9.1 most of the fine surface calculations crashed. Same after installing SP2. Back to V9.1 without SP? MCHulk
  5. Thank you Bullines, if i convert VC-6.0-C-projects to .NET-C++ projects everything went good, and it will compile and link to the chook-dll i expect. But that works only with code without the MFC. The EXPORT-warning is not the only one. Some errors C2143:Syntaxerror:Missing } before constant in M_ACONST.H: Line 33... My intention is, that something with the defines is not correct. But which one?
  6. Hello MS-Visual-Studio- and Mastercam-Cracks, is it possible to develop CHooks with the MSVS.Net C++. I tried to build a MFC-DLL-Project just like the "shapes"-project described in INTRO.DOC? Compiling it, i get warnings and errors like "C4005: EXPORT:Makro redefinition" in M_VARS.H etc (I added the definitions _MSVC_ and MSWINDOWS). What's the trick? Thanks in advance, MCHulk [ 11-17-2003, 07:44 AM: Message edited by: MCHulk ]
  7. Does anybody here know, how to post automaticly every selected operation in the operation manager to a unique NC-file? For example, if i have 10 operations in the operation-manager, i need 10 NC-files. How should i modify my post, so that i get the files? Thanks in advance, MCHulk
  8. But what should i do, if the operation order no. is needed in my post? What variable can i use therefor?
  9. Bullines, quote: That's for diesel, right? no, thats for unleaded. For diesel its about 4.05 USD/gallon. MCHulk
  10. In Germany you pay 1.10 Euro/Liter, thats ca. 4.5 USD/gallon. Nice price? MCHulk
  11. Bryan314, thank you very much. It works fine. Thanks, MCHulk
  12. Bryan314, thanks for your answer. I tried both variants. It didn't work. Any other idea? MCHulk [ 12-26-2002, 11:38 AM: Message edited by: MCHulk ]
  13. I've compiled the example 1 of chapter24 "CBACKS" with the ch_repaint_function(): code: extern boolean CH_ENTRY ch_repaint_on=FALSE; extern void CH_ENTRY ch_repaint_function(void) { p_3d pointToDraw; pointToDraw[0]=pointToDraw[1]=pointToDraw[2]= 0.0; draw_3d_point(pointToDraw, YELLOW); } It compiled without errors, but it didn't work. I think MC doesn't recognize the ch_repaint_function as the callback-function. What's wrong? Please help. Thanks in advance, MCHulk [ 12-26-2002, 07:39 AM: Message edited by: MCHulk ]
  14. Hi HEAVY METAL, maybe the diskspace of the partition, where Mastercam is installed, is to small to fit for all the temporary files Mastercam is creating during calculation. Try to delete all NCI files you don't need and/or enlarge the partition size. CU MCHulk

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