meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:user_guide_website [2021/05/03 08:47] JSCAD Editor [Changing Parameters] |
en:user_guide_website [2021/09/14 01:22] (current) JSCAD Editor [Trouble Shooting Designs] |
||
---|---|---|---|
Line 33: | Line 33: | ||
Some of the examples show a small panel on the lower left, which allows changes to the design parameters. For example, the " | Some of the examples show a small panel on the lower left, which allows changes to the design parameters. For example, the " | ||
- | {{ : | + | {{ : |
**This is a unique feature of designs written in JSCAD. Any number of designs can be created by simply changing parameters.** | **This is a unique feature of designs written in JSCAD. Any number of designs can be created by simply changing parameters.** | ||
Line 41: | Line 41: | ||
==== Creating New Designs ==== | ==== Creating New Designs ==== | ||
- | tbw | + | Creating a new design is easy as well. Just make a copy of an example by cutting and pasting the script into your favorite text editor. Then save the file with an appropriate name and extension (.js) Now the file can be dragged and dropped to the website. |
- | ==== More Things ==== | + | Make a few changes, then save the file. Now, drag and drop again. |
- | * Use your favorite editor | + | There' |
- | * Exporting designs | + | |
- | * Importing designs | + | |
- | * Sharing designs | + | |
+ | ==== Exporting Designs ==== | ||
+ | JSCAD was created for 3D printing enthusiasts. Any design can be exported to another format, e.g. STL meshes, SVG images, etc. The supported file formats are listed on the left. | ||
+ | |||
+ | Exporting is initiated by selecting the format, and pushing the Export button. A small pop-up window will be presented, allowing the contents to be saved as a file. | ||
+ | ==== Sharing Designs ==== | ||
+ | |||
+ | Designs can be easily shared with others as file attachments to mail, messages, etc. | ||
+ | |||
+ | In addition, a design (which is available online) can be shared using a special link (URL). You can copy and paste the link into many applications, | ||
+ | |||
+ | First, obtain the link (URL) to the online design content. Here's a link to a design on Thingiverse. | ||
+ | |||
+ | https:// | ||
+ | |||
+ | By clicking on the "Thing Files", | ||
+ | |||
+ | This link (URL) can be provided as a parameter to the JSCAD website; www.openjscad.xyz | ||
+ | |||
+ | https:// | ||
+ | |||
+ | Try it out! | ||
+ | |||
+ | ==== Trouble Shooting Designs ==== | ||
+ | |||
+ | Hopefully creating designs will be easy. The best approach is making small incremental changes and testing the results. Small parts can be created and tested separately, and brought together into the large design later. | ||
+ | |||
+ | However, there are times when all goes wrong, and some trouble shooting is required. First, make sure the browser has the ' | ||
+ | |||
+ | The browser window will now have two sections; the JSCAD design and the tools. The tool of interest is the ' | ||
+ | |||
+ | What's so valuable about the console? | ||
+ | |||
+ | This will show more information about the errors. There should be a 'stack trace' as to where the error occurred. | ||
+ | |||
+ | Also, additional messages can be sent to the console, making trouble shooting easier. For example, the contents of a parameter can be sent to the console by: | ||
+ | |||
+ | <code javascript> | ||
+ | console.log(' | ||
+ | </ | ||
+ | |||
+ | Hopefully, these pointers will be enough to trouble shoot any issues. If not then please contact User Group for some great help. | ||
==== Install Locally ==== | ==== Install Locally ==== | ||
Line 62: | Line 100: | ||
- Then open index.html which is found in packages/ | - Then open index.html which is found in packages/ | ||
- | For those with a little more technical background, the download can be down from the command line. | + | For those with a little more technical background, the download can be done from the command line. |
- git clone https:// | - git clone https:// | ||
- cd OpenJSCAD.org | - cd OpenJSCAD.org | ||
Line 69: | Line 107: | ||
And for those that want to make changes to the website, there is [[https:// | And for those that want to make changes to the website, there is [[https:// | ||
- | ==== Integrate into a Website ==== | ||
- | The website can be integrated into an existing website. |