# CAD model

**URL:** <https://opensourceleg.discourse.group/t/cad-model/153>\
**Category:** General\
**Created:** [November 15, 2025, 10:53am UTC](https://opensourceleg.discourse.group/t/cad-model/153 "2025-11-15T10:53:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mioki](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@mioki](https://opensourceleg.discourse.group/u/mioki)\
**Post date:** [November 15, 2025, 10:53am UTC](https://opensourceleg.discourse.group/t/cad-model/153/1 "2025-11-15T10:53:49Z")

</div>

hello everyone. I am working on the OSL for my thesis project. I was trying to export the CAD model from onshape in order to export it to Simulink (by exporting in this order: Onshape→Solidworks→Simscape Multibody Link Plug-In) but I have no joints in the final model. Has anyone obtained a simplified CAD model that can work better for Simulink simulation? Or do you have any advice? Thank you !

---

<div class="post-metadata">

**Author:** ![ldevillez](https://yyz2.discourse-cdn.com/flex036/user_avatar/opensourceleg.discourse.group/ldevillez/32/71_2.png) [@ldevillez](https://opensourceleg.discourse.group/u/ldevillez)\
**Post date:** [November 17, 2025, 2:18pm UTC](https://opensourceleg.discourse.group/t/cad-model/153/2 "2025-11-17T14:18:58Z")

</div>

Hello @miokiWhich file format did you use ? From what I saw it is not possible to export from Onshape to .sldasm ([OnShape to SolidWorks — Onshape](https://forum.onshape.com/discussion/22729/onshape-to-solidworks)).

You need a correct file assembly with the constraints to use the Simscape Multibody Link Plugin ([https://www.mathworks.com/help/smlink/ref/mates-and-joints.html](https://www.mathworks.com/help/smlink/ref/mates-and-joints.html)).

Depending on your needs, I would exports only a few of the OSL parts and redo an assembly in Solidworks to then use the plugin.

---

<div class="post-metadata">

**Author:** ![mioki](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@mioki](https://opensourceleg.discourse.group/u/mioki)\
**Post date:** [November 17, 2025, 3:41pm UTC](https://opensourceleg.discourse.group/t/cad-model/153/3 "2025-11-17T15:41:52Z")

</div>

Hello, thank you so much for your answer. I exported it into Simscape (I opened a PARASOLID file) but there are no mates. I also tried to export only few parts of the OSL but it is really hard as there are so many little components/frames. If you have any ideas it would be great. My goal is obtaining a Simscape model to be used for control purposes, so I need the knee&ankle joints in order to actuate them. Thank you, have a nice day

---

<div class="post-metadata">

**Author:** ![ldevillez](https://yyz2.discourse-cdn.com/flex036/user_avatar/opensourceleg.discourse.group/ldevillez/32/71_2.png) [@ldevillez](https://opensourceleg.discourse.group/u/ldevillez)\
**Post date:** [November 17, 2025, 7:16pm UTC](https://opensourceleg.discourse.group/t/cad-model/153/4 "2025-11-17T19:16:25Z")

</div>

What are the needs for your simulation ?

You could export 3 sub assemblies:

- The proximal pyramid and studs
- The Knee and Ankle
- The foot and the stuts and mates them yourself in solidworks to then export this in your simulink.

---

<div class="post-metadata">

**Author:** ![mioki](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@mioki](https://opensourceleg.discourse.group/u/mioki)\
**Post date:** [November 18, 2025, 1:34pm UTC](https://opensourceleg.discourse.group/t/cad-model/153/5 "2025-11-18T13:34:51Z")

</div>

> [@ldevillez](#):
>
> - The proximal pyramid and studs
> - The Knee and A

unfortunately on the onshape CAD I can only export the whole leg assembly, which makes it hard to work on Solidworks..

---

<div class="post-metadata">

**Author:** ![ldevillez](https://yyz2.discourse-cdn.com/flex036/user_avatar/opensourceleg.discourse.group/ldevillez/32/71_2.png) [@ldevillez](https://opensourceleg.discourse.group/u/ldevillez)\
**Post date:** [November 18, 2025, 3:01pm UTC](https://opensourceleg.discourse.group/t/cad-model/153/6 "2025-11-18T15:01:19Z")

</div>

You can use display states to export only parts of the assembly: [Scoping Your Export Using Display States - Onshape](https://www.onshape.com/en/resource-center/tech-tips/scoping-export-display-states)

For example, I could export, a top, a middle and top part in stl and import them in blender:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/opensourceleg1/original/1X/40ed8787b6f6d99bf4e575a16550033caf9c09e0.jpeg)
