Search found 86 matches
- Mon Apr 11, 2022 12:06 am
- Forum: KMotionCNC, G Code Files, Offsets, Post Process
- Topic: Basic XY Screw Mapping - Geo Table
- Replies: 94
- Views: 12452
Re: Basic XY Screw Mapping - Geo Table
Thanks again, Tom. I found you were hiding a nugget from me. Probably just getting a laugh out of my floundering ;) I cleaned up my int error rounding and used your RoundToReasonable() for comparisons of doubles. Now it is better. I attached the affected c programs in case anyone ever wants them.
- Sat Apr 09, 2022 6:23 am
- Forum: KMotionCNC, G Code Files, Offsets, Post Process
- Topic: Basic XY Screw Mapping - Geo Table
- Replies: 94
- Views: 12452
Re: Basic XY Screw Mapping - Geo Table
I have moved my scale to my Y axis and have been doing some mapping. Overall working well, but I do have an annoying hiccup. With the ScrewMapAxis.c program and the ScrewMap_Check.c, both throw errors in via my serial print and message box for bad total distance not being a whole multiple of my incr...
- Sun Apr 03, 2022 4:15 am
- Forum: KMotionCNC, G Code Files, Offsets, Post Process
- Topic: Basic XY Screw Mapping - Geo Table
- Replies: 94
- Views: 12452
Re: Basic XY Screw Mapping - Geo Table
That was insightful. Thank you. My dedicated PC/laptop running this machine is a meager i3 running win 10 64b. I do not remember exactly the ram, but it probably only 6g. Nothing to brag about. I do not remember why I raised the look ahead to 5 seconds except a concern about the basic PC being slowe...
- Sat Apr 02, 2022 6:17 am
- Forum: KMotionCNC, G Code Files, Offsets, Post Process
- Topic: Basic XY Screw Mapping - Geo Table
- Replies: 94
- Views: 12452
Re: Basic XY Screw Mapping - Geo Table
A final question in my setup with my mapping, regarding look ahead... However the linear length is also limited by the feed rate x 1/2 the Lookahead time. So for example if the feed rate is 120ipm and lookahead time is 2 seconds then the segments will be limited to: 120/60 x 1/2 x 2 = 2 inches. Wher...
- Sat Apr 02, 2022 5:08 am
- Forum: KMotionCNC, G Code Files, Offsets, Post Process
- Topic: Basic XY Screw Mapping - Geo Table
- Replies: 94
- Views: 12452
Re: Basic XY Screw Mapping - Geo Table
Tom, I think I may be at the end of this journey. Don't worry, I have more planned. Attached should be my hopefully final version of my kinematic class with related files and the couple c programs I run from within KmotionCNC to get the map values and measure the mapped screw after done. I also incl...
- Thu Mar 17, 2022 8:03 pm
- Forum: KMotionCNC, G Code Files, Offsets, Post Process
- Topic: Basic XY Screw Mapping - Geo Table
- Replies: 94
- Views: 12452
Re: Basic XY Screw Mapping - Geo Table
Thanks for the quick responses, yet again. what is the value behind the define at start of the class.h and should it be any different than what I copied from other classes? AFX_KINEMATICSBASICMAPPING_H__876A0A72_6EC3_48D0_9040_60AE3DA2F3C7__INCLUDED_ That's just any unique symbol used to avoid compi...
- Thu Mar 17, 2022 6:05 pm
- Forum: KMotionCNC, G Code Files, Offsets, Post Process
- Topic: Basic XY Screw Mapping - Geo Table
- Replies: 94
- Views: 12452
Re: Basic XY Screw Mapping - Geo Table
Tom, I've been busy here. Hope you have been well. Attached should be my latest basic screw mapping kinematic class. It seems to work properly. It also now will map between the offset/start point and end of map/table length in either screw + or - direction. The kinematics.txt file allows for a few v...
- Tue Mar 01, 2022 1:50 am
- Forum: KMotionCNC, G Code Files, Offsets, Post Process
- Topic: Basic XY Screw Mapping - Geo Table
- Replies: 94
- Views: 12452
Re: Basic XY Screw Mapping - Geo Table
Thanks again. In my constructor, I set all to NULL like this: XscrewMap = NULL; That worked. What I don't understand is why when I did my initial test with only the X set null, Y did not have the problem. Good enough, I guess. Finally back to my list of tasks. edit: Figured it out. I had a check in ...
- Tue Mar 01, 2022 12:23 am
- Forum: KMotionCNC, G Code Files, Offsets, Post Process
- Topic: Basic XY Screw Mapping - Geo Table
- Replies: 94
- Views: 12452
Re: Basic XY Screw Mapping - Geo Table
That did it! Thanks!!! I moved all I had in my constructor to initialize() since everything I was doing in the constructor is based upon my txt file. My constructor is now empty. Not sure if that is any problem. I also tried cleaning up my other file reading function where I read in the screw data. ...
- Mon Feb 28, 2022 11:01 pm
- Forum: KMotionCNC, G Code Files, Offsets, Post Process
- Topic: Basic XY Screw Mapping - Geo Table
- Replies: 94
- Views: 12452
Re: Basic XY Screw Mapping - Geo Table
Call stack at break in GetParameter before error... > GCodeInterpreter.dll!CKinematics::GetParameter(const char * key, double * v) Line 784 C++ GCodeInterpreter.dll!CKinematicsBasicMapping::CKinematicsBasicMapping() Line 17 C++ GCodeInterpreter.dll!CCoordMotion::CCoordMotion(CKMotionDLL * KM) Line 1...