Author Topic: Bonjour Circuit pcb a transformer en polyligne ? Possible Merci  (Read 12385 times)

Offline Gary33

  • Ewok
  • *
  • Posts: 34
    • View Profile
Bonjour Circuit pcb a transformer en polyligne ? Possible Merci
« on: December 04, 2021, 15:21:48 pm »
Bonjour a tous et merci encore pour ce merveilleux LOGICIEL  CB

Voila

avez vous une méthode pour pouvoir lire un fichier BMP
pour le transformer automatiquement en Polyligne ou autre....

Merci a vous
Gary 

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5330
  • Made in England
    • View Profile
Re: Bonjour Circuit pcb a transformer en polyligne ? Possible Merci
« Reply #1 on: December 04, 2021, 16:38:22 pm »
en utilisant CamBam 1.0

1. Ouvrir theremax.jpg
2. voir image jointe
3. sélectionner des vecteurs
4. Edition->Convertir en->Polyligne
« Last Edit: December 04, 2021, 16:39:58 pm by EddyCurrent »
Filmed in Supermarionation

Offline Gary33

  • Ewok
  • *
  • Posts: 34
    • View Profile
Re: Bonjour Circuit pcb a transformer en polyligne ? Possible Merci
« Reply #2 on: December 04, 2021, 17:58:59 pm »
ArFFFFFFFFFF
Merci Merci beaucoup

Enfin des années que je cherche

Thank you Very Very beaucoup

Au Plaisir Gary


Offline Gary33

  • Ewok
  • *
  • Posts: 34
    • View Profile
Re: Bonjour Circuit pcb a transformer en polyligne ? Possible Merci
« Reply #3 on: December 04, 2021, 18:08:58 pm »
Mais pour faire le perçage?

une idée?

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5330
  • Made in England
    • View Profile
Re: Bonjour Circuit pcb a transformer en polyligne ? Possible Merci
« Reply #4 on: December 04, 2021, 21:52:22 pm »
Yes, I have a plan  ;) plugin ready soon.

1. check each polyline and get it's extrema
2. if the height and width are within "tolerance" of each other then assume the polyline is a circle.
3. if the dimension of height or width is less than "size" then place a point at the centre of the polyline 'circle'
4. a Pointlist marks each drill hole
« Last Edit: December 04, 2021, 22:09:00 pm by EddyCurrent »
Filmed in Supermarionation


Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5330
  • Made in England
    • View Profile
Re: Bonjour Circuit pcb a transformer en polyligne ? Possible Merci
« Reply #6 on: December 06, 2021, 19:02:54 pm »
Maybe David can translate this for Gary if need be.

"DrillHoles" Plugin attached, it looks for polylines that are like circles then draws a Point at their centre.
It looks at the polyline extrema to compare the width and height both for roundness and size.

Once installed it appears in the Plugins menu as "PCB_Drill_Holes"

1. Open the attached cb file that contains the vectors from Gary's "theremax.jpg"
2. I made a new active layer coloured RED
3. Select all the polylines

The plugin will process selected polylines only.

4. open the plugin
5. set the parameters

"Roundness", this specifies the aspect ratio of the polyline, a roundness of 1.0 = perfect circle, 1.5 = more oval, 2 = one dimension is twice the other.
"Size", this is a filter so that only polyline "circles" with a diameter smaller then the selected size will be processed.

In the example cb file the suggested paramaters are, Roundness = 1.3    Size = 5
6. Hit "Ok", a Pointlist will be added to the project containg all the centre points of the found "circles" and these define where the component holes should be drilled.

If the results are not acceptable then Ctrl+Z will UNDO the operation.

Note: I had to remove some text from the image because some of the letters looked like circles and wanted to be drilled.
« Last Edit: December 06, 2021, 21:26:22 pm by EddyCurrent »
Filmed in Supermarionation

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7580
    • View Profile
    • Cambam V1.0 French Doc
Re: Bonjour Circuit pcb a transformer en polyligne ? Possible Merci
« Reply #7 on: December 06, 2021, 21:17:53 pm »
Hello

Nice !

I'll translate when time permit ;)

++
David

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 9081
    • View Profile
Re: Bonjour Circuit pcb a transformer en polyligne ? Possible Merci
« Reply #8 on: December 06, 2021, 21:27:57 pm »
Eddy,
That's exciting and wonderful work! 

I was an electronics engineer in an earlier career, and made (probably) two two three new circuit boards a week during my time;  some for work, and others for my own projects.

Hand-drilling a complex board is always a chore.  I seldom make one, now, but when I do, I know what I'll be using to drill it! <Grin>

Lloyd
"Pyro for Fun and Profit for More Than Fifty Years"

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5330
  • Made in England
    • View Profile
Filmed in Supermarionation