Author Topic: (GETPOINT) Precision ?  (Read 2830 times)

0 Members and 1 Guest are viewing this topic.

TimSpangler

  • Water Moccasin
  • Posts: 2010
  • CAD Naked!!
(GETPOINT) Precision ?
« on: November 20, 2006, 09:01:47 PM »
What effect the precision of the point returned by (getpoint) ?

Thanks

TIM
ACA 2015 - Windows 7 Pro
All Comments and Content by TimSpangler, Copyright © 2016

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: (GETPOINT) Precision ?
« Reply #1 on: November 20, 2006, 09:10:05 PM »
Nothing 8-)
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: (GETPOINT) Precision ?
« Reply #2 on: November 20, 2006, 09:12:24 PM »
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

TimSpangler

  • Water Moccasin
  • Posts: 2010
  • CAD Naked!!
Re: (GETPOINT) Precision ?
« Reply #3 on: November 20, 2006, 09:17:52 PM »
Crap!  That's what I thought.  I am creating points with getpoint / getangle yadda yadda....  I then use those points to create linework.  Well it seems that if I am zoomed out that the points seems to fall on top of one another> but when I am zoomed in close everything is as it should be.  I have noticed this type of behavior on other programs of this type. (The point in question are 1 unit apart).  I would like to do this without inserting a block.  Maybe entmake @ 0,0 then move to the creation point?

Something I'll have to look into I suppose.

Thanks Alan for confirming my suspicions
ACA 2015 - Windows 7 Pro
All Comments and Content by TimSpangler, Copyright © 2016

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: (GETPOINT) Precision ?
« Reply #4 on: November 20, 2006, 09:25:25 PM »
Would the snap help?
Code: [Select]
(osnap (getpoint) "_end")
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

TimSpangler

  • Water Moccasin
  • Posts: 2010
  • CAD Naked!!
Re: (GETPOINT) Precision ?
« Reply #5 on: November 20, 2006, 09:44:55 PM »
Unfortunatly no.  The points and lines are being created in the middle of nowhere (sortof)

I just ran the program and I have 2 points  Point1 point6 (for giggles).  Point6 is 1 unit at 0.0 radians from Point1.  If I run the program zoomed out and check the points i.e. !Point1 !Point6  They have are differant points. But the line that is created is on top of itself.

-The line runs from Point1 to Point2 and From Point5 to Point6-

This seems to be something that I will have to investigate further before I move on to my next endevour.


ACA 2015 - Windows 7 Pro
All Comments and Content by TimSpangler, Copyright © 2016

Jeff_M

  • King Gator
  • Posts: 4100
  • C3D user & customizer
Re: (GETPOINT) Precision ?
« Reply #6 on: November 20, 2006, 10:39:57 PM »
How are you creating your line? If you do it via (entmake) or (vla-addline) it should act as you desire. However, if you are creating via (command "line") results will vary depending on zoom scale since the command interpreter is taking the points you pass to it as "screen picks".

Derwin

  • Guest
Re: (GETPOINT) Precision ?
« Reply #7 on: November 20, 2006, 11:06:44 PM »
ive had same problem. a liberal sprinkling of "_non" helps.

TimSpangler

  • Water Moccasin
  • Posts: 2010
  • CAD Naked!!
Re: (GETPOINT) Precision ?
« Reply #8 on: November 21, 2006, 06:54:33 AM »
How are you creating your line? If you do it via (entmake) or (vla-addline) it should act as you desire. However, if you are creating via (command "line") results will vary depending on zoom scale since the command interpreter is taking the points you pass to it as "screen picks".


Thanks Jeff,

That is were my line of thinking was starting to go.  I have some programs that act as they should and other that do not and what I found was that if they us command "line" they are undesirable.

For testing I have been using "line" but for release it will use addline.

This should hopefully fix the issue.

Thanks all!
ACA 2015 - Windows 7 Pro
All Comments and Content by TimSpangler, Copyright © 2016