Author Topic: Align To Rectagles  (Read 4162 times)

0 Members and 1 Guest are viewing this topic.

MUQTAR

  • Guest
Align To Rectagles
« on: December 21, 2011, 05:31:02 AM »
HI,

i have 2 rectangles 1st one dim: 1250mm(w) x 1100mm(L) and 2nd Dim: 1500mm(w) x 1100mm(L)
my problem is when i m trying to align this two object is not aligned well , actually i want to fix 1 object to 2 object why
if any one knows this please tell me how is possible

these are two objects


After Align

didier

  • Newt
  • Posts: 48
  • expatrié
Re: Align To Rectagles
« Reply #1 on: December 21, 2011, 05:43:35 AM »
Coucou

are they both in 2D ?

amicalement
eternal beginner ...
my english is not fluent ...

Coder

  • Swamp Rat
  • Posts: 827
Re: Align To Rectagles
« Reply #2 on: December 21, 2011, 05:54:32 AM »
Hi

Try the command flatten first and then try to align them .

Thanks

MUQTAR

  • Guest
Re: Align To Rectagles
« Reply #3 on: December 21, 2011, 06:30:58 AM »
Ya they both are in 2d

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Align To Rectagles
« Reply #4 on: December 21, 2011, 08:34:28 AM »
Stating the obvious, The ALIGN command does not work for you?
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.

MUQTAR

  • Guest
Re: Align To Rectagles
« Reply #5 on: December 21, 2011, 08:44:43 AM »
Align is not works,

i need solutions ....

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Align To Rectagles
« Reply #6 on: December 21, 2011, 08:50:08 AM »
Rotate by reference.  :?
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

stevesfr

  • Newt
  • Posts: 54
Re: Align To Rectagles
« Reply #7 on: December 21, 2011, 09:04:42 AM »
Rotate by reference.  :?

Rotate command is not intuitive to first time user, however its the way to go.
Can't remember what I'm supposed to forget.

MUQTAR

  • Guest
Re: Align To Rectagles
« Reply #8 on: December 21, 2011, 09:07:41 AM »
Please Friends Before Reply Try in auto-cad using my dimensions above given,
i try to post image but it's not appearing

thanks for reply,

 

ronjonp

  • Needs a day job
  • Posts: 7526
Re: Align To Rectagles
« Reply #9 on: December 21, 2011, 09:10:27 AM »
You can attach your images directly to the post.

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Align To Rectagles
« Reply #10 on: December 21, 2011, 09:12:47 AM »
Rotate by reference.  :?

Rotate command is not intuitive to first time user, however its the way to go.
I wrote this to make things a little less cumbersome...
Code: [Select]
(defun c:RF (/ ss bp pt)
  (princ "\nSelect object(s) to rotate: ")
  (if (and (setq ss (ssget "_:L"))
           (setq bp (getpoint "\nSpecify base point: "))
           (setq pt (getpoint bp "\nPick point of object to rotate: "))
      )
    (command "_.rotate" ss "" "_non" bp "_r" "_non" bp "_non" pt)
  )
  (princ)
)
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

stevesfr

  • Newt
  • Posts: 54
Re: Align To Rectagles
« Reply #11 on: December 21, 2011, 09:31:25 AM »
Rotate by reference.  :?

Rotate command is not intuitive to first time user, however its the way to go.
I wrote this to make things a little less cumbersome...
Code: [Select]
(defun c:RF (/ ss bp pt)
  (princ "\nSelect object(s) to rotate: ")
  (if (and (setq ss (ssget "_:L"))
           (setq bp (getpoint "\nSpecify base point: "))
           (setq pt (getpoint bp "\nPick point of object to rotate: "))
      )
    (command "_.rotate" ss "" "_non" bp "_r" "_non" bp "_non" pt)
  )
  (princ)
)

Suggestion: maybe say  "Pick second point of object to rotate:"   
Can't remember what I'm supposed to forget.

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Align To Rectagles
« Reply #12 on: December 21, 2011, 09:32:34 AM »
Rotate by reference.  :?

Rotate command is not intuitive to first time user, however its the way to go.
I wrote this to make things a little less cumbersome...
Code: [Select]
(defun c:RF (/ ss bp pt)
  (princ "\nSelect object(s) to rotate: ")
  (if (and (setq ss (ssget "_:L"))
           (setq bp (getpoint "\nSpecify base point: "))
           (setq pt (getpoint bp "\nPick point of object to rotate: "))
      )
    (command "_.rotate" ss "" "_non" bp "_r" "_non" bp "_non" pt)
  )
  (princ)
)

Suggestion: maybe say  "Pick second point of object to rotate:"
Does sound better. TBH, I wrote that macro in 2007 and haven't read the prompts since.
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

MUQTAR

  • Guest
Re: Align To Rectagles
« Reply #13 on: December 24, 2011, 09:43:28 AM »
Those images of rectangles, 1st one is showing 2 rectangles,
2nd one is after alignment,

check the second one i need to fix them one size after align

is possible if then how,

thanks,


CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Align To Rectagles
« Reply #14 on: December 24, 2011, 10:24:34 AM »
I would use the STRETCH command.

Is this a homework assignment?
I see no real world application for what you are doing.
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.