No announcement yet.

Component clearance rule: component and 3D body

  • Time
  • Show
Clear All
new posts

  • Component clearance rule: component and 3D body

    In one of my current projects I need to match board-to-board connectors with an external PCB.
    I imported this external PCB as step model and placed it in the desired position.

    Now I see Component Clearance DRC between connector P4 and step. This is true for some other connectors too.

    Any ideas how could I resolve this? I need a rule for Component Clearance that allows me to have 0 mm clearance between P4 and PCB1R5b step. But I don't know what expressions should be used.

    Click image for larger version

Name:	com_clearance_step.png
Views:	1146
Size:	57.6 KB
ID:	18042

  • #2
    I've already found the answer, it turned out quite simple In case anybody would need it later, my solution is below:

    Click image for larger version

Name:	component_clearance_step_rule.png
Views:	1058
Size:	13.0 KB
ID:	18044


    • #3
      Hi again,
      my previous problem was solved, but now I have a similar one, so decided to continue in this thread.

      I noticed that 3D Body imported from step file is colliding with my board:
      Click image for larger version

Name:	collision.png
Views:	1058
Size:	205.3 KB
ID:	18056

      I need a rule that can warn me if collision between 3D Body and PCB can happen.

      Query I used is:
      Click image for larger version  Name:	query.png Views:	0 Size:	15.1 KB ID:	18055
      but it simply doesn't work.

      Any tips appreciated
      Attached Files


      • #4
        I have never used these kind of rules, so it will be interesting to see what you will come up with.

        PS: When I am not sure what rule to use, it is super useful to try to build a rule based on "Find similar objects ..." command. Maybe it can help?


        • #5
          Consider that when you accumulate multiple similar rules for a purpose, sometimes you have to tune the priority of these rules 🤷


          • #6
            WhoKnewKnows When I'm testing a rule I always put it on top in priority list to check if it is working

            robertferanec That's a trick I like using. But it doesn't work with PCB in this case. Click on PCB and... nothing happens I guess it is associated with Selection Filter, but PCB is not included even in "Other".


            • #7
              How would you have done it in the time when there was no 3D?
              Anyhow, you could place a special component, like a fiducial on the places where such collision would occur and have there a little component spacing - ie 0.01mm. You may need to add such small 3D object to the footprint.


              • #8
                I have a 3D model generated from an other project so just to make it easier and faster I'd like to use 3D models to check it. However I don't skip double checking in datasheets of the highest components and connectors. Principle of limited trust

                You have a good idea with placing fiducial to verify the spacing, thanks!