> For the complete documentation index, see [llms.txt](https://wiki.purduesigbots.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.purduesigbots.com/contributing-guidelines/embed-cads-in-wiki-articles.md). Agents can also search and read this documentation through its [MCP server](https://wiki.purduesigbots.com/~gitbook/mcp).

# Embed CADs in Wiki Articles

A Step to Step Guide!

{% hint style="info" %}
Note: If you are making a contribution on another form (Google Doc or PDF), please include the URL from step 1 and 2 in the proper location in your submission, and we will complete step 3 for you when processing the document.
{% endhint %}

This guide is designed to walk contributors through the process of embedding CADs on our Wiki articles. This guide can be generally applied for all HTML, CSS, and JS embeddables but is tailor made for CAD.

### 1. Upload your CAD to Fusion 360, and Share the Embedded HTML Code

First, upload your CAD file to Fusion 360, and follow this guide below to retrieve the embedded code to share your CAD.

{% embed url="<https://knowledge.autodesk.com/support/fusion-360/troubleshooting/caas/sfdcarticles/sfdcarticles/How-to-embed-a-viewer-of-a-Fusion-360-design-into-a-website.html>" %}

The code to copy should be located here.

![](https://3510336827-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M7yGVyBrcpSR8SDSikj%2F-Mbj0n4-y67HCtf5SJwX%2F-Mbj5foXlrPfPZCkb0x2%2Fimage.png?alt=media\&token=61b79b75-3d5a-4feb-b271-deff826eb214)

### 2. Paste the Code in a [CodePen](https://codepen.io/) Project

Sign up for [CodePen](https://codepen.io/), and paste the code under the "HTML" section. Once the code is in the project, you should see a preview of the CAD. Your project is already public, and what you need to copy now is the URL in your browser tab.

If this wasn't cleaer enough, this is what we mean:

![](https://3510336827-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M7yGVyBrcpSR8SDSikj%2F-MbjCTnF8sV2-jKEwjAD%2F-MbjDzEObV7ogBCRHo8l%2Fimage.png?alt=media\&token=2ba9897d-95f3-42a0-9952-0c9e2fe32e87)

### 3. Paste the link URL from your browser into these locations:

If using the in-browser editor, paste the URL of the CodePen project into the project, and make a press enter to auto-embed.

If using github markdown directly, check this raw file to see how the CAD below was embedded.

If you are making a contribution in another format (Google Docs or PDF), please complete steps 1 and 2 and include the URL on your submission in the appropriate location so we can embed it for you when processing your document.

### Sample CAD Embed:

{% embed url="<https://codepen.io/willxucodes/pen/rNyrJWX>" %}
CAD of Change Up "Snailbot", Courtesey of Dylan from 319K
{% endembed %}

Note that the CAD takes a bit to load, and the ratio for the viewing window is suboptimal. If others have different solutions please let us know at [sig.robotics.purdue@gmail.com](mailto:Sig.robotics.purdue@gmail.com).

### Teams Contributed to this Article:

* [BLRS](https://purduesigbots.com/) (Purdue SIGBots)
* [319K](https://www.instagram.com/319buildit/) (319K Kodiak)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://wiki.purduesigbots.com/contributing-guidelines/embed-cads-in-wiki-articles.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
