EAGLE Central Forums
Where the EAGLE community meets. Sponsored by Stratford Digital.

Home » CadSoft Support Forums » eagle.support.eng » How do I realign a component/dimension in eagle?
How do I realign a component/dimension in eagle? [message #170998] Fri, 21 July 2017 21:21 Go to next message
Rishab Sharma
Messages: 3
Registered: July 2017
Junior Member
I need to realign a board dimension that I imported through a DXF file. It is not straight, can i realign it to be straight? Please see the attached image.

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/225887

Attachments:
board dimension.png
Re: How do I realign a component/dimension in eagle? [message #171002 is a reply to message #170998] Sat, 22 July 2017 01:47 Go to previous messageGo to next message
warrenbrayshaw
Messages: 1767
Registered: January 2010
Location: New Zealand
Senior Member
On 22/07/2017 9:21 a.m., Rishab Sharma wrote:
> I need to realign a board dimension that I imported through a DXF file. It is not straight, can i realign it to be straight? Please see the attached image.
>
> --
> To view any images and attachments in this post, visit:
> https://www.element14.com/community/message/225887
>
> Attachments:
> board dimension.png
>


Hi

There is a manually way but you have to eyeball it level and its not
that simple. The following give you more control

As the shape needs to rotated, you first need to find out many degrees
to rotate it.

Click the 'Information' icon and then click on the straight line along
the bottom.
In the information box that appears you can read the angle of that line
which is likely to be about 355.55 degrees
Subtract this from 360 degrees and that's your rotation angle.

Rotation will be anticlockwise for positive numbers.

Next, turn off all layers except the dimension layer so you don't rotate
something else in error.

Click the Group icon an draw the rectangle around the shape.
Click the 'Rotate' icon and observe in the toolbar the 'Angle' is 90
Type in your calculated angle and hit enter.

Then, apply the rotation to the group and it will rotate it to where you
need it.

Now it may not be exactly horizontal due to rounding errors in the
angle. Verify this by observing the information of that wire as you did
at the start.

HTH
Warren




--
.... use NNTP://news.cadsoft.de and a functional news reader like
Thunderbird!
.... or http://www.eaglecentral.ca browser access to CadSoft EAGLE
support forums.

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Re: How do I realign a component/dimension in eagle? [message #171003 is a reply to message #170998] Sat, 22 July 2017 06:54 Go to previous messageGo to next message
geralds
Messages: 236
Registered: February 2014
Senior Member
Hi,

The best way is to create your board in Eagle.
Then you have your correct grid also dimension.
DXF importing, i do it just for image logos, images that are not under strict component behavior.

And its a lot faster if you create it with Eagle.

Gerald
---

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/225878
Re: How do I realign a component/dimension in eagle? [message #171029 is a reply to message #171002] Tue, 25 July 2017 23:49 Go to previous messageGo to next message
Rishab Sharma
Messages: 3
Registered: July 2017
Junior Member
Thank you so much. It worked!

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/226075
Re: How do I realign a component/dimension in eagle? [message #171034 is a reply to message #171002] Wed, 26 July 2017 12:50 Go to previous messageGo to next message
Chuck Huber
Messages: 601
Registered: October 2004
Senior Member
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Rishab,<br>
<br>
What Warren writes will get you there.  However, there is an
easier and more exact method to accomplish this goal.<br>
<br>
Right-click on the wire in question to bring up the context menu,
then select Properties.<br>
<br>
If the line is not a straight line, then the Curve property will
be displayed.  Set it to 0 to straighten it out.<br>
<br>
Since you're referring to a board dimension, you probably also
want to make sure that the line is either exactly vertical or
exactly horizontal.<br>
Near the top of the dialog box are From and To properties that
represent the start and end points of the line.  Each point is
defined using Cartesian coordinates with an X-value and a
Y-value.  (The X and Y are not labeled.)<br>
<br>
If the line is to be horizontal, then set both of the Y-values of
the to the same value.<br>
If the line is to be vertical, then set both of the X-values to
the same value.<br>
<br>
Click "Ok" and you're done.<br>
<br>
HTH,<br>
    - Chuck<br>
<br>
<br>
On 07/21/2017 09:48 PM, warrenbrayshaw wrote:<br>
</div>
<blockquote type="cite" cite="mid:okuasc$hl1$1@baboon.cadsoft.de">On
22/07/2017 9:21 a.m., Rishab Sharma wrote:
<br>
<blockquote type="cite">I need to realign a board dimension that I
imported through a DXF file. It is not straight, can i realign
it to be straight? Please see the attached image.
<br>
<br>
--
<br>
To view any images and attachments in this post, visit:
<br>
<a class="moz-txt-link-freetext" href="https://www.element14.com/community/message/225887">https://www.element14.com/community/message/225887</a>
<br>
<br>
Attachments:
<br>
board dimension.png
<br>
<br>
</blockquote>
<br>
<br>
Hi
<br>
<br>
There is a manually way but you have to eyeball it level and its
not that simple. The following give you more control
<br>
<br>
As the shape needs to rotated, you first need to find out many
degrees to rotate it.
<br>
<br>
Click the 'Information' icon and then click on the straight line
along the bottom.
<br>
In the information box that appears you can read the angle of that
line which is likely to be about 355.55 degrees
<br>
Subtract this from 360 degrees and that's your rotation angle.
<br>
<br>
Rotation will be anticlockwise for positive numbers.
<br>
<br>
Next, turn off all layers except the dimension layer so you don't
rotate something else in error.
<br>
<br>
Click the Group icon an draw the rectangle around the shape.
<br>
Click the 'Rotate' icon  and observe in the toolbar the 'Angle' is
90
<br>
Type in your calculated angle and hit enter.
<br>
<br>
Then, apply the rotation to the group and it will rotate it to
where you need it.
<br>
<br>
Now it may not be exactly horizontal due to rounding errors in the
angle. Verify this by observing the information of that wire as
you did at the start.
<br>
<br>
HTH
<br>
Warren
<br>
<br>
<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>
Re: How do I realign a component/dimension in eagle? [message #171036 is a reply to message #171034] Wed, 26 July 2017 18:53 Go to previous message
warrenbrayshaw
Messages: 1767
Registered: January 2010
Location: New Zealand
Senior Member
On 27/07/2017 12:50 a.m., Chuck Huber wrote:
> Rishab,
>
> What Warren writes will get you there. However, there is an easier and
> more exact method to accomplish this goal.
>
> Right-click on the wire in question to bring up the context menu, then
> select Properties.
>
> If the line is not a straight line, then the Curve property will be
> displayed. Set it to 0 to straighten it out.
>
> Since you're referring to a board dimension, you probably also want to
> make sure that the line is either exactly vertical or exactly horizontal.
> Near the top of the dialog box are From and To properties that represent
> the start and end points of the line. Each point is defined using
> Cartesian coordinates with an X-value and a Y-value. (The X and Y are
> not labeled.)
>
> If the line is to be horizontal, then set both of the Y-values of the to
> the same value.
> If the line is to be vertical, then set both of the X-values to the same
> value.
>
> Click "Ok" and you're done.
>

Chuck's method is flawed. It will make the bottom line level but the
rest of the object will not have been rotated so the object as a whole
is not the shape you started with.

There are other considerations as well.
The ends of the wire in question will likely not end at the same points
as the arcs so the board outline is not continuous which may cause it to
be rejected by the boardhouse.


HTH
Waren


--
.... use NNTP://news.cadsoft.de and a functional news reader like
Thunderbird!
.... or http://www.eaglecentral.ca browser access to CadSoft EAGLE
support forums.

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Previous Topic: Eagle - export schematic as part
Next Topic: ARDUINO MEGA2560 NOT AUTOROUTING ON EAGLE
Goto Forum:
  


Current Time: Tue Sep 19 17:11:23 GMT 2017