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.
How to build a Lego model in onshape?
LeeBee
Member Posts: 7 ✭
Hello everyone.
I've been drawing lego models in solidworks for the last few years but a change of job means I no longer have software access. I've got about 130 ish parts that I imported to onshape last night & started a separate assembly as I would in sw. As I understand it this isn't the way it's done in onshape - can anyone point me towards some info on how I should be working?
Also, will this mean that what I've done so far is of no use as they are all individual parts?
Thanks in advance,
lee
I've been drawing lego models in solidworks for the last few years but a change of job means I no longer have software access. I've got about 130 ish parts that I imported to onshape last night & started a separate assembly as I would in sw. As I understand it this isn't the way it's done in onshape - can anyone point me towards some info on how I should be working?
Also, will this mean that what I've done so far is of no use as they are all individual parts?
Thanks in advance,
lee
0
Best Answer
-
3dcad Member, OS Professional, Mentor Posts: 2,475 PROWhen using standard pieces like lego, you can work with same procedure as you would in sw. Parts are in one doc and you can create assemblies to another to keep things clear.
First you need to create version into parts doc, then it's available for other docs to link in. Biggest difference will be mating, Onshape uses mateconnectors that will probably be very nice for legos. You only need one mate per part.
Check out https://cad.onshape.com/help/#mate-fastened.htm and crawl through other mates too.
After getting started, I suggest you master with Replicate function ( https://cad.onshape.com/help/#replicate.htm ) to add lego parts with single mouse click.
Please post some screenshots when you get things done in Onshape.//rami7
Answers
First you need to create version into parts doc, then it's available for other docs to link in. Biggest difference will be mating, Onshape uses mateconnectors that will probably be very nice for legos. You only need one mate per part.
Check out https://cad.onshape.com/help/#mate-fastened.htm and crawl through other mates too.
After getting started, I suggest you master with Replicate function ( https://cad.onshape.com/help/#replicate.htm ) to add lego parts with single mouse click.
Please post some screenshots when you get things done in Onshape.
I'm probably about halfway ish through drawing the parts but I did a little of the assembly last night. Can I make the parts come up with their name on the left? (feature tree) They are all called part 1 with no way that I can see to rename. Also I've had to fix each part in place after mating as sometimes the one I want to move would stay still & the part mated to the assy would spin instead but this then makes my mates go red - is this ok?
Thanks,
lee
To change the part name you can jump back to the document where the standard lego pieces are located and change their names there. Since they are linked you will have to set a new version and then update them in the assembly (the link icons will turn blue) https://www.onshape.com/cad-blog/tech-tip-how-to-use-linked-documents
Twitter: @bradleysauln
It's a bit of a pain that your import loss it's part names, I think this happens when you bring them in as native SW's files. If you can get access to SW's and can export as a Step or Parasolid file you will get the parts named as your original file names. The best way if possible would be to get all your bricks in one SolidWorks assembly, export as a step file, then import that into Onshape with a flatten to part studio option.
Have you seen the FeatureScript for bricks? Check it out, https://cad.onshape.com/documents/573b8871e4b0fddafb4e953e/w/3482dc4c7b56051dbbecde32/e/4316c2d6c038321bc03b0975
Twitter: @onshapetricks & @babart1977
I'd found the place to rename each part - I had assumed the part name would come from the main name but this way actually makes sense.
Changing the version is where I've been going wrong with changes propagating through to the assembly. I've been changing parts/names/colours but keeping the version at V1 so had no blue links. It's starting to make sense now though!
The FeatureScript is very clever. I like the challenge of trying to model my own bricks without too many unnecessary steps but if time was an issue I could see myself using something like this. The script side of it looks devilishly complicated though!!
Thanks,
lee