how to permanently correct orientation/location
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
how to permanently correct orientation/location
While designing a PCB, the parts are usually available from the manufacturers in .stp format.
What is more than a bit annoying is that the available models do not have the same orientation (or even center).
This results in e.g. connectors laying on their side inside the PCB, while other components appear in some weird orientation and/or floating in mid-air....
All of this is -of course- correctable by transformation(s), but the original orientation and location remains. Which can lead to unexpected results when copying/rotating stuff and is -in general- a Rpita.
Here is an example: The 'PCB' is a padded sketch on XY-plane, symmetrical around the origin; both the capacitor (moved in Y-direction for clarity) and the connector are imported step files. Not seen is another imported stepfile, which is on the right side of the sample (about 3meters away).
Only the capacitor was moved, the rest is untouched.
Is there a way to correct the orientation and location of an imported step file so that it matches the rest of the design permanently?
What is more than a bit annoying is that the available models do not have the same orientation (or even center).
This results in e.g. connectors laying on their side inside the PCB, while other components appear in some weird orientation and/or floating in mid-air....
All of this is -of course- correctable by transformation(s), but the original orientation and location remains. Which can lead to unexpected results when copying/rotating stuff and is -in general- a Rpita.
Here is an example: The 'PCB' is a padded sketch on XY-plane, symmetrical around the origin; both the capacitor (moved in Y-direction for clarity) and the connector are imported step files. Not seen is another imported stepfile, which is on the right side of the sample (about 3meters away).
Only the capacitor was moved, the rest is untouched.
Is there a way to correct the orientation and location of an imported step file so that it matches the rest of the design permanently?
- Attachments
-
- orientations.FCStd
- (833.24 KiB) Downloaded 16 times
Nothing is ever impossible for those that don't have to do it.
- thomas-neemann
- Veteran
- Posts: 11944
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: how to permanently correct orientation/location
here is a suggestion about compound. is that a solution for you?
https://www.youtube.com/watch?v=4LkPG5slRT0
Re: how to permanently correct orientation/location
Nice suggestion, it works (a bit). Found that one by myself, too.
One loses the rendering of the original (sub)parts, and the original (with its twisted origin and location) is still there...
For a quickie it's usable, but I was looking for a more robust solution...
One loses the rendering of the original (sub)parts, and the original (with its twisted origin and location) is still there...
For a quickie it's usable, but I was looking for a more robust solution...
- thomas-neemann
- Veteran
- Posts: 11944
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: how to permanently correct orientation/location
if the original interferes, you can make a simple copy of the compound and delete the original
- thomas-neemann
- Veteran
- Posts: 11944
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: how to permanently correct orientation/location
here is a suggestion in which the sub-parts are retained.
https://www.youtube.com/watch?v=W8Sx4ILzlN4
Re: how to permanently correct orientation/location
Nice, but that is only part of the solution.
When I start with just the connector I have this unusable thing: After correcting the orientation (rotate 90° around X-axis) I have this nice thing: but the original orientation tends to pop up unexpectedly.
When I make a compound I am left with this ugly thing (note that the colors have all gone): that still has the original, wrongly oriented one 'under the hood'. Which tends to pop up unexpectedly...
The only way I have found to get what I want is to create a new part, copy the elements of the original into this, correct the orientation/origin of each one, downgrade each one to faces, upgrade those faces to a shell and then re-apply the original color to the new element...
Doable for parts with only a few elements, but it gets rather tedious for more complex parts.
I can't help but thinking that there must be a simpler way to achieve this...
When I start with just the connector I have this unusable thing: After correcting the orientation (rotate 90° around X-axis) I have this nice thing: but the original orientation tends to pop up unexpectedly.
When I make a compound I am left with this ugly thing (note that the colors have all gone): that still has the original, wrongly oriented one 'under the hood'. Which tends to pop up unexpectedly...
The only way I have found to get what I want is to create a new part, copy the elements of the original into this, correct the orientation/origin of each one, downgrade each one to faces, upgrade those faces to a shell and then re-apply the original color to the new element...
Doable for parts with only a few elements, but it gets rather tedious for more complex parts.
I can't help but thinking that there must be a simpler way to achieve this...
- Attachments
-
- orientations.FCStd
- (326.95 KiB) Downloaded 12 times
Nothing is ever impossible for those that don't have to do it.
Re: how to permanently correct orientation/location
Are you using 'KicadStepup'?
Get it from addon manager.
Get it from addon manager.
Re: how to permanently correct orientation/location
No, I'm using Eagle 5.12...
Relatively new to the whole 3D PCB thing, so I'm "building" the whole model from the ground up.
Very educational...
Relatively new to the whole 3D PCB thing, so I'm "building" the whole model from the ground up.
Very educational...
Nothing is ever impossible for those that don't have to do it.
- Pauvres_honteux
- Posts: 728
- Joined: Sun Feb 16, 2014 12:05 am
- Location: Far side of the moon
Re: how to permanently correct orientation/location
A couple of threads, that may intrest you, is dealing with the manipulation of stuff in the 3D-viewport.
The programming bit: 3D-manipulators in general
The usage bit: A collection of links on the subject of the usage of 3D manipulators
The programming bit: 3D-manipulators in general
The usage bit: A collection of links on the subject of the usage of 3D manipulators
Re: how to permanently correct orientation/location
... and this is supposed to help me how ?
It's always nice to see an expert at work, but without any further explanation it is not really helpful.
Most videos go way to fast (even at playback speed 0.25) to even remotely follow what they are doing, and give absolutely no idea why they are doing it...
Apart from that, some of them are ... hrrummm... 'of age' .
It's always nice to see an expert at work, but without any further explanation it is not really helpful.
Most videos go way to fast (even at playback speed 0.25) to even remotely follow what they are doing, and give absolutely no idea why they are doing it...
Apart from that, some of them are ... hrrummm... 'of age' .
Nothing is ever impossible for those that don't have to do it.