• Stars
    star
    246
  • Rank 164,726 (Top 4 %)
  • Language
    Ruby
  • License
    MIT License
  • Created about 12 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A SketchUp Ruby Extension that adds STL (STereoLithography) file format import and export.

Welcome to SketchUp-STL

A SketchUp Ruby Extension that adds STL (STereoLithography) file format import and export.

3D printing is awesome, and the STL format has emerged as a standard way to share printable 3D models. To support this community, SketchUp has gathered a couple of Ruby plugins and packaged them into a single Extension. Stay tuned! This is our first foray into Open Source, an experiment we hope to repeat.

Installing

The latest and greatest is available as an RBZ file. Download the file from this URL:

https://extensions.sketchup.com/extension/412723d4-1f7a-4a5f-b866-281a3e223337/sketch-up-stl

Then inside SketchUp, select Window โ†’ Preferences (Microsoft Windows) or SketchUp โ†’ Preferences (Mac OS X) โ†’ Extensions โ†’ Install Extension and select the RBZ file you just downloaded. Voila! SketchUp installs the extension. You'll find a new import type under File โ†’ Import and a File โ†’ Export STL menu option as well.

Contributing

Members

If you're an owner of this repo, here are some steps.

Get a local copy of the files. This will create a sketchup-stl folder.

	git clone https://github.com/SketchUp/sketchup-stl.git  
	cd sketchup-stl  

Use your favorite editor to edit README.md. Then...

	git add README.md                     // Marks README.md for edit.  
	git commit -m "Editing our README"    // Records changes in the local branch.  
	git push                              // Submits to repository. Yay!  

Community

If you're a SketchUp Ruby community member, you need to fork this repo (If you don't know what that is, that's okay, we barely know ourselves. Go google some GitHub tutorials and give it a try. Please improve our README.md file with better instructions!)

Steps

  1. Fork this repo (tutorial). Forking will create a copy of this repo under your GitHub user name.

  2. Clone your fork. For this you will need git installed on your personal computer. GitHub for Windows is a good choice.

  3. Add this repo as a remote so you can pull in updates to your clone.

		git remote add upstream https://github.com/SketchUp/sketchup-stl.git
  1. Make your changes to the code in your cloned repo, then commit. (git commit ...)

  2. Push your changes to your GitHub repo. (git push)

  3. From your GitHub repo, send a Pull Request.

License

The MIT License (MIT)

Copyright (c) 2014 Trimble Navigation

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

sketchup-ruby-api-tutorials

SketchUp Ruby API Tutorials and Examples
Ruby
206
star
2

sketchup-ruby-debugger

Ruby API debugger for SketchUp 2014 and later.
C++
75
star
3

sketchup-developer-tools

Tools to make a SketchUp Ruby developer's life a little easier, including an improved console and a unit test runner.
Ruby
58
star
4

ruby-c-extension-examples

Ruby C extension examples
C++
55
star
5

sketchup-extension-vscode-project

VSCode Project for SketchUp Extension Development
Ruby
52
star
6

api-issue-tracker

Public issue tracker for the SketchUp and LayOut's APIs
39
star
7

htmldialog-examples

Examples of using SketchUp Ruby API's UI::HtmlDialog class
Ruby
29
star
8

testup-2

TestUp 2 for SketchUp - A GUI wrapper for running Minitest in SketchUp
Ruby
25
star
9

sketchup-shapes

Shapes adds new tools for drawing more shapes and primitives in SketchUp.
Ruby
25
star
10

ruby-api-stubs

Auto-generated stubs for the SketchUp Ruby API. Useful for IDE intellisense and auto-complete.
Ruby
22
star
11

sketchup-live-c-api

Examples demonstrating how to use the SketchUp Live C API
CMake
20
star
12

ruby-api-docs

SketchUp Ruby API Documentation
HTML
17
star
13

rubocop-sketchup

Rubocop cops for SketchUp - test against our Extension Warehouse technical requirements and other pitfalls
Ruby
14
star
14

sketchup-yard-template

YARD Template used to generate SketchUp Ruby API documentations
Ruby
13
star
15

sketchup-ply

A SketchUp Ruby Extension that adds PLY (Polygon File Format) file format import.
Ruby
10
star
16

sketchup-attribute-helper

Inspect and visualize nested attributes in SketchUp models
Ruby
9
star
17

sketchup-safe-observer-events

Wrapper for executing model changes from observer events safely
Ruby
7
star
18

speedup

Profiling tool for SketchUp Ruby extensions.
C
6
star
19

htmldialog-inputbox

UI::HtmlDialog example recreating UI.inputbox functionality in the SketchUp Ruby API
Ruby
6
star
20

sketchup-colorize-algorithm

Explanation of SketchUp's colorization algorithm
Ruby
6
star
21

sketchup-extension-ux-guidelines

UX guidelines for making extensions feel grounded in SketchUp.
HTML
5
star
22

sketchup-taskbarlist

SketchUp Ruby C++ Extension wrapper around Windows' ITaskbarList3
C++
4
star
23

wave-function-collapse

Playground for experimenting with wave function collapse.
Ruby
3
star
24

sketchup-draw-mesh

Example Drawing Shaded and Textured Polygons
Ruby
2
star
25

sketchup-safe-frames

Ruby
2
star
26

solar-north

Change solar north direction in SketchUp. Useful for shadow studies.
Ruby
1
star
27

RetroUp

SketchUp extension used with the SketchUp Arcade Machine
Ruby
1
star
28

interactive-sketchup-ruby-api-documentation

Interactive SketchUp Ruby API documentation extension.
Ruby
1
star
29

modus-for-sketchup-extensions

Documentation and examples for the Trimble Modus UI framework
HTML
1
star