Jump to content

Recommended Posts

Posted

Hi all,

i have a file with coordinate ( ID,code,x,y,rotation,package,description)  like this :

C2,CC001_100N,104445,69357,180,T-0603-08,100nF 10% 16V X7R 0603

can i plot this file on screen with rectangle or picture related to package.

Is possible on mouse over get information like "C2 CC001_100N T-0603-08 100nF 10% 16V X7R 0603" ?

thanks for any tips

Posted

The file is a "cad output" for printed circuit board.
 the steps are :
- read file to array ( this no problem )
- plot in windows the coordinates  ( plot in scale object or shape from "library" -> package )
- retrive information (string) on mouse over object or shape.

I think the possible "solution" is to draw shape, for example filled red rectangle and:
if color is red i retrive mouse coordinates
if mouse is in range ( tolerance) at part center or in other way ( i don't know how ) i search in array  the coordinates near the value and retrive the information i need

so green background window with red or other color "box".

suggestions are appreciated

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...