Let's say I have a 4 by 4 inch square and make a wall offset of three
inches.   If I made the wall offset on the outside, I would have a 7 inch
square.  On the inside the resultant square would be 1 inch.     Now let's
make the offset five inches instead of three, the outside square would be 9
inches, but the inside one would not exist.   Zero elements.  Magic.

-Aquilon

----- Original Message ----- 
From: "Michael Senack" <[EMAIL PROTECTED]>
To: "Pete Ruehle" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, April 05, 2004 5:50 PM
Subject: RE: [mfg-smartcam] Profile direction


> Thanks! I'll give this a try.
>
> Just one question.
>
> Exactly where did you find out that by offsetting
> a profile using a huge distance relative to your work
> the result group is CW if there is a result group?
>
>
>
> -----Original Message-----
> From: Pete Ruehle [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 05, 2004 6:07 PM
> To: Michael Senack; [EMAIL PROTECTED]
> Subject: RE: [mfg-smartcam] Profile direction
>
> Michael,
>
> You can group the profile and use wall offset to check the direction.
> For example, do a group wall offset to the left with a huge distance
> relative to the work you do, then get the "result" group and check if
> there are any elements in the group.  If there are, your direction is
> clockwise.  I set DS=100. in mine because I never work on anything
> close to that size.  So if the direction of the profile is CCW, no
> elements will be created by the wall offset.
>
> #OFFSETDIR=0 // Set direction to left
> GRP_WALL[SD=#OFFSETDIR, DS=100., ME=0, RP=1, LR=0, TA=0, AN=180]
> //Offset by 100 inches
> NAME_GRP[GN="PROFILE", RM=0]
> NEW_GRP[] // Clear current group
> GET_GRP[GN="RESULT", AR=0] // Get the 'Result' group
>
> IF(GRP(0)<1) // Check group size, if empty,
> direction is CCW
> GET_GRP[GN="PROFILE", AR=0]    //get the original profile, and
> reverse direction
> GRP_REVERSE[RP=1]
> ELSE
> GRP_DELETE[] // If not empty, delete
> resulting elements. Direction
> is CW
> GET_GRP[GN="PROFILE", AR=0]
>
>
>
> Pete
> Thanks to Chris K
> >
> >
> >---- Original Message ----
> >From: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: RE: [mfg-smartcam] Profile direction
> >Date: Mon, 5 Apr 2004 17:03:44 -0400
> >
> >>When you insert after any element on a profile whether it be a line
> >or
> >>an arc, is there any macro
> >>
> >>command or method to determine the direction of the profile?
> >>
> >>
> >>
> >>Basically what I'm after is a method to check if a profile is going
> >in a
> >>CW direction, can you
> >>
> >>have SC find out that it is going in deed CW and then reverse it?
> >>
> >>
> >>
> >>
> >>
> >>Regards,
> >>
> >>Michael Senack
> >>
> >>
> >>
> >>
> >>
> >>
>
>
>
> ======================================================================
> To find out more about this mailing list including how to unsubscribe,
> send the message "info mfg-smartcam" to [EMAIL PROTECTED]
> ======================================================================
>
======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================

Reply via email to