Jump to content

Random offset values based on mouse coords


itsjustme

Recommended Posts

I've crawled the whole internet (I think, took me like 5 hours - skipped on 18+ stuff) but there is no solution to my issue.

 

When I draw a using script:

 

_LINE 0,0 @30<90 X
_SELECT L 
_OFFSET T M 30 -100 E
_UCS @30<90 

 

The result of offset is different every single time, and it's often nowhere near the input value. I am really desperate here...Output of the command run 5 times is attached. I found out that the input is based on the position of cursor, but there seems to be no way to disable the bloody thing. Any clues please? I have thousands of values, there is no way I can input them all manually.

cadbug.png

Link to comment
Share on other sites

4 hours ago, itsjustme said:

I've crawled the whole internet (I think, took me like 5 hours - skipped on 18+ stuff) but there is no solution to my issue.

 

When I draw a using script:

 

_LINE 0,0 @30<90 X
_SELECT L 
_OFFSET T M 30 -100 E
_UCS @30<90 

 

The result of offset is different every single time, and it's often nowhere near the input value. I am really desperate here...Output of the command run 5 times is attached. I found out that the input is based on the position of cursor, but there seems to be no way to disable the bloody thing. Any clues please? I have thousands of values, there is no way I can input them all manually.

cadbug.png

 

 

where , or what value for x 

 

SCRIPT
Command: _LINE
Specify first point: 0,0
Specify next point or [Undo]: @30<90
Specify next point or [Undo]: X
Point or option keyword required.

 

 

 

 

 

Link to comment
Share on other sites

On 5/8/2021 at 4:49 PM, itsjustme said:

I've crawled the whole internet (I think, took me like 5 hours - skipped on 18+ stuff) but there is no solution to my issue.

 

When I draw a using script:

 

_LINE 0,0 @30<90 X
_SELECT L 
_OFFSET T M 30 -100 E
_UCS @30<90 

 

The result of offset is different every single time, and it's often nowhere near the input value. I am really desperate here...Output of the command run 5 times is attached. I found out that the input is based on the position of cursor, but there seems to be no way to disable the bloody thing. Any clues please? I have thousands of values, there is no way I can input them all manually.

cadbug.png

 

 

where , or what value for x 

 

SCRIPT
Command: _LINE
Specify first point: 0,0
Specify next point or [Undo]: @30<90
Specify next point or [Undo]: X
Point or option keyword required.

 

offset with rectangles , if it are polys is easy , get the rectangle lenght , then offset , way you want, if you want to OUTside, the new poly's lenght  SHALL be  great than the original poly , othertwise it went to INside

 

By teh way I hada not see any rectangle at your sample 

 

Please upload a sample .dwg with such rectangles and teh way you need to offset 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...