Hello,
What is the easiest way to move the point of origin in the center of the component?
Thank you.
Hello,
What is the easiest way to move the point of origin in the center of the component?
Thank you.
@AndreasMark wrote:
What is the easiest way to move the point of origin in the center of the component?
The easiest and only way to do it is fix the library part as it's been created badly. Sadly lots of the "free" libraries are full of things like this.
Once you've corrected the library you'll need to update the part in the design which will of course cause the part to shift as it will move to keep the origin in the same location.
Best Regards,
Rachael
@AndreasMark wrote:
What is the easiest way to move the point of origin in the center of the component?
The easiest and only way to do it is fix the library part as it's been created badly. Sadly lots of the "free" libraries are full of things like this.
Once you've corrected the library you'll need to update the part in the design which will of course cause the part to shift as it will move to keep the origin in the same location.
Best Regards,
Rachael
"The easiest and only way to do it is fix the library part as it's been created badly. Sadly lots of the "free" libraries are full of things like this." - Yes, I know this. And this is the reason...because I am facing with this thing because some people want to have the center point at the center of the component.
The question is: what are the easiest ways to shift/correct that center point from the library (where I created the footprint for my component) to the center of that component? (because I know that I need to correct this from the library, but what I am interested in is to know how to do that in a simple way)
Exist some kind of ULP that does this automatically?
In fact, I am interested to do that automatically and to avoid as much as possible need of making this manually because this is going to spend some pretty time...
Thank you.
Best regards.
"The easiest and only way to do it is fix the library part as it's been created badly. Sadly lots of the "free" libraries are full of things like this." - Yes, I know this. And this is the reason...because I am facing with this thing because some people want to have the center point at the center of the component.
The question is: what are the easiest ways to shift/correct that center point from the library (where I created the footprint for my component) to the center of that component? (because I know that I need to correct this from the library, but what I am interested in is to know how to do that in a simple way)
Exist some kind of ULP that does this automatically?
In fact, I am interested to do that automatically and to avoid as much as possible need of making this manually because this is going to spend some pretty time...
Thank you.
Best regards.
You can't move the origin of the footprint editor - origins are fixed by definition - but you can easily move all the contents of the footprint.
- Open the library editor and open the offending footprint
- Show all layers
- Using the "GROUP" command, select everything (draw a box round the whole drawing)
- Activate "MOVE" then <Ctrl><Right-click> where you want the origin to be
- Left click at the current origin.
This should do the trick for you.
You can't move the origin of the footprint editor - origins are fixed by definition - but you can easily move all the contents of the footprint.
- Open the library editor and open the offending footprint
- Show all layers
- Using the "GROUP" command, select everything (draw a box round the whole drawing)
- Activate "MOVE" then <Ctrl><Right-click> where you want the origin to be
- Left click at the current origin.
This should do the trick for you.
Hi @AndreasMark
there is no tool or feature available in Fusion to do this fully automatically, sorry.
But I could imagine to use a ULP for this. The ULP had to calculate the center of the footprint and then move the all objects to the origin. ......
There are the mount*.ulps that calculate the center of a footprint before exporting pick and place data. It's done by taking the centers of the contacts in x and y direction and calculating the center of this area then.
You could take this as a basis and add the MOVE to (0 0). You could even make the ULP go through all footprints in the library.
Just an idea....
Regards,
Hi @AndreasMark
there is no tool or feature available in Fusion to do this fully automatically, sorry.
But I could imagine to use a ULP for this. The ULP had to calculate the center of the footprint and then move the all objects to the origin. ......
There are the mount*.ulps that calculate the center of a footprint before exporting pick and place data. It's done by taking the centers of the contacts in x and y direction and calculating the center of this area then.
You could take this as a basis and add the MOVE to (0 0). You could even make the ULP go through all footprints in the library.
Just an idea....
Regards,
Yes, you are right with this solution and I know it.
But what I want is to do that to match exact coordinates, and not manually which implies some sort of errors or approximations.
For example:
This is a simple illustration, but think about what can happen if the complexity becomes greater...then the calculations of the origin point becomes not so gladdening.
Thank you.
Best regards.
Yes, you are right with this solution and I know it.
But what I want is to do that to match exact coordinates, and not manually which implies some sort of errors or approximations.
For example:
This is a simple illustration, but think about what can happen if the complexity becomes greater...then the calculations of the origin point becomes not so gladdening.
Thank you.
Best regards.
So, someone should write a ULP to do this. I might get around to it, but not today.
Just to be clear the problem I have with the group move is that it must be done with the mouse. You can't type in a position (if you know how to type in a position for a group, please let me know). And dragging anything complicated around on the screen is error prone (even assuming your grid is set so that you can put it where you want it), if you are off by a few mil and don’t recognize the problem before going on to your next task it becomes even harder to fix after the fact.
A trick I use that makes the manual process somewhat workable, at least for me, is to put a little dot or a tiny circle in the middle before you start moving things around.
So, someone should write a ULP to do this. I might get around to it, but not today.
Just to be clear the problem I have with the group move is that it must be done with the mouse. You can't type in a position (if you know how to type in a position for a group, please let me know). And dragging anything complicated around on the screen is error prone (even assuming your grid is set so that you can put it where you want it), if you are off by a few mil and don’t recognize the problem before going on to your next task it becomes even harder to fix after the fact.
A trick I use that makes the manual process somewhat workable, at least for me, is to put a little dot or a tiny circle in the middle before you start moving things around.
@KennethOfLeesburg wrote:
Just to be clear the problem I have with the group move is that it must be done with the mouse. You can't type in a position (if you know how to type in a position for a group, please let me know).
I don't know whether this is still true of Fusion but in Eagle you absolutely can type in a position for the group.
Eagle commands take coordinates "as if" that's where the mouse is clicked. The coordinates can have a modifier to mean "right click", which is the > symbol. So for the OP's problem:
group all;
move (>0.12345 0) (0 0);
moves everything left by 0.12345 units.
@KennethOfLeesburg wrote:
Just to be clear the problem I have with the group move is that it must be done with the mouse. You can't type in a position (if you know how to type in a position for a group, please let me know).
I don't know whether this is still true of Fusion but in Eagle you absolutely can type in a position for the group.
Eagle commands take coordinates "as if" that's where the mouse is clicked. The coordinates can have a modifier to mean "right click", which is the > symbol. So for the OP's problem:
group all;
move (>0.12345 0) (0 0);
moves everything left by 0.12345 units.
Can't find what you're looking for? Ask the community or share your knowledge.