Author Topic: unable to pick endpoints  (Read 6438 times)

0 Members and 1 Guest are viewing this topic.

AfricaAD

  • Guest
unable to pick endpoints
« on: February 01, 2005, 09:36:51 PM »
I have a lisp routine that creates wide flange struct steel shapes. It generates these shapes in pline format. For some odd reason now, I am unable to pick endpoints on one end of the object. Once I flatten the object, all is well. I am not sure why or if there is a fix for this.

Could it be a lisp conflicting with this?

Thanks!

Zydenet

  • Guest
unable to pick endpoints
« Reply #1 on: February 02, 2005, 08:51:40 AM »
Can you post an example?

AfricaAD

  • Guest
unable to pick endpoints
« Reply #2 on: February 02, 2005, 12:32:35 PM »
After the I run the routine, this is what happens.


Zydenet

  • Guest
unable to pick endpoints
« Reply #3 on: February 02, 2005, 12:39:53 PM »
What does it show if your LIST it.

AfricaAD

  • Guest
unable to pick endpoints
« Reply #4 on: February 02, 2005, 12:46:52 PM »
Code: [Select]
                 POLYLINE  Layer: "0"
                            Space: Model space
                   Handle = 65
            Closed
    starting width    0.0000
      ending width    0.0000
              area    2.6778
         perimeter   26.7908

                  VERTEX    Layer: "0"
                            Space: Model space
                   Handle = 66
                at point, X=   3.1582  Y=  -0.8225  Z=   0.0000
    starting width    0.0000
      ending width    0.0000

                  VERTEX    Layer: "0"
                            Space: Model space
                   Handle = 67
                at point, X=   4.7932  Y=  -0.8225  Z=   0.0000
    starting width    0.0000
Press ENTER to continue:
      ending width    0.0000
             bulge    0.4142
            center X=   4.7932  Y=  -0.5725  Z=   0.0000
            radius    0.2500
       start angle    270
         end angle      0

                  VERTEX    Layer: "0"
                            Space: Model space
                   Handle = 68
                at point, X=   5.0432  Y=  -0.5725  Z=   0.0000
    starting width    0.0000
      ending width    0.0000

                  VERTEX    Layer: "0"
                            Space: Model space
                   Handle = 69
                at point, X=   5.0432  Y=   4.3975  Z=   0.0000
    starting width    0.0000
      ending width    0.0000
             bulge    0.4142
            center X=   4.7932  Y=   4.3975  Z=   0.0000
            radius    0.2500
Press ENTER to continue:
       start angle      0
         end angle     90

                  VERTEX    Layer: "0"
                            Space: Model space
                   Handle = 6A
                at point, X=   4.7932  Y=   4.6475  Z=   0.0000
    starting width    0.0000
      ending width    0.0000

                  VERTEX    Layer: "0"
                            Space: Model space
                   Handle = 6B
                at point, X=   3.1582  Y=   4.6475  Z=   0.0000
    starting width    0.0000
      ending width    0.0000

                  VERTEX    Layer: "0"
                            Space: Model space
                   Handle = 6C
                at point, X=   3.1582  Y=   4.8625  Z=   0.0000
    starting width    0.0000
      ending width    0.0000
Press ENTER to continue:

                  VERTEX    Layer: "0"
                            Space: Model space
                   Handle = 6D
                at point, X=   7.0982  Y=   4.8625  Z=   0.0000
    starting width    0.0000
      ending width    0.0000

                  VERTEX    Layer: "0"
                            Space: Model space
                   Handle = 6E
                at point, X=   7.0982  Y=   4.6475  Z=   0.0000
    starting width    0.0000
      ending width    0.0000

                  VERTEX    Layer: "0"
                            Space: Model space
                   Handle = 6F
                at point, X=   5.4632  Y=   4.6475  Z=   0.0000
    starting width    0.0000
      ending width    0.0000
             bulge    0.4142
            center X=   5.4632  Y=   4.3975  Z=   0.0000
Press ENTER to continue:
            radius    0.2500
       start angle     90
         end angle    180

                  VERTEX    Layer: "0"
                            Space: Model space
                   Handle = 70
                at point, X=   5.2132  Y=   4.3975  Z=   0.0000
    starting width    0.0000
      ending width    0.0000

                  VERTEX    Layer: "0"
                            Space: Model space
                   Handle = 71
                at point, X=   5.2132  Y=  -0.5725  Z=   0.0000
    starting width    0.0000
      ending width    0.0000
             bulge    0.4142
            center X=   5.4632  Y=  -0.5725  Z=   0.0000
            radius    0.2500
       start angle    180
         end angle    270

Press ENTER to continue:
                  VERTEX    Layer: "0"
                            Space: Model space
                   Handle = 72
                at point, X=   5.4632  Y=  -0.8225  Z=   0.0000
    starting width    0.0000
      ending width    0.0000

                  VERTEX    Layer: "0"
                            Space: Model space
                   Handle = 74
                at point, X=   7.0982  Y=  -0.8225  Z=   0.0000
    starting width    0.0000
      ending width    0.0000

                  VERTEX    Layer: "0"
                            Space: Model space
                   Handle = 75
                at point, X=   7.0982  Y=  -1.0375  Z=   0.0000
    starting width    0.0000
      ending width    0.0000

                  VERTEX    Layer: "0"
                            Space: Model space
Press ENTER to continue:
                   Handle = 76
                at point, X=   3.1582  Y=  -1.0375  Z=   0.0000
    starting width    0.0000
      ending width    0.0000

                  END SEQUENCE  Layer: "0"
                            Space: Model space
                   Handle = 78

AfricaAD

  • Guest
unable to pick endpoints
« Reply #5 on: February 02, 2005, 12:51:21 PM »
Only the snaps will not work if snapped to it. Grips will work though.

CADaver

  • Guest
unable to pick endpoints
« Reply #6 on: February 02, 2005, 12:56:13 PM »
hmmm... where's you say you got this routine??? :wink:

Same thing happened to an old routine of mine, it was originally written for R9, and used the old polyline type.  Somewhere just before the PLINE command is entered add a line something like this:
Code: [Select]
(setvar "plinetype" 1)

AfricaAD

  • Guest
unable to pick endpoints
« Reply #7 on: February 02, 2005, 01:26:52 PM »
I use the stl.lsp from Al rogers. Would setting it to 2 be better?

Thanks!

Zydenet

  • Guest
unable to pick endpoints
« Reply #8 on: February 02, 2005, 03:16:57 PM »
Very nice program. Just downloaded and installed it. Check your verison. You may have an older version. It worked fine here. My plinetype is set to 1. You may be able to use this CADaver.

March 2002 tip 1779
http://new.cadalyst.com/code/browseyear.cfm?fullyear=2002

AfricaAD

  • Guest
unable to pick endpoints
« Reply #9 on: February 02, 2005, 04:56:59 PM »
I downloaded it from there as well. I may have had another lisp that may have changed the plinetype to 0. It worked fine until last week. I just added the variable setting to the lisp in case it happens again.

CADaver

  • Guest
unable to pick endpoints
« Reply #10 on: February 02, 2005, 06:02:55 PM »
Oh I have a pretty extensive steel program.  The reason why I asked, is mine did the very same thing when we moved to R14 from R13, and I was just curious.

AfricaAD

  • Guest
unable to pick endpoints
« Reply #11 on: February 02, 2005, 08:41:56 PM »
Which steel prog you got? Is it one of those you have to purchase?

CADaver

  • Guest
unable to pick endpoints
« Reply #12 on: February 03, 2005, 07:03:43 AM »
Quote from: AfricaAD
Which steel prog you got? Is it one of those you have to purchase?
Wrote it for R9, been patchin' it with baling wire and chewing gum ever since.  Someday, when I get the time, I'm gonna re-write it from the ground up.

t-bear

  • Guest
unable to pick endpoints
« Reply #13 on: February 03, 2005, 08:26:09 AM »
I don't have a "program" for steel, but I do have an extensive library of 3D steel shapes.  Saved as regions, you drop 'em in and extrude to length or along a path.  Elbows, tees, flanges  etc are saved as blocks. It works purty good too. Kinda like playin' with leggos or sumpin'....

CADaver

  • Guest
unable to pick endpoints
« Reply #14 on: February 03, 2005, 09:08:33 AM »
Quote from: t-bear
I don't have a "program" for steel, but I do have an extensive library of 3D steel shapes.  Saved as regions, you drop 'em in and extrude to length or along a path.  Elbows, tees, flanges  etc are saved as blocks. It works purty good too. Kinda like playin' with leggos or sumpin'....
Mine creates the block 2D or 3D.  For 3D it asks for beam length or column height and adjusts the X-scale or Z-scale accordingly.