Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Inserting derived assembly into part studio
gerald_friedman
OS Professional Posts: 50 ✭✭
There are parts I've downloaded that are assemblies; bearings for example that have inner and outer races, retainers, and balls.
When I attempt to insert the bearing as a derived part into a part studio I'm working in it comes in as individual parts.
There doesn't appear to be a way to group the individual parts once inserted so it's difficult to relocate to the desired position.
Any thoughts?
When I attempt to insert the bearing as a derived part into a part studio I'm working in it comes in as individual parts.
There doesn't appear to be a way to group the individual parts once inserted so it's difficult to relocate to the desired position.
Any thoughts?
0
Best Answer
-
gerald_friedman OS Professional Posts: 50 ✭✭Works!
Quote Philip:
"Another method would to import the bearing into a part studio and extrude a cylinder with a (larger) hole through the thickness of the bearing to merge the balls, inner and outer races into a single part. This method is less work up front, but means that you won't see the individual bearings in the assembly (although on the plus side, a bearing becomes a single part number)."
Very helpful.
gerry
5
Answers
Or you can use another format that imports as single part if that's what you wan't.
Neither work.
I'll try some other formats.
All arrive as individual component parts.
I group parts like that when I don't need to have motion mates.
On components like pneumatic air cylinders where I do need to simulate the motion....I create a sub-assembly first and then bring that into the main assembly.
Only in an assembly.
I'm pulling a derived part into a Part Studio where I'm doing all the design work.
When importing, your choices are to import as multiple parts into a part studio or as an assembly.
This is the intended behaviour.
If imported as an assembly, the group command saves you a ton of work when importing into other assemblies.
If you wish to derive into a part studio (to size other parts), then things get a little more involved. In the case of a bearing, I personally would make a cylinder with a hole in it to represent the physical size and build the parts off that.
Another method would to import the bearing into a part studio and extrude a cylinder with a (larger) hole through the thickness of the bearing to merge the balls, inner and outer races into a single part. This method is less work up front, but means that you won't see the individual bearings in the assembly (although on the plus side, a bearing becomes a single part number).
A part studio is not for assembling parts - that's what assemblies are for. That said, the workflow you describe is valid and hopefully the methodologies described here will help you. On our side, we are always looking at improving standard workflows and position parts within a part studio is one that we are looking at.
I hope this helps - Philip . . .
Understood. I'll try your advice.
Thanks,
gerry
Quote Philip:
"Another method would to import the bearing into a part studio and extrude a cylinder with a (larger) hole through the thickness of the bearing to merge the balls, inner and outer races into a single part. This method is less work up front, but means that you won't see the individual bearings in the assembly (although on the plus side, a bearing becomes a single part number)."
Very helpful.
gerry
I *frequently* pull complicated assemblies from other sources into my designs and create new parts to link them or attach to them, and I'm not sure if onshape can accommodate this workflow very well or if I'm missing something. An example - I want to design an enclosure around a raspberry pi. I find a great (assembly) model online with connector locations, mounting holes, etc. After import I have an assembly, which I can't then use as a 'derived' part in a part studio to act as a reference when designing the new parts to surround it. Another example - want to design a mounting bracket for a gearbox. A beautiful cad model of the gearbox is available - but as an assembly. Sometimes I can pull just the appropriate part (say the housing) from that assembly to use as a derived part in onshape, but it would be really good to have the entire assembly visible and ideally able to be referenced when designing a bracket to suit.
Perhaps I need to 'flatten' the assembly into one part first, perhaps by an re-export/re-import process.
There are several variations on this workflow, but the main premise is that i need to build a part that references one or more other parts in a specific orientations.
The classic workflow involves building parts, assembling them and then building a new part 'in context'.
There are some problems with this workflow and while we fully intend to support it, but want to do it better than anyone has to this point.
There are two alternatives that exist within Onshape today.
(1) If a part studio contains a part that needs to be editing WRT a part in another part studio (or other document), the process is to derive the referenced part into the first part studio and then 'transform by mate connector' to position/orient it and then create the new feature.
(2) An imported assembly (via STEP/Parasolid) comes with an option to 'flatten' an assembly to a single part studio (along with an assembly). This now enables a new part to be built in the newly created part studio OR (as above) the ability to derive a part into another part studio (and saves the transform by mate connector because the part is already in the correct orientation).
I hope this helps and please feel free to ask any questions.
I *frequently* pull complicated assemblies from other sources into my designs, and I'm not sure if onshape can accommodate this workflow very well or if I'm missing something. An example - I want to design an enclosure around a raspberry pi. I find a great (assembly) model online with connector locations, mounting holes, etc. After import I have an assembly, which I can't then use as a 'derived' part in a part studio to act as a reference when designing the new parts to surround it.
Perhaps I need to re-export the assembly as a single merged part that can then be used in a part studio somehow?
In your case, you should do this to the original file grapped from web. Just use flatten when importing to Onshape and you can immediately use imported parts as reference to new ones.
I've just tried the approach of importing with 'flatten' option - and indeed I now get all the parts contained within one part studio. I can then use a derived version of that former assembly, now part in a new part studio.
Looks like I still need to learn about the 'transform by mate connector' functionality however. Although the derived part in the new part studio shows all the components of the original assembly, when I try to transform, I can only select one component and transform that, the rest stay where the original derive operation put them.
This way you would end up with single part to move after derive.
You should be able to move all the 'assembly' components with one feature.
A couple of oddities - it leaves the original position of the mate on the derived part ('assembly') visible in it's old position, but it can be hidden so it doesn't clutter things up, and also you need to select the components of the derived part/assembly in the transform by mate connector operation via dragging a selection region or individual clicking within the 3d design view as they are not individually listed in the hierarchy tree view (only summarised by the 'derived1' or whatever the derived collection of parts is called, which doesn't seem to be valid as a transform selection if clicked). That might cause some pain if the derive operation placed the part/assembly coincident with other existing parts, but the existing parts could always be hidden out of the way.
The mating connector does not work with the step file. So far the only option I have found is to stop using onshape and go back to freecad.
To insert imported data into an existing part studio, you have a couple of options;
Option1
1) import the step file into a new document (with or without flattening)
2) Version the newly created document (needed in order to link to it)
3) DERIVE 1 or more parts from a named version of the new document into the part studio containing your existing data
4) Use transform-by-mate-connector to position/orient the newly derived parts
Option 2
1) import the step file into your existing document (with or without flattening)
2) DERIVE 1 or more parts from the newly created elements into the part studio containing your existing data
4) Use transform-by-mate-connector to position/orient the newly derived parts
I am happy to answer any questions - i hope this helps.
I have a piece of land where I'm drawing roads and such in a part studio and I want to insert a house assembly.
Multiple suggestions have been made and at least one answer has been accepted.
What is it that you are still not able to do or are waiting for?
Thank you.