PCB Genesis plus stamp hole (stamp hole to increase the direction of judgment--left and right up and down) implementation algorithm

Source: Internet
Author: User

problems that were not solved before, At that time the card in the user interface to select the direction of the stamp hole increased (up and down)

and the actual position of the stamp hole before the logic and non-judgmental jam, resulting in a little progress.

looking back, it was simple, make a note of this point.

1. Vertical line definition: 80--100 or 260--280
2 horizontal line definition: <10 or >350 or 170--190
3. Two form centers as a central dividing line,
4. Calculate the angle of the split line to determine whether vertical or horizontal so you can judge that the add-on-mail hole is about the direction of the upper and lower

If the line is not vertically or horizontally divided, it is not possible to effectively determine the position of the stamp hole increased (default is 2 side Plus)

PCB Genesis plus stamp hole (stamp hole to increase the direction of judgment--left and right up and down) implementation algorithm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.